blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
86c7b1f84da51a57e214c4e02f8aaefa5d3df4d4
0115b565d3170296429d3608d87f69c7787d00d4
/app/rest_api.py
9b86d36a643a03f41482f211f65e61afbe74565f
[]
no_license
Tompyt/Talent-Playground
44fe590f7108b6e0b5ed397104ad574f4390cbbe
2d50c3a70cebd31996db45f4cb6aa76934a36609
refs/heads/master
2021-06-27T04:09:40.541655
2020-02-21T11:32:10
2020-02-21T11:32:10
226,832,003
0
0
null
2021-03-25T23:24:03
2019-12-09T09:19:30
Python
UTF-8
Python
false
false
5,328
py
import sys from flask import Flask, request, Response, jsonify import airplay import yaml from jsonschema import validate, ValidationError import os from logging.config import dictConfig dictConfig({ 'version': 1, 'formatters': {'default': { 'format': '[%(asctime)s] %(levelname)s in %(module...
[ "tgiammusso87@gmail.com" ]
tgiammusso87@gmail.com
3ab187b444848f3432ee2fe85296aa11c48ef180
7cdfbe80ac56a042b9b99c1cb17766683da439b4
/paper2/setup_files/old_setup/results.py
e65818b069a43060086e85eafae81b63aa9666d4
[]
no_license
bacook17/pixcmd
1e918cc6b147abe1885f9533836005b9f2b30012
fac20ced14492fd32448d2722c377d88145f90a1
refs/heads/master
2021-01-18T11:54:13.625834
2019-07-30T15:13:12
2019-07-30T15:13:12
67,228,636
0
0
null
2016-09-02T14:18:59
2016-09-02T14:18:58
null
UTF-8
Python
false
false
6,480
py
__all__ = ['models', 'results', 'pcmds', 'data'] try: import pcmdpy_gpu as ppy except: import pcmdpy as ppy import numpy as np from os.path import expanduser models = {} run_names = {} results = {} pcmds = {} data = {} results_dir = expanduser('~/pCMDs/pixcmd/paper2/results/') data_dir = expanduser('~/pCMDs/p...
[ "bcook@cfa.harvard.edu" ]
bcook@cfa.harvard.edu
214b351155bd5bbd835658ddee5d7b0cf7b101c2
e1fa4f0e678bcc7a71afd23fd1bd693a4f503765
/ss/ss_coroutine.py
b0e5c58010598a07ff04339fa96dc5854805145a
[]
no_license
smallstrong0/spider
b20460b33aeee5989870acd95cc1addd6996c1ed
cb3807978ff9599fbf669fe4068040f4252f6432
refs/heads/master
2020-03-31T07:59:43.046207
2019-01-03T15:47:06
2019-01-03T15:47:06
152,041,262
3
0
null
null
null
null
UTF-8
Python
false
false
522
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/10/18 22:07 # @Author : SmallStrong # @Des : # @File : ss_coroutine.py # @Software: PyCharm import sys import os # 被逼无奈 sys.path.append(os.getcwd().replace('/ss', '')) from spider_core import go from func import exe_time from gevent import monkey...
[ "393019766@qq.com" ]
393019766@qq.com
1eb1a20cca4e64744c3c860ba9ffc78209de8c23
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-4/3339d802402fd2f2ed5e954434c637bf7a68124d-<_make_validation_split>-bug.py
1827f4775913b4407f7cdf26bba80b06443aca84
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
def _make_validation_split(self, y): 'Split the dataset between training set and validation set.\n\n Parameters\n ----------\n y : array, shape (n_samples, )\n Target values.\n\n Returns\n -------\n validation_mask : array, shape (n_samples, )\n Equal ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
1fc1f45b446d4c3afe5b69bf2f9515f4c46607ff
3e381dc0a265afd955e23c85dce1e79e2b1c5549
/hs-S1/icice_ucgenler.py
77342ff2d6194916bac0664099c50bf72246660a
[]
no_license
serkancam/byfp2-2020-2021
3addeb92a3ff5616cd6dbd3ae7b2673e1a1a1a5e
c67206bf5506239d967c3b1ba75f9e08fdbad162
refs/heads/master
2023-05-05T04:36:21.525621
2021-05-29T11:56:27
2021-05-29T11:56:27
322,643,962
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
import turtle as t t.Screen().setup(600, 600) # https://studio.code.org/s/course4/stage/10/puzzle/2 for adim in range(50, 101, 10): # 50 60 70 80 90 100 for i in range(3): # 0 1 2 t.forward(adim) t.left(120) t.done()
[ "sekocam@gmail.com" ]
sekocam@gmail.com
a3411e1ceb6ec195c179f41219c2ee0009ff2aee
a851573ec818149d03602bb17b1b97235b810a06
/apps/network1/views.py
4660b228bf38e659146ac63097baf2a2b9f8438a
[]
no_license
kswelch53/mypython_projects2
42afc71714ff7e10e1d8d4e6a5965ff58380e9bd
97d9faa5ea326b86dd7f48be1a822b3a58f3189c
refs/heads/master
2021-04-06T07:22:04.982315
2018-03-30T02:35:20
2018-03-30T02:35:20
125,312,491
0
0
null
null
null
null
UTF-8
Python
false
false
3,143
py
from django.shortcuts import render, HttpResponse, redirect # links model to view functions from .models import User # allows flash messages to html from django.contrib import messages # Note: Registration and login validations are done in models.py # displays a form on index.html for users to enter login or ...
[ "kswelch53@gmail.com" ]
kswelch53@gmail.com
3dacd2c1d4895ff72777644d01e0ee06cb79c4b4
5941992ab7b80952a3b41ac5e9a9f9e181fc1b51
/aliyun-python-sdk-ros/aliyunsdkros/request/v20150901/DescribeEventsRequest.py
93b065bb641322c5ae2c589a6a27aed20c64eab6
[ "Apache-2.0" ]
permissive
liuguoshun/aliyun-openapi-python-sdk
d98f61c98d8703bf350383a452afc17407cc5dd6
4101f622558765c6d3113bc0c32b1e99499f789a
refs/heads/master
2020-03-28T11:38:37.122943
2016-08-31T03:04:34
2016-08-31T03:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,224
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "hi.yan.li@alibaba-inc.com" ]
hi.yan.li@alibaba-inc.com
17d332d5a76d98c92a4c807281681105f0eb08ed
20da34d63e89635281fd2ac353f6c15914cbc6c0
/tutorial/quickstart/tests/test_tasks.py
d9e22f8fec2e5514acd942fb3d13b2cbef92854e
[]
no_license
igorvitko/hl_DRF
3e6a7f7c6fe4b74df73290124e7c59c920e8d198
4c58ba4096eb9123f680dd62a8950a34ab87635e
refs/heads/master
2023-08-17T22:47:13.469644
2021-10-13T19:18:56
2021-10-13T19:18:56
396,726,681
0
0
null
2021-10-02T06:44:13
2021-08-16T09:48:06
Python
UTF-8
Python
false
false
740
py
from rest_framework.test import APIClient, APITestCase from tutorial.quickstart.tasks import * class TaskTest(APITestCase): """ test module for celery tasks""" def setUp(self): self.test_user = MyUser.objects.create_user(username='ihor', password='pass1234') self.test_user = MyUser.objects.c...
[ "igor.vitko.74@gmail.com" ]
igor.vitko.74@gmail.com
51c1b672a84aacc65809899717845410fcc7a004
c2155845efeb0085160bc0494399ce9250b7b3e0
/tasks.py
2aa4c340cb6125853b995ba37adaf7d3030d3be8
[]
no_license
aruchames/codeprojects-photo-collage
ddc3e03f5123f4d31a803157e71adf8c251603c5
b01abb9d6a85d982d9e59fda67603ab40d68f919
refs/heads/master
2023-02-01T04:45:21.975511
2020-12-13T20:14:22
2020-12-13T20:14:22
321,151,596
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
from celery import Celery from PIL import Image import uuid app = Celery('tasks', backend='rpc://', broker='pyamqp://') def findDimensions(img_ids, orientation): images, staticDimension = [], 0 staticDimensionIndex = 0 if orientation == "Vertical" else 1 for id in img_ids: image = Image.open(f"p...
[ "aruchames17@gmail.com" ]
aruchames17@gmail.com
0f681b24574bb63ce377e1191448ddd879adf9f5
a1a42b2165f8cb899bff02f10d8b081b372ce9d3
/mshub-gc/tools/mshub-gc/proteosafe.py
e07803964ed3cb3f1c66b859fd0c5d1233211319
[ "Apache-2.0" ]
permissive
CCMS-UCSD/GNPS_Workflows
47ca90ba177b3ddc1a71877a3ee92473e0fe392b
8c6772e244c6f3e5ea7cd5eae873b6faa48b7313
refs/heads/master
2023-08-31T13:38:51.911232
2023-08-24T06:06:37
2023-08-24T06:06:37
57,243,138
41
45
NOASSERTION
2023-06-13T16:54:49
2016-04-27T19:52:07
HTML
UTF-8
Python
false
false
72
py
../../../CCMS_ProteoSAFe_pythonAPI/ccmsproteosafepythonapi/proteosafe.py
[ "mwang87@gmail.com" ]
mwang87@gmail.com
9f52f653a93cd4087e7542d49ffc7bedf4a10ac7
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/222/users/4066/codes/1846_1273.py
b84605ab2c0be8357722a17f2744c6e7aaf7d32b
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
536
py
from numpy import * from numpy.linalg import * # Nosso sistema aqui tem matriz_dos_coeficientes = array([[1,-1,0,0], [0, 1, -1, 0], [0, 0, 1, 0], [1, 0, 0, 1]]) # Resolução do sistema AX = B # onde A = Matriz dos coeficientes, X = Vetor do Fluxo e B = Matriz das incognitas matriz_da...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
32fa655343fb4bf18c4b7e3ececf810cb131a7f2
55edb631909bfff428e658bad034799ceb5e25b6
/Maitreya/models/origin_url.py
ccc37e04d61b37dab1bf78d9fdb2ae1de073bd7c
[]
no_license
elemewanggao/Maitreya
2a1782619acdc889bfc79e3f5cddc3ba900288d1
fb28af52e976e82bc7db660b3adce7d3895e6c2d
refs/heads/master
2021-06-24T01:03:28.634436
2017-09-09T06:39:10
2017-09-09T06:39:10
100,272,813
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """爬取URL""" from datetime import datetime from . import Base, BaseModel from sqlalchemy import ( Column, BigInteger, DateTime, String ) class TbOriginUrl(Base, BaseModel): """网站下爬取的入口URL及爬取的策略.""" __tablename__ = 'tb_origin_url' _db_name = 'matreya' id...
[ "wanggao@wanggaodeMacBook-Pro.local" ]
wanggao@wanggaodeMacBook-Pro.local
d36edf5a45a34b2095e57e33b7478d6aae3ba88c
10b597b409ed5a0fb02c4e3439a547435f122ef4
/daily.py
782dee9c72dd5c53af42ac983c2aaec016b29398
[]
no_license
considine/bengalbrackets
d94930131dd88fe50a9912e6f9ef1c276d691b3f
83cd4503576f2208e7aea6ac7e1e18f295b9eca2
refs/heads/master
2021-01-10T13:13:34.671112
2016-02-13T10:31:25
2016-02-13T10:31:25
49,670,392
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# Python daily 8: string length counting import re def string_word_count(s): s.splitlines lst = s.split(" ") stringcount = len(lst)+1 return stringcount # the following idiom runs a test of the method, but only if the # python script is run. If it is imported, the code below will not # ...
[ "johnpconsidine@Johns-MacBook-Pro-2.local" ]
johnpconsidine@Johns-MacBook-Pro-2.local
d8fadea0f97b759ec5a8eb75c034fb3b9505259d
e46a95f42e61c71968c60400f11924b4ad22bf59
/0x09-Unittests_and_integration_tests/test_utils.py
c82ada87f519caa128197f16d307056ad525f535
[]
no_license
mahdibz97/holbertonschool-web_back_end
669b68c7ba6be937757a88999c7acc6afd6b58ca
017a250f477599aee48f77e9d215c74b4bb62a14
refs/heads/master
2023-06-04T15:25:14.752977
2021-06-15T23:39:43
2021-06-15T23:39:43
348,126,696
0
0
null
null
null
null
UTF-8
Python
false
false
2,351
py
#!/usr/bin/env python3 """ unittesting Module """ from typing import Mapping, Sequence import unittest from unittest.case import TestCase from unittest.mock import patch from parameterized import parameterized from utils import access_nested_map, get_json, memoize class TestAccessNestedMap(unittest.TestCase): """...
[ "ben.zouitina.mahdi97@gmail.com" ]
ben.zouitina.mahdi97@gmail.com
6fb9fd810435f8bce7e92236865f70e7617fccb3
f8a032a52aa456054eb0f0a5160bc40eeaa53452
/game_stats.py
664fcf10f5bb771442a73db3803b3bbf2bb1236a
[]
no_license
shulginmusic/alieninvasion
4787a2089c0ba9fd8eb6c33eb06b2e20444345f6
7150d9713a3faa8977a2c3cbbd5036c2e862d4d4
refs/heads/master
2023-07-03T21:31:46.895480
2021-08-13T18:03:31
2021-08-13T18:03:31
310,927,057
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
class GameStats(): def __init__(self, ai_settings): self.ai_settings = ai_settings self.game_active = False self.hi_path = 'high_score.txt' with open(self.hi_path) as file_object: self.high_score = file_object.read() if self.high_score: self.high_score = int(self.high_score) self.reset_stats() de...
[ "efim@shulginmusic.com" ]
efim@shulginmusic.com
94c9bef1bbadbf8bc0f3d474b0da8a4cae3390fb
b547245233aaa8e10b1854ea7c8235141248257f
/Euler32.py
fbafce89199ae1b5676539e6e35a1af2b7c9ab6c
[]
no_license
BDSchoeler/Euler
3d07bdb29d370a9d390a84f0d274e5210622d0dd
564a1526a05860a650342edec906dc89741860fb
refs/heads/master
2021-01-13T12:55:23.291217
2016-02-12T06:41:33
2016-02-12T06:41:33
43,186,172
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
def ifPandigital(num1,num2,num3): s=[str(num1),str(num2),str(num3)] if(len(s[0])+len(s[1])+len(s[2])==9): a=[] for j in range(len(s)): for i in range(len(s[j])): if s[j][i] in a or s[j][i]=='0': return False else: ...
[ "darktarro100@gmail.com" ]
darktarro100@gmail.com
db57ad8949a6516bcece85b6e2bac0431f7e27ea
2424c0b7658ca9d26d18b889391d34226d8529d8
/tests/test_trees.py
35671abd7dfc83a751be65e23345b75824de0d30
[ "MIT" ]
permissive
exversion/layer
4ace0f582b48cb6e93e101fbdb32d6b885331397
8a67679e0cedbac9f457390c91bcd15e3d6ee956
refs/heads/master
2021-03-12T22:36:31.549509
2017-01-14T05:11:36
2017-01-14T05:11:36
16,076,956
2
1
null
null
null
null
UTF-8
Python
false
false
2,461
py
from flask import Flask from flask.ext.testing import TestCase from src import app as layer from src import helper from config import config import json class TestTree(TestCase): def create_app(self): app = layer.create_app() app.config['TESTING'] = True return app def test_valid_tree_name_good(self): vali...
[ "exversion-dev@exversiondev-VirtualBox.(none)" ]
exversion-dev@exversiondev-VirtualBox.(none)
e372ecde50ffe894a9ac6d0b20f743cc0b640425
b125f9a750a519c9c7a5ed66adb8530e0237367b
/str/StrDemo11.py
5931339c369e670d1e64b0c073cf7184825c807b
[]
no_license
isisisisisitch/geekPython
4e49fe19b4cca9891056f33464518272265e3dab
635e246dca7a221d87a3b3c5b07d1e177527498f
refs/heads/master
2021-05-27T01:29:09.755225
2021-01-18T23:18:46
2021-01-18T23:18:46
254,200,920
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
#the taste is not xxx poor! #the taste is good! #the taste is poor! #the taste is poor! str="the taste is xxx poor" snot = str.find("not") print(snot) spoor = str.find("poor") if spoor> snot and snot>0: str = str.replace(str[snot:(spoor+4)],"good") print(str) else: print(str)
[ "dallucus@gmail.com" ]
dallucus@gmail.com
a8f705ff4d757e712d27a813079a6e0403a5da1a
d6215e15d2a6adaf046b40012e6b07019b055e07
/ScoringLayer.py
2c299e11ad288ed59c2928fc906cd548403ccd8e
[ "MIT" ]
permissive
WinVector/YConditionalRegularizedModel
4c53c801eb010e640898da7e6532582b809350d8
c4d488871d05d369dcc7e1b7faf110567742d808
refs/heads/master
2021-05-20T08:54:15.635276
2020-04-02T20:20:24
2020-04-02T20:20:24
252,209,212
1
0
null
null
null
null
UTF-8
Python
false
false
9,194
py
# noinspection PyPep8Naming from tensorflow.keras import backend as K from tensorflow.keras.layers import Layer # check all but first shape index def safe_mult(a, b): if len(a.shape) < 2: raise ValueError("Expected shape to be at least rank 2") if str(a.shape[0]) != "?": raise ValueError("Exp...
[ "jmount@win-vector.com" ]
jmount@win-vector.com
fc8bbf5dbf451300bd37343f4ec06ad1ac99d9d1
55f19a757c359153c33e9e6be8639399fafdae6e
/reports/deploy/run.py
80a56b666697ea16955e2cf6ca714b4d2b76dede
[]
no_license
yinlenaxu/DLMP
249a8bb44eaa791f2f88123c50ab7ff3739fbbd7
3b377945ac3348d1d7bcdf17e6f891e86f420047
refs/heads/main
2023-08-25T18:08:34.235508
2021-10-31T18:08:01
2021-10-31T18:08:01
421,795,710
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
from main import app if __name__ == '__main__': app.run(host='0.0.0.0', debug = True)
[ "48138799+marinarosell@users.noreply.github.com" ]
48138799+marinarosell@users.noreply.github.com
9b2093bd4fc107bf9179159d4e5d9f25c0cc8185
4fc603766bfcaa0a22b6bb5b726283f6a0a0adc2
/dataset/BraTSDataSet.py
63333df045518f45a788e5edfebfef070f859282
[]
no_license
hse801/ConResNet
aa62bba656323bcfa23504302ac7e02387911967
f77d0ce0aa074d9e038791cb92f8f302eddae9a1
refs/heads/master
2023-08-02T10:50:02.642428
2021-10-03T00:31:32
2021-10-03T00:31:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,759
py
import os.path as osp import numpy as np import random from torch.utils import data import nibabel as nib from skimage.transform import resize class BraTSDataSet(data.Dataset): def __init__(self, root, list_path, max_iters=None, crop_size=(128, 160, 200), scale=True, mirror=True, ignore_label=255): self.r...
[ "sarah0.hwang@gmail.com" ]
sarah0.hwang@gmail.com
07555dbf5c93163231fe474c5324d9e4bae87ca4
b56e773e752d95e31f3d275f4664643dfaf9dccd
/app/forms.py
4fd81f3d179f7e98dbd68c1b32482aad4bec69d8
[]
no_license
vaszig/regex-rules
eeba998610f8853239b94c3ca1faa786a7b2e273
556999bfda8aeff031f270f16e1fe5b67a02a83a
refs/heads/master
2023-06-15T08:28:50.991966
2021-07-08T10:16:22
2021-07-08T10:16:22
380,933,056
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
import re from django import forms from django.core.exceptions import ValidationError TYPE_OF_SEARCH_CHOICES = [ ('contains', 'Default(contains the pattern)'), ('match_in', 'In(includes a whole word)'), ('match_out', 'Out(excludes a whole word)'), ] class ResultsForm(forms.Form): ""...
[ "zigras00@gmail.com" ]
zigras00@gmail.com
0eda6db0538a42c5135494944c083d5e55b168d7
ec8d7c3176187359c7618bd591724ea93a9b0772
/python/learning/google/python-exercises/basic/wordcount.py
71d96b23946a62fdb7ef28e7ac7317217c57dc73
[ "Apache-2.0" ]
permissive
almacro/snippets
7000faf593ab97a0890ea56d944ceef4ef23643a
e247c5bc26f336add1c7be8636775f841a65615d
refs/heads/master
2023-08-05T11:00:13.161159
2023-07-23T15:31:42
2023-07-23T15:31:42
65,136,325
0
0
null
null
null
null
UTF-8
Python
false
false
2,779
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ """Wordcount exercise Google's Python class The main() below is already defined and comp...
[ "almacro@acm.org" ]
almacro@acm.org
9d94553def65fa54add0ae469b3f4618b2e3e1c9
cce7f7b8979883f0efba3ab99e5fb95b558be907
/patterns.py
49e1caf7718bdcdcee728093c00e761d197e0b80
[ "MIT" ]
permissive
johnsoncarl/TLR
bc578f25e54254cffe52e9b377980d5b3f1a1d28
a3684d68469e2a9acb9129d193a60ef0109a1ac1
refs/heads/master
2022-11-30T19:19:55.600251
2020-08-03T07:37:49
2020-08-03T07:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
import json def get_patterns(): with open('intents.json', 'r', encoding = 'utf-8') as json_data: intents = json.load(json_data) patterns = [] for i in range(len(intents['intents'])): # print(intents['intents'][i]['patterns']) patterns += intents['intents'][i]['patterns'] ...
[ "noreply@github.com" ]
noreply@github.com
54f8f44f719f7d3c0acc91b5c3995ea9a048a642
c0c4b1db16a7f85a74cba224f3ebea5660db379e
/old_files/AGILENT33220A_SERVER.py
9bd730306419b55de399a47b7a53dd5763d04f45
[]
no_license
trxw/HaeffnerLabLattice
481bd222ebbe4b6df72a9653e18e0bf0d43ba15e
d88d345c239e217eeb14a39819cfe0694a119e7c
refs/heads/master
2021-01-16T18:13:36.548643
2014-05-09T21:47:23
2014-05-09T21:47:23
20,747,092
1
0
null
null
null
null
UTF-8
Python
false
false
6,087
py
from labrad.server import LabradServer, setting import serial class AgilentServer(LabradServer): """Controls Agilent 33220A Signal Generator""" name = "%LABRADNODE% AGILENT 33220A SERVER" def initServer( self ): #communication configuration self._port = 'COM11' self._addr = 0 ...
[ "micramm@gmail.com" ]
micramm@gmail.com
5e8dc84572666348519c3286c050f297c1cf3875
34ca8b9455d405c036d160748af14afc9cda0865
/oefening3.py
2f7f35efa45ec7d58b0a813b87d9b62f5106091f
[]
no_license
FreVanBuynderKDGIoT/Make1.2.1
36616bf629a813a0486925ef8b61d7090ab20273
f1a95f3273e40fe9b28aba15d6a419085b68f6a9
refs/heads/main
2023-01-15T17:09:35.715629
2020-11-27T11:08:24
2020-11-27T11:08:24
315,028,210
0
0
null
2020-11-22T12:07:22
2020-11-22T12:07:21
null
UTF-8
Python
false
false
908
py
#!/usr/bin/env python """ Een python script dat het volgende doet: vraagt achter je leeftijd berekent in welk jaar je geboren bent en dat ook als output meegeeft berekent in welk jaar je 50 jaar zal zijn en dat ook als output meegeeft """ # imports from _datetime import datetime __author__ = "Fre Van Buynder" __email...
[ "fre.vanbuynder@student.kdg.be" ]
fre.vanbuynder@student.kdg.be
73bc5b03f923a6efc2b666113edf9a54da2617fa
73eafe1084bf44724fac22faf20ce34cfd35a03c
/v7.1/Server.py
ae82c6596ddafd90b98ee8ce63909ea0da1f05fe
[]
no_license
al0258/Green_Village_Project
efa02c292b535d9efe8524e47756105fa1ceb99c
ad835122400c025be8b4824ffaf389285f1bd8ea
refs/heads/master
2022-02-22T21:48:36.048924
2018-02-22T19:14:59
2018-02-22T19:14:59
117,549,109
0
0
null
null
null
null
UTF-8
Python
false
false
7,953
py
# Future imports to work like Python 3 from __future__ import print_function import cv2 import time import numpy import socket import threading from Queue import Queue # Constant variables NUMBER_OF_THREADS = 2 JOB_NUMBER = [1, 2] queue = Queue() all_connections = [] all_addresses = [] COMMANDS = {'help...
[ "noreply@github.com" ]
noreply@github.com
3703f28f90e111bc5f459617249a1afa4b610f31
f86ba5fcf804c9bfc9b3ebe964cbf3ef3ac3f299
/avalon_setup.py
05b6b5f39a58d847d9f6330167bb89264b417201
[]
no_license
zjuguxi/avalon
1014fd0783c9d0b66adab47dc2e93ebf1f321d9d
2bb3dd7b0e66c12d72b21af712b837ad4cc01de1
refs/heads/master
2021-01-10T01:51:47.953188
2016-02-22T04:51:59
2016-02-22T04:51:59
52,017,521
0
0
null
null
null
null
UTF-8
Python
false
false
9,072
py
# -*- coding:utf-8 -*- from random import choice import avalon from avalon import players_amount from avalon import host_name from avalon import player1_name from avalon import player2_name from avalon import player3_name from avalon import player4_name from avalon import player5_name from avalon import player6_name f...
[ "zjuguxi@gmail.com" ]
zjuguxi@gmail.com
045da16c2184b277c6f0a2560b7f5b3eb5e1ebe5
bf1881e6be94fdcf6d1cec50a3e3ca4028126771
/openconcept/utilities/selector.py
54a7178de3b59586b6e68638623f3c40c63bb689
[ "MIT" ]
permissive
berlinexpress174/openconcept
1acd7a969708af71865115528c304f3a3afb6325
f4646d583ba1840540e648601c963adab13cdccf
refs/heads/master
2023-08-25T09:20:48.892182
2021-10-08T21:03:36
2021-10-08T21:03:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,709
py
from __future__ import division import openmdao.api as om import numpy as np class SelectorComp(om.ExplicitComponent): """ Selects an output from the set of user-specified inputs based on the selector input at runtime. For example, if the inputs argument is ['A', 'B', 'C'], then a selector value of 0 ...
[ "noreply@github.com" ]
noreply@github.com
d0861746c59c9cf79925a535d54d4cf55e4c2483
9c6274501d3edcea99f72971d195a50760af6656
/Back/NN.py
2ba206124a564f5f255cc10ec0ba75cc0e04a2c8
[]
no_license
dimazzziks/PandemicHelper
b6e4df0e77922dafcc142fc4ea853b8ef50b09e2
f460ea57137ac60e45049c841042c7e765e55500
refs/heads/master
2022-06-10T04:36:28.942024
2020-05-05T11:31:46
2020-05-05T11:31:46
261,349,230
0
0
null
null
null
null
UTF-8
Python
false
false
1,929
py
import numpy as np import pandas as pd from keras.models import Sequential from keras.layers import Dense, Dropout from keras.optimizers import RMSprop from keras.preprocessing.text import Tokenizer, text_to_word_sequence from sklearn.model_selection import train_test_split %matplotlib inline import matplotlib...
[ "zhbannikov_dima@mail.ru" ]
zhbannikov_dima@mail.ru
e258490c9c96a24d1455e651209ea0988d282c37
83f2c9c26a79fdb2d6dd47218484e06875ccdb77
/rpca.py
3b733283c7cb1ac83b215bfd6a464454110d5b53
[]
no_license
zuoshifan/rpca_HI
4fe7a0c76326b57489a719583e2c8f13d07c363c
f94060ba3adbce5971eb4440bd7867240ebd088d
refs/heads/master
2021-01-21T10:14:01.521672
2017-05-12T06:51:17
2017-05-12T06:51:17
83,398,581
0
0
null
null
null
null
UTF-8
Python
false
false
2,195
py
import math import numpy.linalg def robust_pca(M): """ Decompose a matrix into low rank and sparse components. Computes the RPCA decomposition using Alternating Lagrangian Multipliers. Returns L,S the low rank and sparse components respectively """ L = numpy.zeros(M.shape) S = numpy.zeros(M...
[ "zuoshifan@163.com" ]
zuoshifan@163.com
dbdd93f72c7db687aa3c5f760ee24916fc3d7999
022102de6aa3c303d8e5c69ad35f3cd4b09c7ea5
/ritter/analytics/genderize.py
c63229793872fae9bd3d33270c8519810628969d
[ "MIT" ]
permissive
ErikGartner/ghostdoc-ritter
6fdb1d4fe4485474fa721d4fab5bbcb2f5fbc93e
d6ae8bb1e35495cd609b420f0820e334e9eecf61
refs/heads/master
2020-12-23T11:35:26.070804
2017-03-12T22:15:17
2017-03-12T22:15:17
52,436,154
1
0
null
null
null
null
UTF-8
Python
false
false
236
py
import json import gender_guesser.detector as gender class Genderize(): detector = gender.Detector(case_sensitive=False) def guess_from_name(firstname): g = Genderize.detector.get_gender(firstname) return g
[ "erik@gartner.io" ]
erik@gartner.io
e133611812693add8fbd9b4ed9f2324db5c55498
57e82a6108287eb91a6045dd655870e37d86089a
/menu.py
11ab349879824b30d01bb57f23876516c6b03440
[]
no_license
keur1234/Nebula
eb77109a9416397e8a35ee25965b40fcf46a7ad3
216c2f3887448d0cd018f27f40fa4c91abd68bdb
refs/heads/main
2023-01-12T08:14:09.273735
2020-11-22T14:09:24
2020-11-22T14:09:24
315,052,546
0
0
null
2020-11-22T14:09:43
2020-11-22T14:09:42
null
UTF-8
Python
false
false
3,187
py
import pygame from pygame.locals import * import sys import globe import loading class _menu(object): def __init__(self): self.resource = globe.resourceManager # ? For making background self.bg_frame = 0 self.bg_name = self.resource.bg_name self.bg = self.reso...
[ "koonyoch@hotmail.com" ]
koonyoch@hotmail.com
19cf27533a2a398e4b0b22bdc588303155f48b95
fa344b6d6560b245ac8ef131e128626fb9727e49
/app/message/serializers.py
66f392ab440ba027197594afa6bbe9bc3d759ca4
[ "Apache-2.0" ]
permissive
FarDust/we-may-chat
eb67614bec603979781f697ad9087c28f250d95f
84022f0500cd24e0775225026a6656ea2c05f8ee
refs/heads/master
2023-01-12T17:10:12.420797
2021-05-26T14:11:17
2021-05-26T14:11:17
205,960,241
4
1
Apache-2.0
2023-01-02T00:35:25
2019-09-03T00:57:54
TypeScript
UTF-8
Python
false
false
229
py
from rest_framework import serializers from app.message.models import Message class MessageSerializer(serializers.ModelSerializer): class Meta: model = Message fields = ('content', 'timestamp', 'nickname')
[ "gabriel.faundez@gmail.com" ]
gabriel.faundez@gmail.com
b3bc1711d464c54f1ecdd34c2dce8cf51e0d7b0b
2b28814e50b036a17afb26cd56accdacb6f38854
/src/segments/migrations/0005_auto_20190529_1426.py
022d798ffab64beed3b91cd3fb179e4ba0fea47a
[ "BSD-2-Clause" ]
permissive
Financial-Times/bullet-train-api
c6660965ca5e8f956b7666bde35b5f64bf18f773
a54e0df1c85ff353c1b5c3056ea3e3e4d1fc7006
refs/heads/master
2023-08-03T16:31:06.503907
2021-02-10T09:29:35
2021-02-10T09:29:35
170,123,292
1
1
BSD-3-Clause
2019-10-01T16:26:51
2019-02-11T12:14:35
Python
UTF-8
Python
false
false
792
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-05-29 14:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('segments', '0004_auto_20190523_1325'), ] operations = [ migrations.AlterFi...
[ "matthew.elwell@solidstategroup.com" ]
matthew.elwell@solidstategroup.com
19ab4104f1f4380d332e39601e9f99c488663b51
3eca98b1ab52e9a852cf20462cbff7bd0396b25c
/Cell.py
d625f93eff40dc22a5404140c67ffecaccc30f33
[]
no_license
yuxuanli/AI_Game_Search
53ec5757568aca026be27035359fc74ebc5fdfdd
b4d607c7df3dbeeee9a5a5fe9de54be09926b528
refs/heads/master
2021-01-10T00:58:03.518635
2016-02-15T06:19:22
2016-02-15T06:19:22
51,273,540
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
class Cell: def __init__(self,x,y,value=0,state="*"): self.x = x self.y = y self.value = value self.state = state self.evaluatedValue = 0 alphalist = ["","A","B","C","D","E"] self.name = alphalist[y]+str(x) def setValue(self,value): self.value = value def getValue(self): return self.value def s...
[ "liyuxuanzju@gmail.com" ]
liyuxuanzju@gmail.com
8513a6f92b69888d552519993e603c35cfb07241
95b6fc4617c4437be2e57095df4eab0938b1aeeb
/portfolio/homepage/forms.py
2268aa84312fd44fadfc652960f9cd2d2e52c5fc
[]
no_license
ericmschow/django-exercise
c6ca531fb1feafd140b3e296c6f94d2f6ff04994
4a3203bb823a1f557a30300e1265ca841237bb35
refs/heads/master
2021-01-20T14:39:47.306422
2017-05-12T20:53:52
2017-05-12T20:53:52
90,642,707
0
0
null
null
null
null
UTF-8
Python
false
false
306
py
from django import forms class emailForm(forms.Form): name = forms.CharField(label="name", max_length=100) email = forms.EmailField(label='email', max_length=100) message = forms.CharField(label='message', max_length=500) # attachment = forms.FileField(label='attachment', required=False)
[ "eric.m.schow@gmail.com" ]
eric.m.schow@gmail.com
5ef1e7f10dc123b57434e69de06b120e3e884c89
88ed6ed99589f7fb8e49aeb6c15bf0d51fe14a01
/004_medianOfTwoSortedArrays.py
f50d1fe4f60aca33c8dc8105b02120ac6779206e
[]
no_license
ryeLearnMore/LeetCode
3e97becb06ca2cf4ec15c43f77447b6ac2a061c6
04ec1eb720474a87a2995938743f05e7ad5e66e3
refs/heads/master
2020-04-07T19:02:43.171691
2019-06-23T15:09:19
2019-06-23T15:09:19
158,634,176
0
0
null
null
null
null
UTF-8
Python
false
false
2,215
py
#-*-coding:utf-8-*- __author__ = 'Rye' ''' There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)). You may assume nums1 and nums2 cannot be both empty. Example 1: nums1 = [1, 3] nums2 =...
[ "noreply@github.com" ]
noreply@github.com
b9f586b7b8ea5046c4b22ce5c2de93c0df00f1e0
e01b10377c7f12d7429a98e8b15ecca9a7184e5f
/mysite/blog/migrations/0002_auto_20190908_0118.py
a4405f2e12520835207dbc1f7d03a45422be0549
[]
no_license
srikanth3006/django-blog-project
4b2012f2a278b741ad5117f8fa632c9ff817ad00
f9ade8f99809a9564a7f0da04c58635b54d18105
refs/heads/master
2023-04-29T21:26:32.658647
2019-09-15T05:45:20
2019-09-15T05:45:20
207,019,431
0
0
null
2023-04-21T20:37:21
2019-09-07T19:58:59
Python
UTF-8
Python
false
false
1,283
py
# Generated by Django 2.2.4 on 2019-09-07 19:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migr...
[ "srikanth.ganji@teradata.com" ]
srikanth.ganji@teradata.com
2f8b55ab81fbe26ac3662b8d281a8447a770f0e3
e5d27408ca6bf81a85712b1c6c28184fe3cab94e
/examples/notification_flow/notification_server.py
2d57109c4caa16cb1e1d5a89f0c05bda628680a4
[ "MIT" ]
permissive
speechmatics/speechmatics-python
f4ab98a75463c2cc22380147f6c0b33ab8ec099c
f67559da1bbc66c5ea809694b1e696349f70309b
refs/heads/master
2023-08-08T20:07:50.884976
2023-08-02T09:24:40
2023-08-02T09:24:40
224,633,111
53
17
MIT
2023-08-25T09:05:50
2019-11-28T10:56:50
Python
UTF-8
Python
false
false
1,901
py
""" A server which receives the Speechmatics API Notification (Webhook) This is a dev example - DO NOT USE IN PRODUCTION """ import json import sqlite3 from flask import Flask, request # noqa: F401 from flask_cors import CORS, cross_origin # noqa: F401 from speechmatics.batch_client import BatchClient app = Flas...
[ "tudore@speechmatics.com" ]
tudore@speechmatics.com
83849a03125d9c7410fb0099f3f3728f574cdae2
3ee3550c816f4dbdfe8f8d6fc7752e9527010c95
/Chapter2_Perception.py
2cbc6b93bde2b5dca4604af1db269b117757ee65
[]
no_license
wbxing/statisticalLearningMethod
6de4d1dde8e9148e0969d57565e12090bed04bad
c6d363527aedf56eabf4b4574b15275e336cac9e
refs/heads/master
2020-06-09T10:25:08.369210
2019-11-11T11:42:05
2019-11-11T11:42:05
193,422,710
1
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
import numpy as np import matplotlib.pyplot as plt # 符号函数 def sign(x, w, b): y = np.dot(x, w) + b return y # 随机梯度下降 def fit(X_train, y_train): w = np.zeros(X_train.shape[1]) b = 0 l_rate = 1 i = 0 while i < X_train.shape[0]: X = X_train[i] y = y_train[i] ...
[ "wenbiaoxing@gmail.com" ]
wenbiaoxing@gmail.com
a696eb51dadde3b00b05557fdce2838b1d3bb77b
828a983487ebba0706b7d6b92342e0f4863a723c
/deepfake_detection_train.py
36000db797589ec9e717a18168ecabb3cf7118c3
[]
no_license
kbh1860/DeepFake_Detection
1ff3f44c1bf97e5de8e85b87c35b1196312514a9
60d74406767f00c22a9e4c5dbe01caa61a75c59f
refs/heads/master
2023-07-15T12:58:30.551991
2021-09-04T03:03:12
2021-09-04T03:03:12
378,341,517
0
0
null
null
null
null
UTF-8
Python
false
false
4,446
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import os import cv2 import json import tensorflow as tf import numpy as np import matplotlib.pyplot as plt import seaborn as sn import pandas as pd from tensorflow.keras.preprocessing.image import ImageDataGenerator, img_to_array, load_img from tensorflo...
[ "kbh10211@gmail.com" ]
kbh10211@gmail.com
9fad4a7fb6ae6609c50d49b2dcc30e606ffbfe10
004bb01acc528f20bce4442971eb1db7cec5de08
/Python123/Python123/树干也要骚.py
ca34ffaaaed999412d41ef96a8ddb5ff516f5fd1
[]
no_license
1457667414/pythontest
2bcc58fd46aba2b4a87901bc5b492a4b991de726
9bc9144bcadb851aed2b4628fbfe70c1a48c7894
refs/heads/master
2023-01-11T19:23:28.161335
2020-11-09T10:58:50
2020-11-09T10:58:50
311,309,657
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import turtle toplevel = 6 # 一共递归6层 angle = 30 def drawTree(length, level): turtle.left(angle) # 绘制左枝 turtle.forward(length) if level < toplevel: # 在左枝退回去之前递归 drawTree(length - 10, level + 1) turtle.back(length) turtle.right(angle * 2) # 绘制右枝 turtle.forward(length) if level...
[ "1457667414@qq.com" ]
1457667414@qq.com
b62632571450b9b5ff0b6f473f20492bd108ad62
0d6adbc447a9a7fb92fd31886d6cf2d067e69bf1
/plivo_test_suites.py
798a1f1cb7772740b6c420e249864520372480c3
[]
no_license
Abhi00k/Plivo_assignment
2bd4fd10fdaecbcacc604d305202cb2dda0c52ac
1e89a316ece88199548254076c59c2cbf1129638
refs/heads/master
2020-03-31T19:19:31.192757
2018-10-11T06:55:50
2018-10-11T06:55:50
152,493,034
0
0
null
2018-10-11T06:55:51
2018-10-10T21:36:41
Python
UTF-8
Python
false
false
1,301
py
""" #!/usr/bin/env python # title : test_suits.py # description : This file contains code for running automated tests # author : Abhishek <abhishek@artifacia.com> # python_version : 2.7 #=============================================================================== """ import shutil import uni...
[ "abhi001@Abhisheks-MacBook-Air.local" ]
abhi001@Abhisheks-MacBook-Air.local
5152bfd0b95e7265f3114d05d338890b7e34b701
980be671608348b2e502f2181066c1f509b1f8fd
/setup.py
09b6561121d3578f4e0242236dd760fecc027f4f
[ "MIT" ]
permissive
cswl/imgurpoi
e52355b80f3fee5af91ba90e209271b223c8a1de
c8d8930e70a9a353266a57dbf771da5830a8e998
refs/heads/master
2020-04-22T17:58:04.680857
2019-02-14T14:10:34
2019-02-14T14:10:34
170,560,475
1
0
null
null
null
null
UTF-8
Python
false
false
1,447
py
from io import open from setuptools import find_packages, setup with open('imgurpoi/__init__.py', 'r') as f: for line in f: if line.startswith('__version__'): version = line.strip().split('=')[1].strip(' \'"') break else: version = '0.0.1' with open('README.md', 'r', e...
[ "cswl1337@gmail.com" ]
cswl1337@gmail.com
38d58c1a1117d022b2d55be2c9392e708dbeb924
583d03a6337df9f1e28f4ef6208491cf5fb18136
/dev4qx/purus-repo/tasks/sync_task.py
b8d89d4424113bbe84c0b939794fb5b17b43eabb
[]
no_license
lescpsn/lescpsn
ece4362a328f009931c9e4980f150d93c4916b32
ef83523ea1618b7e543553edd480389741e54bc4
refs/heads/master
2020-04-03T14:02:06.590299
2018-11-01T03:00:17
2018-11-01T03:00:17
155,309,223
1
0
null
null
null
null
UTF-8
Python
false
false
2,148
py
# encoding: utf-8 import logging import tornado.gen import tornado.ioloop from sqlalchemy.orm import sessionmaker import core request_log = logging.getLogger("purus.request") class SyncTask(tornado.ioloop.PeriodicCallback): def __init__(self, application, callback_time): super(SyncTask, self).__init__(s...
[ "lescpsn@aliyun.com" ]
lescpsn@aliyun.com
e1f5e6d3be9a072b2c8c54a7db8c2b69ee601459
b60849c71c644b488a9777edd9809883cbaff884
/stringsync/sync.py
ba9ca155174cc1b6c88aba0402ca29118333c4b1
[ "Apache-2.0" ]
permissive
dev-junior/strings-datasync
ded0183a9bea5a715555c4b55ce1ea3ecf2ba6c7
858a0d97687dfc42e0010b25718e2b17084e75fb
refs/heads/master
2020-03-21T02:53:51.338210
2015-10-05T22:41:35
2015-10-05T22:41:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
from StringIO import StringIO import sys from stringsync.mysql2ldif import mysql2ldif, organization_dn from stringsync.ldif_dumper import dump_tree_sorted from stringsync import db from stringsync.ldiff import ldiff_and_apply, ldiff_to_ldif def _sync_db_to_ldap(organization_id, db_server, ldap_server, dry_run): ...
[ "tomheon@gmail.com" ]
tomheon@gmail.com
5d9fa9cd1b5f06a381cee08c729581e92b5e5ed0
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/pybites/advanced/93_v3/rps.py
6390079246a910365c6f43a18f17e098926b1800
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,078
py
# ____ r__ _______ c.. # # defeated_by d.. paper_ scissors # rock_ paper # scissors_ rock # lose '@ beats @, you lose!' # win '@ beats @, you win!' # tie 'tie!' # # c.. ?.v.. # # ___ _get_computer_move # """Randomly select a move""" # r.. c.. c.. # # # ___ _get_winner compu...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
accf04c3dd5dc97c44fefd3a3790d423200ace90
e2113da0cc7fe791a0780821ffad10d79cfe5eb2
/Assignment_2/cs231n/data_utils.py
5a783f1577474bafce5f9cbcf70354c36ab83e90
[]
no_license
maxshaps/Convolutional-Neural-Networks-For-Visual-Recognition
6e75500036e7a0350dd6a1f10f26fbb4068a6820
732115e3d666744560abd904ff10104310bfb916
refs/heads/master
2022-12-12T12:05:15.914591
2020-03-03T00:27:38
2020-03-03T00:27:38
244,502,118
0
0
null
2022-12-07T23:33:06
2020-03-03T00:02:53
Jupyter Notebook
UTF-8
Python
false
false
9,280
py
from __future__ import print_function from builtins import range from six.moves import cPickle as pickle import numpy as np import os from scipy.misc import imread import platform def load_pickle(f): version = platform.python_version_tuple() if version[0] == '2': return pickle.load(f) elif versio...
[ "maxwell.craig.shapiro@gmail.com" ]
maxwell.craig.shapiro@gmail.com
72dd61a158c302f6c81f7b839bd22510c5704f18
9bbc76b0d31fb550392eb387aab54862576c3e6d
/0x08-python-more_classes/6-rectangle.py
df22ebe5faae5a083f60627a756b6e2e54646874
[]
no_license
Jesus-Acevedo-Cano/holbertonschool-higher_level_programming
39c6e99f6368dba61c8668ffac41ea2257910366
ad28e8f296d4c226e1c0d571e476fedb3755fde5
refs/heads/master
2020-09-29T03:20:19.770661
2020-05-15T03:50:10
2020-05-15T03:50:10
226,937,476
0
0
null
null
null
null
UTF-8
Python
false
false
2,391
py
#!/usr/bin/python3 class Rectangle(): """class named Rectangle""" number_of_instances = 0 def __init__(self, width=0, height=0): """Initialization of instance attributes Args: width (int): width of rectangle height (int): rectangle height """ self.w...
[ "jeacevedocano@gmail.com" ]
jeacevedocano@gmail.com
e00c99ee7d822229dab9f18678eecb1384974475
cb108d610b3f24f13fb8277ed1f4bebc96288bd2
/config.py
bf62ae0069e21d58714362846a80abf20991a4fd
[ "MIT" ]
permissive
Mbarak-Mbigo/cp2_bucketlist
24476137955d2b1f299eec63fbd1fd25d3511fdd
6ba239d8a941d3f644fc3e92345f93cfaad79072
refs/heads/develop
2021-01-19T10:17:50.557060
2017-09-18T13:42:59
2017-09-18T13:42:59
87,851,083
0
1
null
2017-05-23T13:29:02
2017-04-10T19:46:25
Python
UTF-8
Python
false
false
2,505
py
"""Application configuration module. configuration definitions and options config.py """ # standard imports import os # third party imports # local imports basedir = os.path.abspath(os.path.dirname(__file__)) class Config: """Common configurations across all environments.""" DEBUG = False SECRET_KEY = ...
[ "mbarak.mbigo@andela.com" ]
mbarak.mbigo@andela.com
5de5fdf8d55716b7158ddc327f017bab4a265345
ebcf2845371b9a9d54bcd88fb36f302339ef7206
/SCSN2021Dataset/build_noise_step3.py
53b9950a0cd8abd970c8414baaff490bc09400b7
[]
no_license
lovelytt0/EdgePhase
e42f6371678c5b26f8d0db087d51f7a315c25900
292f32eba9e5cc17547d1d307f3660ff8ef47db9
refs/heads/main
2023-04-17T10:07:52.986371
2022-08-04T06:35:36
2022-08-04T06:35:36
476,444,420
5
1
null
null
null
null
UTF-8
Python
false
false
2,698
py
import obspy import glob import numpy as np import os import tqdm import pickle download_list=np.load('continous_sta_download.npy') sta_dict={} for sta in download_list: inv=obspy.read_inventory("StationList/CI_"+sta+'.xml', format="STATIONXML") lat, lon, dep= inv[0][0].latitude, inv[0][0].longitude, inv[0][0...
[ "tianfengseis@gmail.com" ]
tianfengseis@gmail.com
c417d8515b7f94a0785721ef520b2ad3d102990d
381eda241bdc3d9d5d8eeea830f34594995a1aed
/othello_console.py
e28f6b14adb731f201cb88250dcabcc877ce7ff6
[]
no_license
alonzoc1/Othello-Python-Mar.-2015-
a5d5aa8eb08948bbf50757db479e68016f691123
fce988958030bf5985c93ffc205646ea99e40380
refs/heads/master
2021-01-11T01:04:52.621194
2016-10-16T14:46:54
2016-10-16T14:46:54
71,055,877
0
0
null
null
null
null
UTF-8
Python
false
false
5,474
py
#Alonzo Castanon 94339018 import othello def print_board(game_object): game_board = game_object.game_board() row_ticker = (game_object.columns_and_rows()[1] - 9) for i in range(len(game_board[0])): line2 = '' line = '' if row_ticker > 0: line += (str((len(game_board[0])-...
[ "alonzoc1@uci.edu" ]
alonzoc1@uci.edu
136081c3ad617eb8c29f2bb8ef7001192860db42
f912aa092ff84d9964feb6038abd2465434945fb
/Experiments/compare_place.py
795028c6881f27e420d00af9aad01bbd9fe5dd85
[]
no_license
YOAOY/PRP
a57a86911b85fcae4b4c0702c668b982ebc9820e
9afe8adcdf9e4b96601b5c702bec70dbf1074d8d
refs/heads/master
2021-07-07T18:46:43.039971
2019-03-06T07:26:37
2019-03-06T07:26:37
142,745,117
0
1
null
null
null
null
UTF-8
Python
false
false
3,222
py
# 去抓原本檔案的matrix # 然後再抓新座標的matrix # 然後開始比對,印出結果~ # 每筆測資都會有比對的matrix 每一格為舊的(matrix distance - 新的distance)/distance # 是一個差距的百分比 # 然後會有max_gap(正差距) 和 min_gap(負差距) 目的是找到最大的差距 ######################################### import math import time def sq(x): return float(x * x) # 去抓explist 找出所有data的檔案名稱 explist = 'expli...
[ "y3youoy3y@gmail.com" ]
y3youoy3y@gmail.com
10f15096eff2605cc1b6f34cae9b10d7dbd66012
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/3/usersdata/138/733/submittedfiles/ex1.py
1e83a25bea9a34b44af82f240fef204ac4552b94
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
# -*- coding: utf-8 -*- from __future__ import division a = input('digite o valor de a:') b = input('digite o valor de b:') c = input('digite o valor de c:') delta = (b**2)-(4*a*c) x1 = (-b+(delta)**(1/2))/(2*a) x2 = (-b-(delta)**(1/2))/(2*a) print('valor de x1') print('valor de x2')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
91b74dd01c63994d0b4221c452063e913584e443
e3c422285aae83f81d594ef844caffb90c79e44c
/dataset_prep_2c.py
98407eabf17510829bcd0d324e1532b7ebe9f81f
[]
no_license
erlikn/sm_ps_ct
2f2691e2eff9c7367233e88b7a6280e6e40a468b
950645b47b4c8c80b3488c2eb7c9e2f7d80ee8ad
refs/heads/master
2021-06-30T14:18:08.337344
2019-04-04T23:28:57
2019-04-04T23:28:57
129,152,331
0
0
null
null
null
null
UTF-8
Python
false
false
5,806
py
import tensorflow as tf import sys import os import json from PIL import Image import cv2 import numpy as np import time import multiprocessing import Data_IO.tfrecord_io as tfrecord_io flags = tf.app.flags flags.DEFINE_string('output_path', '', 'Path to output TFRecord') FLAGS = flags.FLAGS shardNumber = 0 samples...
[ "erlik.now@gmail.com" ]
erlik.now@gmail.com
76d391107099225f1857340402e1fb53c91f1abb
06b96f46f2f9a4830e5a72ecf78ae21a5af4757c
/rainbow.py
37ae08cbc5ad7663e17c46ecb0265f42a73a685b
[]
no_license
K-TEE-R/keyboard_bridge
a3500fc71db59569c452d5cbee78fe7a84a5389a
6b8e22a419c4f2bcea0b05bcc41658948cbcc082
refs/heads/master
2020-05-09T12:20:28.941094
2019-04-13T02:13:59
2019-04-13T02:13:59
181,109,254
0
0
null
null
null
null
UTF-8
Python
false
false
1,039
py
#!/usr/bin/env python import colorsys import blinkt import time import threading spacing = 360.0 / 16.0 class Rainbow: def __init__(self): self.offset = 0 self.timer = threading.Timer(5, self.clear) blinkt.set_clear_on_exit() blinkt.set_brightness(0.1) def increment(s...
[ "tmngkteer@gmail.com" ]
tmngkteer@gmail.com
308115201a385958775ca46c80b558e760305c12
51d5fe19cb015dbc7079c15eb33762515a7d51a3
/evolution/test_dealer.py
ca19ca4d6105ddcca86b4b5afadfb7e5c9ab72ce
[ "MIT" ]
permissive
ctbeiser/Evolution
e471b8cdfb9f2b1e5df949b0a9cede7395787e6f
ab0de37f9ed7f9e545067726ec514f73bdeb3b51
refs/heads/master
2016-09-14T10:51:19.368120
2016-05-09T19:54:03
2016-05-09T19:54:03
58,402,428
0
0
null
null
null
null
UTF-8
Python
false
false
7,065
py
from unittest import TestCase, mock from .dealer import Dealer from .player import Player, InternalPlayer, ExternalPlayer from .species import Species from .trait import Trait from .traitcard import TraitCard import os import json BIG_SIZE = 4 LITTLE_SIZE = 2 TINY = 1 class DealerTestCase(TestCase): def setUp(s...
[ "ctbeiser@gmail.com" ]
ctbeiser@gmail.com
8efabf772ccd65e752d072a3363250af54019948
99e2412ea049e3b92920e4cf39805e7c7868601a
/keep_alive.py
17cc3895569751ddb4a82712a61139516682f36d
[]
no_license
Faris0520/24h-online
2657ddc4a677086cf1acc14d8221c894c422e1d0
6f99bd52e01a5e1af14857aa5f81d48c3ac2856c
refs/heads/main
2023-07-19T13:29:17.623647
2021-09-09T15:45:02
2021-09-09T15:45:02
401,058,997
4
1
null
null
null
null
UTF-8
Python
false
false
244
py
from flask import Flask from threading import Thread app = Flask('') @app.route('/') def main(): return "Running..." def run(): app.run(host="0.0.0.0", port=8080) def keep_alive(): server = Thread(target=run) server.start()
[ "noreply@github.com" ]
noreply@github.com
cb7e8f189ff58665d2de11243c06d37e4856a0c2
ee6648674410e1bec255dbfa6b800cf1df80a6b3
/extras/mapperTotalSales.py
ca75757df04c862abbbd13bd52aec1e26aa9a9a6
[]
no_license
MountEverest75/HadoopMapReduceSamples
3ebb6bbb185e1d630172a95ed0fe68b75c1c37e6
052203d8dff180856bd53799f15a5591dc8a14f4
refs/heads/master
2020-05-05T06:17:49.491283
2014-12-08T17:38:15
2014-12-08T17:38:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
#!/usr/bin/python # Format of each line is: # date\ttime\tstore name\titem description\tcost\tmethod of payment # # We want elements 2 (store name) and 4 (cost) # We need to write them out to standard output, separated by a tab import sys for line in sys.stdin: data = line.strip().split("\t") if len(data) ==...
[ "ravikiranmailid@gmail.com" ]
ravikiranmailid@gmail.com
a48b209de034f8f5624d7781dec6f5c0126a422b
11a75e6a5691d4b7715e250736afd48e757733d4
/Starship.py
b16470383985170cc5379b38917a68aa6ff46786
[]
no_license
LarisaGarban/Proiect_baze_de_date
effef148c29e76cef3b2a58c788b2060379ac738
b3c46b61bca654810f6b54546f688db837a12c9b
refs/heads/master
2022-07-06T02:16:25.517730
2020-05-15T14:15:04
2020-05-15T14:15:04
261,397,819
0
0
null
null
null
null
UTF-8
Python
false
false
533
py
import os class Starship: def __init__(self, peopleID, starshipID, people_starship_description): self.peopleID = peopleID self.starshipID = starshipID self.people_starship_description = people_starship_description def __str__(self): text = "" text += "peopleID: " + str...
[ "eduardtoth98@gmail.com" ]
eduardtoth98@gmail.com
e3e6129a6a6f6c3335370421a49ec91a0b26f747
8b371f3f29baebe8ece2adf58a8ff8ccd891cdad
/src/util.py
b372b6461ef663e69dac12242a6b8fc011f90da6
[]
no_license
ethan-oro/super-tic-tac-toe
523e4d9c230ce8ba70d5e986c90f1c343385edc5
7e07dec475155e7c92d7529c3dfbe9ee455bd4ad
refs/heads/master
2020-04-06T20:46:35.673002
2018-12-15T04:55:54
2018-12-15T04:55:54
157,782,800
0
0
null
2018-12-15T04:55:54
2018-11-15T22:54:41
Python
UTF-8
Python
false
false
173
py
import sys import inspect #method borrowed from cs221 pacman assignment def raiseNotDefined(): print ("Method not implemented: %s" % inspect.stack()[1][3]) sys.exit(1)
[ "ethanoro17@gmail.com" ]
ethanoro17@gmail.com
ee9f5329221b8e8542bb74ff0d50c74159d0a736
ed25dc9c6d0f8a41a3382d84715500242105be6e
/JSMayanCalendar7.py
88ffc21ecec5c093d1b2019a5fdb4a15ce1839bd
[]
no_license
jshryane/MayanCalendar
a53be3044785fa22ff301f7012f13b6a639132d7
49830d5349d19511441e69084fe0c1f68a90570d
refs/heads/master
2021-01-19T19:34:35.325170
2013-06-20T23:45:07
2013-06-20T23:45:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,364
py
def GetMayanDate(): MDate = input("Please enter the Mayan date ") return MDate def ConvertMayanDateToMayanDays(M_Date): DateList = M_Date.split() # splits the string using the spaces and assigns each part to a list # get each unit's value back out of the list and convert it from a string to an intege...
[ "jshryane@didcotgirls.oxon.sch.uk" ]
jshryane@didcotgirls.oxon.sch.uk
a6a221691019e3a21eb4e625ad0a29304c76bddd
e5bd884bcd6d4e1fd7242f10f0a0389a059e82fa
/cookbook/chapter12/12-3.py
cdbdcb963d5709638f071efd5f3128e6cd143fe7
[]
no_license
ponyonKita/pythonCookBook
4783ae336e536f680f9268a9cd08a2011bd26079
66e7443b56fb21fedcc45a51771252eaac4bc215
refs/heads/master
2021-01-01T20:15:19.676323
2017-11-20T15:37:37
2017-11-20T15:37:37
98,802,140
0
0
null
null
null
null
UTF-8
Python
false
false
1,903
py
# 스레드간 통신 # 큐의 현재크기 -> q.qsize(), q.full(), q.empty() -> 호출한 순간 다른 스레드가 큐에 아이템 추가한경우 # 정확하지 않을수있다. from queue import Queue from threading import Thread, Event import copy _sentinel = object() def product(out_q): while True: # 데이터생성 data = 3 evt = Event() # 큐에 아이템을 넣을때 복사본이 생기지 않아...
[ "kaoru213@naver.com" ]
kaoru213@naver.com
65e356d4d742ee7396ea5d25014fa88302715a36
c807ab961d0dea5eb3936547e843673247639a07
/Personel/abhipandey/python/assignment_25/userdict.py
0f776301ef2ebfff811f3293ed29b5d05f25059d
[]
no_license
shankar7791/MI-11-DevOps
dbac94ca1fb4627ae44658701bcddcd22c65a3d4
63a0a65b05192439575ed2c47a6c3d33c5be87d2
refs/heads/main
2023-07-12T20:33:30.121801
2021-08-13T03:01:17
2021-08-13T03:01:17
355,145,424
0
4
null
2021-08-12T19:31:44
2021-04-06T10:19:10
Python
UTF-8
Python
false
false
412
py
from collections import UserDict class MyDict(UserDict): def __del__(self): raise RuntimeError("Deletion not allowed") def pop(self, s = None): raise RuntimeError("Deletion not allowed") def popitem(self, s = None): raise RuntimeError("Deletion not allowed") d = MyDict({'a' : 1, ...
[ "thepeopleschamp12345@gmail.com" ]
thepeopleschamp12345@gmail.com
e7f80b5e9c796275e36a6f994de27df5968de8ba
397fbb282596898a84a09070f41724ce9b65ed33
/project.py.bak2
2f1b462edd856f44517596b5db51267d8ee98fb5
[]
no_license
erasylediluly/university-database
8150cc476c5c131e1d2f94d4afa2f9d56f9c7c29
28cc00cced5a85bd402df049d2de78ab9cd2baad
refs/heads/master
2023-02-23T23:06:19.558525
2021-02-04T14:18:47
2021-02-04T14:18:47
328,692,220
0
0
null
null
null
null
UTF-8
Python
false
false
129,681
bak2
#! /usr/bin/env python # -*- coding: utf-8 -*- # # GUI module generated by PAGE version 5.0.3 # in conjunction with Tcl version 8.6 # Apr 26, 2020 07:29:42 PM +06 platform: Windows NT import sys try: import Tkinter as tk except ImportError: import tkinter as tk try: import ttk py3 = False excep...
[ "erasylediluly@gmail.com" ]
erasylediluly@gmail.com
69ee1c193bcede2e74ad402eb2964bf8f3ee3230
9a33bf0ab938a07b73788926a8b63a6eb1bb2346
/Amazon_WebService/manage.py
6ddf75c684d6ae5363f69938f1469546fd3ac212
[]
no_license
skymoney/Amazon_REST
0106b2a41f8934a3b67a008f9e68e9386008931c
cb2d2d4a19ec81241dba9294ae90089f892a4166
refs/heads/master
2021-01-19T05:26:03.054577
2014-09-11T01:57:43
2014-09-11T01:57:43
15,602,206
1
0
null
null
null
null
UTF-8
Python
false
false
260
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Amazon_WebService.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "CChain0615@gmail.com" ]
CChain0615@gmail.com
0acd863d75ed2a23366a1723960b38e8e7866ac9
767fb467f5948ed371d238d2672711262639838d
/collections_extended/setlists.py
8e759fa2f68dc71e636eb82022ebd4f86e513d90
[ "Apache-2.0" ]
permissive
aishp9/collections-extended
48a378c6cf871c40f30884d40ab7d50d77584823
917d95d43e431779c423945e117d13005ef3b0c6
refs/heads/master
2022-04-11T01:58:26.215185
2020-02-12T07:52:23
2020-02-12T07:52:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,244
py
"""Setlist class definitions.""" import random as random_ from collections.abc import ( Hashable, MutableSequence, MutableSet, Sequence, Set, ) from . import _util __all__ = ('SetList', 'setlist', 'frozensetlist') class SetList(Sequence, Set): """A setlist is an ordered `Collection` of unique elements. `Se...
[ "m.lenzen@gmail.com" ]
m.lenzen@gmail.com
8a1b0d858c1296eda43135427699fa075eddb61b
7e82610c94ff8b569fcb44c40800a88386be314d
/367.valid-perfect-square.py
2910fac8b3ca09f0c0d35d98131ad1bbba5b0858
[]
no_license
irtfrm/leet-code
c7614076add0a84118db36055b1ffa9e27b5b155
af20a605fe9c01fc11f04ab70eff12b25ea066dc
refs/heads/main
2023-08-01T16:15:28.200198
2021-09-17T13:24:00
2021-09-17T13:24:00
370,783,884
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# # @lc app=leetcode id=367 lang=python3 # # [367] Valid Perfect Square # # @lc code=start class Solution: def isPerfectSquare(self, num: int) -> bool: if num == 1: return True left = 1 right = num // 2 while left <= right: middle = (left + right) // 2 ...
[ "frm.tomoya@gmail.com" ]
frm.tomoya@gmail.com
a2fa262c03483846f2bf8c55629d15141de6ffcc
d364ab003b945d65fb7746f1cae0ebd0b997b4c0
/flappybird.py
aba5e02a3c556d606556ca11f2b530a45eb8a615
[]
no_license
RamandeepPrime/FLAPPY_BIRD
5a579e943e9ad6d4adbfbb518e48679333e316e2
d7acbd2fd99e15363cb00cc7f2690d11444c2f64
refs/heads/main
2023-05-25T18:48:48.288768
2021-06-06T14:46:44
2021-06-06T14:46:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,665
py
from pygame.constants import KEYDOWN, K_SPACE import pygame import sys import random import os import time import neat import pickle import tkinter as tk from tkinter import EventType, ttk,messagebox #Initialize pygame pygame.init() root=tk.Tk() #giving allias root.title('Bird Selection Window') root.geometry('601x3...
[ "noreply@github.com" ]
noreply@github.com
5f9da4e9e76d218315e22dd22a09e9cb5c342311
99bf9003fb0f526f973e42a714d3864d09d11ea4
/filtros/filtroSobel.py
a335fef14544fed0056edc9c283b39509c3acb2c
[]
no_license
fsMateus/processamento_imagens
695c6d95a5c070fb9a03374dec65bcc4292b0485
9d8fc65b1826df323a4ea93ca1a1583d2b4765a5
refs/heads/master
2020-04-05T13:15:24.609792
2018-11-09T16:49:43
2018-11-09T16:49:43
156,894,168
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
from PIL import Image class Sobel: def __init__(self, img): self.imagem = self.obterImagem(img) def obterImagem(self, nome_img): imagem = Image.open(nome_img) return imagem.convert('L') # converte para tons de cinza def criar_imagem(self, img): return Image.new('L', (in...
[ "mateusfsv90@gmail.com" ]
mateusfsv90@gmail.com
4746c7503d1a5dbba186f30f64b931c56facdfe9
242e7f118c62c6fbfe2f8da883bf104942d7e376
/01_if02.py
bf7e3a73c948d94b0613b47fcba929de6fdb55ed
[]
no_license
sharryhong/python
c9a85b85d27c511dd03076647f33a3060dcd40b8
b1451c3e656069e140113b3de8a4a80f4e8c953b
refs/heads/master
2021-01-11T19:04:52.267169
2017-02-07T16:47:15
2017-02-07T16:47:15
79,311,893
0
0
null
null
null
null
UTF-8
Python
false
false
614
py
""" 어떤 숫자가 3의 배수인지 알아보기 위해서는 그 숫자를 3으로 나눈 나머지가 0인지 알아보면 됩니다. 나머지는 % 연산자를 사용하면 알수가 있지요. 다음 코드를 실행해서 출력되는 결과를 확인해 보세요. """ number = 15 if number % 3 == 0: #number가 3의 배수인지 확인합니다. print("{}는 3의 배수입니다.".format(number))#이 코드는 실행됩니다. number = 16 if number % 3 == 0: #number가 3의 배수인지 확인합니다. print("{}는 3의 배수입니다.".format(num...
[ "kshopzoa15@gmail.com" ]
kshopzoa15@gmail.com
77b4d21978254bddd49f54d1d0116bdd8df861f6
15cf77a65eb5d4714293fb0fcf4d22b1b12f0def
/lesson_06/bookparser/runner.py
4229679e41f5d1ae376ac512516b4b7e0f5dbe2a
[]
no_license
Fomatik/gb-parsing
47efdc6c15d071e2f398316dda82d2964c55c797
1b24ddfbd65cdfec67ec4903c194a8bbe160a068
refs/heads/master
2023-03-16T12:47:16.553502
2020-06-29T20:42:09
2020-06-29T20:42:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
933
py
# Импортируем класс для создания процесса from scrapy.crawler import CrawlerProcess # Импортируем класс для настроек from scrapy.settings import Settings # Наши настройки from bookparser import settings # Классы наших пауков from bookparser.spiders.labirint import LabirintSpider from bookparser.spiders.book24 import...
[ "rsh100@ya.ru" ]
rsh100@ya.ru
dab996e33f462c33f1e6697f533f243ab688757f
c884dd1f9d6050a67be35ffa865e3f4df85f8405
/backend/server/server/keys.py
515012e5bade22b5b30f3de4db4d9ca7d9309423
[]
no_license
madssf/trading-app-web
cd90f68a7439f4bf91463fb7aa2b6dd6beadb54f
a906fb726563fa15f7dffb40bcbebdf36bf16bb5
refs/heads/main
2023-07-24T13:58:20.082199
2021-08-24T16:59:46
2021-08-24T16:59:46
370,482,018
0
0
null
2021-08-24T16:59:47
2021-05-24T20:53:11
Python
UTF-8
Python
false
false
443
py
import os class Database: NAME = os.getenv('POSTGRES_DB') USER = os.getenv('POSTGRES_USER') PASSWORD = os.getenv('POSTGRES_PASSWORD') HOST = os.getenv('DATABASE_HOST') PORT = os.getenv('DATABASE_PORT') class Secrets: SECRET_KEY = os.getenv('DJANGO_SECRET_KEY') class Superuser: USERNAME...
[ "mads.steenfeldt.foss@gmail.com" ]
mads.steenfeldt.foss@gmail.com
f8b76ee88bf3199ba784eea23e13478c952ee068
225543bcaa194360aa66c738a99b7ad5c291434b
/main_210516.py
8aabc2d068464e871a923d87cbc79014605fd9b0
[]
no_license
m0100434/zendlijsten
f0eecf12ab3fc90c1db9b5c22f1163a92dcdf6f7
171e1c427db71dad01408072081c85035c57a2b2
refs/heads/main
2023-06-19T05:04:31.619139
2021-07-17T07:51:46
2021-07-17T07:51:46
349,770,868
0
0
null
null
null
null
UTF-8
Python
false
false
10,358
py
# -*- coding: utf-8 -*- """ Created on Wed Jan 6 11:56:59 2021 @author: ArxXi """ from selenium import webdriver import time from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by impor...
[ "m.verschuere@ailvis.com" ]
m.verschuere@ailvis.com
fa1dcb7cf75c38c73c228a0c326b4791efa0218c
09301c71638abf45230192e62503f79a52e0bd80
/besco_erp/besco_warehouse/general_stock_shipping/wizard/__init__.py
39773324ebf286802583121ca1528961e4ec8a3c
[]
no_license
westlyou/NEDCOFFEE
24ef8c46f74a129059622f126401366497ba72a6
4079ab7312428c0eb12015e543605eac0bd3976f
refs/heads/master
2020-05-27T06:01:15.188827
2017-11-14T15:35:22
2017-11-14T15:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
# -*- coding: utf-8 -*- #import stock_partial_picking import stock_invoice_onshipping # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
[ "son.huynh@nedcoffee.vn" ]
son.huynh@nedcoffee.vn
ac82330340a012a83accd2c7568b401784590c4a
0427a50ec60b6ca664288738cb5b9211f595e5c2
/meiduo/settings/prod.py
d5859cbee08895d3f1b4fbb5f84087d627c51696
[]
no_license
lcp964/meiduo
6862f25df9c05ea9f970cacbd30673f612f7c103
e13c076aabf95dec8de04b13e70d6094157cad4d
refs/heads/master
2023-07-03T23:01:03.380090
2021-08-02T14:42:28
2021-08-02T14:42:28
391,984,463
1
0
null
null
null
null
UTF-8
Python
false
false
6,032
py
""" Django settings for meiduo project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import os from...
[ "2441497185@qq.com" ]
2441497185@qq.com
540f489a9e94d400b3027d85897af712b39ac85f
9e549ee54faa8b037f90eac8ecb36f853e460e5e
/venv/lib/python3.6/site-packages/future/backports/http/cookies.py
063ed995ba4a12e6bce07a142806bd886a9751cd
[ "MIT" ]
permissive
aitoehigie/britecore_flask
e8df68e71dd0eac980a7de8c0f20b5a5a16979fe
eef1873dbe6b2cc21f770bc6dec783007ae4493b
refs/heads/master
2022-12-09T22:07:45.930238
2019-05-15T04:10:37
2019-05-15T04:10:37
177,354,667
0
0
MIT
2022-12-08T04:54:09
2019-03-24T00:38:20
Python
UTF-8
Python
false
false
21,705
py
#### # Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu> # # All Rights Reserved # # Permission to use, copy, modify, and distribute this software # and its documentation for any purpose and without fee is hereby # granted, provided that the above copyright notice appear in all # copies and that bot...
[ "aitoehigie@gmail.com" ]
aitoehigie@gmail.com
3d61667e3088b1f1b05106dc5648b7aaf4002b91
e574bfa1acf6ae4662775e0a1dfa22c6ce751cda
/tests/test_types.py
fe2e949778da128c17786d463a9d0a7d2a111d6e
[ "MIT" ]
permissive
shuric80/aioalice
6ef4193cf9c27c1c1692c5d11a95583119ea3214
e04b122b73ee139b42e13d28e4a5434c4c393bcc
refs/heads/master
2020-03-23T20:06:02.678810
2018-07-11T18:59:36
2018-07-11T19:00:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,390
py
import unittest from aioalice import types class TestAliceTypes(unittest.TestCase): def _test_meta(self, meta, dct): self.assertEqual(meta.locale, dct['locale']) self.assertEqual(meta.timezone, dct['timezone']) self.assertEqual(meta.client_id, dct['client_id']) def test_meta(self): ...
[ "surenkhorenyan@gmail.com" ]
surenkhorenyan@gmail.com
13bcb71b8c48dcb640e02db39bf23c068b8ac6a5
7f9da5ffaf27fee7cbc8893dbadc1c4d6bb6c1f7
/TicTacToe/Game/teams.py
7dc43a075f5717c7db7c98f2e2534eb332b7364f
[]
no_license
cztaylor/GameBots
2e3080fb867efbff2a0ec15f4a4e7127005461c6
3095bc334db48047aba12dc4c6a1881e8261f9c3
refs/heads/master
2021-07-17T02:59:09.056156
2018-10-06T18:48:34
2018-10-06T18:48:34
135,877,030
0
0
null
2018-10-06T18:48:34
2018-06-03T05:43:44
Python
UTF-8
Python
false
false
311
py
class TeamNode: def __init__(self,team): self.team = team self.nextTeam = None class TeamList: def __init__(self,team1,team2): self.firstTeam = TeamNode(team1) self.secondTeam = TeamNode(team2) self.firstTeam.nextTeam = self.secondTeam self.secondTeam.nextTeam = self.firstTeam
[ "chrtaylo@microsoft.com" ]
chrtaylo@microsoft.com
9bb8c4394860772b3555d8fd9b85430708b8712e
018813aac1a6ca32ee10588b98f2c9d975e33c63
/app.py
da595c405403c47ebc3fad3e8f69919bce3014bf
[]
no_license
darrzns07/Travis_Post_Exams_Activities
c164d233515f638fdc6f037b5993c039fe8b95bc
9dd8b362c5563aeb89283f340792cf4fee9efc29
refs/heads/main
2023-01-04T08:25:42.996810
2020-10-22T05:59:59
2020-10-22T05:59:59
306,237,401
0
0
null
2020-10-22T05:58:36
2020-10-22T05:58:36
null
UTF-8
Python
false
false
1,697
py
print("Title of program: Post Exam Activity bot") print() while True: description = input("Could you describe how you feel in a sentence?") list_of_words = description.split() feelings_list = [] encouragement_list = [] counter = 0 for each_word in list_of_words: if each_word == "hapy": f...
[ "noreply@github.com" ]
noreply@github.com
53b7cd3863dd4313951b334052d5b696250374ca
29363ee74136edfcb815f4e613360a54224c9a00
/configs/config.py
9974a8c693a746cfc8b6618edca3a8d958208065
[]
no_license
deepshwang/dltransformer
e6ced3a3f73957b5aa8ec459138c77ca802cc010
5a5a02daa315b45c9e7d653431ba9a78727b5e97
refs/heads/main
2023-05-31T13:55:26.830504
2021-06-19T08:17:26
2021-06-19T08:17:26
370,882,245
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
from strictyaml import load from pathlib import Path def load_config_data(path: str) -> dict: yaml_string = Path(path).read_text() cfg = load(yaml_string, schema=None) cfg: dict = cfg.data return cfg
[ "shwang.14@kaist.ac.kr" ]
shwang.14@kaist.ac.kr
f16979f02fdbfeefda7b4ad877d9adac80bb4282
aa118ff4070642c9d50a3ddb489a0b1b1603a167
/6083.py
410ae70eb1e844a0c3a9c47857f2a8c58d3553cd
[]
no_license
anjgkwld/my_port
11990c7545064fa2736b7911157cb35b9bc9ccea
ab2dc8e56fa78e3c621281522d406c0aaf88f22f
refs/heads/main
2023-09-03T03:48:11.148987
2021-11-13T07:31:30
2021-11-13T07:31:30
417,511,118
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
a,b,c=map(int,input().split()) sum=0 for i in range(a): for j in range(b): for k in range(c): print(i,j,k) sum+=1 print(sum)
[ "noreply@github.com" ]
noreply@github.com
3d7e7fc5498ab72cf6942993ad64821208a0a8e9
a2e53ae50367751d34060135fedbb19cf5d79770
/old2/vari25.py
5cd1e1792d331606e6ff2a5384662f7664dd1030
[]
no_license
numjax/pytestproject
b1f944d284ce634ee22d17ac5d5d466c1794b6e5
4525e8120c886cbcf8c428dfafc3473ebbe2ac2f
refs/heads/main
2023-03-22T13:42:05.461325
2021-03-22T13:18:34
2021-03-22T13:18:34
336,371,303
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# - *- coding: utf- 8 - *- # 높이 n개의 계단을 올라가는 방법을 리턴한다 def staircase(stairs, possible_steps): cnt = [1,1] for height in range(2,stairs+1): cnt.append(0) for step in possible_steps: if height - step >= 0: cnt[height] += cnt[height-step] return cnt[stairs] ...
[ "ygwon@hicoamerica.com" ]
ygwon@hicoamerica.com
94d283fafd1dbc22672c8a7556432d34e09c8f00
405f8aefacaaa622910cb3a7ecb9158d522dc8d9
/home/views.py
6e51f2609ba8779210aa5df00d5b6f74b4f22303
[]
no_license
khangdpham/ufriend
e356d022a0daeae53325e75ff1a6cd623a693ca3
e3f7a7f0929b36e41060ec87dc5959218d9e9e64
refs/heads/master
2021-01-25T03:19:51.351582
2015-01-17T23:14:53
2015-01-17T23:14:53
28,940,507
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from django.shortcuts import render,render_to_response from django.template import RequestContext from django.contrib.auth import authenticate, login as auth_login def index(request): username = request.user context = {'state':'','username':username, } return render_to_response('home/index.html', context, conte...
[ "kpham@NA-SD-L-021653.entropic-communications.com" ]
kpham@NA-SD-L-021653.entropic-communications.com
959aa45f9b812fef5ce1dd115db4b6d4fbdda4c8
fd058df194deb5d300b1d86baa725b14269bbeb5
/dc_tts/train.py
e4a3cbb438c8cc0d330b14672a36fabbbdbb5cbb
[]
no_license
psmaster1/voice-cloning-AI
b0d6cc45f57aa9712c43c8359dfea97f6288da71
13ac4f3ce5d538de9e90df749d7b12504a9dbf9e
refs/heads/master
2023-02-26T01:47:48.798199
2021-01-29T15:24:38
2021-01-29T15:24:38
334,154,866
0
0
null
null
null
null
UTF-8
Python
false
false
7,154
py
# -*- coding: utf-8 -*- # /usr/bin/python2 ''' By kyubyong park. kbpark.linguist@gmail.com. https://www.github.com/kyubyong/css10 ''' from __future__ import print_function from tqdm import tqdm from data_load import get_batch, load_vocab from hyperparams import Hyperparams as hp from modules import * from networks ...
[ "patriksteinkellner@hotmail.com" ]
patriksteinkellner@hotmail.com
0c64319d4b22ac9fcd813f02a4b038fd2894fb06
d61183674ed7de0de626490cfba77d67c298d1be
/py_scripts/bench_plot_lasso_path_63.py
fe9f6bc621d038bca5caf96b8eede3fd982255b9
[]
no_license
Giannos-G/python_dataset
bc670a53143d92cf781e88dee608da38b0e63886
18e24cbef16ada1003a3e15a2ed2a3f995f25e46
refs/heads/main
2023-07-25T20:24:31.988271
2021-09-09T10:31:41
2021-09-09T10:31:41
363,489,911
2
0
null
null
null
null
UTF-8
Python
false
false
3,978
py
"""Benchmarks of Lasso regularization path computation using Lars and CD The input data is mostly low rank but is a fat infinite tail. """ from collections import defaultdict import gc import sys from time import time import numpy as np from sklearn.linear_model import lars_path, lars_path_gram from sklearn.linear_m...
[ "giannos.gavrielides@gmail.com" ]
giannos.gavrielides@gmail.com
27a3e0d3c60ec1fc09deb3b837285e09d0373c5c
380a47268c5975473a2e7c38c747bc3bdbd981b1
/benchmark/third_party/transformers/src/transformers/models/swinv2/configuration_swinv2.py
ffffcd12aff0cda9d890cf0c52350bde1c406755
[ "Apache-2.0" ]
permissive
FMInference/FlexGen
07aa9b1918c19b02077e13ad07e76840843810dd
d34f7b4b43ed87a374f394b0535ed685af66197b
refs/heads/main
2023-07-24T02:29:51.179817
2023-07-21T22:38:31
2023-07-21T22:38:31
602,270,517
6,821
411
Apache-2.0
2023-07-07T22:59:24
2023-02-15T21:18:53
Python
UTF-8
Python
false
false
6,527
py
# coding=utf-8 # Copyright 2022 The HuggingFace Inc. team. 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 r...
[ "sqy1415@gmail.com" ]
sqy1415@gmail.com
485abb26fc966ba78f33c76c6f1f29b9e2cba8bf
d73fcd03fc4d3c32125c4758e9df8e6f06aa0f52
/app/models.py
ca9da4920b75505e23a3e3e35dc754b3e884fbe7
[]
no_license
MatthewBieda/Flask-Test
85401f17736a7153bfd94b1cf947718ea24ec253
5ac4551b6b52104936d5584acae56560268883e4
refs/heads/main
2023-03-23T21:20:28.236304
2021-03-23T00:40:07
2021-03-23T00:40:07
349,139,963
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
from datetime import datetime from app import db, login from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from hashlib import md5 class User(UserMixin, db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(64),...
[ "noreply@github.com" ]
noreply@github.com
b82ccee145ebd095401f6c9f1af83e0c3e93e9b4
dadb3f24a26c87c40f968141f2a5ec539cca1f0d
/data/model.py
57dad64e6fa11e17a11eb24c7c0c717140f5bee4
[ "MIT" ]
permissive
muthzzz/copbot
84043f697776481dfd52565b5e1de6341cf2279b
6091be5977620e74821ba1cacea97ef916e34836
refs/heads/main
2023-02-20T16:50:46.376208
2021-01-23T10:26:31
2021-01-23T10:26:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,880
py
import json class Change: def __init__(self,idGrup, nomer=None,switchInt=0, maxint=0,nsfw=0): self.grupID = idGrup self.nomer = nomer self.switchV = switchInt self.maxint = maxint self.data = json.loads(open("data/toxic.json","r").read()) self.nsfw = nsfw def Tamb...
[ "noreply@github.com" ]
noreply@github.com
f2b783154317179a2e644b7131c949a990462249
5a55d61e373f15d8b2e225bf8a78151871090e34
/led.py
ea733cada80b071f5b01cce18672e44b8758131b
[]
no_license
samahe/Graduation_project
cce6e6c7eb69e06829ce0d46cd3963a6117ad190
db63b027c6f51f126477087dd46407ca48f33fd3
refs/heads/master
2021-06-18T20:25:31.628725
2017-06-27T04:44:50
2017-06-27T04:44:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(5,GPIO.OUT) while True: GPIO.output(5,True) time.sleep(0.5) GPIO.output(5,False) time.sleep(0.5)
[ "blacklight070@gmail.com" ]
blacklight070@gmail.com
23b252e6ee63d6d3b6df1e5bdd70009f8fab68b3
bc9f989f3bda07111c292c68ff0aa9c690131ae7
/tensorflow_action/convnet/demo1.py
69281b770f99b77a55de8eb91f6d93c08fdf33e6
[ "MIT" ]
permissive
MusixNotMusic/tensorflow
ca7a367ac7b2c337abbc4d70f51b5ed718246e5a
984e61b15b7de4039f646c98206633d5947a123f
refs/heads/master
2023-01-12T02:13:10.751910
2020-11-08T10:06:48
2020-11-08T10:06:48
307,018,653
0
0
null
null
null
null
UTF-8
Python
false
false
1,210
py
import tensorflow as tf mnist = tf.keras.datasets.fashion_mnist layers = tf.keras.layers to_categorical = tf.keras.utils.to_categorical model = tf.keras.models.Sequential() model.add(layers.Conv2D(32, (3, 3), activation='relu', input_shape=(28, 28, 1))) model.add(layers.MaxPooling2D(2, 2)) model.add(layers.Conv2D(64,...
[ "279601306@qq.com" ]
279601306@qq.com
9e1560b2812abeec192b2cfc000d4c183fc89347
541a260b89bcef917a7df4f0bc35ee1da3ead3cc
/bin/easy_install-2.7
d4f80d506d2b2495cf7dd62b11a8da180335555b
[]
no_license
aprilmao/Twilio_SMS
a7ed12166d28b253fc0032a4a73f965a7015bb14
0f8b5a249464583f2a4109bdb986ad15704db49a
refs/heads/master
2021-05-05T14:49:00.554241
2018-01-22T18:17:27
2018-01-22T19:27:16
118,505,110
0
0
null
null
null
null
UTF-8
Python
false
false
267
7
#!/Users/brianwichers/my_tutorial_folder/bin/python # -*- 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())
[ "aprilmao129@gmail.com" ]
aprilmao129@gmail.com
0d135afb151d5b8af4609f2fc15eb6742233e061
137b2c3ec0e93891cce799258d3195c3d5efc15f
/python/PyXMLTree/src/xml/tools/fapiDebugCppGen.py
854d19905f26a22e2824b9e40fab5693562a757e
[]
no_license
TaburisSAMA/lynproject
81582253466909e476ad7ee74dc9f59481757091
3707e611e87173d4ad43878383407a8a4bfdbad0
refs/heads/master
2021-01-21T13:49:01.000403
2015-02-27T10:29:33
2015-02-27T10:29:33
31,414,440
1
0
null
null
null
null
UTF-8
Python
false
false
21,583
py
############################################################################### # INTEL CONFIDENTIAL # # Copyright 2001 - 2003 Intel Corporation All Rights Reserved. # # The source code contained or described herein and all documents related to # the source code ("Material") are owned by Intel Corporation or its suppli...
[ "taburissama@gmail.com" ]
taburissama@gmail.com
afc681c375368f6eb304e34f5b8467c467624142
c86f740b339cceca97aecb44c4565b4a7df8b59b
/controller/advanced/generator.py
b1faecb448189043d70f21d7fc264f29092a996a
[]
no_license
xtyghost/python_helloworld
b3cc8eb495e310956defd075d6e1375e434181a2
ea7dd184790b799351878d2a6dacc358320e4577
refs/heads/master
2020-06-23T14:10:06.592193
2019-12-27T08:30:17
2019-12-27T08:30:17
198,645,603
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
def fib(max): n, a, b = 0, 0, 1 while n < max: yield b a, b = b, a + b n += 1 return 'done' g = fib(6) print(next(g)) while True: try: x = next(g) print('g==%d' % x) except StopIteration as e: print("generator return value:", e.value) break ...
[ "xtyghost@163.com" ]
xtyghost@163.com
749ece80d893bdc2f5f4141656a253e4fcdc2241
447c51f9b137b0dfbdd20582ba7016442b0ed7a7
/app.py
625909ec4dd0a23ead460693035a6464176ea21a
[]
no_license
ramsrigouthamg/Bart_T5-summarization
c6693a9a8e6dcf858da75edbef8d8320abafd431
32ab4fc6faa7059c11740103230f7e603d0002d6
refs/heads/master
2022-04-15T07:41:49.451591
2020-04-02T16:17:46
2020-04-02T16:17:46
255,338,847
5
3
null
2020-04-13T13:43:01
2020-04-13T13:43:00
null
UTF-8
Python
false
false
3,737
py
# import config import torch import flask from flask import Flask, request, render_template import json from transformers import BartTokenizer, BartForConditionalGeneration, BartConfig from transformers import T5Tokenizer, T5ForConditionalGeneration, T5Config BART_PATH = 'bart-large' T5_PATH = 't5-base' # BART_PATH = ...
[ "renato@MacBook-Pro.local" ]
renato@MacBook-Pro.local
a202bb03333fab8ba3efa5101b16b16623e63086
3f99bd16f3a309600c712fa6349ded3153da8f58
/No Numerals.py
6358028462134c3c046c76dfdd5d35478ef604c1
[]
no_license
Oussama1403/SololearnChallenges
e6d93e097757d602692487a5546523178ea88066
3e3acbe5ed438356e39df284a6eea127d886e9c6
refs/heads/main
2023-07-14T06:34:50.163427
2021-08-05T22:25:21
2021-08-05T22:25:21
393,184,082
5
0
null
null
null
null
UTF-8
Python
false
false
282
py
x = input() dic = { "10": "ten", "0": "zero", "1": "one", "2": "two", "3": "three", "4": "four", "5": "five", "6": "six", "7": "seven", "8": "eight", "9": "nine", } for key, value in dic.items(): x = x.replace(key, value) print(x)
[ "noreply@github.com" ]
noreply@github.com
065957dd95b11639e0b97936b64f95476c7ab479
4b8584c4b39b92af68b7d60c71d512c1188c4813
/SRSYS/SRSYS/login.py
73ce9bf5266fb892c2310c9e73cd3bc101d6544b
[]
no_license
SRSYS/SRSYSCODE
96f24f71346640c9aeaa38d351bfbaad2a8faed9
550faf82e32b7bb231959a7094b96fb89b109d01
refs/heads/master
2021-01-16T21:24:41.265589
2019-10-29T06:42:23
2019-10-29T06:42:23
100,229,477
0
2
null
2017-08-31T16:31:23
2017-08-14T04:56:12
HTML
UTF-8
Python
false
false
1,939
py
# -*- coding: utf-8 -*- from django.shortcuts import render from django.views.decorators import csrf from Mysqldb.models import Score_Graph from Mysqldb.models import IMG from DjangoVerifyCode import Code # 接收 Login 请求 def Login(request): ctx ={} #广告读取 Datebase_Advert_Return_1=IMG.objects.filter(Advert_N...
[ "mypythonmydream4" ]
mypythonmydream4
bcffef394a5e3b619207fe882194106048e4050a
2b0cc9bcf431954d81c639d1acf756f529de51a5
/mmdet/models/decision_net/env.py
c9dc2e1ea24b5f7101d5130ca84b382700a43cfe
[ "Apache-2.0" ]
permissive
ruyueshuo/MaskTrackRCNN
220d91844cc7c3c5dc37a87deb6ab033a82ef433
3c6ada36be3c2b2df32176349ec5c0ee5b24e724
refs/heads/master
2020-09-24T12:14:37.474432
2020-03-30T01:03:12
2020-03-30T01:03:12
225,757,574
1
0
Apache-2.0
2019-12-04T02:05:25
2019-12-04T02:05:24
null
UTF-8
Python
false
false
11,293
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/1/14 下午1:38 # @Author : FengDa # @File : env.py # @Software: PyCharm import os import random import traceback import json from queue import Queue import numpy as np import torch import torch.nn as nn import torchvision.models as models import copy imp...
[ "fengda985@163.com" ]
fengda985@163.com
23abd743b633c7b8458b27739841a809c55e80cd
581fab8785ba40aa81a0d8b73355bf1089d1fa91
/project1/Task1.py
3ab45b1a3a5ad1f345badd82c78b69a0cfbb4f83
[]
no_license
ibrohimkhan/dsaa_projects
0659cbefdd21b67c1aacd1d12324268d2e05c7e0
6b9a9590fd1d7743776f8377dc31ac87061e0600
refs/heads/master
2023-01-20T03:01:30.177827
2020-11-26T20:08:26
2020-11-26T20:08:26
291,507,744
0
0
null
null
null
null
UTF-8
Python
false
false
675
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 1: How many different telephone nu...
[ "ibrohimkhan@gmail.com" ]
ibrohimkhan@gmail.com