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
360ba0b1b762d53dadf4c5dd5863880fcc1a54a8
e1c9acaa95b467a08483ff1d3cb1d4b145b68967
/main.py
ef8c063cac066699603ede049d23a071b88b264f
[]
no_license
FredericStraub/CalendarApp
de7e172dc0bddd80619cc51ee2496f64afd44553
9936762042f99508af39be36744501ea1e04c010
refs/heads/main
2023-02-27T05:25:24.422060
2021-02-04T21:21:23
2021-02-04T21:21:23
336,084,362
0
0
null
null
null
null
UTF-8
Python
false
false
3,078
py
from kivymd.app import MDApp from kivy.lang import Builder from kivymd.theming import ThemeManager from kivy.uix.boxlayout import BoxLayout from kivymd.uix.picker import MDDatePicker, MDThemePicker, MDTimePicker from kivymd.uix.expansionpanel import MDExpansionPanel, MDExpansionPanelThreeLine import datetime ...
[ "noreply@github.com" ]
FredericStraub.noreply@github.com
f0d3b443e3d1229ac55830a7ca6100f493115d2a
1b10d96758c45e1746d8ca69b3222fc90aae012e
/document_validation/models/models.py
48a7d794822bf31d1b290260068d3872d2e7d86f
[]
no_license
hassanfadl/livedhalts
1565e3b9dec1b470c1700b90c927724cf02a99ae
dab87ade79a97b616fda3b52c38b2cea695ee4d5
refs/heads/main
2023-06-29T04:29:34.679643
2021-07-15T11:11:43
2021-07-15T11:11:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
# -*- coding: utf-8 -*- from odoo import models, fields, api,_ from odoo.exceptions import ValidationError, UserError class DocumentAttachmentCustomValidate(models.Model): _inherit = "ir.attachment" @api.model_create_multi def create(self, vals_list): if len(vals_list) > 0 and 'name' in vals_list...
[ "noreply@github.com" ]
hassanfadl.noreply@github.com
dc0e48787640ae04b76fedf2b7227688743ab729
05bcad1eee910ef13272ffbda397066ac09a6078
/books/data/urls.py
c618829e59bff176ff323b0e2df348873df3284b
[]
no_license
Erlan1998/python_group_7_exam_6_Erlan_Kurbanaliev
9aa0f5c36a7101ffb949d40f0b996fb0400fc52c
aaa88e7a1aae29485512bfd6980e1e6b5242e1f0
refs/heads/master
2023-03-13T20:28:19.395508
2021-03-06T12:38:42
2021-03-06T12:38:42
345,087,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,170
py
"""data URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "kurbanalieverlan@gmail.com" ]
kurbanalieverlan@gmail.com
aaf627500a44341044bdd665ff30927d5f3938fe
ef9f3550249b961fbe43f1bc7e581cbb80a50063
/dict_and_list_random_access/run.py
0ad00ed631dadf32ef8e01ddcf0a6bc4cef87d9a
[]
no_license
fatowl-dev/python_performance_test
08efe5fa77bf0bbb5ffa9f9306bc228a39b16703
53c6d340be11e51d5100214e077ad02b13f6af0c
refs/heads/master
2020-12-14T13:36:53.806073
2020-01-18T18:06:49
2020-01-18T18:06:49
234,760,459
0
0
null
null
null
null
UTF-8
Python
false
false
2,688
py
# list、dict ランダムアクセス速度比較 import random import string import gc N = 100 # 試行回数 REF_COUNT = 100000 # 1回の試行で参照する回数 ITEM_COUNT = 100 # アイテム数 KEY_LENGTH = 32 # 辞書のキーの長さ SLEEP_TIME = 0.1 # 試行前の待ち時間(なぜかこれを入れないとおかしな値になる) list_results = [] dict_results = [] # 辞書のキーを作成する keys = [] for i in range(ITEM_...
[ "kingyo.summer.japan@gmail.com" ]
kingyo.summer.japan@gmail.com
921817ab1c99956af4f567eedbe80116edbdde30
4464aa9d3c42a20caf7b769d39015d439d856c48
/pypm/utils/evaluate.py
145f0b5145f8febefcff15b8808f19c9e017a470
[ "MIT" ]
permissive
Yansf677/PyPM
070e49d6cd69f5d5b51ead1cdb45c847e9532007
3012416aa04bb10f88689c2745702c71858bbe24
refs/heads/master
2022-10-25T01:22:21.835663
2020-06-16T14:54:00
2020-06-16T14:54:00
267,231,636
2
2
MIT
2020-05-28T07:54:14
2020-05-27T05:45:30
Python
UTF-8
Python
false
false
613
py
# -*- coding: utf-8 -*- def detective_rate(statistic, threshold): """ function to calculate detective rate parameters ---------- statistic: statistics of testing data threshold: threshold by the offline data return ------ fault detective rate or false...
[ "13122282826@163.com" ]
13122282826@163.com
42e4e64761ede6a73a14b630e8b5611c15e53445
58c5ea755a8e37b90534432593b12e7039ad06b4
/puppet_gui/src/puppet_gui/actions/ActionSet.py
64b9ada092326831300a39b0f8b91732f5f9863b
[]
no_license
ros-visualization/puppet
d40f5e3b15781f8aacf8444035edff770ab3d8f2
621342735092f86a205826a75d0d27ffdf07f168
refs/heads/master
2023-08-30T14:01:07.039995
2013-07-17T16:02:33
2013-07-17T16:02:33
7,615,088
0
1
null
null
null
null
UTF-8
Python
false
false
4,158
py
from Action import Action from Pr2SpeakAction import Pr2SpeakAction # Andreas: added dependency on Pr2SpeakAction to hack in speech running in parallel to motion. class ActionSet(Action): def __init__(self): super(ActionSet, self).__init__() self._actions = [] self._executing = 0 de...
[ "paepcke@cs.stanford.edu" ]
paepcke@cs.stanford.edu
17d148604b81fa22333cc519233fa00399b10bd3
2ab391bfaadf0743da8ffee084896b999e88482d
/base.py
45620e4642ea2d812e1babc45e4a2fd9ff569477
[]
no_license
wean/coupon-windows
552a59637ea45539bdfa70c6d1bd04626f0fdbd0
9565b23c7f44594f182d7a268d4ed45bdeaf8dd3
refs/heads/master
2020-04-05T07:11:43.024665
2017-11-24T08:23:50
2017-11-24T08:23:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,675
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import json import math import os import pathlib import time from datetime import tzinfo, timedelta, datetime from functools import total_ordering from imgkit import ImageKit from infor import getSlogan, getComments from network import Network from operator import attrgett...
[ "974644081@qq.com" ]
974644081@qq.com
16c0fa0f1493a48823e1692fafd6ad8476c2b198
bfbf4c7df621a8190f00f58d981b6ccfb4dc3382
/21_naive_baysian_test/home_word.py
7196f82fd385ba4786bc892ed0ac718a397b6ce7
[]
no_license
zjtprince/DataAnalysisTraining
5786725431c7f47041826bc08cad0109c9902c77
4c2167e0edbddbeb74621d2a02d3ee56f85586a2
refs/heads/master
2023-01-28T16:42:05.457291
2020-12-13T06:38:04
2020-12-13T06:38:04
320,966,541
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
import jieba from sklearn.naive_bayes import MultinomialNB import os from sklearn.feature_extraction.text import TfidfVectorizer from sklearn.metrics import accuracy_score BASE_DIR='/home/zjtprince/Documents/text_classification/text classification/' def cut_text(filepath): text = open(filepath,'r',encoding='gb180...
[ "zjtprince@qq.com" ]
zjtprince@qq.com
7c1c4d76de80e3cfdd0bfce9ad4f252d6ef21326
f1fe88da8f05ae54b17eeb328bc6c4e1bf9ebd0b
/test2/booktest/urls.py
70b13a0f42d35ef0aa55d5ec40c617a600dcf8dd
[]
no_license
itachaaa/pytest
8a8af6f1e834c9841a21986881b0dbe62d653d56
907d181121ef83c53982446d7c7cdc034762f55a
refs/heads/master
2021-08-29T23:20:54.544775
2017-12-15T08:03:51
2017-12-15T08:03:51
114,343,804
0
0
null
null
null
null
UTF-8
Python
false
false
183
py
from django.conf.urls import url from booktest import views urlpatterns = [ url(r'index', views.index), url(r'^booklist$', views.booklist), url(r'^area$', views.area), ]
[ "LC@LCdeMacBook-Air.local" ]
LC@LCdeMacBook-Air.local
9b1b453afef1fcb92f4f6772ca25369709d8c1cd
1fc2b8709668c2b7f735b7694e67e8c7d57dca04
/crawler/AppUI.py
6e2f6378a31ddbec8b5ebbec6d74116e8b3bac35
[]
no_license
arno06/SimpleCrawler
1cce2d28fa87f5b31537e40ebbbab4e8681df963
310059815b8ac0aaaac42174431b62902918de5a
refs/heads/master
2021-01-23T11:55:10.736206
2015-06-26T08:09:59
2015-06-26T08:09:59
38,098,701
2
1
null
null
null
null
UTF-8
Python
false
false
4,322
py
from tkinter import * from tkinter import ttk class Main(): def __init__(self): self.running = False self.toggle_handler = None self.window = Tk() self.window.columnconfigure(0, weight=1) self.window.rowconfigure(0, weight=1) self.main_panel = ttk.Frame(self.window...
[ "arno06@gmail.com" ]
arno06@gmail.com
3301c1cfa4fc89a77fbb5449ec4d0a37e120dd1d
6449afd5e812de0ece5d5932dc567dddfbd1ef51
/testing.py
ca90e77df96f41d85b8073a6fc269a3c8672032d
[ "BSD-3-Clause" ]
permissive
AgPipeline/template-rgb-plot
1dabeaec29c6af5569972105e0720e04357fec86
34f6eab3edbeaf995d7e888a2e8004963ec9ba4d
refs/heads/main
2021-12-26T11:54:57.604066
2021-09-13T20:13:55
2021-09-13T20:13:55
223,216,077
2
3
BSD-3-Clause
2021-09-13T20:13:56
2019-11-21T16:23:53
Python
UTF-8
Python
false
false
5,064
py
#!/usr/bin/env python3 """Test script for algorithm_rgb code """ import os import sys import numpy as np from PIL import Image import algorithm_rgb def _get_variables_header_fields() -> str: """Returns a string representing the variable header fields Return: Returns a string representing the variab...
[ "schnaufer@email.arizona.edu" ]
schnaufer@email.arizona.edu
a98631e0b1a78861f698b938b9ac1138db85b93e
8bd51cc155b88b251115b7542065dc45431125d4
/distribution_utils.py
1a8b93d11552ab9f403870ac1ed81d6b131125b4
[]
no_license
sunke123/tf-hrnet-imagenet-tmp
e7ec84fc4fbc20dd5feb2c4dddd955344b95a8d8
05c381cb35949317a10b70a70c909be737135612
refs/heads/master
2020-09-23T02:48:30.396786
2019-10-04T07:12:21
2019-10-04T07:12:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,954
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "c.r.deng2012@gmail.com" ]
c.r.deng2012@gmail.com
db2ed20cd3e6ba74bf7c30085f6f1b7f1526181c
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/invariant_slot_attention/modules/__init__.py
4de3565ef241189eac33dea9d2f901f5305be01f
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,255
py
# coding=utf-8 # Copyright 2023 The Google Research 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
0a597db3d461f09e56059cf629f3e82694d6008a
61b8d32a16ca2e5dc0162b65ac2beef8cb60bc05
/test/show_data.py
d22cbdfe4e006c73019d0020e596499f48ecd79c
[]
no_license
antique493/2021_huawei_model
1f9d6dbf6fa8ef245bbafb69a085f5cf509b34d9
6793fd4ca9640cd34e2d89091183d3ccb88c1c10
refs/heads/main
2023-08-20T10:09:47.062840
2021-10-16T02:39:03
2021-10-16T02:39:03
416,988,399
0
2
null
null
null
null
UTF-8
Python
false
false
2,001
py
import numpy as np import glob import matplotlib.pyplot as plt def read_tags(): tags = [] with open("./数据集/Tag坐标信息.txt", encoding='UTF-8') as f: lines = f.readlines() for line in lines: results = line.split() tag = [] for i in range(1,len(results)): ...
[ "tianyuxin@buaa.edu.cn" ]
tianyuxin@buaa.edu.cn
244da2e90a574f3a7c00e6e17460aa91ecec4cd7
0b456a4506670be25f95f7790f78f9f91d81530b
/script/githubregister/get_confirm_url.py
c3d7e254096ce4556e8f41205e3f15f6a3d5a99c
[ "MIT" ]
permissive
atupalykl/github-crawler
e862b18e43d18baad2f5af3f73a97b0e248ab750
8298a7ab2980447d65522fd966afe39dae8d8955
refs/heads/master
2020-05-29T11:07:39.271991
2015-11-29T11:52:43
2015-11-29T11:52:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
#!/usr/bin/python #coding:utf8 import poplib import re def get_mail(user, password): M = poplib.POP3_SSL('pop3.live.com') M.user(user) M.pass_(password) num_messages = len(M.list()[1]) for i in range(num_messages): for j in M.retr(i+1)[1]: github_confirm_url = re.findall("https...
[ "binhe22@gmail.com" ]
binhe22@gmail.com
8c4ce3ae200b52e3a8b57d1c0a960df0d3dbc5f1
d7a1478256fea3c5a5d94c4ddfd8ffc4f2d87ab2
/radix_r_sort.py
588b8a62e438c47b578feb4bdf59ca60c55f5556
[]
no_license
Awarua-/Cosc262_Assignment_Part1
0db96927f79065799a1f43ca14feae127fe92746
7e3e05c59ff8a24323c06055ff7769e1961a3dd7
refs/heads/master
2021-01-14T11:53:06.553242
2015-03-17T08:43:30
2015-03-17T08:43:30
18,115,199
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
__author__ = 'Dion' def main(data, base, max_len): """ Runs the algorithm :param data: the data array :param base: the base of the data in a :param max_len: the maximum number of places in the largest data entry in a :return: """ # Create an array of buckets according to the base ...
[ "woolley.dion@gmail.com" ]
woolley.dion@gmail.com
c1a60a1a5803673add99db26807bf8e620335a83
17c08826eac8129c0c83ecaa368ac305f9b03a11
/Code/S_add_sym_on_pareto.py
75bb613a4da3b71168ed5c2e1238855fdfc0ea51
[ "MIT" ]
permissive
abdalazizrashid/AI-Feynman
f445062b831cf835c2f53111e85fd615ecb7d38d
3121276389a2cb6749592206268ac8f31f6c1bbc
refs/heads/master
2022-12-06T01:18:47.214162
2020-08-05T18:04:39
2020-08-05T18:04:39
279,799,700
1
2
MIT
2020-07-15T07:37:34
2020-07-15T07:37:33
null
UTF-8
Python
false
false
902
py
# Combines 2 pareto fromtier obtained from the separability test into a new one. from get_pareto import Point, ParetoSet from sympy.parsing.sympy_parser import parse_expr import numpy as np import matplotlib.pyplot as plt import os from os import path from sympy import Symbol, lambdify, N from get_pareto import Point,...
[ "noreply@github.com" ]
abdalazizrashid.noreply@github.com
143d796996a3fdd288046d70f7fd9193c1bf3abd
aee291b86d7fabb4c6b7d484712c6a0d5d1753d1
/config.py
330ff01c3a29f97add90a7477cf7d615271efc2c
[ "MIT" ]
permissive
liubing1545/flask-scan-ftp-directory
2e76c88df580bba3ec85dd479dfff84b6d7c56f9
bbf0096b8590da8e2fe30c5520fcfd47ec293904
refs/heads/master
2021-04-15T04:54:39.685586
2018-04-01T04:59:24
2018-04-01T04:59:24
126,834,103
6
0
null
null
null
null
UTF-8
Python
false
false
2,007
py
import os from app.main import timer basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' SSL_DISABLE = False SQLALCHEMY_COMMIT_ON_TEARDOWN = True SQLALCHEMY_RECORD_QUERIES = True CELERY_BROKER_URL = 'redis://local...
[ "lbingg@hotmail.com" ]
lbingg@hotmail.com
c629cbdd90dab58a61b3447a0fd008ed272ee17d
9ec46412be4b97c29b57feacd99d3142b80871f8
/unit6-4.py
3a0729c75e3647c0b011484155334b1f0255386c
[]
no_license
klim1286/PythonBasics
6e788544b06b8e5017d7bfaae66646359f67a420
5b8a23a27c6308505e3d10fd1b650c11c2bebe7f
refs/heads/master
2023-02-16T01:39:48.519366
2021-01-11T21:43:01
2021-01-11T21:43:01
311,781,511
0
0
null
2021-01-11T21:43:02
2020-11-10T20:50:35
Python
UTF-8
Python
false
false
1,443
py
from random import choice class Car: def __init__(self, speed, color, name, is_police): self.speed = speed self.color = color self.name = name self.is_police = is_police def go(self): print(f'{self.name} поехала') def stop(self): print(f'{self.name} остано...
[ "klim1286@gmail.com" ]
klim1286@gmail.com
1f3c07e46d45ac1e84121a5bb87edf9005f788f0
b170fb19f25507533dd31006c9776aa2df387ca1
/utils/utils.py
cd1a1749936cfb8cc0a7d1a1d996492db20a9237
[ "MIT" ]
permissive
LCFractal/YOLOV4_MCMOT
cf58603386a68824509120c1068523aeb7f258fb
0caf0c2feb788c2c3428b4917ace46e437e71b2f
refs/heads/master
2023-02-26T21:10:31.474650
2020-11-06T07:47:10
2020-11-06T07:47:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
62,728
py
import glob import math import os import random import shutil import subprocess from pathlib import Path import cv2 import matplotlib import matplotlib.pyplot as plt import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torchvision from tqdm import tqdm from . import torch_utils...
[ "765305261@qq.com" ]
765305261@qq.com
c22f4a16a3db433255b5d0f0612f123d1d394bce
3aada9baaac59b10d63ab1af6841a1d8d8fcbf7b
/confer/wsgi.py
cada8d65d116841dad5f96f5a926a1894c7d1940
[]
no_license
lesage20/confer
576840454d2204a67cca086cf4e64b6cb2a87b2d
f512262cc102a81907dda5ad41f935131c629f51
refs/heads/master
2022-11-03T02:48:00.409562
2020-06-11T04:44:07
2020-06-11T04:44:07
271,451,315
0
0
null
2020-06-11T04:30:28
2020-06-11T04:29:29
HTML
UTF-8
Python
false
false
389
py
""" WSGI config for confer project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "angezanou00@gmail.com" ]
angezanou00@gmail.com
acbf78ac1d2e46d4f344a6c734e372bd1e2986d6
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N1959_Minimum_Total_Space_Wasted_With_K_Resizing_Operations.py
bbd38bedade264e75ad702da913ea3aee2e9f0cd
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
817
py
import sys from typing import List class Solution: def minSpaceWastedKResizing(self, nums: List[int], k: int) -> int: length = len(nums) dp = [[sys.maxsize] * (k + 1) for _ in range(length)] total, mx = 0, 0 for i in range(length): mx = max(mx, nums[i]) tota...
[ "rarry1988528@126.com" ]
rarry1988528@126.com
a439070bbb0e642be64dd9784c376bc0b3f450d8
c577eaf5cde0f1313b6ea7103f8e595f929dd8e6
/ml/k.txt
15e9555a16b57d749990763e8c19a4b4677b49c7
[]
no_license
rutvij26/sem7
856e281a5022450eaf7eb7f422d46a9f4256f29a
a745dc3aa28e8728b712ef13fc58b89303044232
refs/heads/master
2020-08-26T13:36:22.242421
2019-10-23T14:46:07
2019-10-23T14:46:07
217,027,442
0
0
null
null
null
null
UTF-8
Python
false
false
3,771
txt
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt # In[2]: # Data set is given below df = pd.DataFrame({ 'x': [12, 20, 28, 18, 29, 33, 24, 45, 45, 52, 51, 52, 55, 53, 55, 61, 64, 69, 72], 'y': [39, 36, 30, 52, 54, 46, 55...
[ "noreply@github.com" ]
rutvij26.noreply@github.com
fb0be32e19d129913ec1f4e1c6d8ae956fdecfb8
51935327470f48ac055d9511a969b679b8637697
/admin_ser/apps.py
315c1b2b4548c4c0b81cbe9e6d980719a6815939
[]
no_license
AngeLShuang/minon
06e614e4684e7b7c73ee1e378a894ca59ca58dc8
9ef62d227b52c5533f5e9994e25a3b9aa0826e4d
refs/heads/master
2020-04-06T08:22:07.579222
2018-11-13T01:36:00
2018-11-13T01:36:00
157,302,327
1
0
null
null
null
null
UTF-8
Python
false
false
89
py
from django.apps import AppConfig class AdminConfig(AppConfig): name = 'admin_ser'
[ "1418727910@qq.com" ]
1418727910@qq.com
4dba18ca0f90ca2fa410d98db21e6342d97ac10f
987fcdd9e4cf41f3f0341fe04ff60472e727dc15
/cans/cans2/data/sim_data/gen_sim_data.py
0fb84ad2275acfc6620544cd4085bd700c659454
[]
no_license
lwlss/CANS
c7734a980259136d03a5a94f1d36785c9ce16bba
9db811f25bf22d13f898466af3bf232e0d4571f9
refs/heads/master
2021-01-09T07:59:25.671370
2016-10-15T17:48:48
2016-10-15T17:48:48
39,069,739
1
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
"""Simulate plate amounts and save data as json.""" import numpy as np import json from cans2.plate import Plate from cans2.model import CompModel from cans2.cans_funcs import dict_to_json mean = 5 var = 3 rows = 5 cols = 5 file_name = '{0}x{1}_comp_model/mean_5_var_3.json'.format(rows, cols) custom_params = { ...
[ "daniel.boocock@protonmail.ch" ]
daniel.boocock@protonmail.ch
8828cbd790210db9499074eb33cea8aec7a3dbb7
3fcb5f11cd7a666d9f938db90877ad1bbce57a1b
/datasets/generate_datalist_pixelshift.py
b499306fd5fc4567561b3e01d487450adb18aba5
[ "MIT" ]
permissive
guochengqian/TENet
362f498078895ec1e7718483f35ef8fc9fef0fab
098262e7e0ba979e303bea643b0b366efc50dcd3
refs/heads/master
2023-07-11T00:50:41.733358
2023-07-02T23:19:26
2023-07-02T23:19:26
186,419,827
261
37
null
2019-05-28T12:47:34
2019-05-13T12:56:56
Python
UTF-8
Python
false
false
1,615
py
import os import random import argparse parser = argparse.ArgumentParser(description='A multi-thread tool to crop sub images') parser.add_argument('--train_path', type=str, default='../data/pixelshift200/train/train_rggb_512') parser.add_argument('--test_path', type=str, default='../data/pixelshift200/test/test_rggb_1...
[ "guocheng.qian@outlook.com" ]
guocheng.qian@outlook.com
504b50f13d44873d865dc30cdf90fd690c5aa3b3
762de1c66746267e05d53184d7854934616416ee
/tools/MolSurfGenService/MolSurfaceGen32/chimera/share/Bld2VRML/bld2vrml.py
66ea92d6eb6e5dc3eca472a5e20da974259f17f1
[]
no_license
project-renard-survey/semanticscience
6e74f5d475cf0ebcd9bb7be6bb9522cf15ed8677
024890dba56c3e82ea2cf8c773965117f8cda339
refs/heads/master
2021-07-07T21:47:17.767414
2017-10-04T12:13:50
2017-10-04T12:13:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,660
py
import sys from string import * from math import * # Utility functions def getDistance(p1, p2): return ( (p2[0] - p1[0])**2 + (p2[1] - p1[1])**2 + (p2[2] - p1[2])**2 ) ** 0.5 def interp(t, a, b): c = list(a) for i in range(3): c[i] += t*(float(b[i]) - float(a[i])) return c def getMidpoint(p1, p2): return tupl...
[ "alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5" ]
alex.gawronski@d60594c4-dda9-11dd-87d8-31aa04531ed5
f93ebfa2f9e08428f3cbfe27e0ea99e6437e4a2f
5b77cd52b82ac205cc4dabe8715e419ec0bd14d6
/python_xpath_Process_duoyexiaoshuo.py
20046a2382679929b30121b625bbdff5caa13b33
[ "Apache-2.0" ]
permissive
17790793549/tongjier
c9ab29e4737e8f0c5406847907a4f9a5ab92c3e9
79d1657f2b99595604ec65992f37d09e5da6215c
refs/heads/master
2020-03-19T13:21:16.991108
2020-01-16T08:45:13
2020-01-16T08:45:13
136,575,007
10
3
null
null
null
null
UTF-8
Python
false
false
1,932
py
""" http://www.quanben.io/n/guantiwanzhengban/list.html 1. 开启两个进程 master, worker1 2. master 去爬取该页面的所有连接 3. worker1 爬取页面详细存入本地(可以考虑进程锁) """ """ 开多进程... 在2209个文件中检索关键字为"美丽,帅哥." """ import multiprocessing from random import randint from time import time, sleep import os import requests from lxml import etree import ti...
[ "noreply@github.com" ]
17790793549.noreply@github.com
6157904590133276d22da7f720c8e9ba2659740c
a1119965e2e3bdc40126fd92f4b4b8ee7016dfca
/trunk/network_semantics_tests/tests/sendmess/sendmess_bad_host.py
e953c972d2377e0f14234eb4c8d78f1737c344da
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
SeattleTestbed/attic
0e33211ddf39efdbcf5573d4fc7fa5201aa7310d
f618a962ce2fd3c4838564e8c62c10924f5df45f
refs/heads/master
2021-06-10T23:10:47.792847
2017-05-15T12:05:43
2017-05-15T12:05:43
20,154,061
0
1
null
2014-10-16T17:21:06
2014-05-25T12:34:00
Python
UTF-8
Python
false
false
267
py
# if a host name that cannot be resolved is used an exception occurs. if callfunc == 'initialize': port = 12345 try: sendmess('notactuallyahost',port,'ping') except: pass else: print "using 'notactuallyahost' did not cause exception"
[ "USER@DOMAIN" ]
USER@DOMAIN
f252c21a4d16a3088e67a2cec3db1c7097ef3c80
4929b54ac86e5d0064913b097da89abfb079fd48
/KNN/kNN.py
deb9ba15653c05271e039bf45405b7e6bc632bfd
[]
no_license
haiboowang/meachine-learning-in-action-in-python3-
5914135cc1b95a3058a1e52680f1f1f4343bfcc8
aa9f916add6a973592b5493b368be5600f7e4f8d
refs/heads/master
2021-07-08T22:48:01.412645
2017-10-06T12:14:36
2017-10-06T12:14:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,125
py
from numpy import * import operator def createDataSet(): group=array([[1.0,1.1],[1.0,1.0],[0,0],[0,0.1]]) labels=['A','A','B','B'] return group,labels #2-1 k-邻近算法 def classify0(inX,dataSet,labels,k): #构造与dataSet格式相同的矩阵并计算距离 dataSetSize=dataSet.shape[0] diffMat=tile(inX,(dataSetSize,1))-dataSet sqD...
[ "noreply@github.com" ]
haiboowang.noreply@github.com
724f4a0ba505bb08a9c2d1a3642182e18d2d45dd
929c9fc294df777ea3f795e0ff6c96edcfc307c0
/gnn.py
cc31f03a1206341987998bb100fd1af09e620195
[]
no_license
charudatta10/gnn
61d0062a4a7039dc57a914ac1f65f0d5bdca7847
020e1b12047d3bca1b7661f8adb5e650d506d7c8
refs/heads/master
2022-01-07T18:51:48.322545
2019-08-25T12:53:22
2019-08-25T12:53:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,680
py
import tensorflow as tf class GCNLayer(tf.keras.layers.Layer): def __init__(self, output_dim, activation=None, **kwargs): self.output_dim = output_dim self.activation = activation super().__init__(**kwargs) def build(self, input_shape): # [batch_size, num_vertices, num_vertices], [b...
[ "xihanli316@gmail.com" ]
xihanli316@gmail.com
253260a9a8189faaf006e479b65e1a1ce4a1c6e1
3daae8bdcc94142cd22fdb3d25580960e84e59b8
/moose_nerp/cells/proto154_84362/param_chan.py
e1ee455a38ab2d4781f14aec784d733343632d6d
[]
no_license
neurord/moose_nerp
a2cc543fe0e02fc5bd473a1b991d599211b36398
74bc20685c6e68cbc7a786271c55a6387f437965
refs/heads/master
2022-10-11T15:22:14.251028
2022-08-24T21:25:31
2022-08-24T21:25:31
27,131,330
4
3
null
null
null
null
UTF-8
Python
false
false
9,319
py
# Generated from npzfile: fitgp-proto-cmaes_proto154_84362_24.npz of fit number: 6398 from moose_nerp.prototypes.util import NamedDict from moose_nerp.prototypes.chan_proto import ( AlphaBetaChannelParams, StandardMooseTauInfChannelParams, TauInfMinChannelParams, ZChannelParams, BKChannelParams, ...
[ "avrama@gmu.edu" ]
avrama@gmu.edu
1efde54ba66e1b49a043e16ee6709eb0c5fbc0d3
09a970bebcbcd1fd1e1e6703e1fccc3c05d6a813
/client/configuration/tests/configuration_test.py
1f133401c2949db35cea10e6c3a4f69f1ec50d7c
[ "MIT" ]
permissive
joshkehn/pyre-check
ff401557de08a46d6ddb9d4c2aee34f3779b1747
922b62e78e4990d8d268bb2ebde5912ceea9e226
refs/heads/master
2022-06-06T10:36:06.142551
2022-05-20T19:27:06
2022-05-20T19:27:06
166,895,044
0
0
MIT
2019-01-21T23:32:17
2019-01-21T23:32:17
null
UTF-8
Python
false
false
52,365
py
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import json import shutil import site import subprocess import sys import tempfile import unittest from pathlib import Path import testslid...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
415b68c26b7d3402984137aa26281194e8b527b6
54b46ac21712627097e2938b9508150f7f797b28
/docs/conf.py
9d24e85e760d9cc4eec4be8de3b3137d7f163d33
[ "MIT" ]
permissive
riskybacon/mnist_arma
69987e1cd7c8117976bc1af4e8791a22b7570a29
4921686adf2382d7fb87d41d25d5e7e6342e6ec3
refs/heads/master
2021-08-26T09:25:49.401537
2017-11-22T21:00:07
2017-11-22T21:00:07
110,301,106
1
0
null
null
null
null
UTF-8
Python
false
false
5,299
py
# -*- coding: utf-8 -*- # # mnist_arma documentation build configuration file, created by # sphinx-quickstart on Tue Nov 14 14:53:19 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # ...
[ "jbowles@newmexicoconsortium.org" ]
jbowles@newmexicoconsortium.org
50bba1b031f6b26df64745a4488f051af8cc1198
76f7cc243a743904c24dc328d057306720251e30
/Week_02/429_n_ary_levelorder_traversal.py
eed438eb66bb3f8d6ed0d4b4cd369408fb509b50
[]
no_license
underseatravel/AlgorithmQIUZHAO
e2340ad8f3e723fd1e25fe678bdd547bb76483e0
b41e4ddae5e31074992d0b96bd029fcb6291d2ed
refs/heads/master
2022-11-29T05:25:00.338298
2020-08-22T10:23:17
2020-08-22T10:23:17
279,102,613
0
0
null
2020-07-12T16:22:05
2020-07-12T16:22:04
null
UTF-8
Python
false
false
432
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Time : 2020/7/22 1:26 # @Author : weiyu # @File : 429_n_ary_levelorder_traversal.py class Solution: def levelOrder(self, root): if not root: return [] queue = [root] res = [] while queue: res.append([node.val for node...
[ "1355472435@qq.com" ]
1355472435@qq.com
e74b3048c30aaaa5c659ce91f95b5db92a2aaa1d
052275c2dd6d59a0d0fcfe85591b44106343662b
/env/lib/python3.8/site-packages/openpyxl/worksheet/worksheet.py
95186be4844a6f205071fab8860f3c97f8c1014a
[]
no_license
nimadorostkar/Django-Real-Estate
93d104ad1847674103e525ae428af186fffa9e30
bf868e49bb4703e4081d8e7e9fd5e3ae23fc9af9
refs/heads/master
2023-08-10T17:07:29.829253
2021-09-19T10:55:47
2021-09-19T10:55:47
338,533,461
23
9
null
null
null
null
UTF-8
Python
false
false
27,473
py
# Copyright (c) 2010-2020 openpyxl """Worksheet is the 2nd-level container in Excel.""" # Python stdlib imports from itertools import chain from operator import itemgetter from inspect import isgenerator from warnings import warn # compatibility imports from openpyxl.compat import ( deprecated, ) # package imp...
[ "nimadorostkar97@gmail.com" ]
nimadorostkar97@gmail.com
34cb20d94952a36b1456472333a03be16addc0c7
644163d6cafa83976fd7cb9216bbe6b1b2a25109
/ex25.py
0f988e02c4c86018c96da5732d93ef98517c3caa
[]
no_license
wen-t/Learn-Python
6f52773144b2c358aa931a22a529063a8b1ff648
ea8ccb7d1f62c73a5da9c16e12c8aa113b8a2cb7
refs/heads/master
2021-01-10T01:39:11.646276
2015-11-30T14:02:17
2015-11-30T14:02:17
45,468,678
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
def break_words(stuff): """This function will break up words for us.""" words = stuff.split(' ') return words def sort_words(words): """Sorts the word.""" return sorted(words) def print_first_word(words): """Prints the first word after poppin it off.""" word = words.pop(0) print word ...
[ "mail.wen.t@gmail.com" ]
mail.wen.t@gmail.com
76a76c143edcf3347857cf52bb1c494b0d17340f
57a0bbdacb39c652570fe4132cf6df77242480d3
/serving_patterns/src/api_composition_proxy/routers/proxy.py
011975457ef19238db90a225444a926ce465f903
[ "MIT" ]
permissive
GeHongpeng/ml-system-in-action
cca7e722f9725ce3df7372125a91c6e2405f895d
0aa9d6bc4a4346236b9c971ec90afad04bcf5cca
refs/heads/master
2023-04-16T19:47:08.367659
2021-05-01T02:07:28
2021-05-01T02:07:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,681
py
from fastapi import APIRouter, Body, BackgroundTasks import logging import aiohttp import asyncio from typing import Dict, Any from pydantic import BaseModel import uuid from src.api_composition_proxy.configurations import ServiceConfigurations from src.api_composition_proxy import helpers from src.jobs import store_d...
[ "shibuiyusuke@gmail.com" ]
shibuiyusuke@gmail.com
cddaacb4ec03f46b0039d3f454686cec9cd18af0
31ce1d0fa2f527d52c19c52e50a90e2ca83279e7
/Chapter_13/json_example2.py
6a7a9b428cb9ed6014e0f595b696a0b5cae27770
[]
no_license
Gaborjan/Python_Coursera
4ef58cbf1f5bdef12cce8d1e05a4748793dbb66a
3f53b0a9da53410f38eb3df50b4f021ba0a28784
refs/heads/master
2022-09-11T06:28:24.309200
2020-05-27T19:23:24
2020-05-27T19:23:24
255,036,306
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
import json input='''[ { "id":"001", "x":"2", "name":"Chuck" }, { "id":"009", "x":"7", "name":"Gabika" } ]''' info=json.loads(input) print(type(info)) print('User count:',len(info)) for item in info: print(type(item)) print('Name:',item["name"]) ...
[ "janvari.gabor2@gmail.com" ]
janvari.gabor2@gmail.com
f9a07f1248b76978e6b8b1c52aeada5995d17cd4
ea35068bdeb270cfde9ef8cb5803c9510016a55f
/HomeFeed-Web App/HomeFeed/flaskblog/__init__.py
dd6333ffead67db53ec66f51a5405f8f4add1fe3
[]
no_license
PawanPatankar/Web_Apps
398f6c8430fb73c24e5a452504a9c45d9716bab9
997e65350005fca690341a58233e72375b39eda9
refs/heads/master
2021-07-06T23:13:39.632789
2020-10-03T07:57:08
2020-10-03T07:57:08
187,206,307
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt from flask_login import LoginManager from flask_mail import Mail app = Flask(__name__) app.config['SECRET_KEY']='dbd1c16a8d17965dc1e39fe73b6c4586' app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db' db = SQLAlc...
[ "patankarpawan03@gmail.com" ]
patankarpawan03@gmail.com
0b5cf38e9adaf27a8761abf91e7c9e0a67abfe46
955c2caeb13ac0b493d0ef147c44a0d76b5ede28
/B1_course/week12/solution.py
ee5b2523d78dcca477df413fbad0f750fd2e6b41
[]
no_license
ryanh153/Morsels
dcb079cafec63d895160a028fffdb799112cf364
087d8f4e548e31223acb39862b7491b819542320
refs/heads/master
2022-05-27T22:45:02.492518
2022-03-23T22:39:22
2022-03-23T22:39:22
214,299,982
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
from random import randint from typing import List class RandMemory: """Takes in a max/min value Generates random numbers in that range (inclusive) Stores the history of numbers generated""" def __init__(self, lowest: int, highest: int) -> None: self._lowest = lowest self._highest = h...
[ "rhorton@scitec.com" ]
rhorton@scitec.com
f2e63399077fa27918591fffb6acefe07330bce8
98ccf9473905b25fda057d441381c3b66f4ad9a7
/interfaces/azure/vcycleAzure.py
ec518b6a11b6c600038fca67ab57821ea01102db
[ "BSD-2-Clause" ]
permissive
cjdcordeiro/vcycle
623cf6956738b614e3c2069e249252b310225f7e
26b291ff8e301def73086467a90aa6a7a4f924fb
refs/heads/master
2021-01-18T12:56:16.772671
2015-03-27T16:22:50
2015-03-27T16:22:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,196
py
from vcycleBase import vcycleBase import os import VCYCLE import uuid import time , calendar import interfaces.azure.client class vcycleAzure(vcycleBase): def _create_client(self): '''Creates a new Azure client''' tenancy = self.tenancy self.provider_name = tenancy['tenancy_name'] retur...
[ "luis.villazon.esteban@cern.ch" ]
luis.villazon.esteban@cern.ch
d12d2181b7bdfe380b28d28879d1043d0486ef8b
5c96777507c87a293c34e03b5f6b768c8a6bddf2
/objeto.py
7689e82b3ca97b004818940bf4ec9e72b7fc3849
[]
no_license
mtgsjr/Machine_Learning
63f3162f9d15dd3536399b3615fe6f79f23e8dc9
f7c886f9b11d5ea6f4b858117bd1a2228eb4ce83
refs/heads/master
2023-03-15T10:18:40.536845
2021-03-04T23:57:18
2021-03-04T23:57:18
344,641,687
2
0
null
null
null
null
UTF-8
Python
false
false
558
py
import cv2 import numpy as np cam=cv2.VideoCapture(0) kernel=np.ones((5,5),np.uint8) while (1): ret,frame=cam.read() rangomax=np.array([50,255,50]) rangomin=np.array([0,51,0]) mascara=cv2.inRange(frame,rangomin,rangomax) opening=cv2.morphologyEx(mascara, cv2.MORPH_OPEN, kernel) x,y,w,h=cv2.boundingRec...
[ "mtgsjr@hotmail.com" ]
mtgsjr@hotmail.com
229e1fd8c5d5880338a604437236c845881625d6
11228a51cf7bfe3cef852efb0de393ae42c768f2
/rules/gatk3/gatk_genotype_gvcfs.smk
46b05bc905018529fb1c2267a13a418372eaec26
[ "MIT" ]
permissive
orionzhou/snk
cd36c6ced8fb514101b1de7c70f322e76368e760
5ead8aebf5ed00a2aec15363b8023c9b75b0ed4a
refs/heads/master
2021-07-13T12:08:53.168670
2020-06-01T05:19:46
2020-06-01T05:19:46
133,903,231
0
0
null
null
null
null
UTF-8
Python
false
false
1,441
smk
def gatk_gg_cmd(wildcards): java_mem = config['java']['mem'] if 'java_mem' in config['gatk']: java_mem = config['gatk']['java_mem'] if 'java_mem' in config['gatk']['genotype_gvcfs']: java_mem = config['gatk']['genotype_gvcfs']['java_mem'] java_tmpdir = config['tmpdir'] if 'tmpdir' in...
[ "zhoupenggeni@gmail.com" ]
zhoupenggeni@gmail.com
f12b661134198995402bfdfd54a3df7c0e327f53
89e141cf19b1bafc5b2ef186aeb2631a893d3378
/2601/main.py
2eea3a2f9c1fc3f121e4d6879b1bb5535f7f77f7
[]
no_license
100ballovby/8v_3ch
7369c287b6f95cf3a7e54a142e8b22c8b7394183
e064d920ff12cdab65cb4dcb1132af00ae7a693c
refs/heads/master
2023-02-23T08:45:03.374521
2021-01-26T09:20:38
2021-01-26T09:20:38
329,604,273
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
''' while логическое_выражение: действие 1 ... действие n ''' # просим ввести в переменную число с клавиатуры n = input('Введите число: ') # пока в переменной n не будет целого числа (int) while type(n) != int: # пытаемся привести число n к целому виду try: n = int(n) # если не получает...
[ "greatraksin@icloud.com" ]
greatraksin@icloud.com
571ca496b3b9b4f0cc92ccbe72be970e9ffc1562
f7f54c3a496ed05a315919db452d0198488d7d3e
/utils.py
915f1f7d0c7cd0b52bc9db6f094269f073797d8a
[]
no_license
hiyouthinker/tcp_fsm
b3867918a079f2b8f2471b620551de4d50b0d879
d2d0a5b96fbd28a2d5b2e5df5fffcba65bdf765f
refs/heads/master
2023-04-18T01:54:30.099968
2021-05-04T22:33:25
2021-05-04T22:33:25
363,361,315
1
0
null
null
null
null
UTF-8
Python
false
false
2,090
py
#!/usr/bin/env python #coding=utf-8 ''' BigBro @ 2021.04 ''' from scapy.all import * import signal import tcp_state def send_tcp_pkts(type): keys = tcp_state.sessions.keys() for key in keys : value = tcp_state.sessions.get(key) state = value[0] seq = value[2] ack = value[1] + value[3] flags = tcp_state....
[ "hi.youthinker@gmail.com" ]
hi.youthinker@gmail.com
514db84cd47d638f0cb747ea8fba0c4df5427e73
873bcf16ea9438d03c14bba89be548e4d566d6b7
/mini-projects/Library/microtest.py
7376990417f302e62cf964971bc1bbfe4bf6de08
[]
no_license
snaik/codeskulptor-mini-projects
4af46b3d17bff396284b9f33a1271bb3c1090e77
6a12cdf44a6fecd929b468b7ced2827649cac832
refs/heads/master
2020-12-24T16:58:42.550286
2012-11-09T08:10:06
2012-11-09T08:10:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
import types, sys, traceback class TestException(Exception): pass def test(modulename, verbose=None, log=sys.stdout): ''' Execute all functions in the named module which have __test__ in their name and take no arguments. modulename: name of the module to be tested. verbose: If true, print test ...
[ "sachin.u.naik@gmail.com" ]
sachin.u.naik@gmail.com
dd75b7eb7bc4981c28a04e678eb2541210ddbf26
b5f7f7df4c6066508dfe3667018c74424c55c2f3
/teachers/apps.py
43c7c3112f47f758302b27fda48cf990c25f9b69
[]
no_license
miha-pavel/hillel_students_tracker
539d8b13c8cd210e17d2f10232fae79a663e21c6
b510e7035faa2b5865491bf2fb167236fda9bf83
refs/heads/master
2022-12-12T04:56:52.921872
2020-02-12T05:35:29
2020-02-12T05:35:29
230,735,782
0
0
null
2022-12-08T03:27:12
2019-12-29T10:37:01
JavaScript
UTF-8
Python
false
false
211
py
from django.apps import AppConfig class TeachersConfig(AppConfig): name = 'teachers' def ready(self): # Импорт делаеться только здесь import teachers.signals
[ "pavlom@oneplanetops.com" ]
pavlom@oneplanetops.com
38e32c8adec32252e5a5ee80d1c30ea914b8702f
3992bdce87f78028fd4f9f48d954d6ccbfcd5ad5
/Codes/ssort.py
20430a46b9f9a2ee525fe4719909f9e1de665170
[]
no_license
IIInvokeII/1st_sem_python
b8d973da8349b0b0b148683dd16abe9a25d77b8d
508fe50a85f9fd056b7e53b05ea2ae1b0ae420d1
refs/heads/main
2023-07-10T22:46:58.220059
2021-08-11T11:27:20
2021-08-11T11:27:20
394,961,452
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
def ssortasc(a): for i in range(len(a)): mini=i for j in range(i+1,len(a)): if(a[mini]>a[j]): mini=j a[mini],a[i]=a[i],a[mini] return a def ssortdesc(a): for i in range(len(a)): mini=i for j in range(i+1,len(a)): ...
[ "noreply@github.com" ]
IIInvokeII.noreply@github.com
edb8a2e13321ebe34626eb8f672c16db8392b8d2
0e1e64bd49cce6e94543ba473edc69fb2547905b
/deepneuro/pipelines/Skull_Stripping/cli.py
e3b07ea02050cedd058b5d11b0e60cbb65844278
[ "MIT" ]
permissive
medical-projects/DeepRad
ab967577695c657d181adba933c2e1af81c26fab
96b16aac873089e0d766fea34ed428a59c9e9080
refs/heads/master
2021-09-22T23:09:36.208120
2018-09-12T08:53:42
2018-09-12T08:53:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,500
py
import argparse import sys import os from deepneuro.docker.docker_cli import nvidia_docker_wrapper class Skull_Stripping_cli(object): def __init__(self): parser = argparse.ArgumentParser( description='A number of pre-packaged commands used by the Quantiative Tumor Imaging Lab at the Martino...
[ "andrew_beers@alumni.brown.edu" ]
andrew_beers@alumni.brown.edu
92663081b0db9c1d5fd17c8e4658db632ac361e8
ca5201a99fa9271e7833e88c5926d48a11061519
/brynweb/userdb/migrations/0017_team_tenants_available.py
ffe40d9028c0caef9ce3b53d94b1c197de939c00
[]
no_license
m-bull/bryn
c94ba0347f2e48e2f921393818150a072cd6d66a
68a42d45d1938f7219b4af1666d70cae0b34cf32
refs/heads/master
2020-03-06T19:10:25.268797
2018-08-31T12:45:45
2018-08-31T12:45:45
127,021,966
1
0
null
2018-03-27T17:41:04
2018-03-27T17:23:16
Python
UTF-8
Python
false
false
459
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-13 07:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('userdb', '0016_auto_20160712_0722'), ] operations = [ migrations.AddField( ...
[ "n.j.loman@bham.ac.uk" ]
n.j.loman@bham.ac.uk
c6df51600a30b2b426cae7397d74df668ae25de0
5092b7eab30ae9a1e0c17d6915b9da13ae91e663
/mit-6.00-ex/ps5/ps5_ghost.py
676e46fff504071c2180fa4abc6403ba54de1f8e
[ "Giftware" ]
permissive
Hausdorffcode/mit-ex
acf2db5d645c887b09d021aacceeddcca5bea8b8
48d34a1de35a1fd789d1cb5278a5510be356da87
refs/heads/master
2021-01-12T10:47:15.249520
2016-11-03T02:04:45
2016-11-03T02:04:45
72,699,475
0
0
null
null
null
null
UTF-8
Python
false
false
3,229
py
# Problem Set 5: Ghost # Name: # Collaborators: # Time: # import random import string # ----------------------------------- # Helper code # (you don't need to understand this helper code) import string WORDLIST_FILENAME = "words.txt" def load_words(): """ Returns a list of valid words. Words are strings ...
[ "m15950172843@163.com" ]
m15950172843@163.com
fc9f30f416f389d049fb8ed919eb064c11d92309
4faee7abaf73112bc07ac9c32f3ed97b26d82d52
/pirpy/io/filenames.py
26c26f0f48e6f506c0445d9d10ee8b0fd9afce74
[]
no_license
juliotux/pirpy
8eeca3cd3d03553264e9081f28aae7fff154d426
9b590d4d61fa0d8220114f6c38163c0773048942
refs/heads/master
2020-04-21T03:40:56.861887
2016-02-26T17:27:56
2016-02-26T17:27:56
38,067,852
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
''' Functions to easy generate lists of fits files names, following some standarts. ''' from os.path import join import glob __all__ = ['from_basename', 'from_file', 'ls'] def from_basename(basename, start_count, n_img, pad, sep='_', base_dir=''): ''' This routine generates a file list, based on a basename, ...
[ "juliocampagnolo@gmail.com" ]
juliocampagnolo@gmail.com
0abc1075d8f5d1b2f7f2d1a31f01c198def2afc2
9e397b7e5787826534d06972ce7bb3390aab3677
/manage.py
d7c015a88c210b2a2cabe4ce7772f3f1bb913329
[]
no_license
KangSuzy/My_first_blog
88d6dca24026c00471f1b9fa0e0ca9f62b6a82e6
17b7591cde84f223a01c4265ca9f71e20f193741
refs/heads/master
2020-04-14T00:30:37.131183
2019-01-01T16:09:01
2019-01-01T16:09:01
163,535,213
1
0
null
null
null
null
UTF-8
Python
false
false
516
py
import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mysite.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you sure it's installed...
[ "astnwl321@gmail.com" ]
astnwl321@gmail.com
14cd63d1eece035c530e8b448b2b946ff4fbb808
bbea674e2c8b377dc4ba98bb32c9945d161e5c79
/Single_pair_of_images_model/unetmodel.py
5715399cf3db34f0fef73bf1782c8150250fc6a9
[]
no_license
AtilaSaraiva/Unet-LSRTM-filter
a9084382ed9e8dc2195d2c1b5d05a551b3eccec6
841bc14b57568fd07a051d140c7e7660730b6684
refs/heads/master
2023-07-02T14:16:55.790062
2021-08-11T22:28:44
2021-08-11T22:28:44
358,454,156
1
0
null
null
null
null
UTF-8
Python
false
false
11,142
py
from keras.layers import Conv2D, MaxPooling2D, Dropout, concatenate, UpSampling2D from keras.optimizers import Adam from keras.models import * from keras.utils import plot_model def unet2(pretrained_weights = None,input_size = (512,512,1)): inputs = Input(input_size) conv1 = Conv2D(64, 3, activation = 'tanh', ...
[ "atilasaraiva@gmail.com" ]
atilasaraiva@gmail.com
1c06cea3dc146b10c247aa89165127ff7527308d
4e891592463f5daa53573a89a8ed3eaa1ca20c30
/test/test_db_matches_ui.py
2fa2528d8dceae2b116d1aff18b82467a79d3f58
[ "Apache-2.0" ]
permissive
Doc-fee/python_training
36940047e5cd8d21a44e2b51e5fbf82e68e5684c
67464bba88a6ddfc05eb93fde4866de6b0542b63
refs/heads/master
2021-04-14T05:21:02.346418
2020-05-25T17:35:22
2020-05-25T17:35:22
249,209,496
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
from model.grroup import Group def test_group_list(app, db): ui_list = app.group.get_group_list() def clean(group): return Group(id=group.id, name=group.name.strip()) db_list = map(clean, db.get_group_list()) assert sorted(ui_list, key=Group.id_or_max) == sorted(db_list, key=Group.id_or_max)
[ "bugsbunny.k38@gmail.ru" ]
bugsbunny.k38@gmail.ru
f7757b2880b47dfefd72c18007828fbbe1155d51
4dfea1afb726814bb6ff8d4f1da8b1106afe39a7
/istype/internal/__init__.py
440c5a335bbba2b9587b71d6b06f6ac0829e2973
[ "MIT" ]
permissive
Cologler/istype-python
ddd1b7341d2b940fccdf5f32d370842936fb7b95
b4dcea88468b1ee43ebb36413b099e3e8508b3ce
refs/heads/master
2021-06-05T18:40:54.585381
2020-06-29T03:43:44
2020-06-29T03:43:44
114,655,652
6
0
MIT
2020-06-29T03:43:00
2017-12-18T15:16:22
Python
UTF-8
Python
false
false
375
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2017~2999 - cologler <skyoflw@gmail.com> # ---------- # # ---------- import os import importlib from .common import TypeMatcher for name in os.listdir(os.path.dirname(__file__)): if name.startswith('_') or not name.endswith('.py'): continue ...
[ "skyoflw@gmail.com" ]
skyoflw@gmail.com
f83352d6e3685adb02728b8444acd02c40e198b8
8a2aa2c4480c0c874275a8d8984d292b495bdd16
/tutorons/common/migrations/0002_auto_20160208_0000.py
a0b707c5149c3271fca3c98ba71d4e6a627797f3
[]
no_license
andrewhead/tutorons-server
76318bf75420f962da55c4acbd1b3c9fa56dd7ce
8ea4cc3d7d1431de03aef1806d7d5f6e4a2fa3c0
refs/heads/master
2021-01-15T13:14:20.157931
2018-10-24T18:17:42
2018-10-24T18:17:42
26,420,128
7
2
null
2016-07-08T06:53:38
2014-11-10T03:53:42
Python
UTF-8
Python
false
false
569
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('common', '0001_initial'), ] operations = [ migrations.AddField( model_name='region', name='end_time'...
[ "head.andrewm@gmail.com" ]
head.andrewm@gmail.com
d1394ce8aee7d45bdd5c7b4ac0743949f87e6994
985013eb7f20a38b756ca1f000971df1cd0f0746
/LoadAllJsonFilesFromDir.py
d939bdecd551ce0bc0f121ffbb0e883f972c16c5
[]
no_license
hasantuberlin/Impro-project
6fc3ee344cf840ee5f9fe89fb72769a7aa05cc6a
a52f6b03b584cce75004eecea5fa1edbc9f2a2ab
refs/heads/master
2023-01-05T03:27:12.558540
2020-11-05T12:37:01
2020-11-05T12:37:01
310,293,438
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
''' loading data in elasticsearch ''' import requests, json, os from elasticsearch import Elasticsearch #connecting to elastic search res = requests.get('http://localhost:9200') print (res.content) es = Elasticsearch([{'host': 'localhost', 'port': '9200'}]) directory = os.getcwd() for filename in os.listdir(dire...
[ "hasan.1@campus.tu-berlin.de" ]
hasan.1@campus.tu-berlin.de
ada4d7c93cd7370c5ea393351b6cc0a57da531b7
1643d6745b3806e7c52c6ea7e744ebee0eb518fd
/SE_Backend/ContestPlus/migrations/0006_auto_20201210_1617.py
988b5e354d1897ba1f24fd5b59fc80a42b57dce1
[]
no_license
cobs14/SE_ContestServicePlatform
7eb3279a5f42bc34343eabaa303789d984e2834a
3a3d9d4fe7cbfa6a61110a7ea7da7eb5e7db4535
refs/heads/master
2023-02-27T19:58:32.348228
2021-01-31T13:19:53
2021-01-31T13:19:53
299,851,916
1
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.1.3 on 2020-12-10 16:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ContestPlus', '0005_contest_publishresult'), ] operations = [ migrations.AlterField( model_name='user', name='userTy...
[ "52957393+LiXCloudland@users.noreply.github.com" ]
52957393+LiXCloudland@users.noreply.github.com
e9f99dd72dc9800d274ca3b2ee210f847433f7ee
be4de24b9cca2fe00328c30c609e53b46e698d17
/quandl_to_db.py
140d170e7c6373def894c2590ae2fb11f8d7c165
[]
no_license
carstenf/Security-Master
2544a8a18c293be5b8b38a4c80d07dbb5f110756
230a029c1d942a8be2af042e5ab4cb6503b02c57
refs/heads/master
2021-08-22T04:09:22.134263
2021-01-10T13:55:11
2021-01-10T13:55:11
242,366,399
15
4
null
null
null
null
UTF-8
Python
false
false
33,363
py
import time import math import pandas as pd from sqlalchemy import create_engine from tqdm import tqdm import quandl import zipfile import timeit # create the engine for the database engine = create_engine('mysql+mysqlconnector://root:root@localhost/securities_master') # define path to data dump from data vendor #p...
[ "noreply@github.com" ]
carstenf.noreply@github.com
3d1e6770334522878a01c66e9e49e03b04187275
31b482a5a44209a7a0607acd7a28ff30a70fc412
/aladdin-cas/init/init_object_detection.py
dca6024bb4d48c28e4eac7bb6616da5ddc0e201e
[]
no_license
ARES3366/aladdin
3ac526ccff98972233c05c262e38e434d0fcf235
fb268cf7901322bb16b8b295f2c791628665bfb8
refs/heads/main
2023-08-20T11:42:21.614951
2021-10-28T07:25:55
2021-10-28T07:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,755
py
from utils import get_mongo_client, mongo_config, milvus_config from time import sleep from milvus import Milvus, IndexType, MetricType, Status def init_object_detection_mongodb(): try: print(mongo_config) client, _ = get_mongo_client(mongo_config) db = client[mongo_config["db"]] db...
[ "1010276502@qq.com" ]
1010276502@qq.com
818d0b9f2d7a27de56e82aac986ec04fa6af6318
05dfa7cf71dddb604d8835cc9c16f31c4992f260
/orders/context_processors.py
631bf008fc3146b010dde8f7c743a12a4895e6c8
[]
no_license
asanisimova/ProjectWeb
c605f2848a1a0352b378dd010e0515e292b52392
46f5566fcc1573a999cb0b174679c38e0a2ba453
refs/heads/master
2022-11-23T09:01:38.041139
2020-01-12T18:43:57
2020-01-12T18:43:57
230,278,128
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
from .models import ProductInBasket def getting_basket_info(request): session_key = request.session.session_key if not session_key: request.session.cycle_key() products_in_basket = ProductInBasket.objects.filter(session_key=session_key, is_active=True, order__isnull=True) products_total_nmb =...
[ "anna_anisimova1997@mail.ru" ]
anna_anisimova1997@mail.ru
18e3a7a37db089ffd5b2d90e18d157f16cdf3498
63df49317f5ef093e572c3cb8cd635c2e74ef09a
/ep_clustering/likelihoods/_gaussian_likelihood.py
82b347981917fe64c664071636365dcd3a5cb48a
[ "MIT" ]
permissive
PeiKaLunCi/EP_Collapsed_Gibbs
e4015b9b1dbef8b80a837146794dd71e32ee2c30
3b2e8c3addeab2343837b9e86e9cb57b00798b9a
refs/heads/master
2023-03-16T03:12:27.608096
2019-12-08T00:24:08
2019-12-10T06:23:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,234
py
#!/usr/bin/env python """ Gaussian Likelihood """ # Import Modules import numpy as np import logging from ep_clustering._utils import fix_docs from ep_clustering.likelihoods._likelihoods import Likelihood from ep_clustering.exp_family._normal_mean import ( NormalFamily, DiagNormalFamily ) logger =...
[ "aicherc@uw.edu" ]
aicherc@uw.edu
e2cbf792b9c854508db3d2a349801d2165b6ffec
5e29a10631cf23e54adba1109e13c345e2eafba4
/selenium_test/Web_TimeEvent_Test.py
c9fba36dbe0cfc257157a60e7276193cc2a375fe
[]
no_license
kuangtao94/Selenium
1926c9c11790e6fe741fdeb5b0f05278686ebc31
128203d3446b31b31593b7e605a99f75f32e8e40
refs/heads/master
2020-06-29T07:10:41.766221
2019-11-23T16:25:19
2019-11-23T16:25:19
200,471,309
0
0
null
null
null
null
UTF-8
Python
false
false
1,745
py
from selenium import webdriver from selenium.webdriver.support.select import Select from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support.wait import WebDriverWait import time as t driver = webdriver.Chrome() driver.maximize_window() # driver.get("http://www.baidu.com") drive...
[ "1512500241@qq.com" ]
1512500241@qq.com
4241e79403d4a85677d2e3a33a6482de9a703ffa
3740de0d6e43ea140fc09ab314e4c492603ba185
/scripts/sources/s_evaluation_satis_scenprob.py
3b2ec5f3a31142b953373d3773527a921aa13e8e
[ "MIT" ]
permissive
s0ap/arpmRes
29c60c65fd3e11be1cc31d46494e5b3ebf6e05ab
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
refs/heads/master
2022-02-16T05:01:22.118959
2019-08-20T16:45:02
2019-08-20T16:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,446
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.5 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # s_ev...
[ "dario.popadic@yahoo.com" ]
dario.popadic@yahoo.com
64eed1d7f291132bd242926d2ed2a29df9025286
70bbd6e465c2360e71899077a15b376c92d872ea
/config.py
2a7ec4a2de9d2b0755d217bb93a1179b416c61b9
[]
no_license
anchyy/Zavrsni
afe531f590031ef4991bd2b48725ff557dcc9004
e385db393484ded76a39499783723bac7f3e4572
refs/heads/master
2022-12-31T09:15:55.683956
2020-10-21T15:52:50
2020-10-21T15:52:50
296,143,195
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY='gvpTrsDaf5vgzIzdzC2XKA' SQLALCHEMY_DATABASE_URI='sqlite:///webshopDB.sqlite' SQLALCHEMY_TRACK_MODIFICATIONS= False #kako bi se koristilo manje memorije SQLALCHEMY_ECHO= True ENV = 'development'
[ "ana.strenja88@gmail.com" ]
ana.strenja88@gmail.com
09222c4ffe43f89b913e1ae57331c6ad73adb1c9
25b007b58317f6f920dc3ca56b5d4a9291096ca2
/Intense/migrations/0019_auto_20201006_1727.py
e052d45e385957d99d5fd9c5ab0e671d1b8ded3d
[]
no_license
kmfaizullah/tango-backend
2a6b79195f86f156f41d780b966d3617724d2527
f6b377fdfe7dc1deee7b0f3df6eba4dfb39b128c
refs/heads/master
2023-01-04T21:08:29.764484
2020-10-11T10:47:38
2020-10-11T10:47:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Generated by Django 2.2.15 on 2020-10-06 11:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Intense', '0018_user_role'), ] operations = [ migrations.AlterField( model_name='user', name='username', ...
[ "sameesayeed880@gmail.com" ]
sameesayeed880@gmail.com
07bf834854fde7fe6a8945e0e36b96c2d80530b1
cb4be2d145c529192cad597ebf6bba8aed0ec12e
/scripts/00_important/mec_shelf_loader/shelves/00_trash/Thomas_Nathan_CRI1_1409_rigging_tools.py
2081cd5f275dc4ee7849f12dbdd2772d02882a98
[]
no_license
mclavan/Work-Maya-Folder
63e791fdbd6f8ac1f4fda2d46015cd98df38825c
c56dbdb85a7b1a87ef6dd35296c56e0057254617
refs/heads/master
2020-05-20T07:21:15.891179
2014-10-17T14:28:45
2014-10-17T14:28:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,181
py
''' Nathan Thomas Thomas_Nathan_CRI1_1409_rigging_tools.py Description A group of rigging related tools How to Run: import Thomas_Nathan_CRI1_1409_rigging_tools reload(Thomas_Nathan_CRI1_1409_rigging_tools) NOTE: GETTING SELECTED: start with: selected = pm.ls(selection=True) ''' print 'Rigging Tools Active'...
[ "mclavan@gmail.com" ]
mclavan@gmail.com
b09d3d9917697dc4d1359837a8f9339bfbc5bca3
a0d11652c19fa2a655511ceee87a8d2e05394adb
/3.py
b460667010201582af9bc37cc2401967426f5bc7
[]
no_license
galerra/artem_got_angry
46b391f3ea1e6715e03441bb3050b81a2e7fe8fe
807a4d7f3f55fa42b4b73f2f877979ae65bddfa1
refs/heads/main
2023-08-26T22:11:01.589735
2021-10-21T07:31:00
2021-10-21T07:31:00
417,957,519
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
a3 = int(input("Введите a1:")) a2 = int(input("Введите a2:")) a1 = int(input("Введите a3:")) b2 = int(input("Введите b1:")) b1 = int(input("Введите b2:")) c1 = (a1 + b1) % 10 c2 = (a2 + b2 + (a1 + b1) // 10) % 10 c3 = ((a2 + b2 + (a1 + b1) // 10) // 10) + a3 print("Сотни", c3) print("Десятки", c2) print("Единицы", c1) ...
[ "artem-newalex@mail.ru" ]
artem-newalex@mail.ru
5f8183e14d9f9cacecae8ab0e3db53d3dece2a16
0244a193f052dcb507b1f45daee3391b26112440
/__openerp__.py
ea6a0f3ecb80e43b63ad94aa3dc979307dc7f19b
[]
no_license
duongduong/report_voucher
aa340377457a3b042b63be349202ca49da9c3973
7559387b04e1d6fafd13165a7959faad49822077
refs/heads/master
2016-08-11T09:22:24.248383
2015-09-28T16:03:15
2015-09-28T16:03:15
43,309,989
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
{ 'name' : 'PJ_Test', 'version' : '1.0', 'description' : "", 'depends' : [ 'product', 'account','base', 'sale','account_voucher' ], 'data': ['_test_view.xml', 'report/report_saleorder_inherit.xml', 'report_acc_voucher.xml', 'report/report_accou...
[ "huongduong328@gmail.com" ]
huongduong328@gmail.com
c84a036fd6d594c1ed61f9b0056ebda6f4b8baa4
a35a2f9dc412b72bd07c36c2de2b8a577e880d11
/redactor_project/redactor/unredactor.py
277a193ec6ad830d8017adafd600a14157106d44
[]
no_license
umeshG34/redactor
95750c93415d349beb2e978691b7d12c6c7f33f9
bcfb43ad33e05d1b3881f0fe36e7d217a990949a
refs/heads/master
2022-12-17T21:51:23.176130
2019-09-30T15:46:46
2019-09-30T15:46:46
172,621,679
0
0
null
2022-12-08T00:02:34
2019-02-26T02:23:33
Python
UTF-8
Python
false
false
7,359
py
#!/usr/bin/pythonw # -*- coding: utf-8 -*- import numpy as np import pandas as pd import argparse import nltk import glob import csv import os import re from nltk.tokenize import sent_tokenize, word_tokenize from nltk.tree import Tree from sklearn.feature_extraction import DictVectorizer from sklearn.neural_network imp...
[ "umeshsai34@ou.edu" ]
umeshsai34@ou.edu
f1c89f72df982ce0cf4460d3d18d203bb585aeb8
e4f60cbe8b727ce09e7cccf372183a71b90ea6bd
/venv/Scripts/pip3.7-script.py
02bafbe44323096c44b20fddfe2459c592e20992
[]
no_license
yk3996/likelion_task2
82530bdeb3600a3ed3e29d2407d71f530e34c914
1e44c7d1466f27c7f162101fdc9b8053e4b9aa50
refs/heads/master
2020-05-24T01:26:17.363437
2019-06-07T00:06:19
2019-06-07T00:06:19
187,033,511
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
#!C:\Download\PyProject\likelion_task2\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[...
[ "bignfine@naver.com" ]
bignfine@naver.com
90dadd58fbe69e5636c0d358cd9c496fb1c86ceb
30339420bc8827464ce9772e9ad5c7333e5f4ef1
/oscar/bin/easy_install
3e5b0c1c2c6f1447cc25b929411fbd837dd27923
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
Razvancbalaci/djangooscar
0df6425deb8f0a14e6cb9091460e4b36cc32f947
0a4ac1d7e7ccc92b4d4f786c8a2b4bf2a093078d
refs/heads/master
2020-04-18T07:24:39.982801
2019-01-24T19:07:39
2019-01-24T19:07:39
167,358,870
0
0
null
null
null
null
UTF-8
Python
false
false
261
#!/home/razvan/django-oscar/oscar/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "razvan_1997@live.com.pt" ]
razvan_1997@live.com.pt
67b279c2fe03624259dd54e4db9710063fe12276
ddf17869e08f847bd5d273c4ed27b2f9549011d8
/MachineLearningInAction/LogisticRegres/logregres/logRegres.py
f83aeef0ba6a869ed0f19e29f0392d33e74bb4d9
[]
no_license
1astonm1/MachineLearning
a5e8885d4f24c9957bd272b971be067b8c8be033
443bbdfa2ff26f999918a4c4a22a5aea36ef9c0d
refs/heads/master
2020-05-15T22:13:35.607080
2019-07-06T15:48:40
2019-07-06T15:48:40
182,521,366
1
0
null
null
null
null
UTF-8
Python
false
false
4,003
py
from numpy import * def loadDataSet(): dataMat = []; labelMat = [] fr = open('testSet.txt') for line in fr.readlines(): lineArr = line.strip().split() dataMat.append([1.0, float(lineArr[0]), float(lineArr[1])]) labelMat.append(int(lineArr[2])) return dataMat, labelMat de...
[ "45306215+1astonm1@users.noreply.github.com" ]
45306215+1astonm1@users.noreply.github.com
1a98406527162c67dcfcb2872cc5fc723e81b60f
f9ac8727c233600e494b74be1e1522004296bedf
/fenv3/catalog.py
1de43c0f494afb0698b6df72259bb40665e22b8d
[]
no_license
mohammadghulmi/DOSfinalproject
072048b25ff266846cdc1956d19945817fe9d7f6
90b4e90aea7cab83929266363caf46573ed4a9bb
refs/heads/main
2023-01-24T03:52:22.799579
2020-12-14T16:49:43
2020-12-14T16:49:43
321,412,588
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
from flask import Flask from flask_restful import Api, Resource import json app = Flask(__name__) api = Api(app) books = [["","","","",""],["","","","",""],["","","","",""],["","","","",""],["","","","",""],["","","","",""],["","","","",""]] f = open("data.txt","r") for i in range(7): for j in range(5): ...
[ "47061208+mohammadghulmi@users.noreply.github.com" ]
47061208+mohammadghulmi@users.noreply.github.com
44298aa9008a62b04b09d7fe8e6ca9b449475bfd
596ee60e8b469b9e8550be616affad397da4534f
/build/rosserial/rosserial_esp32/catkin_generated/pkg.develspace.context.pc.py
abfb1a14b2c987684745df18d3e99483ef769c96
[]
no_license
jmyth742/veg_picker
4e76fc1e46442d2d1cf3e7915fd419cfe551d5a6
9402d6ef4d89593507dd3bd118501130f2842c87
refs/heads/main
2023-02-23T12:51:16.688520
2021-01-27T17:40:50
2021-01-27T17:40:50
333,507,750
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rosserial_esp32" PROJE...
[ "jmyth742@gmail.com" ]
jmyth742@gmail.com
16e39501d561ff8f399a048debeeac46a05ae18f
7ec64481a66af49071db47c792e5b91390142ed9
/tests/test_order_by_nested.py
165f04e025111c51966b44e189c616bf99489ebb
[ "Apache-2.0" ]
permissive
rafalstapinski/tortoise-orm
73943f0b3dcd84645db46df6dea047ab9dd586af
b310f4fc81e1b817e68110d118cd371280b05a8d
refs/heads/develop
2023-05-25T09:10:42.249656
2021-06-07T03:54:05
2021-06-07T03:54:05
348,920,652
1
0
Apache-2.0
2021-03-18T02:50:46
2021-03-18T02:50:45
null
UTF-8
Python
false
false
1,032
py
from tests.testmodels import Event, Tournament from tortoise.contrib import test class TestOrderByNested(test.TestCase): async def test_basic(self): await Event.create( name="Event 1", tournament=await Tournament.create(name="Tournament 1", desc="B") ) await Event.create( ...
[ "noreply@github.com" ]
rafalstapinski.noreply@github.com
a148d4e1e27e766ce235e0dc45f050400b6627e0
739a84f15a1242ec715c79f4f1fd7657c607f2e6
/intersection_arrays.py
4c16b663b2f428c3ba5571ec36ed912e065e7a64
[]
no_license
ElshadaiK/Competitive-Programming
365683a7af61f881ee9cd56d2124f09cfb88e789
9757395120757a81fb5df0bd4719771e60410b47
refs/heads/master
2023-03-09T04:58:33.262626
2023-02-04T12:24:39
2023-02-04T12:24:39
225,391,846
10
0
null
null
null
null
UTF-8
Python
false
false
352
py
def intersection(nums1, nums2): inter = [0]*1001 result = [] for i in range(len(nums1)): inter[nums1[i]] = 1 for i in range(len(nums2)): if(inter[nums2[i]] == 1): inter[nums2[i]] = 3 for k in range(len(inter)): if(inter[k] == 3): result....
[ "elshadaikassutegegn@gmail.com" ]
elshadaikassutegegn@gmail.com
43d0686cbaf9a0f83c2c555ed97d2fe855a322ba
2256e2a8d7958925a17a31871dc8c674a6f9e6df
/app/bot/core/middlewares.py
bfcf19f7819ad7440f3131662f9d2f6037c92df6
[]
no_license
tabacdenis/fastapi-aiogram-template
7694c5cf2bdca0412d8d3b99b29893bd79cbbb1a
e0b72c9154ece56e5b5139a341ba0bf760b37b20
refs/heads/main
2023-08-26T13:04:42.710513
2021-10-26T09:00:13
2021-10-26T09:00:13
518,385,537
1
0
null
2022-07-27T09:06:54
2022-07-27T09:06:53
null
UTF-8
Python
false
false
2,608
py
import asyncio from aiogram import Dispatcher, types from aiogram.dispatcher.handler import CancelHandler, current_handler, Handler from aiogram.dispatcher.middlewares import BaseMiddleware from aiogram.utils.exceptions import Throttled def rate_limit(limit: float, key=None): def decorator(func): setattr...
[ "oopanndaa@gmail.com" ]
oopanndaa@gmail.com
a1be7cf483a9faca9b09118b5a2e540a23142cb3
46e6c78186015ccdf5dae056c106572bb4fb156b
/Poisson/2DPoissonNN.py
68a2530cabf4715436d03fe970dcaafa86adf832
[]
no_license
dmontag23/NNAugmentationForPDEs
b28a67a18e89d19c37b08127b3505c65d8cac9a5
71168f812526ab698ebebcc956c2e28d3cb69d40
refs/heads/master
2021-05-21T05:49:52.598158
2020-04-09T03:56:26
2020-04-09T03:56:26
252,573,556
1
0
null
null
null
null
UTF-8
Python
false
false
4,702
py
import numpy as np from datetime import datetime from fenics import * from fenics_adjoint import * from Poisson.FEM import FEM from Poisson.NN import Network from scipy.optimize import minimize np.random.seed(2) def create_fenics_vector(update_vector): q_function = Function(Q) vertex_to_dofs = ver...
[ "dmontag23@gmail.com" ]
dmontag23@gmail.com
9d8a62fa8fd0d64ef61638773107d879bd039073
8d85393bdae5cdef580dacbf2f296a6882bf765f
/polls/models.py
18f57a0c31fd3bd42ca1519e7de3e53cbddd87ff
[]
no_license
rednibia/djangoproject
6abb8462ad9aa2224553e4d5d2833a9e20e3ab74
679910b268c90f72ca8ec8ec93ca1c6fbe77b559
refs/heads/master
2021-01-10T05:06:34.946338
2016-02-01T19:37:59
2016-02-01T19:37:59
50,608,447
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
import datetime from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils import timezone @python_2_unicode_compatible # only if you need to support Python 2 class Question(models.Model): qtxt = models.CharField(max_length=200) pd = models.DateTimeField('dat...
[ "andrewaibinder@gmail.com" ]
andrewaibinder@gmail.com
fd3ead0ab8456a1f33d4469a8d99a8f7f42e9320
0bc80f7bba8d7dfa7b293759b0974b9707d8d450
/testdir-9/test-99.py
72e8f627f0d744e3698025d63a8b04ad6dc17d64
[]
no_license
delcypher/lit-concurrency-windows-bug
da3d5edd63f5feaf8b8b65650e39c877f71f46d8
029eb69219e4b84d33072c26e02663e267a38304
refs/heads/master
2020-06-06T07:24:50.360611
2014-05-19T15:31:52
2014-05-19T15:31:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,231
py
# RUN: python %s > %t # RUN: %diff %s.expect %t print('FOO 0x15bf60ecd0cd69f3') print('FOO 0x60cd668746ccd0fa') print('FOO 0x4ca8480914b6a7d8') print('FOO 0x2e2a685136fefe6f') print('FOO 0x515825fdda953ec7') print('FOO 0x1ca9386430cfd8d2') print('FOO 0x15aba69530aa97aa') print('FOO 0x6c1c6788eaca56ec') print('FOO 0x368...
[ "daniel.liew@imperial.ac.uk" ]
daniel.liew@imperial.ac.uk
e55646a8119970163aeb64b6b83d2aa3d3d683ba
5d60d0d3b474b8f225773330c2f0af63835e2625
/python/analyze_essentia.py
96269a0d03aaddfd9caaf367ef7e449c15fa3e7b
[]
no_license
julesyoungberg/soundboy
3dcd62b031c6552c9ac99309d36245463b6ae4e6
c20bd44b811df5fd399bb03c73ca89e33b5d7609
refs/heads/main
2023-02-02T18:29:38.596939
2020-12-13T22:12:56
2020-12-13T22:12:56
301,028,668
0
4
null
2020-12-13T22:12:57
2020-10-04T03:01:17
TypeScript
UTF-8
Python
false
false
4,707
py
import os import shutil import essentia.standard import numpy as np import essentia from tqdm import tqdm import matplotlib.pyplot as plt import sklearn def get_features(d): try: sr = 22050 duration = 3 nfft = 2048 #loader = essentia.standard.EasyLoader(filename=...
[ "noreply@github.com" ]
julesyoungberg.noreply@github.com
aaadd0a0164a4f69dde6224c758243edc8c96d89
442ef15c5cba847a9ede88f7f29d8dab6d72f3dd
/apps/miniwallet/migrations/0001_initial.py
742c76d5cb436d4215aa2851d13d555d25a4aaec
[]
no_license
roopagokul24/testproject
fd526be5dceb70da798282d6f808a32ebca01e09
b638c7e4b621532196e8846bbc650f0ad5cb8e25
refs/heads/main
2023-06-18T21:51:45.215864
2021-07-13T18:33:12
2021-07-13T18:33:12
319,672,245
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
# Generated by Django 2.2.3 on 2021-07-13 16:23 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), ] ope...
[ "roopa@impressads.com" ]
roopa@impressads.com
5a6477db916abb1b00d44eb794a0c0276496e045
1afbf755dcb47649cdc5d1d3b908bcd4e60cf24f
/PreDisulfideBond/create_position.py
726740568a783d6101baa986253c30bb4f4c3f7f
[]
no_license
romendlf/SSBONDPredict
cd64d74a4b1814e769ca196388687430fda3af34
524a1c1196377ad4960a1001f42fdd47f19c17bf
refs/heads/master
2022-02-15T16:54:52.964907
2019-08-17T12:19:16
2019-08-17T12:19:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,387
py
import rmsd import numpy as np import sys # this function can produce the sixth position for redius who only have 5 atoms def xyz5_position(i,lines): template1 = np.array([[-0.93454, 0.91954, 1.11786], [-0.01675, 0.03488, 0.58954], [ 1.10621, 0.72253,-0.004 ], [ 1.6148 , 1.14817,-0.57075], [-0.6471...
[ "2646510513@qq.com" ]
2646510513@qq.com
91e913b259518577f842264f979128f64c4d2b13
2038db2aa17ec99980b8e942c0af3d1f55158c89
/app/auth/__init__.py
3133d442cf35c62f20bb47562253d9974c0545e9
[]
no_license
Harithmetic1/Alium-Resume-Builder
098011d5ac3a5e5eed8d7f8b431262c293cd90a5
f147c15e0372d51449b41d5a29d4e40b61a7874a
refs/heads/master
2022-12-31T02:10:09.392725
2020-10-09T20:29:41
2020-10-09T20:29:41
297,050,208
2
2
null
2020-10-09T20:29:43
2020-09-20T10:17:29
HTML
UTF-8
Python
false
false
91
py
from flask import Blueprint auth = Blueprint(__name__, 'auth') from app.auth import views
[ "koikibabatunde14@gmail.com" ]
koikibabatunde14@gmail.com
54085cee412af380b8a7357d471d4a1373a35789
18781dfa8e93aeffe05575bf146f54b55bf43587
/src/testscr/test.py
db4d69863700fb7f0ebd61a73552f0efebd7d272
[]
no_license
sailepradh/Rare_variants_atherosclerosis
a7a34edf5cab8f35f0d0f82c96c5e1cb74a2707a
344b1710630ea24e8e04f1a1eab10cfbee57f222
refs/heads/master
2020-12-02T20:57:19.985950
2018-01-29T13:30:44
2018-01-29T13:30:44
96,233,122
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' This scripts overlaps the alleles that are present in rare frequency in Swed samples. Considering the rare frequncy of < 1% in the swed frequency data we can estimate the allele count as 1% of 2000 = 20 and removing the private variants present only in one individual ...
[ "sailepradh@gmail.com" ]
sailepradh@gmail.com
c39d1267df6c369e0dbf84fff115e1bc9bd83566
0342288382bdf29396ff25985b4a9502ad1f8037
/LeafNATS/engines/end2end.py
986e8775e42ac5fb61b186d0b524c285b337a519
[ "MIT", "GPL-3.0-only" ]
permissive
rajpratim/TREQS
321455e9bae3468040d525984401565882080a99
773e946aeb2013679b8824e177c4d5a3e6268118
refs/heads/master
2020-07-02T18:02:52.247008
2019-08-10T05:20:00
2019-08-10T05:20:00
201,615,111
0
1
MIT
2019-08-10T10:29:11
2019-08-10T10:29:11
null
UTF-8
Python
false
false
16,600
py
''' @author Tian Shi Please contact tshi@vt.edu ''' import glob import json import os import pickle import re import shutil import time from pprint import pprint import numpy as np import torch from torch.autograd import Variable from LeafNATS.data.utils import create_batch_file from LeafNATS.utils.utils import show_...
[ "wangpinggl@gmail.com" ]
wangpinggl@gmail.com
d845a35fbcb26effd1e00ba291cc588970a99974
58a0ba5ee99ec7a0bba36748ba96a557eb798023
/Olympiad Solutions/URI/1383.py
49e1281ab9a943fd05a98225692854fb1e43eef5
[ "MIT" ]
permissive
adityanjr/code-DS-ALGO
5bdd503fb5f70d459c8e9b8e58690f9da159dd53
1c104c33d2f56fe671d586b702528a559925f875
refs/heads/master
2022-10-22T21:22:09.640237
2022-10-18T15:38:46
2022-10-18T15:38:46
217,567,198
40
54
MIT
2022-10-18T15:38:47
2019-10-25T15:50:28
C++
UTF-8
Python
false
false
823
py
# Ivan Carvalho # Solution to https://www.urionlinejudge.com.br/judge/problems/view/1383 #!/usr/bin/env python2.7 # encoding : utf-8 ordem = int(raw_input()) padrao = range(1,10) resposta = [] for j in xrange(ordem): aquilo = "Instancia %d" % (j+1) resposta.append(aquilo) array = [] teste = 0 for i in xrange(9): ...
[ "samant04aditya@gmail.com" ]
samant04aditya@gmail.com
a2f3b5ebace3044d558ab70daa354bccd7830a35
9ca7c1c36ada61da86a631e2e1e867dfbbd728b0
/booksvenv/bin/pip2
bf31215135ccf45832e1eb58b17f7c75441885e3
[]
no_license
SamCD/BooksLibrary
e4e4afb5e1e5fbeb258058d2437a6f57624cecf0
bed01595948c3520d7a9d5fa622efa7efccb039a
refs/heads/master
2021-01-01T17:47:13.912366
2015-05-20T15:26:28
2015-05-20T15:26:28
35,551,799
0
0
null
null
null
null
UTF-8
Python
false
false
240
#!/Users/samdevries/BooksLibrary/booksvenv/bin/python # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "samuel.cohen-devries@spsmail.cuny.edu" ]
samuel.cohen-devries@spsmail.cuny.edu
2eda5e250552c59ee04b8494c22fdb56912333d0
d05fa3feec04c19dad98479a136629039e3bc321
/casepro/contacts/migrations/0011_migrate_suspend_groups.py
6064ce3376342c6250de3627e62962f6353ea499
[ "BSD-3-Clause" ]
permissive
digideskio/casepro
dc3f028ad8a6f49c01cff2dc56bf7c2ce92166c9
54ad1fb58300c86ae07344b2094681106d34b146
refs/heads/master
2020-05-29T11:02:58.368483
2016-03-10T10:55:40
2016-03-10T10:55:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,300
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import json from django.db import migrations def create_suspend_groups(apps, schema_editor): Org = apps.get_model('orgs', 'Org') Group = apps.get_model('contacts', 'Group') num_created = 0 num_updated = 0 for org in Org.objects.al...
[ "rowanseymour@gmail.com" ]
rowanseymour@gmail.com
e6ba3ac66a8898dea92e6348d518bdbf659925b9
f7f49b9270770cde802cb4cc2eea4f0ade10a37c
/main.py
6e3c82fd5e5b3925f52d3e3119d7cd6ef7c79263
[]
no_license
dphillips97/get_naics
f590c4e50cef44e127bd2387fecb5eb6c737fec7
741578a381a81c71f1affaeb8595310cd48f0df2
refs/heads/master
2021-04-03T01:08:38.281556
2018-03-12T17:15:50
2018-03-12T17:15:50
124,593,805
0
0
null
2018-03-12T01:14:05
2018-03-09T21:12:43
Python
UTF-8
Python
false
false
3,952
py
import requests from bs4 import BeautifulSoup import openpyxl import re import time ''' 1st function call. Searches siccode.com for business name (from Excel) and returns all <a> tags if there are multiple results. One of these urls on the results_page will be the business in Madison Heights/MI. ''' # biz_name is from...
[ "dphillips97@gmail.com" ]
dphillips97@gmail.com
282e01cb76a6f171cf0789150afa6235eb4fa83e
3a238c585bb77b6a810d187d571cb2531ad58652
/valuation.py.bak.py
031deba021575bc2a173320d20e62575d974d500
[]
no_license
majidmvulle/vehicle-valuations-py
21b050b7fba6e6c619f4932dd535eeb2526bd536
24fc3e4426acf5bbd76aa1161ddf7db1d7b64cdb
refs/heads/master
2020-04-12T14:05:38.273507
2018-12-17T08:08:04
2018-12-17T08:08:04
162,541,830
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
__author__ = 'Majid Mvulle' from sklearn import svm import matplotlib.pyplot as plt from sklearn.neighbors import KNeighborsRegressor from sklearn.linear_model import LinearRegression, LogisticRegression from sklearn.svm import SVR from sklearn.metrics import r2_score from sklearn.model_selection import train_test_spl...
[ "majid@majidmvulle.com" ]
majid@majidmvulle.com
2750d95d9a234865ce4e69664a00150eba2adc59
ff14cd290a7ddcce5de31ebf08dabb65181480d1
/test/solve.py
28384b5557449514300a30301b814cf10519c4e3
[]
no_license
ohk990102/pwntools-addon-dockerized
ea56fbf1181972d7c3e6bd045f0bf4194dc524cb
361851b0fced672f62cc88fb7c17d416ce1a9f68
refs/heads/master
2022-11-12T14:51:01.963599
2020-07-04T16:01:02
2020-07-04T16:01:02
277,038,197
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from pwn import * from dpwn import dockerized # context.log_level = 'debug' context.terminal = [ '/home/ohk990102/vscode-terminal' ] if __name__ == "__main__": p = dockerized('./realloc', baseimage='ubuntu:19.04', prefer_dockerfile=False, withgdb=True) gdb.attach(p.gdbsock, exe='./realloc') p.interactive...
[ "ohk990102@naver.com" ]
ohk990102@naver.com
7690eaa3ec1c6f41e0e564d537acf9b26d2baafb
717ed5f54ff1244f6d85df1c3207b584767dca35
/detect_face.py
4a7b647a34839b9fd5b28384218a8f82c4f72ae3
[]
no_license
yasin-esfandiari/IranianCelebritiesFacialRecognition
e9a46f42d3deb15d982b6ee440022179ebe1e97e
4d2c718b49170ce1aa801b7aa74b423b7f1e1c8a
refs/heads/master
2020-07-26T22:13:43.938805
2019-09-16T11:17:26
2019-09-16T11:17:26
208,780,882
1
0
null
null
null
null
UTF-8
Python
false
false
32,501
py
""" Tensorflow implementation of the face detection / alignment algorithm found at https://github.com/kpzhang93/MTCNN_face_detection_alignment """ # MIT License # # Copyright (c) 2016 David Sandberg # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associa...
[ "yasin.esfandiari1733@gmail.com" ]
yasin.esfandiari1733@gmail.com
0d66598ee32ccfc0d64f148e09b532ab4ded4c4b
5711615cf36dd216a637b2bbe3ed57a93b86a308
/component.py
a1bd2ce145c54f2e752ce80476b684ab33497c59
[]
no_license
kanandian/opencv_test
4f013734c10d3447989da45d66d5b65280ff48ee
a91d26cc4270486b8370e9a8004d085ad357726e
refs/heads/master
2020-09-11T21:04:05.745447
2019-11-29T13:12:34
2019-11-29T13:12:34
222,189,896
0
0
null
null
null
null
UTF-8
Python
false
false
4,690
py
import constant import random import mthread import math import hand_dectect from PyQt5.QtWidgets import QMainWindow, QLabel from PyQt5.QtGui import QPixmap from PyQt5.QtCore import QBasicTimer, QRect class Leaf: def __init__(self): self.pixmap = QPixmap('images/yezi.png') self.label = 0 s...
[ "893979892@qq.com" ]
893979892@qq.com
7b982d89cc00e48375943057fe4852658acece6b
32be8eb323f230d3e97f321cf58ae799632289a0
/ddos/ddos_server.py
500309fe69c7a43e5cde5a60a44f84c470dc7d56
[]
no_license
clouddreamfly/PyTools
838852c669423ccdaebf8cbb8fe29fece5fd24b4
329f985a0b981c41d9872158d6c9b814a9903c0c
refs/heads/master
2023-03-07T19:39:51.984162
2023-03-02T16:23:45
2023-03-02T16:23:45
240,286,058
1
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
#!/usr/bin/python # coding:utf8 import socket import argparse import threading import time socketList = [] # 发送命令到所有的客户机上 def sendCmd(cmd): print('Send command....') for sock in socketList: sock.send(cmd.encode()) # 等待连接,将建立好的连接加入到socketList列表中 def waitConnect(s): while True: ...
[ "dreamfly6789@gmail.com" ]
dreamfly6789@gmail.com
af28415c6367cc31cfcb82f3f071ada9026749b2
1b5f653955779f45e78ca6dda925518779d09e8f
/submissions/1492.py
c75247fa6f7781dc034982b8cc8bd8da3cd85ab8
[]
no_license
LeonardoSaid/uri-py-solutions
ad285f552934ead54ad2410e23113e84b0724f72
43c10c0e99e99d22b4b5ae2871e5d897f8823b42
refs/heads/master
2020-08-11T00:28:48.661578
2020-04-23T20:21:39
2020-04-23T20:21:39
214,453,627
0
0
null
null
null
null
UTF-8
Python
false
false
369
py
import math def count(n): ans = 0 acc = 1 while acc <= n: a = n - acc + 1 b = 2*acc ans += a // b * acc ans += min(a % b, acc) acc = 2* acc return ans def getAns(a,b): return count(b) - count(a-1) while True: try: a,b = map(int, input().split()) print(...
[ "noreply@github.com" ]
LeonardoSaid.noreply@github.com
a5e19b23102e5dcf67188ec4e0263b1fcdb76ea3
54cfd2c2505da41fb4657c36ebc40e886bdb33c9
/model/graph.py
e87ee4a4a655d7e7ecf9854212a0ced865812f8a
[]
no_license
VamshiTeja/Recommendation-Systems-Using-DL
c4bcf672e5b705a913a035c861d3082d357fc3e4
c92f04376645e80f9664baf39b41e2f6e23c0a52
refs/heads/master
2020-03-28T13:51:56.464480
2018-10-25T10:44:34
2018-10-25T10:44:34
148,436,653
1
0
null
null
null
null
UTF-8
Python
false
false
6,152
py
# -*- coding: utf-8 -*- # @Author: vamshi # @Date: 2018-02-04 00:39:34 # @Last Modified by: vamshi # @Last Modified time: 2018-02-10 12:32:44 from __future__ import absolute_import from __future__ import division from __future__ import print_function import sys sys.path.append("../") import dateutil.parser import...
[ "rachavamshiteja@gmail.com" ]
rachavamshiteja@gmail.com