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
32598ef7ce2a675fd19eeb58a2b8b4829865353f
1b47fd7877bc49870eba64d424bcd2a607072b8f
/na-components/nengo-fpga/nengo_fpga/version.py
e151e2b52ef7840a88589515933aab9716b10eb4
[ "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.0-or-later", "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-secret-labs-2011", "Python-2.0", "MIT" ]
permissive
neurom-iot/naide
a7cc7d821f6dbfd0467aa801e4526e0a78099723
3e92134c970cf87c800a6ac91482d6b1ab6e681d
refs/heads/master
2023-03-11T02:47:10.033264
2022-02-26T10:32:43
2022-02-26T10:32:43
175,844,919
12
5
MIT
2023-03-07T11:56:13
2019-03-15T15:22:22
JavaScript
UTF-8
Python
false
false
507
py
"""Nengo version information. We use semantic versioning (see http://semver.org/). and conform to PEP440 (see https://www.python.org/dev/peps/pep-0440/). '.devN' will be added to the version unless the code base represents a release version. Release versions are git tagged with the version. """ name = "nengo-fpga" ve...
[ "kskim.hci@gmail.com" ]
kskim.hci@gmail.com
bf57d3cff2ccb4659f1cc8e307879d4511e1cd48
1e0ad0c9223a79b67335e3b64f568fd888a5d374
/LiveAnalyzer_FINAL2.py
343cef604925905216be59037b20a68dfa238605
[]
no_license
aeshon/Code_Samples
47bdf01e69b235699885d4d196daa4eb0da8213e
09a7966b7ad6736f0259eb1360c467a0fe72960f
refs/heads/master
2021-03-31T23:35:54.655128
2020-03-18T05:10:33
2020-03-18T05:10:33
248,138,755
0
0
null
null
null
null
UTF-8
Python
false
false
7,907
py
from imutils.video import VideoStream import datetime import argparse import imutils import time from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from tensorflow.lite.python.interpreter import Interpreter as inter import os import cv2 import numpy as np from PIL import Image def s...
[ "noreply@github.com" ]
aeshon.noreply@github.com
e21f6e163ee9906420a48fd0c1c3bab68a8b1543
d640541bf0ca2f9179ef451837bcb2c571db1484
/03b.py
aa8ce4ca6a5534b96660c053921d149fc0e58998
[ "Unlicense" ]
permissive
jpparent/aoc2020
e30620ca4d04d677c0a00289cb56b736c87d0920
abac15925e99fedcca27f015dd73c09a55c4da86
refs/heads/main
2023-02-02T13:32:04.836685
2020-12-18T23:37:48
2020-12-18T23:37:48
318,365,146
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
import re import math f = open('03.txt') rows = f.readlines() f.close() treeCounts = [0,0,0,0,0] slopes = [[1,1],[3,1],[5,1],[7,1],[1,2]] for s in range(0,len(slopes)): x = 0 y = 0 # use a while loop to be able to change the index dynamically while y < len(rows): if rows[y][x] == '#': treeCounts[s] ...
[ "jeanp.parent@gmail.com" ]
jeanp.parent@gmail.com
fae63e0ae8a040c911813758ee97fb64496967ad
2b732a2c645f5176e7a4f262f15e8e33576f89b6
/code-injection/preprocess-vulnerable2.py
95c63d7c5d4cb4b640c54a5aca5eed884ee52c27
[]
no_license
yanruibo/code-injection
a76ba3b89dc62d34cc193e6751c60bf2fcbd211a
7baf028150e5c5b692d46ba8d87b584bd28f0c36
refs/heads/master
2021-01-15T18:00:56.365688
2017-08-09T07:21:19
2017-08-09T07:21:19
99,771,250
0
0
null
null
null
null
UTF-8
Python
false
false
8,117
py
#!/usr/bin/python # encoding: utf-8 import sys import os import time def batchDecode(): permissions = ["android.permission.INTERNET", "android.permission.ACCESS_NETWORK_STATE", "android.permission.CAMERA", "android.permission.FLASHLIGHT", "android.permission...
[ "1254877260@qq.com" ]
1254877260@qq.com
ff8d748191c31b8b253034f9d62c1fd84965c6b0
c36679186f669c6e3bd1c106c96d4a17be1f5ab1
/Telusko/38.py
ab8c735ad7203fd88037ecaede6afb9d31e6eb10
[]
no_license
touhiduzzaman-tuhin/python-code-university-life
60a3d671b200a6f5222c6d176c13c5f20f013509
6d2e3d90d430faa5c83fe79e7fb1ebe516994762
refs/heads/master
2023-03-22T15:18:10.636203
2021-03-06T18:52:04
2021-03-06T18:52:04
332,467,190
0
0
null
null
null
null
UTF-8
Python
false
false
1,400
py
def count(lst): even = 0 odd = 0 for i in lst: if i % 2 == 0 : even += 1 else: odd += 1 return even, odd lst = [1, 2, 3, 4, 5, 6, 7, 8, 9] even, odd = count(lst) print("Even : ", even) print("Odd : ", odd) print("-----") def count(lst): even = ...
[ "touhiduzzamantuhin95@gmail.com" ]
touhiduzzamantuhin95@gmail.com
0ccc62939f1fb13e5b443b57aa48bebf5f5fb00b
fec7d40f11d13694ae1d6f72aa1f9c540e976682
/alerta/common/alert.py
27694428800a7a47e3ec132d450335cb6b81d362
[ "Apache-2.0" ]
permissive
xioster/alerta
9f697cf7bf4c752c9097234a1b27623f22ea7ccd
3d7fd328221603c96e67ef20d61bb5320ea18f1a
refs/heads/master
2021-01-21T06:02:14.634649
2014-03-20T15:38:23
2014-03-20T15:38:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,552
py
import os import sys import datetime import json from uuid import uuid4 import re import fnmatch import yaml from alerta.common import log as logging from alerta.common import config from alerta.common import status_code, severity_code from alerta.common.utils import DateEncoder, isfloat LOG = logging.getLogger(__n...
[ "nick.satterly@guardian.co.uk" ]
nick.satterly@guardian.co.uk
7bbd3df20566f69f128d3cb2acb3bdb80b98385e
f28681bdaf96688c45b35e7bb8fdf7300a5f6685
/HW03(SSW-810).py
74ae155b88e90ea7dd8a3171885c7e24eaee87c7
[]
no_license
SachinMCReddy/810homework
a1b4bbefd8feb363dadca02abd732f280ddc4260
05e5e86f9d69b137ffa2a3561c00f8de1a38a49d
refs/heads/master
2020-05-05T01:08:30.760615
2019-09-09T00:16:54
2019-09-09T00:16:54
179,593,925
0
0
null
null
null
null
UTF-8
Python
false
false
7,300
py
''' python program that includes class fractions , plus , minus, times, divide ,equal to perform tasks on calculator''' import unittest class Fraction: def __init__(self, numerator, denominator): self.numerator = numerator self.denominator = denominator if self.denominator == 0 : ...
[ "noreply@github.com" ]
SachinMCReddy.noreply@github.com
14d0b9a109e4e6c4dc749ff927ec9aeaca68696d
93652621e9e57141321bdd95ac23991a82eb5039
/search_list_unknown_length.py
491c4494388cefc5c05234e0bf06e1758719289c
[]
no_license
chefmohima/DS_Algo
02912666d4cb42cdd293e7598e8419e8efdb69e6
df2306f585a2e5a7aaa8cc8fc09f4c6ab2a40a46
refs/heads/master
2020-05-27T04:37:16.118227
2020-02-01T13:23:51
2020-02-01T13:23:51
188,485,743
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
def search_list_unknown_length(l, upper_bound, item): #start = 0 # no end pointer as we do not know length of list end = 1 while end < upper_bound: start = end end = end*2 start = 0 # do a binary search between start and end while start<= end: mid = (start+end)//2 ...
[ "38052670+chefmohima@users.noreply.github.com" ]
38052670+chefmohima@users.noreply.github.com
efba47c512c696460f8cf7188eb8de43a3e0bf42
2bd6727faeed9d4a0cade3bf3ca4bb8bed0d47dd
/demographicFiltering.py
980a84d6fea1ca4643796504cd3b1fe0e847448c
[]
no_license
ishitha08/c142
844f296a78f64e65e4c77d40502b3283ccda50b8
4c442d69626fdcc9594d385fc91d56d666232baa
refs/heads/main
2023-01-13T19:32:53.657739
2020-11-17T12:25:52
2020-11-17T12:25:52
313,611,502
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
import pandas as pd import numpy as np df = pd.read_csv('final.csv') c = df['vote_average'].mean() m = df['vote_count'].quantile(0.9) q_movies = df.copy().loc[df['vote_count']>=m] def weighted_rating(x,m = m,c = c): v = x['vote_count'] r = x['vote_average'] return (v/(v+m)*r)+(m/(m+v)*c) q_movies['score']...
[ "noreply@github.com" ]
ishitha08.noreply@github.com
612671af0b1146ea718e55e21d2773916fdab858
d0eadb2b1196480594b4bda9cf948b22b18950b8
/决策树/treePlotter.py
15d7bfdc5f7d56212a365f243d2e979644ce133b
[]
no_license
HXACA/Machine-Learning-in-Action
26b0005c6fd1890cab63719c7a4fb9f1abfa2b12
cb0eeb8483b879e730a4c79d0be217f54740af27
refs/heads/master
2021-09-20T21:16:18.253554
2018-08-15T07:18:26
2018-08-15T07:18:26
115,706,010
5
4
null
null
null
null
UTF-8
Python
false
false
3,903
py
# -- coding: utf-8 -- import matplotlib.pyplot as plt from pylab import * mpl.rcParams['font.sans-serif'] = ['SimHei'] decisionNode = dict(boxstyle="sawtooth", fc="0.8") leafNode = dict(boxstyle="round4", fc="0.8") arrow_args = dict(arrowstyle="<-") #定义叶节点,判断框和箭头的样式 def plotNode(nodeTxt, centerPt, parentPt, nodeType)...
[ "718531794@qq.com" ]
718531794@qq.com
f1bd2b0a1cc1759a31d1e58ff56ef537fbbf3bbb
8fcfe4980c8ce0825beafd881c83db153e2d39c2
/tests/datasets/test_nwpu.py
c8e6fb1d7e9a72cc9d2e4b3977aeb5344d424985
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Z-Zheng/torchgeo
af1953b2595c4498814a63e805e80744b6ba6ee9
53ff5ffbe598cfeae785a37dcdf1d0949d333f08
refs/heads/main
2023-08-12T09:09:20.669949
2021-09-21T22:21:13
2021-09-21T22:21:13
408,154,101
1
0
MIT
2021-09-19T14:48:51
2021-09-19T14:48:51
null
UTF-8
Python
false
false
3,123
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import os import shutil import sys from pathlib import Path from typing import Generator import pytest import torch from _pytest.fixtures import SubRequest from _pytest.monkeypatch import MonkeyPatch from torch.utils.data im...
[ "ajstewart426@gmail.com" ]
ajstewart426@gmail.com
261395ceb3f6aaa8f700e67bdfe4e41ae847336a
b39c3568d2347dfb1dfa9581f0bf9e3e24d15a73
/constant_buffer.py
e55076d7c534bc0f388bdaf2d8bfb48bff9bbf77
[]
no_license
P-Schumacher/research
2f55ea4fa5bad32c2537298a619c4f55d4338f06
61bcf6aed6594d57c3074b43a2b8ffa80e79ca5d
refs/heads/master
2023-02-12T08:43:41.400651
2021-01-04T13:22:47
2021-01-04T13:22:47
242,512,373
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
from per_exp.constant_buffer import main from omegaconf import OmegaConf import wandb import sys import os from pudb import set_trace os.environ['CUDA_VISIBLE_DEVICES']='-1' ant_env = False vrep = True if vrep: main_cnf = OmegaConf.load('configs/vrep_default/vrep_main_conf.yaml') env_cnf = OmegaConf.load('conf...
[ "pier_schumacher@hotmail.com" ]
pier_schumacher@hotmail.com
e1165c401f337f497dfd1c72f0e9fa8db6123f58
3e59979847bc42e1c90934921c2c7dbeb404d28d
/load_data.py
96fb3904ba7c11843c726ab4642568d8d84e86ec
[]
no_license
wangqianwen0418/keras_lab
aa5d80d9a30daa1a2b8a769f131e7d23118a3f2d
b72e7bcc4cf5106433c23c2e01acdb220fcf735f
refs/heads/master
2021-01-16T19:23:38.196223
2017-08-27T03:00:27
2017-08-27T03:00:27
100,157,310
0
0
null
null
null
null
UTF-8
Python
false
false
1,364
py
import pickle import os import numpy as np def unpickle(file, label_key='labels'): import pickle fo = open(file, 'rb') d = pickle.load(fo, encoding='bytes') d_decode={} for k,v in d.items(): d_decode[k.decode('utf8')]=v fo.close() data = d_decode['data'] labels =d_decode[label_ke...
[ "noreply@github.com" ]
wangqianwen0418.noreply@github.com
6ba990b9bf4b74fa5190e679058199fd47819f8e
901c6cbb92896f70a5c670054ed9505be23cdf3b
/core/migrations/0016_order_coupon.py
458fb3eb0e20694489ba243b63f1ec922a03e265
[]
no_license
jofre44/django_eccomerce
4ba8504579212088d06bb11902e327c1b0b8aca7
c0fa45ce8bb821935f36b1aa351d6f75a2627600
refs/heads/master
2023-04-10T09:08:17.554182
2021-04-01T19:23:57
2021-04-01T19:23:57
349,452,342
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
# Generated by Django 2.2.13 on 2021-03-30 17:06 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0015_coupon'), ] operations = [ migrations.AddField( model_name='order', n...
[ "jofre44@gmail.com" ]
jofre44@gmail.com
e211fb352dbdd0695136c3ab8f1889f024b1ada5
03ad3139a48b826b3c685950bd6d1eb154c9e190
/Python/python4/ChessGame.py
13b36478efd3b83f47720bfc1a85a76b432f4fcd
[]
no_license
Jreema/Kloudone_Assignments
c7da1f7fd92660d32e32629614f265ca325d4084
81020429c7c2288e3a855222feb3431760490075
refs/heads/master
2022-08-31T16:36:03.585366
2020-05-21T10:17:52
2020-05-21T10:17:52
265,818,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,577
py
#Two player Chess Game import chess import chess.svg from IPython.display import SVG board=chess.Board() SVG(chess.svg.board(board=board,size=400)) #Prints the chess board print(board) global turn1 #Loop continus while game is not over or not stale mate or not check mate while(board.is_game_over()==False or b...
[ "reemareach@gmail.com" ]
reemareach@gmail.com
3b513bfffa4db411bd3bed92687039e796e43b32
62ad3a52e117674cfcd338f19b364d446bd122eb
/auth/forms.py
b34e8fab7c85b954d11032ffc2c0079bc353dd14
[]
no_license
marcuswhybrow/django-user-silos
f52a39f7091592d4e52e7f9d5132abf8f8352bb6
ab7ec92a5663ab063074222104a92308fd6cb6d1
refs/heads/master
2021-01-06T20:37:08.873638
2010-05-29T12:04:52
2010-05-29T12:04:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,970
py
from django.contrib.auth.models import User from django.contrib.auth import authenticate from django.contrib.auth.tokens import default_token_generator from django.contrib.sites.models import Site from django.template import Context, loader from django import forms from django.utils.translation import ugettext_lazy as ...
[ "marcus@marcuswhybrow.net" ]
marcus@marcuswhybrow.net
61abec1d7d2ce4a962c4aecf28b2a2da4db5dad6
b68887f55cfcd0225d732acfbfcc7f3724e49d5d
/pages/components/image.py
b8d9c0eef20385c5b8d655333a4b32e127497e8c
[ "MIT" ]
permissive
rds0751/nhsuk-content-store
0ac7eb06f85cc97cd57e58a3f24e19db9991a8a2
7bd6a386e3583779ddba2347a4b3a80fdf75b368
refs/heads/master
2020-04-19T08:53:54.273378
2019-01-29T05:08:18
2019-01-29T05:08:18
168,092,530
0
0
null
2019-01-29T05:05:33
2019-01-29T05:05:33
null
UTF-8
Python
false
false
139
py
from images.blocks import ImageChooserBlock from .base import Component image = Component('image', ImageChooserBlock(icon="radio-full"))
[ "marcofucci@gmail.com" ]
marcofucci@gmail.com
9cb36269e42f2c79cc4e3d3221f7e3fa336338ac
b4aba66cb30dcad6d816a97b6e9bc4e11515427f
/sources/commands.py
7eba1d3153bab5f5a4e4a3b21eaf888c478c7b28
[ "MIT" ]
permissive
arve0/geogebra-wiki-translation-helper
3abdcf1865f075a216e1d9d1ef5a6672e72089a7
d865ceef68e81f1893768252d550548a2a818573
refs/heads/master
2020-12-24T16:23:38.769389
2014-09-10T19:09:21
2014-09-10T19:09:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,389
py
# -*- coding: utf-8 -*- """ File: commands.py Author: Arve Seljebu Email: arve.seljebu@gmail.com Github: arve0 Description: Class Commands: Get commands from SVN. Return as dictionary. """ from urllib import urlopen import re from language import Language class Commands(object): """ Geogebra commands from SVN a...
[ "arve.seljebu@gmail.com" ]
arve.seljebu@gmail.com
5b5f682eb3c6905076165ff0281238b7405c9aa2
29fae683de63d8684c359d9ad5ce7f52e9d48c78
/app/posts/admin.py
f2a78f3a31efae6bfe7b1ea8c794a17cd3900f58
[]
no_license
jeonyh0924/NBAproject
4dfab90f6251abeaf2828f2aa240b61567d0ce17
2adf0d7a08c1d495bbfb07d6c2672e1ec19a2dbe
refs/heads/master
2022-09-14T11:45:34.490333
2020-10-31T04:15:54
2020-10-31T04:15:54
165,981,470
0
0
null
2022-08-23T17:30:30
2019-01-16T05:46:23
JavaScript
UTF-8
Python
false
false
206
py
from django.contrib import admin # Register your models here. from posts.models import * admin.site.register(Post) admin.site.register(Postlike) admin.site.register(Comment) admin.site.register(HashTags)
[ "hungyb0924@gmail.com" ]
hungyb0924@gmail.com
2074d3e264b3b8fb5e6d4dd8340b0ff9c5124334
f45fa5a3966290e6cb6adc98abab9fb38f0ec7d6
/entailment/encoder_base.py
8bfbdea7a5400a9a874040bc0c784ccda1a5769e
[]
no_license
young-k/change-my-view
151b4ed72586feebfb959c4be2033d0e3b407e17
9ed253bf0f5988b627b1ee323b21e68eaaae49e6
refs/heads/master
2021-04-09T11:08:53.701227
2018-05-12T22:21:47
2018-05-12T22:21:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,879
py
import torch from torch.autograd import Variable from torch.nn.utils.rnn import pack_padded_sequence from nn_util import get_lengths_from_binary_sequence_mask, sort_batch_by_length class _EncoderBase(torch.nn.Module): # pylint: disable=abstract-method """ This abstract class serves as a base for the 3 ``...
[ "ya242@cornell.edu" ]
ya242@cornell.edu
fd96a58a59e118c00aad2c128be465a88183f0a5
ac810c7e637afd67cf19704a1a724eaac56fed93
/Hackerrank_python/13.Regex and Parsing/87.Validating phone numbers.py
ecc9b05424de3018ce6cadfe7dc7fea0d6550838
[ "MIT" ]
permissive
Kushal997-das/Hackerrank
57e8e422d2b47d1f2f144f303a04f32ca9f6f01c
1256268bdc818d91931605f12ea2d81a07ac263a
refs/heads/master
2021-10-28T06:27:58.153073
2021-10-18T04:11:18
2021-10-18T04:11:18
298,875,299
41
8
MIT
2021-03-01T04:40:57
2020-09-26T18:26:19
Python
UTF-8
Python
false
false
667
py
# Enter your code here. Read input from STDIN. Print output to STDOUT import re for i in range(int(input())): x=input() if re.match(r"[7,8,9]\d{9}$",x): print("YES") else: print("NO") ''' [789]\d{9}$ The above statement is validating the number/count of digits is 10 or not also one di...
[ "noreply@github.com" ]
Kushal997-das.noreply@github.com
cba8656d4ef8f3c2f9fb42a65d8fec8aca015e5d
a8124cc8631b436cf6a43a36d453fee4e52cd97f
/Algorithm.Python/DividendAlgorithm.py
18c63db8476e3140408ff6aba738699a1ebfd1e2
[ "Apache-2.0" ]
permissive
cyrsis/Lean
e3b9391ea4d62595cb0252b5bc1c7a0adf1b2883
a2b74cef260ff9cec70a23d26ed046e239fb1f19
refs/heads/master
2023-03-03T10:03:40.698662
2016-08-17T15:45:37
2016-08-17T15:45:37
65,962,751
0
0
Apache-2.0
2023-02-18T08:42:12
2016-08-18T03:38:45
C#
UTF-8
Python
false
false
3,662
py
# QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. # Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. # # 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 Li...
[ "alexandre.catarino@gmail.com" ]
alexandre.catarino@gmail.com
e2717ce4f14438d964c014636ebc6f251d3ece45
84350c2c396ecc0f0a786cdb9a40664f171723c4
/home/views.py
394be12ec44df2f2795e2512d9a5fcf684d01732
[]
no_license
henry-alakazhang/seng3011
cd28d510ba84133aba6c026568ba30b7bd5ea278
262791cd13953561c2153cefb5b0ce7315a52eec
refs/heads/master
2021-05-01T11:48:32.975637
2016-04-19T22:38:37
2016-04-19T22:38:37
54,078,789
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
from django.shortcuts import render from django.http import HttpResponse, JsonResponse def index(request): return render(request, 'home/home.html', {'home':True}); def about(request): return render(request, 'home/about.html', {'about':True}); def api_home(request): return render(request, 'home/api.html',...
[ "henry.alakazhang@gmail.com" ]
henry.alakazhang@gmail.com
74ade52a5e14e97314cb7c841a48003edc95c201
d11c6b6b9762acda60fc094b7e8ad2754fd9b700
/tensorflow/python/eager/run_eager_op_as_function_test.py
f3b46f6d616f7268bd9249d8f2704de918b11722
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
jprosser/tensorflow
28ba58a811ac92e0e15aab518512cd46fbef90ea
c3f73a5f946c63b238f5412717f6aae4d4d6bf4b
refs/heads/master
2021-10-07T16:53:58.923779
2021-10-01T17:23:25
2021-10-01T17:28:00
219,566,947
0
1
Apache-2.0
2019-11-04T18:16:54
2019-11-04T18:16:53
null
UTF-8
Python
false
false
6,445
py
# Copyright 2021 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
a283863473df2bd22b85733056c19f607a424224
9f2cdd1b711209617a4ffd3cde30ebc2630119d7
/pay.py
c9dd46a2c0fbc06b1bc54d2858ce50c1da5f4340
[]
no_license
Abhaskar1/E-Wallet
fba879728359843b11b9a9c15b5840c4451169af
a7e59c8ecd77fe50c2c41c59a952d9689899983a
refs/heads/master
2022-06-09T16:11:52.189190
2020-05-08T16:59:30
2020-05-08T16:59:30
260,440,409
0
0
null
null
null
null
UTF-8
Python
false
false
3,579
py
import tkinter as tk import pymysql from datetime import datetime def money(): sql_query="""UPDATE users SET balance = %s where id = %s""" sql_q2="""SELECT phone FROM users WHERE phone = %s""" sql_q3="""UPDATE users SET balance = %s where phone = %s""" sql_q4="""SELECT * FROM users where phone = ...
[ "noreply@github.com" ]
Abhaskar1.noreply@github.com
8a5b27c101b4341b7aea51cf777cc73c13e5a648
bda25b9d65e3833bd51063060e7cd41945d8d04d
/invent/migrations/0015_auto_20191117_1248.py
268f9113e301437eaf5fb4c8ac30efe312b5edf7
[]
no_license
rajathongal/Inventory_Management_sys
e770824eb0e6f3f3df7795c0abe8a173b1cdcd6f
46c2d3fc4c31d4747851dcdfa39d62e8fee7ff9c
refs/heads/master
2022-06-14T17:10:47.516041
2020-04-25T11:15:28
2020-04-25T11:15:28
258,756,404
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
# Generated by Django 2.1.2 on 2019-11-17 07:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('invent', '0014_auto_20191117_1245'), ] operations = [ migrations.AlterField( model_name='mobile', name='fill', ...
[ "reachme.rajathongal@gmail.com" ]
reachme.rajathongal@gmail.com
6ae9ab1d798145631327842348ba8d675bea0e3e
6226d27a844400989d7320fe8041599839ae9628
/yukawa/chap3/nlp_20.py
fac49a6eabd451995d4692b096f1776153a34721
[]
no_license
lrlab-nlp100/nlp100
cb73e996b36a439ae279c99e5463e63678188271
65bfb4e5fdc42a655043c9d531e9f7bc10f82ed8
refs/heads/master
2021-01-19T23:33:07.483184
2017-06-29T03:47:46
2017-06-29T03:47:46
88,996,166
0
3
null
null
null
null
UTF-8
Python
false
false
392
py
from collections import Counter import re import json import gzip with gzip.open('jawiki-country.json.gz','r') as f: for line in f: json_str = line.decode('utf-8') obj = json.loads(json_str) if obj['title'] == 'イギリス': En_str = obj['text'] break; with open('English.txt...
[ "f.777.aiueo.777@hotmail.co.jp" ]
f.777.aiueo.777@hotmail.co.jp
aeb857bfb5a30a465110656ef8c80828321583c6
aaa79e1992c9ea57a80f8bba98e2251cc2814cc3
/project/final/gain_ratio.py
b4aa3c65357821eef4cdc76a34374419dc238b5b
[]
no_license
Xin-Cheng/CS412
abcba546383af359290035d8e231e2d601f949a9
252662ac1b9c527eaad31de3cff1a75a1790b62f
refs/heads/master
2021-03-30T16:31:09.316692
2017-04-29T06:27:27
2017-04-29T06:27:27
83,969,661
0
0
null
null
null
null
UTF-8
Python
false
false
10,101
py
import numpy as np import pandas as pd import pickle from math import * from numpy import * from collections import deque class Decision_Tree: def __init__(self, name, condition, is_label): self.name = name # name of each tree node self.condition = condition self.constraint = None ...
[ "x_cheng@outlook.com" ]
x_cheng@outlook.com
aabb0f0e8ff633a07728e3ac6a5e69a580bc1ed2
e1d11eadd56ed94d6bfc5b9a72d00b3482c99121
/courses/models.py
e521c9bc85bc8ac8962aa9ee3f2904ce0bdf8189
[]
no_license
Gabkings/django-elearning-app
0296f8353daa9204c5128481fcd6a237d205fd81
def573b74ddb3d3732632550cb6d5157329f0388
refs/heads/master
2020-09-17T16:34:10.318126
2019-11-26T04:32:55
2019-11-26T04:32:55
224,102,662
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Subject(models.Model): title = models.CharField(max_length=200) slug = models.SlugField(max_length=200, unique=True) class Meta: ordering = ['title'] def __str__(self): return self...
[ "gabworks51@gmail.com" ]
gabworks51@gmail.com
13e7ec5bd8bcba85d483fc56b614ad0ff0f33428
f0a5ad7b8aa39f51f233391fead0da3eabecc4ee
/.history/toolbox/sheets_20191128125946.py
6e2ba795be9d240993ce111520e995cf4f16a0c6
[]
no_license
OseiasBeu/webScrapping
e0a524847e55b24dbbd3d57bbe7fa43b4e101f48
1e72c7551aea355a891043baecfcbab8a89e719a
refs/heads/master
2022-10-25T18:12:50.858653
2020-06-18T01:29:24
2020-06-18T01:29:24
224,681,550
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
from __future__ import print_function import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request import numpy as np import gspread def insertPlanMiddleware(rows): # If modifying these scopes, ...
[ "oseiasbeu@outlook.com" ]
oseiasbeu@outlook.com
7052235f3eb337f9448428b30966f5fff59e23db
7cda779a723bdeefaf6489da7d7783ccd1120f62
/pp1cs18ex02/test.py
88294203a80dff5ba52c8fc04275371b73a2bb16
[]
no_license
nvnvashisth/Protein_Prediction
15d934fb972ede69cd6586edb797b71f2368828c
3cd2d337950ddb0d1355c834b922aafde1ea1237
refs/heads/master
2020-05-25T17:37:48.790830
2019-05-21T21:00:37
2019-05-21T21:00:37
187,912,598
1
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
import sys import re import string from collections import Counter fasta = [] test = [] count = 0 with open("tests.fasta") as file_one: for line in file_one: count=count+1 if(count < 20): line = line.strip() if not line: continue if l...
[ "nitin@Nitins-MacBook-Pro.local" ]
nitin@Nitins-MacBook-Pro.local
93615a5b7ca2a53756a14fe3d568a1233a68318d
644e93ab8ca24734f99ef91e0ef6ace9e232a517
/Machine-Learning/naive_bayes/nb_author_id.py
200e531c33e1addfd01572995be7d0f7adef9bc7
[]
no_license
yennanliu/udacity-nanodegree-data-analyst
9d8d9a22fb9bbfa00b2f4e5458a8ccbba5050d7b
1821665b9c608d13e13ae87640816ff68bd9f21d
refs/heads/master
2021-01-17T23:19:07.524073
2015-04-05T20:30:29
2015-04-05T20:30:29
46,547,159
1
1
null
2015-11-20T07:41:19
2015-11-20T07:41:19
null
UTF-8
Python
false
false
1,186
py
#!/usr/bin/python """ this is the code to accompany the Lesson 1 (Naive Bayes) mini-project use a Naive Bayes Classifier to identify emails by their authors authors and labels: Sara has label 0 Chris has label 1 """ import sys from time import time sys.path.append("../tools/") from em...
[ "orenov@codeminders.com" ]
orenov@codeminders.com
617dedf006ab85fbf08f9e3961c99c013a7b7d22
9eaa2c64a777bd24a3cccd0230da5f81231ef612
/study/1905/month01/code/Stage3/day18/mysite4/bookstore/admin.py
a90113c19ca8e6a6e29470fcf94152edf2850ee4
[ "MIT" ]
permissive
Dython-sky/AID1908
4528932f2ca66b844d8a3fcab5ed8bf84d20eb0c
46cd54a7b36b5f009974f2bbb7005a4ad440ca1a
refs/heads/master
2022-04-14T12:23:30.426270
2020-04-01T18:05:19
2020-04-01T18:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
773
py
from django.contrib import admin # Register your models here. # file:bookstore/admin.py from . import models class BookManager(admin.ModelAdmin): list_display = ['id','title','pub','price','market_price'] list_display_links = ['id','title'] list_filter = ['pub'] search_fields = ['title','pub'] l...
[ "dong_1998_dream@163.com" ]
dong_1998_dream@163.com
4a50e5dda4de4a0ff20b6832581088f8feb31a5d
a8139ccd50a27861d3c5a4168fd0e4b351c0a514
/material/code/ds/stack_oop.py
782427639945b056f919130e5ad4f50d33cecd31
[]
no_license
shambhand/pythontraining
a124aa1485c3ce0e589fc2cd93c1e991746432e4
24dd923e2b2c07c70500775e3665e2a527240329
refs/heads/master
2021-05-17T22:54:45.331127
2019-01-11T03:12:59
2019-01-11T03:12:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
#! /usr/local/bin/python3 class Stack: def __init__(self): self.lst = [] def push (self, element): self.lst.append (element) def pop (self): if len (self.lst) == 0: raise ValueError ("pop:stack empty") return self.lst.pop () def examine_stack_top (self): if len (self.lst) == 0: raise Va...
[ "amit2766@gmail.com" ]
amit2766@gmail.com
96aedd41e9935efbfa1f872685834590bc3d7830
35fbdc8288a086bda423709580b42a0214789947
/repo/database.py
5150331602325c01f435bea6e57fa990f0d89627
[]
no_license
arvindbasant/telegram-sync
37fa843c629bfd1ee09a9ae31bb4caa9abe670e2
7323b2f6a10bd7054bb1b9818e8e149a42f52b57
refs/heads/master
2022-11-26T20:29:53.820497
2020-07-22T13:53:44
2020-07-22T13:53:44
270,522,934
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
import pyodbc import os from utils import logger logger = logger.get_logger(__name__) def connect(): mssql_server = os.environ['MSSQL_SERVER'] mssql_port = os.environ['MSSQL_PORT'] mssql_database = os.environ['MSSQL_DATABASE'] mssql_username = os.environ['MSSQL_USERNAME'] mssql_password = os.envi...
[ "Arvind.Kumar@mrcooper.com" ]
Arvind.Kumar@mrcooper.com
80ade2a316255dd197b2cbae465d3246784f7290
29deebaee19131b8a4eb05f5f628df0ebb260d08
/test/social2/FM_addOrCancelAttention.py
780c04c2f04c63cd8377cd28fc7bfd7dea95509c
[]
no_license
cccthon/webApiTest
d5843f55712499580557afe69f7ab64aa6a55d9c
5d0a635a67884de10cf19f140f547b7f7dcd1f7a
refs/heads/master
2022-12-09T12:14:41.087713
2018-07-26T06:42:00
2018-07-26T06:42:00
142,399,806
2
2
null
2022-09-23T21:53:46
2018-07-26T06:41:46
Python
UTF-8
Python
false
false
5,722
py
#======================================================== #+++++++++++++++++ 测试用例信息 ++++++++++++++++ # 用例 ID: FM_addOrCancelAttention # 用例标题: 关注用户,分别检查关注列表和粉丝列表 # testcase0011: #1、登录 #2、关注用户 #3、检查关注列表 #testcase002: # 1、登录 # 2、关注用户 # 3、检查粉丝列表 import sys,requests,unittest,yaml,json,time sys....
[ "shencanhui@followme-inc.com" ]
shencanhui@followme-inc.com
76f5f61d7faf29a8e38e7001278dd3b7abae36eb
48ba8d0788e4ac7d4cacd7e7a2e2cf4f391c85ad
/Lists/9copylist.py
674aaa41b444cb13b303f6996b6dec02da0fbd8c
[]
no_license
rahulvshinde/Python_Playground
c28ac2dc0865e254caa5360c3bb97b4ff5f23b3a
7a03b765dd440654caba1e06af5b149f584e9f08
refs/heads/master
2023-04-19T17:25:55.993837
2021-05-17T01:15:30
2021-05-17T01:15:30
280,736,898
2
0
null
null
null
null
UTF-8
Python
false
false
363
py
# 9. Write a Python program to clone or copy a list. my_list = [1,2,3] def copylist(my_list): new_list = [] for item in my_list: new_list.append(item) return new_list def copylist1(my_list): new_list = list(my_list) return new_list print("Copied list {}".format(copylist(my_list))) print("...
[ "r.shinde2007@gmail.com" ]
r.shinde2007@gmail.com
48482ab71d1bd1822599d7339cad342b01c643d4
51be8db88a49f7bebeefddf431faff6048ac4f37
/xpcc/tools/bootloader/can/host/util/intelhex.py
63975de317d5ea0829b0b6026572b9b4a64a75f2
[ "MIT" ]
permissive
jrahlf/3D-Non-Contact-Laser-Profilometer
0a2cee1089efdcba780f7b8d79ba41196aa22291
912eb8890442f897c951594c79a8a594096bc119
refs/heads/master
2016-08-04T23:07:48.199953
2014-07-13T07:09:31
2014-07-13T07:09:31
17,915,736
6
3
null
null
null
null
UTF-8
Python
false
false
3,295
py
#!/usr/bin/python import sys class HexParserException(Exception): """ Ausnahmeklasse fuer den Intel-Hex-Parser """ pass class Segment: """ Speicher einen String mit Speicherinhalten zusammen mit seiner Startadresse """ def __init__(self, address = 0, data = ''): self.address = address self.data = data def...
[ "dev.jonas.rahlf@gmail.com" ]
dev.jonas.rahlf@gmail.com
14da268989613e7d688226f884587ec8acb176ed
04e6cd86e6d100740c33c9610b93ab12e21c3047
/supporting_scripts/.virtualenvs/enrollment_venv/lib/python3.8/site-packages/us/tests/test_us.py
de58c64b582d2296f973a7fed1fac39d1a52b8b7
[]
no_license
sdl60660/cleveland_eviction_mapping
5f0ad4b2509b09117612e60a29103176d13b3ef3
ea4601fded96a3ff2b26b30fa71019e030a14197
refs/heads/main
2023-05-08T10:11:56.595243
2021-06-02T14:51:14
2021-06-02T14:51:14
308,381,227
1
1
null
null
null
null
UTF-8
Python
false
false
3,496
py
from __future__ import unicode_literals from itertools import chain import jellyfish import pytest import pytz import us # attribute def test_attribute(): for state in us.STATES_AND_TERRITORIES: assert state == getattr(us.states, state.abbr) def test_valid_timezones(): for state in us.STATES_AND...
[ "learnersd@gmail.com" ]
learnersd@gmail.com
c8ba16a584ac505e53aac951cfa2b73eceae3b39
64bac35d595f4f5f626d5fb2e2b97e26ef914f87
/Неделя 2/Домашние задания/8. Шоколадка.py
a08796152b8dd126bc57b6b26e201a3de6f225a9
[]
no_license
BesVik/10WEEKS
ca963b22566bc50f7772da90b5f58cb0c49dac22
23ce5d80378280eafa505c5bb6a5d4d5197d8701
refs/heads/master
2022-12-07T21:08:58.544146
2020-08-22T16:05:57
2020-08-22T16:05:57
287,961,961
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
# Шоколадка имеет вид прямоугольника, разделенного на n×m долек. Шоколадку можно один раз разломить по прямой на # две части. Определите, можно ли таким образом отломить от шоколадки часть, состоящую ровно из k долек. # # Формат ввода # # Программа получает на вход три числа: n, m, k. # # Формат вывода # # Програм...
[ "barsuc1952@yandex.ru" ]
barsuc1952@yandex.ru
187bd675e9a52862101d51f1b5681a12c9404357
3680b53221c78eb79e53fdddb51b8e686193d487
/p3multithread.py
06b563c3940af6aea3448b57db90b2de3ac22285
[]
no_license
vimanari/Bug-Bounty
cc602ebaaa126935e664b102b76d05f6f8737c71
6a8a241299ece1558b42553ce1a3cbbab64339ae
refs/heads/master
2022-11-14T22:40:24.711088
2020-07-13T09:23:06
2020-07-13T09:23:06
278,278,852
1
0
null
null
null
null
UTF-8
Python
false
false
850
py
#!/usr/bin/env python3 import sys, os, socket from socketserver import ThreadingMixIn from http.server import SimpleHTTPRequestHandler, HTTPServer HOST = socket.gethostname() class ThreadingSimpleServer(ThreadingMixIn, HTTPServer): pass ''' This sets the listening port, default set to 8080 ''' if sys.argv[1:]: PO...
[ "noreply@github.com" ]
vimanari.noreply@github.com
79da6c9b0ad778fbd6c4e91df807ffc5d86c8248
b1b53a1c50d4d04a25670de094f01feb7f05d08e
/farmacia/migrations/0003_producto_url.py
e5d6f1d2fbb1abfc8fb88164d6dfd3d6e769ac6d
[]
no_license
patoba/Farmacia-Huffman
ba0dcb140d40d4ad3300dd9b34d2a5b559ac41e2
666dc5f3d4629d640eacf30a0c2e645862131511
refs/heads/master
2022-12-26T03:38:52.876229
2020-10-03T04:11:07
2020-10-03T04:11:07
133,097,635
0
1
null
null
null
null
UTF-8
Python
false
false
438
py
# Generated by Django 2.0.4 on 2018-05-12 02:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('farmacia', '0002_remove_factura_monto'), ] operations = [ migrations.AddField( model_name='producto', name='url', ...
[ "patobarrero@gmail.com" ]
patobarrero@gmail.com
6f703f4726f327903524d0b1053b388413970267
4fc4aa7cea78eca63b42fe99f3a58d55b3851308
/source_code/gsdmm.py
a4a8a1435e7f54c03454b80e953c334eadb16fe0
[]
no_license
zshwuhan/gsdmm-2
6ec8981faadb1b32e416a6b0aa504cca0fa6936c
e5309a69d4b1f33e3c2831b3c9a7e6deca82c46e
refs/heads/master
2023-03-15T18:17:19.236918
2020-03-22T20:26:50
2020-03-22T20:26:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,322
py
import timeit import logging import numpy as np from collections import Counter from tqdm import tqdm, trange import preprocess import pickle class GSDMM: def __init__(self, documents, vocab_size, num_topics=50, alpha=0.1, beta=0.1): logging.getLogger(__name__).info(f'Initializing an GSDMM instance with p...
[ "noonsky.noon@gmail.com" ]
noonsky.noon@gmail.com
c555ec981657f8f94ed686047fd33e4b1fa41ff2
d04811d81be3cddf35e7abe87ddf10e18226a35b
/src/python&db/payment.py
a3423828ed1da70c15fa117fb57e2527b18a447e
[]
no_license
Coutcault/Betting-App-thingy
09c62f610bd5917b8a3ee3f234acc2ecac2621df
2754ddaba1ff6090b4ec73563e32aed8ff1195d5
refs/heads/master
2022-11-14T21:08:56.019251
2020-07-08T19:56:24
2020-07-08T19:56:24
270,734,109
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
# from venmo_api import Client # Get your access token. You will need to complete the 2FA process # access_token = Client.get_access_token(username='', # password='') # venmo = Client(access_token=access_token) # Search for users. You get 50 results per page. # users = v...
[ "Coutcault@gmali.com" ]
Coutcault@gmali.com
65b04bd650e98b58eddf10ab0e177dcaf8ad613a
6c73e4abec647a97e011218fdb5e21d9a83323ee
/大蟒/e2f & f2e.py
0d80911e505a633a22bb33f2bed8b2e19e0b4e84
[]
no_license
laippmiles/Code_python3.5
c16db354000d4c91b4455cb9b606ec82e5efe767
4d5fb81da5f7dc10b0b3b9961a80d8445cf49ecc
refs/heads/master
2021-04-27T17:49:23.633804
2018-02-21T11:37:37
2018-02-21T11:37:37
122,328,742
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
e2f = {'dog':'chien','cat':'chat','walrus':'morse'}; print('e2f:',e2f); print('what is \'walrus\':',e2f.get('walrus')); f2e = {}; for name,contenrs in e2f.items(): f2e[contenrs]=name; print('f2e:',f2e); print('what is \'chien\':',f2e.get('chien')); eset = set(e2f.keys()); print('eset:',eset);
[ "laippmiles@gmail.com" ]
laippmiles@gmail.com
b33a7b84bdeedeb3073d351fa989c3ee2eaaaaec
1639de7d6da19ee382e8b381b847778a5d217edb
/backend/restserver/pipture/urls.py
c434263963c531b2f8865d8fe754788cc188513c
[]
no_license
pipture/Old-App-iPhone
ed24d957758330e60c69c9da03c314b2ee5ba01d
b6c51717beaee20b79c7d12935291bcc844de541
refs/heads/master
2020-04-26T14:55:52.877493
2013-05-28T11:33:26
2013-05-28T11:33:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
from django.conf.urls.defaults import * from django.conf import settings from restserver.pipture import views as pipture_view urlpatterns = patterns('', #(r'^get_all_series/', pipture_view.get_all_series_get), #(r'^new_series/', pipture_view.set_new_series_post), ...
[ "vkubyshev@thumbtack.net" ]
vkubyshev@thumbtack.net
946320ab12f007199aa42d1d44c388eee370370a
ffaf4a4b45b7709f752bac7691566eebd5244385
/Titanium.py
cc7e37d63bc0490d59c5fa006595c1a950cf2964
[ "Apache-2.0" ]
permissive
commandovmgit/Titanium
d5cc201c9972ad1b6f6b92db22e1a97fdfc65037
c2e3c6f2d1107ca94d5f280713f86d052024cf4a
refs/heads/master
2023-06-16T22:52:40.488577
2021-07-10T13:18:51
2021-07-10T13:18:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,791
py
#------------------------AUTHOR:Lucksi------------------------# #-------------------------------------------------------------# import os from Core import phishing from Core import campaign from Core import services from Core import config from Core.Support import Font from time import sleep import socket Network = s...
[ "noreply@github.com" ]
commandovmgit.noreply@github.com
8badae67c6d22d6be2a5ec4cd5580944385364b1
6cae2952e55f2e7c339ffd9e1913504aafc3808f
/listaArmas.py
c24af7812c42dd176476abcf646e0c2ce57db0bc
[]
no_license
bobyzoo/BattleOfTheSpirits
b06cb506f0acc4a363a44a6e5af558cb9996e378
d87820db163e39d0a6cc6f7824571ac166a596ca
refs/heads/master
2020-08-07T13:33:36.588361
2020-01-24T14:45:28
2020-01-24T14:45:28
213,470,664
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from Armas import * armas = {'Adaga':Armas('coc','Adaga',2,'1d4 perfurante',0.5,''), 'Machado':Armas('marcialcoc','Machado',10, '2d8 cortante',1,'') ,'espadaCurta':Armas('coc','Espada Curta',10,'1d6 2',10,'',4)}
[ "gabrieldossantosvargas@gmail.com" ]
gabrieldossantosvargas@gmail.com
2c06ebbaf1dd7b970b2f9765fbade07de16e081c
b1e61e5246dc1602d54b0cb3541dfbc943a68e10
/TestCases/Api.py
127721acc184abab81e428c5e70471aa5182420f
[]
no_license
heizh/Interface-Automation-Test
c84a3ef9045f8589c7944e2539c60e76d5fc4891
6c69afd4da73d800e154a1bb6ae920cf3dfb64f6
refs/heads/master
2020-06-11T03:25:19.990329
2019-07-15T09:16:09
2019-07-15T09:16:09
193,837,877
1
0
null
2019-06-26T05:50:59
2019-06-26T05:50:59
null
UTF-8
Python
false
false
628
py
from Base.BaseRunner import ParametrizedTestCase #from Base.BaseGetExcel import read_excel from Base.BaseGetExcel import read_excels from Base.BaseReq import Config from Base.BaseElementEnmu import Element from Base.BaseIni import BaseIni class ApiTest(ParametrizedTestCase): def test_api(self): ls = read_e...
[ "noreply@github.com" ]
heizh.noreply@github.com
745bc0a9eb93fb4f57748962d2ec5b16092e87b0
f76d6da19a089edcbc16eff34f0a919fe8ee2539
/K means Clustering/CVIP_P2_Q3(4).py
9e7e1d32a6e5d149ebd90585d8f21895596bde3b
[]
no_license
krishnasehgal/Image-Processing-1
a75db38d220e2a3850a28804c61a0a81f2e55ecc
848289aeb52f72706e53a010db91b59372c43ffb
refs/heads/master
2020-04-17T05:52:20.898007
2019-01-17T21:50:29
2019-01-17T21:50:29
166,301,417
1
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
# coding: utf-8 # In[1]: get_ipython().run_line_magic('matplotlib', 'inline') UBIT='ksehgal'; from copy import deepcopy import numpy as np np.random.seed(sum([ord(c) for c in UBIT])) get_ipython().run_line_magic('matplotlib', 'inline') from copy import deepcopy import cv2 from matplotlib import pyplot as plt # In...
[ "krishna.dpsite@gmail.com" ]
krishna.dpsite@gmail.com
07b303013845878dffb7352deceb4ceea7081d66
8e18927bb14f2d5a0bb9a30e1f1d9f8297017e87
/Lorem/test_readfiles.py
33f3c2bb3118981246eee358fc278e87556073bc
[]
no_license
sngina/core
d8f7e28a9eea83b2d4d98e8b5a7a487946fa409a
9a89cedef5ccb6a499e5969267b7af35703491f6
refs/heads/master
2023-05-30T02:54:10.432569
2021-06-12T07:59:55
2021-06-12T07:59:55
370,314,026
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
import unittest import readfiles class TestReadFiles(unittest.TestCase): """ Class to test the functions on the readfiles module Args: unittest.TestCase: Class from the unittest module to create unit tests """ if __name__ == "__main__": unittest.main()
[ "sngina707@gmail.com" ]
sngina707@gmail.com
4ee9c034912fbd3c02c4b5075ab4b2154b1ebb4a
414db33a43c50a500741784eea627ba98bb63e27
/0x0F-python-object_relational_mapping/102-relationship_cities_states_list.py
a213de184612054f6f68c22341ba51371e3e099c
[]
no_license
rayraib/holbertonschool-higher_level_programming
2308ea02bd7f97eae3643e3ce0a6489cc1ad9ff5
6b4196eb890ffcb91e541431da9f5f57c5b85d4e
refs/heads/master
2021-09-14T09:12:26.664653
2018-05-11T03:23:12
2018-05-11T03:23:12
113,070,818
1
0
null
null
null
null
UTF-8
Python
false
false
935
py
#!/usr/bin/python3 ''' script that lists all City objects from the database hbtn_0e_101_usa ''' from sqlalchemy.orm import sessionmaker from sqlalchemy import (create_engine) from relationship_city import City, Base from relationship_state import State import sys if __name__ == "__main__": uname = sys.argv[1]...
[ "binitarai11@gmail.com" ]
binitarai11@gmail.com
089fa56f09a89e12a66c98007383fb4a61327a95
5657a7e514758d4d5634efb0e1faa2f848121b11
/sqlite.py
a8caeb2d15126ceffa35804f5e055b045f0fccf5
[]
no_license
BetterLuke/V-collection-tools
dcdd0c0a1fefd618fbee16e4511cc877ad1334e0
cd8d904862c322000e5c3bc6a4663e0cc9c4e06d
refs/heads/master
2020-03-29T13:08:27.361397
2018-09-22T12:26:39
2018-09-22T12:26:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
import sqlite3 import os from mutagen.mp4 import MP4 from mutagen import File import configparser config = configparser.ConfigParser() config.read('./config.ini') root_path = config['path']['root'] conn = sqlite3.connect(config['path']['db']) cur = conn.cursor() def get_mp3_title(path): if path.lower().endswith...
[ "axel10@163.com" ]
axel10@163.com
aea9fd66601e1d252dc445341c6f56ac0b6e60b7
e295a8593681f70fd9bacf4d334c20b7eb5920b7
/resources/notifications.py
711488418b8012551433e53c064b28e7f44f46af
[]
no_license
afolaa27/uconnect-flask
b2d968890eaa9e5d844941e7525a47c72e379076
c0d8e78fa5cc6ee5659571a0bfad9ef662951e84
refs/heads/master
2023-04-23T16:07:01.754079
2021-01-14T04:47:54
2021-01-14T04:47:54
242,198,623
0
0
null
2021-05-06T19:54:26
2020-02-21T17:51:08
Python
UTF-8
Python
false
false
1,297
py
import models from flask import Blueprint, request, jsonify from flask_login import current_user, login_required from playhouse.shortcuts import model_to_dict notifications = Blueprint('notifications', 'notifications') #creates a notification @notifications.route('/<id>', methods=['POST']) @login_required def cr...
[ "afolaa27@uwgb.edu" ]
afolaa27@uwgb.edu
8e33adabba127996ba29511c9825a48fbc037722
8987e044c86fdf53ab8996f433689852716fb277
/Bioinformatics2/week2/PairedComposition.py
a5d8041bf1dd2473cbe78f5e09b91f21acc8c8b0
[]
no_license
zssasa/Bioinformatics
fab02b503ae8063090c0a46bf90c899bc59b3dd4
4cfe5234b46d4ad7e84f4a90aa07a6e7b93666c2
refs/heads/master
2020-04-02T08:05:40.102613
2016-07-30T14:32:37
2016-07-30T14:32:37
62,781,709
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# -*- coding: utf-8 -*- __author__ = 'zhangsheng' def PairedComposition(text, k, d): result = [] for i in range(len(text)-2*k-d+1): result.append([text[i:i+k],text[i+k+d:i+2*k+d]]) result = sorted(result) return result if __name__ == '__main__': text = 'TAATGCCATGGGATGTT' k = 3 d = 2 s = PairedComposition(...
[ "814950812@qq.com" ]
814950812@qq.com
0144b7ac8a7b779fff14f402809e08641264f959
b9c0946e13675e6579d0320baa81a088e6bc2d5e
/HospitalManagementapp/views.py
b994a8db437a58bdc66a5f466f80dbd127465261
[]
no_license
ashishchauhan1234/HospitalManagement
75df214b08db718d46b106754bcd125b6cb829db
97efcbb01d21a399c3c18e25deec5ab085183685
refs/heads/main
2023-06-16T03:11:13.844967
2021-07-13T19:38:16
2021-07-13T19:38:16
384,480,971
0
0
null
2021-07-12T10:28:37
2021-07-09T15:37:21
HTML
UTF-8
Python
false
false
29,352
py
from django.conf import settings from django.contrib.auth.decorators import login_required from django.core.paginator import Paginator from django.http import HttpResponse from django.shortcuts import render, redirect from django.urls import reverse from django.views.decorators.csrf import csrf_exempt from paypa...
[ "noreply@github.com" ]
ashishchauhan1234.noreply@github.com
48cebb7680cd04cef78846c1efb655e8e84e8dbb
37433418676b2f1cd0551b5abb27de44d36ca883
/invoice_module.py
dee8e65a246ac09dd560a0fe271727a89053e7cb
[]
no_license
aarcha123/pyplayground
3c00c2cfb3952cd28f8bda64e1eb2496d80128c9
7f93735c2114c5f4508cb0f3d506531ddc09811d
refs/heads/master
2020-03-19T05:54:13.871139
2018-06-27T19:14:36
2018-06-27T19:14:36
135,972,736
0
0
null
null
null
null
UTF-8
Python
false
false
5,273
py
import sys,getopt import pandas as pd import numpy as np from sklearn import model_selection from sklearn.linear_model import LinearRegression from sklearn.metrics import mean_squared_error from sklearn.feature_selection import RFE import math import pickle lr_model_file = 'lr_model.sav' model = None X_test = None Y_t...
[ "aarcha.nair@gmail.com" ]
aarcha.nair@gmail.com
6e741735016928b167410e4c77d3bc6b0f51ca10
c86c05e79075ef9bfb37f99d94adc1f706a1569c
/tesdloo/src/KMP.py
f8bb4e5a9c766136619c811fe9a37315a4e54147
[]
no_license
arfaghif/Word-Searching-on-file---flask
a258ab032f96165ed19a2a035319dd4cfadcb541
06b34fde5a4e623df9acb8af78d7cfdf489fc11f
refs/heads/master
2022-04-21T17:21:06.171273
2020-04-22T05:19:36
2020-04-22T05:19:36
257,787,586
0
0
null
null
null
null
UTF-8
Python
false
false
1,086
py
def KMPSearch(pat, txt): M = len(pat) N = len(txt) lps = findArrayLPS(pat) #cai lpsnya terlebih dahulu j = 0 #index penggeseran pat i = 0 # index penggeseran txt while i < N: if pat[j].lower() == txt[i].lower(): if(j==M-1):#sudah menemukan yang sesuai re...
[ "52845090+arfaghif@users.noreply.github.com" ]
52845090+arfaghif@users.noreply.github.com
ecc765eb41a1d612d5995a7ce9f399159e82aa23
7c5fb33929116bb77b438de3ead93b3978b5af71
/alf/examples/ppo_rnd_mrevenge_conf.py
0bc0a4ca8c4e71621119b9eb61da912539881928
[ "Apache-2.0" ]
permissive
HorizonRobotics/alf
d6dac891322a81ccb7e2a9749139627b1eda28cb
b00ff2fa5e660de31020338ba340263183fbeaa4
refs/heads/pytorch
2023-08-21T18:51:41.370566
2023-08-16T00:07:22
2023-08-16T00:07:22
178,459,453
288
57
Apache-2.0
2023-09-14T20:40:20
2019-03-29T18:44:07
Python
UTF-8
Python
false
false
3,875
py
# Copyright (c) 2021 Horizon Robotics and ALF Contributors. 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...
[ "noreply@github.com" ]
HorizonRobotics.noreply@github.com
9ae571a71c56c78f4543371dd21be8418092fe0a
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/P/pannaahmed/ddd-localharvest.py
4885b26e593534bda9b9eaa3fe5349672326a96e
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,276
py
import re; def remove_html(string): return re.sub("<.*?>", "", string) def clean(string): return safestr(final_clean(strip_non_text(remove_html(string.strip())))) def strip_non_text(string): return re.sub("\n|\r|&\w{3};|<.*?>",",",string) def final_clean(string): return re.sub("[, ]{2,10}", ",", str...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
223113bd3170bdf050e52260e3ebcd3425d47b41
3a28b1a12d0710c06f6360381ad8be6cf3707907
/modular_model/triHPC/triHPCThermo/HPCAllTrays23CstmLiqO2.py
f0d1e9e2b4629bdff6dd6da191e1906279a26d37
[]
no_license
WheatZhang/DynamicModelling
6ce1d71d3b55176fd4d77a6aedbaf87e25ce4d02
ea099245135fe73e8c9590502b9c8b87768cb165
refs/heads/master
2020-06-15T14:12:50.373047
2019-07-05T01:37:06
2019-07-05T01:37:06
195,319,788
4
0
null
null
null
null
UTF-8
Python
false
false
307
py
def LiqO2(P,T,x_N2): x = (P-5.50184878e+02)/3.71707400e-01 y = (T--1.77763832e+02)/1.81029000e-02 z = (x_N2-9.82399475e-01)/2.41594433e-03 output = \ 1*-8.96045078e+00+\ z*9.17331761e+00+\ y*9.40865318e+00+\ x*-4.59810291e+00 x_O2 = output*9.91253363e-04+3.46966193e-03 return x_O2
[ "1052632241@qq.com" ]
1052632241@qq.com
00697132bb7c42e21763aab73b74b5b170bfc996
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03221/s034094237.py
b644de8c875a571cb205b5a1bf2d7b195b08966a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from collections import defaultdict N, M = map(int, input().split()) IPY = [] for i in range(1, M + 1): p, y = map(int, input().split()) IPY.append((i, p, y)) IPY.sort(key=lambda ipy: ipy[2]) ids = {} nums = defaultdict(int) for i, p, y in IPY: nums[p] += 1 ids[i] = '{:06d}{:06d}'.format(p, nums[p]) f...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6b45be762da585386e265b8716c3bad5e87ae5fe
39a9bfc535f798602a83ea73df7eb61f4508a433
/Simple_file_encryption.py
0158e70e27b9980fb23aa75aaacafc49b852c735
[]
no_license
jalaj-pathak/FIle_encryptor_and_hash_calculator
6f2707c49bacf1b73b08ca5329b0b118955d1057
6ef4a3891a0dc82fb6043ac52efab8032d9c72a4
refs/heads/main
2023-07-19T00:11:12.220231
2021-09-11T17:26:16
2021-09-11T17:26:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
import os import os.path import hashlib def encrypt_file(): filename = input("Enter the path to the file: ") key = int(input("Enter the key: ")) if (os.path.isfile(filename)): with open(filename, 'r') as file: result = '' lines = file.read() f...
[ "noreply@github.com" ]
jalaj-pathak.noreply@github.com
ed9ad77c25f12d502802ce77047e6aa0de6946c7
07539ecbcee0488ce4a0eb779583da3149cfac7b
/amonone/web/apps/settings/views/servers.py
de80a5b486c46ee332a81ed6ad1aa596bd63e64c
[ "MIT" ]
permissive
outbounder/amonone
e151584ac38222b40c314d586ebadc4e0f43fce1
985fa147c1d98a4f57ff33ebd37ca0d938fe674d
refs/heads/master
2020-12-25T13:33:46.425826
2013-07-11T08:54:32
2013-07-11T08:54:32
11,389,227
1
0
null
null
null
null
UTF-8
Python
false
false
3,224
py
from formencode.validators import Invalid as InvalidForm from tornado.web import authenticated from amonone.web.apps.core.baseview import BaseView from amonone.web.apps.alerts.models import alerts_model, alerts_group_model from amonone.web.apps.core.models import server_model from amonone.web.apps.settings.forms impor...
[ "martinrusev@zoho.com" ]
martinrusev@zoho.com
1a5d2b15ad5333a6df92322bd5e48acfc8d40367
598b71f99a13a6a124d30617157e1a84dacacaf3
/deploy/urls.py
ada8e0ee3d2aa8452b76cb9ce3883971c1747fd3
[]
no_license
Ashutosh1997/iris-flower-reg
1cada2f547278c1df677777d4e88a502b5777749
c2c2f0acefc135011383fcfd95fdcd3d27a14913
refs/heads/main
2023-03-30T17:31:02.172808
2021-03-24T15:47:33
2021-03-24T15:47:33
351,132,085
0
0
null
null
null
null
UTF-8
Python
false
false
862
py
"""deploy 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 ...
[ "Ritikmshr1@gmail.com" ]
Ritikmshr1@gmail.com
10c688c854546fc06fce743d8e6fa86f451a8964
4a8bfa3407aa98a04ede3162f85467b1b5012fe7
/tests/test_api/test_methods/test_send_document.py
69fbd458e86e5b98614e54eb0e7f81a108d9f7d2
[]
no_license
aiogram/tg-codegen
07ec80814eec46f464d2490fd27b7b6b27257f1b
ba3c2f893591d45dda418dd16e0646e260afdf14
refs/heads/master
2022-12-09T10:44:10.781570
2021-11-07T23:33:25
2021-11-07T23:33:25
218,523,371
24
5
null
2022-12-08T08:47:43
2019-10-30T12:33:21
Python
UTF-8
Python
false
false
1,021
py
import pytest from aiogram.api.methods import Request, SendDocument from tests.mocked_bot import MockedBot @pytest.mark.skip class TestSendDocument: @pytest.mark.asyncio async def test_method(self, bot: MockedBot): prepare_result = bot.add_result_for(SendDocument, ok=True, result=None) respon...
[ "jroot.junior@gmail.com" ]
jroot.junior@gmail.com
2b85533b105f783711b789a2daccbab5b3cc2db7
813cd4c92fd1257bb26d214d49cf3083ddd57ebe
/dashboard/model/flask_utils.py
4e2bc23bc62381f779dcb03d1b380fa2bf272396
[]
no_license
vkous/simple_dashboard
7d204aba10d8714ba5cc2e49e15cb17b047376b9
9e2718c98af2a7449eb0d39b8b469e2d78d2e244
refs/heads/main
2023-02-12T01:34:03.716322
2021-01-17T23:10:28
2021-01-17T23:10:28
326,380,090
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
from flask import( current_app as app, request, url_for, redirect, render_template, session, g ) import os import json def redirect_to_last_page(): last_page_url = request.referrer if request.referrer is not None : if (len(request.referrer.split('?')) == 1) | (request.refe...
[ "vk@vk.com" ]
vk@vk.com
74649ca75f11649222b2dec6cad27c8abea4cc22
8feba89f89258b51d53914d060b384aceaa4f6d3
/09.ml/svm_mnist_hog_train.py
22bdbc3936f787911175fddbb473657e8cb6536b
[]
no_license
dltpdn/insightbook.opencv_project_python
e35f2738da5ea07d4b8efe0bbb759e4e4f4bcd6c
4f62bc4d084acf575c9f6bfa6d429772072a09bc
refs/heads/master
2022-08-20T14:54:51.296781
2022-07-31T04:24:56
2022-07-31T04:24:56
174,243,667
64
65
null
null
null
null
UTF-8
Python
false
false
2,288
py
import cv2 import numpy as np import mnist import time # 기울어진 숫자를 바로 세우기 위한 함수 ---① affine_flags = cv2.WARP_INVERSE_MAP|cv2.INTER_LINEAR def deskew(img): m = cv2.moments(img) if abs(m['mu02']) < 1e-2: return img.copy() skew = m['mu11']/m['mu02'] M = np.float32([[1, skew, -0.5*20*skew], [0, 1, ...
[ "rainer@swMBA.local" ]
rainer@swMBA.local
096d5b2af4ddd18259a0e430d08101383c5666d6
8dcd3ee098b4f5b80879c37a62292f42f6b2ae17
/venv/Lib/site-packages/pandas/tests/indexing/multiindex/test_ix.py
76d710dfe9a915da57ca20003f1a5f095129c32d
[]
no_license
GregVargas1999/InfinityAreaInfo
53fdfefc11c4af8f5d2b8f511f7461d11a3f7533
2e4a7c6a2424514ca0ec58c9153eb08dc8e09a4a
refs/heads/master
2022-12-01T20:26:05.388878
2020-08-11T18:37:05
2020-08-11T18:37:05
286,821,452
0
0
null
null
null
null
UTF-8
Python
false
false
2,067
py
import numpy as np import pandas._testing as tm import pytest from pandas import DataFrame, MultiIndex from pandas.errors import PerformanceWarning class TestMultiIndex: def test_frame_setitem_loc(self, multiindex_dataframe_random_data): frame = multiindex_dataframe_random_data frame.loc[("bar", "...
[ "44142880+GregVargas1999@users.noreply.github.com" ]
44142880+GregVargas1999@users.noreply.github.com
435b28f935245fd044ae7e200217e9f90ae3bf8e
34bb078fef4919c19e064d67919860f572eb42eb
/Chapter 3/3-3 MNIST without CNN.py
e146048a7927db49ebde30e7b825ba20dc36fa4d
[]
no_license
JYang17/MyTensorflow
9d0388067ff02b7f62d2f740cc27ef2744fe8454
ab9f61fee952e7b3d8b88c98568726cfe016c825
refs/heads/master
2020-03-17T22:56:49.243342
2018-06-05T10:14:05
2018-06-05T10:14:05
134,024,433
0
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
#https://www.bilibili.com/video/av20034351/?p=9 #不使用卷积神经网络的MNIST import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data #import numpy as np #载入数据集 #one-hot:将标签转化为的某一行,某一位是1,其他位都是0的形式 #"MNIST_data"创建一个当前程序路径下的文件夹,下载存放MNIST图片数据,也可以用绝对路径 mnist = input_data.read_data_sets("MNIST_data",one_hot...
[ "yangzhe1122@sina.com.cn" ]
yangzhe1122@sina.com.cn
7b687e9b543e4caf4e638199a82a10f413f00b95
10608dc311d410e86884a652dd8ff7e100891144
/CW/CW2015.py
5385db5e748b145580b64094444435307e123215
[]
no_license
Chabo17/LegacyCode
da995abd2e835495dec0866a54269690f6760280
3455a65e4f8b31e1c9f0d7260e55d71c3c148999
refs/heads/main
2023-08-18T05:24:49.376947
2021-09-20T15:39:40
2021-09-20T15:39:40
408,500,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
import sys from collections import Counter from matplotlib import pyplot as plt def Prob7(text): pval=[] rval=[] for ln in text: if float(ln) != 0:#finds the p val and r val p=float(ln) pval.append(p) rval.append(p**(2/3)) plt.plot(pval,rval,marker='o',color='blue',linestyle='')#plots all of...
[ "noreply@github.com" ]
Chabo17.noreply@github.com
f5b3b649e526059fc48bdfb670b92c747302094c
080c05a5f2fe455d8b8227d71f514f647f847799
/functions/reduced_oa_blocks.py
b6df3399b45b7396060b8eb294135895444c4e3a
[]
no_license
nevenaf/OAs
b5554e2ad3ef744b7cc54019ee46baf4ab065c6d
a1c29dee72067a231548f693d6d6b98925a4ea3d
refs/heads/master
2021-01-10T07:09:22.039019
2015-09-30T09:37:35
2015-09-30T09:37:35
43,422,124
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
py
from itertools import combinations, permutations def is_non_decreasing(seq): n = len(seq) for i in range(n): for j in range(i+1,n): if seq[i]>seq[j]: return False return True def get_rows(k,n): order_of_row = {} row_of_order =[] idx = 0 row = [0 for...
[ "nfrancetic@gmail.com" ]
nfrancetic@gmail.com
62ddbd35dc33aa67364519ced4c59b35d415f98f
7d2d96dab56c03bf99cb8de0712eb9bc2a67d9cc
/genetic-alg-sampling/load_cflux_masked.py
a467d3b474c709a90260f7fe33f2571162b90f48
[]
no_license
nicholaschris/masters_thesis
abe892077f692a532e50514427d7b27f8bd65196
15cf8e7e2a83a7642ba6672a877dbb65ec8279f5
refs/heads/master
2020-05-27T03:21:16.142351
2013-04-03T10:52:43
2013-04-03T10:52:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
#!usr/bin/python # ~/Desktop/ga-session-2012-11-12/load_cflux_masked.py '''This module loads the cflux netcdf file or any netcdf file that needs to be masked. ''' import numpy as np from numpy import ma from scipy.io.netcdf import netcdf_file import os cflux_5day = '' cflux_daily = '' dpco2_daily = '' pco2_daily =...
[ "nicholaschristopherpringle@gmail.com" ]
nicholaschristopherpringle@gmail.com
b71f3d3ff286e0d4311404d1ab8a0fde533ae2e0
44d4a051663179ddf4a87ef607070e8abed1b94f
/crab/run_getLumis.py
717f627277f6a30fc4e8d83eaf7b711b471d14a5
[]
no_license
mbandrews/h2aa
458471abd90dc2a80d13ad2d2428cc0567d58c89
de1549d472f0b815236598c9676c27719b949e67
refs/heads/master
2022-12-09T22:08:21.235484
2022-12-08T03:44:58
2022-12-08T03:44:58
232,382,628
0
1
null
2022-12-08T03:44:59
2020-01-07T17:49:35
Jupyter Notebook
UTF-8
Python
false
false
7,017
py
from __future__ import print_function from Utilities.General.cmssw_das_client import get_data as das_query from FWCore.PythonUtilities.LumiList import LumiList import os, re, glob, shutil import numpy as np import subprocess input_campaign = '06Sep2020_AODslim-ecal_v1' # data,h4g,hgg, DY2016 #input_campaign = '28Dec20...
[ "michael.andrews@cern.ch" ]
michael.andrews@cern.ch
5b4a97a204e541bf334a7db0e8b19738b970caa2
44e2977cd3205a17c7a861f034dcb1ab828f9ba0
/arret.py
bed0d44b5222662975bd796ea78681cfe87c0475
[]
no_license
bedaigiraneza/Algorithme-d-itineraire
33ff041f9311902e6531ba1a56c9efad9d4b4026
2aa92aee2d51987849b1fd35ba5941173e182c52
refs/heads/master
2020-04-23T04:08:03.826137
2019-02-15T17:06:01
2019-02-15T17:06:01
170,899,378
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 25 12:08:05 2019 @author: igiraneb """ class Arret: def __init__(self, nomArret): self.name = nomArret # ================================================ def getName(self): return self.name
[ "noreply@github.com" ]
bedaigiraneza.noreply@github.com
64a6d3b2e5aa8f4603538b235f00b632dbf05da5
491cde2db8a04f8c83c358ac09464412e7744c97
/experiments/utilities.py
3b4f35842ba944ec6d6d8991b7b2096056f1895f
[ "MIT" ]
permissive
ashah044/poisoning-clustering
4811823a0c606d46f7e8dbba99398012fb63e758
288608f87f02d43589e0983b31ce6f2bd18b8814
refs/heads/main
2023-01-06T00:02:37.553596
2020-10-23T14:22:52
2020-10-23T14:22:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,899
py
import numpy as np import torch, random, os from sklearn.metrics import ( adjusted_rand_score, normalized_mutual_info_score, adjusted_mutual_info_score, ) class ClusteringWrapper3Dto2D: def __init__(self, model): self.model = model def fit_predict(self, X): """ Since X has s...
[ "cina.antonio1995@gmail.com" ]
cina.antonio1995@gmail.com
682a53ec7edd1b3b8745643e293763068ef80790
3bea1fd18eaa26d13225d30b28f6ef9794827c12
/mysite/polls/apps.py
3a3d341da90c0824d7c835c6c7b8e23007c0490d
[]
no_license
norlyakov/django_learning
e6887d491a6a4fe2424b5e0cc8c99109b8df7e0a
57d2881c8805a4199520fe1fc123c0d6289f8b68
refs/heads/master
2023-04-30T07:33:30.635955
2019-11-26T15:07:42
2019-11-26T15:07:42
223,581,346
0
1
null
2022-04-22T22:48:22
2019-11-23T11:58:24
Python
UTF-8
Python
false
false
155
py
# -*- coding: utf-8 -*- """ :Authors: norlyakov :Date: 23.11.2019 """ from django.apps import AppConfig class PollsConfig(AppConfig): name = 'polls'
[ "norlyakov@asdco.ru" ]
norlyakov@asdco.ru
86b4ae02b26ad4834670f72d71b737c1ab20447f
669b788991f28ee6949432642ba5d85096a6f3e5
/app.py
a5703d9f0888cb99bc16f97b2d6c792c257fb6a1
[]
no_license
Adrianna87/flask-survey
56f10902c02dc236847f64c3cf9cb0a01d28434e
60325e7b074c3bb3e00927b5df95ca31f80b436e
refs/heads/main
2023-06-24T12:13:39.739277
2021-07-22T14:39:24
2021-07-22T14:39:24
388,494,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,369
py
from flask import Flask, request, render_template, redirect, flash, session from surveys import satisfaction_survey as survey RESPONSES_KEY = "responses" app = Flask(__name__) @app.route("/") def show_survey_start(): return render_template("survey_start.html", survey=survey) @app.route("/begin", methods=["POST...
[ "adriannam@workmail.com" ]
adriannam@workmail.com
1b9d368787014856bd07466ca12d10c3526d8068
e5869ffd5cef2465c1cb85f69e8f194a98333f7b
/dbrb6.py
62c03c00afcc0a53aca841a2da513fa37617cef3
[]
no_license
samikabir/JointOptimizedDisjBRB
a71665f3027750540b2692ea3ebaf86a842a7d80
055a858942a6739df42ccb9f736e142c02790597
refs/heads/master
2020-05-29T21:45:21.007389
2019-05-30T10:14:34
2019-05-30T10:14:34
189,391,281
0
1
null
null
null
null
UTF-8
Python
false
false
20,746
py
#PM_H = 500.4 #PM_M = 35.5 #PM_L = 0.0 AQI_H = 500.0 AQI_M = 101.0 AQI_L = 0.0 numberOfAntAttributes = 2 #relativeWeight = 1.0 cbd_0 = 1.0 cbd_1 = 0.0 cbd_2 = 0.0 cbd_3 = 0.0 cbd_4 = 1.0 cbd_5 = 0.0 cbd_6 = 0.0 cbd_7 = 0.0 cbd_8 = 1.0 aqi1 = 1.0 aqi2 = 1.0 aqi3 = 1.0 aqi4 = 1.0 aqi5 = 1.0 ...
[ "noreply@github.com" ]
samikabir.noreply@github.com
44c4ae1504cb9383fdc583226306490178d8f514
08d59232fec474afe8bf20fcd6b35dc89638720c
/madird-air-quality-evaluation/code/analyze-rnn-results.py
9ec0a2e3261f20699c182dc9e2647be7c98524c6
[]
no_license
jamaltoutouh/urban-health-no2-experiments
d91999e69ee21a14570f91eefbf9445ca79b4f18
a51b01ed6adafd87a4a3ac661a1270b1cdff6a31
refs/heads/master
2021-01-15T02:12:40.620348
2020-02-25T23:19:25
2020-02-25T23:19:25
242,844,934
0
0
null
null
null
null
UTF-8
Python
false
false
2,068
py
import random import sys import pandas as pd import numpy as np import matplotlib.pyplot as plt from matplotlib.figure import figaspect import seaborn as sns import glob import scipy.stats from sklearn.linear_model import LinearRegression from scipy.stats import shapiro from statistics import mean from scipy.stats ...
[ "toutouh@alfad1812.csail.mit.edu" ]
toutouh@alfad1812.csail.mit.edu
9ab0fdbb526d963d7c90bf9dd6662f3bcd222495
5caee0aea844d1024dadb1a3a551ed347c4ce534
/Amazon_interview/lowest_number_removing_n_digits.py
0a54a7cf8e2e15a1486fcaf2e5e1dbfb285e5659
[]
no_license
Shikhar0907/Algo-and-data-structure-questions
840c004acb93d7f97615d87fc8c69d73434b380d
27d24cd18a9878cb59a81ef8b39aa4e31d8b8a7a
refs/heads/master
2020-03-27T18:28:52.707843
2018-11-02T05:08:19
2018-11-02T05:08:19
146,924,651
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
def remove_n_digits(arr,n,res): if n ==0: res = res + arr return l = len(arr) if len(arr) <= n: return min_point = 0 for i in range(len(arr)): if arr[i] < arr[min_point]: min_point = i res = res+arr[min_point] new_str = arr[min_point+1:l-min_point]...
[ "shikharsuman59@gmail.com" ]
shikharsuman59@gmail.com
087243b55df2646274a5808accd1290346960684
33ffb5ee0b9160210857a610516c6af76f4fbf7f
/expense_report/migrations/0001_initial.py
07f820e9e5f2b732a6782b8b40ed4a08d85c0331
[]
no_license
vince015/Memorial-Park-Management-System
7d366a05ff4dee1e0e37e394f704e23d89a2f66c
5ef02df56a87457d49254da241735e08cb4d1484
refs/heads/master
2021-08-10T15:29:02.666898
2018-11-13T14:40:26
2018-11-13T14:40:26
143,298,254
1
0
null
2021-06-10T20:42:43
2018-08-02T13:26:20
HTML
UTF-8
Python
false
false
2,508
py
# Generated by Django 2.0 on 2018-11-03 07:40 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Expense', fields=[ ...
[ "vincetapang@gmail.com" ]
vincetapang@gmail.com
63b3c6d7dce8fd65cd3e00c6622f9d68091d0507
0e3d7a350a2b1b962f7308ba369398f3e4c539a0
/HaxballParser/__init__.py
995f4704f37b39ebe0cf89ef36fd2eefcf6f2f63
[]
no_license
jalm10/HaxballParser
370d4fbf1754a79a2a5f17e00b474286a805154a
c53ff6677de97c2bb34f088827dc0bd734a714de
refs/heads/master
2020-06-04T22:39:36.682511
2016-01-08T17:25:05
2016-01-08T17:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
from .dumper import dump from .utils import *
[ "ivanfelicianox@gmail.com" ]
ivanfelicianox@gmail.com
8c07529f651c18ec4baeaf8196c9089dc669994a
2b9dfbb89d197f0318edc9f78e9d0e6cbcf3e68f
/supervisor/resolution/evaluations/base.py
30d14714d93ca280cdf87440cb6bb7683263bd38
[ "Apache-2.0" ]
permissive
fredrike/hassio
ea26a9a8e5c321ee5368fa75c1ce183cad499c29
1df447272eb8f1d891530acf91f43320361d6811
refs/heads/dev
2023-03-20T12:22:07.248308
2020-12-18T20:42:42
2020-12-18T20:42:42
183,160,796
1
0
Apache-2.0
2023-03-06T06:58:11
2019-04-24T06:16:38
Python
UTF-8
Python
false
false
1,780
py
"""Baseclass for system evaluations.""" from abc import ABC, abstractmethod, abstractproperty import logging from typing import List from ...const import CoreState from ...coresys import CoreSys, CoreSysAttributes from ..const import UnsupportedReason _LOGGER: logging.Logger = logging.getLogger(__name__) class Eval...
[ "noreply@github.com" ]
fredrike.noreply@github.com
a5e3b8c4b09c96202874b0d917b89981cd95ae34
8dd926fcbff258a5f03b414581bad5848e5e8ad7
/service/app/models.py
39f53e2409f38fccf8c07e5567c26c7db19a833b
[]
no_license
xxl4tomxu98/Benchmarking_Engineers_Full_Stack
ab1d4c74430607b30d259a941af76298e16b6e0c
d633f2ea1ec63336e4d1de2778c170be07a71c07
refs/heads/master
2023-02-28T04:27:56.279633
2021-02-06T19:31:02
2021-02-06T19:31:02
334,595,031
0
0
null
null
null
null
UTF-8
Python
false
false
787
py
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() class Company(db.Model): __tablename__ = 'companies' id = db.Column(db.Integer, primary_key=True) fractal_index = db.Column(db.Numeric(4, 3), nullable=False) records = db.relationship("Record", back_populates="company") class Record(db.Model...
[ "tomxu@udel.edu" ]
tomxu@udel.edu
5d7b482c75e3fba9a743f187bf5e02f5cc8bddf2
b80a6aa13a1928dc320c1edd6b186bcb2dcc63ce
/core/nodeLibrary.py
1e9853b9bcae8f668c16af28a65cecd4f383943e
[]
no_license
walternate/meShaderEd
225e6998f8b5ccd03311ed750bbf08482fed6651
faf8e5ba028cbb12c9cb3a107263469999049905
refs/heads/master
2021-01-24T01:00:30.265664
2012-07-19T16:22:20
2012-07-19T16:22:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,867
py
#=============================================================================== # nodeLibrary.py # # # #=============================================================================== import os, sys from PyQt4 import QtCore, QtGui, QtXml from PyQt4.QtCore import QDir, QFile, QVariant from PyQt4.QtGui import QStanda...
[ "Yuri.Meshalkin@gmail.com" ]
Yuri.Meshalkin@gmail.com
47083e5f84b754fc1c05b38d3675fee1b760ae9f
a5669790b3809e10ec7016d66981f915b47a166c
/scripts/collect_lang_stats.py
33064bb2fe3e96764cb14480e3c8c3b262b4f8b9
[ "MIT" ]
permissive
jxhe/cross-lingual-struct-flow
ca9c45983316a83b0ac1bd88b9ed76e47ce976dc
8fb90fef4f6fcd79c42fc6aefec5418ca5e54833
refs/heads/master
2023-06-28T14:53:45.503938
2020-12-03T03:28:53
2020-12-03T03:28:53
158,045,710
25
3
null
null
null
null
UTF-8
Python
false
false
1,265
py
""" This script collects language statistics from UD treebank dataset """ import os from io import open from conllu import parse_incr lang_stats = [] for root, subdirs, files in os.walk("ud-treebanks-v2.2"): train_flag = False valid_dir = False for fname in files: if fname.strip().split('.')[-...
[ "junxianh2@gmail.com" ]
junxianh2@gmail.com
a0149391f5831cb229256d024b17784f97c94ccb
740c363ddf8ea6e9a37862503db076ace7783664
/testing/test_calc.py
800e3db007b0f6dca8698cdd0337e00ffaddc8f3
[]
no_license
gaoxue12350/pytest_excise
a864a5ceded97f6e09ddbee1b4b8050af8ee7e7b
59dd0236246b429e97a715bd34386191ad8cbdc8
refs/heads/master
2023-01-04T17:36:49.866637
2020-10-29T11:12:28
2020-10-29T11:12:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,536
py
import pytest import yaml def get_datas(): with open("./datas/calc.yml") as f: datas = yaml.safe_load(f) add_datas = datas['add']['datas'] add_ids = datas['add']['ids'] sub_datas = datas['sub']['datas'] sub_ids = datas['sub']['ids'] mul_datas = datas['mul']['datas'] mul_ids = datas...
[ "973140551@qq.com" ]
973140551@qq.com
754e900ec3ae5f4d33dddc2eb01eedef2b442d05
a53532e28a8c7ecc3b683e66cc2af0a5fcf135f4
/Code/bookmanager/bookmanager/settings.py
52d51cd8168d9d78917fd27ceeb25b2bdc30f3a0
[]
no_license
1015600087/cuitingting
b4b754e2f311a67469e6b6db6911c1107ecf8b84
097341675561e965256bd7c5fd47870d476715c1
refs/heads/master
2023-02-09T06:20:52.995122
2020-12-30T14:18:01
2020-12-30T14:18:01
323,898,087
0
0
null
null
null
null
UTF-8
Python
false
false
3,187
py
""" Django settings for bookmanager project. Generated by 'django-admin startproject' using Django 2.2.5. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import o...
[ "1015600087@qq.com" ]
1015600087@qq.com
d55e42d699b32c5fd39e7695c09027af0919048a
741568a4e5a97478a80acbafb0ea03f2c9c5494b
/labtest/urls.py
5170c93d469f03528bcb09d7052373606b2db618
[]
no_license
Viswa1999/EAD-Lab-Test2
9d34155583f479b512dadcff9cba901d9036a8fa
5c964bf688a5d47ab6874e436d395d80d6580c9f
refs/heads/main
2023-06-26T17:27:39.840864
2021-07-20T12:59:20
2021-07-20T12:59:20
387,791,217
0
0
null
null
null
null
UTF-8
Python
false
false
1,389
py
"""labtest URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/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') Cla...
[ "noreply@github.com" ]
Viswa1999.noreply@github.com
3a8d9df201c08824ce372d8b9123d0ab54a6afbd
db4ecd3108f742fe5944efcb9cce6481088147ff
/keisan2/37.py
168571e11abd459179c49f32acb59f5c31701fc2
[]
no_license
Moemoe2358/Data-contest-old
cb7a9d84fa76e7e161be7eb433c79adb16f16683
ccc00a567bc4a97f2756c4f38d2a6bce612b54bc
refs/heads/master
2021-06-17T18:38:35.375775
2017-04-29T15:06:12
2017-04-29T15:06:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,992
py
# -*- coding: utf-8 -*- # 長さの分布:[3, 42, 316, 3, 71, 177, 5, 1, 169, 33, 7, 32, 1504] import numpy as np import pandas as pd from sklearn import linear_model import time start_time = time.time() train = pd.read_csv("data3/train.tsv", delimiter = "\t") test = pd.read_csv("data3/test.tsv", delimiter = "\t") submit = ...
[ "ryuhouketsu@ryuhouketsu-no-MacBook-Air.local" ]
ryuhouketsu@ryuhouketsu-no-MacBook-Air.local
e687ecab21b61945bf62fd92120d0df127f08282
9fa64b4bcdb1061d08a1898cbccfac979035acb8
/elit/component/dep/parser/biaffine_parser.py
3cc50eca4c8964c366953731b73cb5640f2e0d4c
[ "Apache-2.0" ]
permissive
elitcloud/elit
bf11d1acfa235440f1826c27d9dad07ac397c2c2
78c00ec098d7626fd29ca49a9aef28950fabfed9
refs/heads/develop
2022-07-11T16:40:33.623416
2020-02-19T19:39:55
2020-02-19T19:40:53
72,214,112
38
6
NOASSERTION
2022-06-21T21:06:56
2016-10-28T14:23:47
Python
UTF-8
Python
false
false
13,914
py
# coding: utf-8 # 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...
[ "jfservice@126.com" ]
jfservice@126.com
ba166e925f28217c4618acca4463a058bf51fb87
456c7ca7c0f8d7056abb99c0af659472166896aa
/shorty/core/migrations/0006_auto_20201127_0852.py
7bdf4e439b5946a6e3bfee854872d6e697e480cf
[]
no_license
MrAmbiG/shorty
5988842651b551be4f77716bbdfb46f8f3c8e62d
b3da39ab73b6eea16dde25a485980736a25f9789
refs/heads/main
2023-02-22T04:42:53.168745
2021-01-21T23:17:51
2021-01-21T23:17:51
316,470,576
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
# Generated by Django 3.1.3 on 2020-11-27 08:52 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('core', '0005_shorties_https'), ] operations = [ migrations.AlterField( model_name='shorties', name='alia...
[ "amd@ubuntuserver-18-x8664.local.lan" ]
amd@ubuntuserver-18-x8664.local.lan
f5f0aa235873cd336744f8fca21242d7eb9573e4
3a14dc7e73b8ab69734f078a8810977250868882
/catkin_ws/build/bl_group_a/catkin_generated/pkg.develspace.context.pc.py
ce809a93d0cfe7f6c47c8353bbfd6716a9f9e46f
[]
no_license
TianmingQiu/Biologically_Inspired_Learning_for_Humanoid_Robots
a9e6562ae002753fbac107fcbace2b95717e3fc0
43691273cb7b5713c51b3af6c0eebd4d2a21b9c7
refs/heads/master
2021-01-22T06:23:16.765943
2017-09-28T18:20:32
2017-09-28T18:20:32
92,548,642
4
2
null
null
null
null
UTF-8
Python
false
false
524
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/biolearning_a/catkin_ws/src/bl_group_a/include".split(';') if "/home/biolearning_a/catkin_ws/src/bl_group_a/include" != "" else [] PROJECT_CATKIN_DEPENDS = "robot_specific_msgs;roscpp;rospy;std_m...
[ "qtianming@hotmail.com" ]
qtianming@hotmail.com
430b684a53b630a0c16ed80771c9c00fa5114ed3
18d5f2166427567401c170584fc0698344d142ca
/server/flaskr/login.py
6ef9d1f495646a1dfcf6248c9abedcd5cae25be0
[]
no_license
Jayuses/RPVdb
01741575da914efe257ce4c458ed3c430325a581
9b41073025497c618e7bad5180cefbc214057aba
refs/heads/main
2023-06-08T09:07:58.752721
2023-05-31T03:31:38
2023-05-31T03:31:38
352,701,184
1
0
null
null
null
null
UTF-8
Python
false
false
2,813
py
#!/RPVdb/server/flaskr/getdata.py # -*- conding: utf-8 -*- # 蓝图文件'login',处理前端登录请求 from flask import (Blueprint, request) from flask import Flask, jsonify from flaskr.db import get_users from werkzeug.security import check_password_hash, generate_password_hash #辅助状态变量 statusdata = {'status':'','class':-1} bp = Bluepr...
[ "1367435459@qq.com" ]
1367435459@qq.com
f41c8ef0c42de09b23f2fdd1ba5d874ab2f6e3ac
eefddeb24d8eb1b0122dc3c783226a9ef23b1c48
/vKiriroMarketing/settings.py
9d2d8d97f1e8ad80587a5f74e64ca9bd4fbce977
[]
no_license
monyoudom/vKiriromMartketing
1ddfc4668b199d01c76f111e543a021d1273d74d
3240a96b83407b43b2e4529ab2a37646d50ede74
refs/heads/master
2021-05-02T01:46:36.944264
2018-02-10T01:25:04
2018-02-10T01:25:04
120,874,684
0
0
null
null
null
null
UTF-8
Python
false
false
3,385
py
""" Django settings for vKiriroMarketing project. Generated by 'django-admin startproject' using Django 1.11.5. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ ...
[ "thongmonyoudom@outlook.com" ]
thongmonyoudom@outlook.com
afec826c58124ebffe7ce5d984202b83272b2f34
dcca0d8581c2d9c5690137e689ffda74dda4b78e
/mysite/core/models.py
8c2787a965265e3659edc41e0607b98bc9047e63
[]
no_license
mamkinproger/my-first-site
b9a0d701994feeb2e2c72c6e74bfa52edaec01b7
d4886c3c7a6b459ba38101528670cee1ce252ac1
refs/heads/master
2021-08-31T04:12:29.573978
2017-12-20T09:47:29
2017-12-20T09:47:29
114,870,672
0
0
null
null
null
null
UTF-8
Python
false
false
1,698
py
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) bio = models.TextField(...
[ "kim_chernov@mail.ru" ]
kim_chernov@mail.ru
9a8348fbe4665c05c3f40c4871a58afb60e8de78
59239e9aecc4b0611cd1f82dad74a13b21c0a97e
/model/train/train_skill_update.py
a77758383594682d02c3c766480cf6a18c43666b
[]
no_license
charlesXu86/FAQ
53a8160fef2920c1e5005ea4f55a642071986494
d5e253f44377f63b3af9accd9eab39fc599ed7a7
refs/heads/master
2023-01-10T10:45:21.403238
2020-11-11T13:40:23
2020-11-11T13:40:23
278,859,443
1
1
null
null
null
null
UTF-8
Python
false
false
5,361
py
# -*- coding: utf-8 -*- """ @Author : Xu @Software: PyCharm @File : train_skill.py @Time : 2020/7/18 10:11 上午 @Desc : 新技能训练 """ import requests import json def train_skill_up(skillId): """ :param skillId: 技能ID :return: """ data = {} url = 'http://47.103.73.160:9...
[ "charlesxu86@163.com" ]
charlesxu86@163.com
4cb0b660ba917efc4f0d597f4ca7d91d516705e3
7f725355c8a95ea3b69b07c1e2e5a9ffc4caf17a
/manage.py
57444202dc8c52e536b74a92f6e346903ef7fa1e
[]
no_license
taddeimania/nfl_stat_scraper
1d62ac38b46a7562936c6150103b8eee621ecfc5
0b9d0eadb80fd9e7c3e1e0de1c759b2e5659cb6b
refs/heads/master
2021-01-18T16:35:36.859869
2012-11-26T03:29:06
2012-11-26T03:29:06
6,858,032
3
0
null
null
null
null
UTF-8
Python
false
false
246
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "nfl.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "jtaddei@gmail.com" ]
jtaddei@gmail.com
1195022dbbe97772e58c428b745a30662179e059
b3495ba937ec99453bd8f95ced8703e7d8548a95
/leetcode/IntervalList Intersection.py
08dc72b2b8a86148458249cad8b9474bf21dea8c
[]
no_license
luoChengwen/Hacker_rank_test
975a47bde862a33c057883a7f394ea280efece31
858cef7b7c01b86c1f771e2b262e931af673cb73
refs/heads/master
2021-09-24T18:10:39.215407
2021-09-23T07:35:54
2021-09-23T07:35:54
239,445,087
0
0
null
null
null
null
UTF-8
Python
false
false
573
py
class Solution: def intervalIntersection(self, A, B): # AB are lists output = [] ai,bi = 0, 0 while ai < len(A) and bi < len(B): start_A, end_A = A[ai] start_B, end_B = B[bi] start = max(start_A, start_B) end = min(end_A, end_B) ...
[ "lcwdaisy@gmail.com" ]
lcwdaisy@gmail.com