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
a71aa97fcfae548e30320b7b1ecfaf7083324ede
bd17496302ed843e56c40c78f6e41bd3379309d6
/cruft/_commands/utils/generate.py
3e955567998125f725f0fbdb7afee16e430510df
[ "MIT" ]
permissive
juhuebner/cruft
9720962fb07b77298e2f92c384d06d646521141d
074b0a3e60381cf5c08f2c12c1a422f5c432d191
refs/heads/master
2023-03-24T10:07:30.682818
2021-02-04T13:32:43
2021-02-04T13:32:43
335,247,032
1
1
MIT
2021-02-12T10:15:36
2021-02-02T10:14:39
Python
UTF-8
Python
false
false
4,262
py
import os from pathlib import Path from shutil import move, rmtree from tempfile import TemporaryDirectory from typing import Optional, Set from cookiecutter.generate import generate_files from git import Repo from .cookiecutter import CookiecutterContext, generate_cookiecutter_context from .cruft import CruftState ...
[ "noreply@github.com" ]
juhuebner.noreply@github.com
8b63e5294856d883658c03c47ecbc8dd9c494857
b2c5fb38def287fa50222b46f2d645b4245a06f5
/pplan/src/pplan/makegraph_edgetime_equilateral.py
893e8f1db69b17d39edc2af518538eb8c71d525c
[]
no_license
jonbinney/informative_path_planning
1e228aa719f16b8d1d121e86a19fc60b1defc22b
6d5e82ef9760ed994b597f2903e7cc77c195e466
refs/heads/master
2016-09-06T03:51:30.575364
2013-08-01T23:12:44
2013-08-01T23:12:44
7,231,493
2
0
null
null
null
null
UTF-8
Python
false
false
3,240
py
import numpy as np from scipy import linalg import ppas def add_point(points, p): ''' Add p to points, and return the index for p ''' for ii in range(len(points)): # hack alert! because of precision, sometimes points that should # be the same are actually slightly different, so we use a...
[ "jbinney@bih.willowgarage.com" ]
jbinney@bih.willowgarage.com
2973b9afb0d60bb23ad9537dfdd7c01cf45442e8
e01bb802ba807b5bce32bd3d3a060186515405fc
/celebA_preproc.py
ef0a5f3226b80f70adf9b25562d999446d10be16
[]
no_license
MonicaVillanueva/Image2Image_Translation
005676197ea1db7e2babc1abdc9829a2b52d4375
c7cad94c2f7497f0147e26a6e4e8553bfeefb55b
refs/heads/master
2021-09-05T15:19:05.513243
2018-01-29T07:27:51
2018-01-29T07:27:51
113,840,715
5
1
null
null
null
null
UTF-8
Python
false
false
1,873
py
#!/usr/bin/python # -*- coding: latin-1 -*- from PIL import Image import os import matplotlib.pyplot as plt import scipy.misc as sci import numpy as np # Constants celeba_path = os.getcwd() + '\celebA\img_align_celeba' out_path = 'celebA\processed' attr_path = os.getcwd() + '\celebA\Anno\list_attr_celeba.txt' BLACK = ...
[ "monicavi@kth.se" ]
monicavi@kth.se
21506168c06a23ad11428c0c4c3d152ac7118125
509e9d64744f720392fda2b978d783f985c60824
/python2.7/site-packages/numpy/ma/core.py
7e1ea2b54b893c2252e95a7cda30ca172bc9932b
[]
no_license
theideasmith/Instant-OpenCV-FFMPEG
0560598fba630ded533b4e6c111c61c9b0b7502b
234e359af245b4832b3e7ade6070e91c81b65de0
refs/heads/master
2021-01-11T20:39:33.443984
2017-01-16T23:09:46
2017-01-16T23:09:46
79,162,330
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
version https://git-lfs.github.com/spec/v1 oid sha256:e83576d33a9a1a0dd7ddd47d954efbf285527a2a66b9a5f7c6a62368b7fb46f2 size 247843
[ "aclscientist@gmail.com" ]
aclscientist@gmail.com
e9aa8307ab7e17962e321ed2057fac07d37bdaf0
e97451f42a5bb5834baf581dcbbcf273eb6562ff
/[052] Permuted multiples/main.py
8c2761dd6a3711d0073ff5c96961bd38885794f7
[]
no_license
m-tkach/ProjectEuler
561d13137a8e5e9e63f028e0dd3abd57aa788b9e
ee118e0889fa0c48662f62b42708c2009ddbc4ce
refs/heads/master
2020-04-15T01:54:24.682833
2015-04-13T20:23:44
2015-04-13T20:23:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
MAX_MULTIPLIER = 6 def to_int(l): ans = 0 for x in l: ans = ans * 10 + x return ans def to_sort_list(i): if i == 0: return [0] ret = [] while i > 0: ret.append(i % 10) i //= 10 ret.sort() return ret def next(v): v += 1 ...
[ "m.tkach@samsung.com" ]
m.tkach@samsung.com
615815d159d11c1a11dd487d30418a377ac10f96
6501237d5e687ba1ad51f8f134f998fb2c25b205
/models/transformer.py
9ef76ae139ff364596d6f3467ce1b4ed432e326f
[]
no_license
jdegange/multilingual_nmt
e29cbb86de1556060a7ec009de0a7e463ca120bc
4c5cc5a5b7986ae621d4399ed0fc7ca998bc9c1f
refs/heads/master
2020-04-09T06:36:05.338816
2018-09-11T04:09:29
2018-09-11T04:09:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,786
py
# encoding: utf-8 import numpy as np import torch import torch.nn.functional as F import torch.nn as nn from torch.autograd import Variable import torch.backends.cudnn as cudnn import math import scipy.stats as stats import utils import search_strategy import preprocess from expert_utils import PadRemover cudnn.bench...
[ "devendra.singh@petuum.com" ]
devendra.singh@petuum.com
624fece2eb26804725675757255cafe640ad30a5
d69b7c615390e56cdb2cf0a29c7dfcd1f034098f
/main.py
f32b536be72ca27aff4cf19901d3c29ae823755a
[]
no_license
islamuzkg/tip-calculator-start
aa535bee503af4f011d78ca6fe829c1968fb18f7
1acea524cf30a6ad49defa0958d6733d1de7bbee
refs/heads/master
2023-03-18T11:12:16.948903
2021-03-10T13:57:26
2021-03-10T13:57:26
346,373,866
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
#If the bill was $150.00, split between 5 people, with 12% tip. #Each person should pay (150.00 / 5) * 1.12 = 33.6 #Format the result to 2 decimal places = 33.60 #Tip: There are 2 ways to round a number. You might have to do some Googling to solve this.💪 #HINT 1: https://www.google.com/search?q=how+to+round+number+to...
[ "Islamuzkg@gmail.com" ]
Islamuzkg@gmail.com
6065cbd309d83c85efd3a6015055736c8a10ecce
fe6bc15f12bfa3e73cf6c9e26ed454d574beb394
/bioinformatics_stronghold/Intro_Alternative_Splicing/solution.py
1dc7c7a9932f84a3ec9a65ebf22356d9004e6b77
[]
no_license
therealcooperpark/Rosalind-Project
af55aadcd9839b75fc487f671bbb199edd3e36f4
b5291e97b3eb3b48b6979d98341fa6dd84440936
refs/heads/master
2022-12-08T04:43:15.414723
2020-08-27T23:10:42
2020-08-27T23:10:42
290,542,264
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
#! /usr/bin/env python3 ''' Calculate all combinations given the sample size and number of items ''' from scipy.special import comb def main(): N = int(input("Enter N:\n")) M = int(input("Enter M:\n")) total_combs = 0 for rng in range(M, N + 1): total_combs += comb(N, rng, exac...
[ "therealcooperpark@gmail.com" ]
therealcooperpark@gmail.com
77c6fe22238d3f0e4658663f756f998f20e9bd7f
8afb5afd38548c631f6f9536846039ef6cb297b9
/_COURSES/beginning-python-3ed/Chapter15/listing15-1.py
d02df92eb18d79c48f0b3c2bce82b4df5ef63834
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
228
py
from urllib.request import urlopen import re p = re.compile('<a href="(/jobs/\\d+)/">(.*?)</a>') text = urlopen("http://python.org/jobs").read().decode() for url, name in p.findall(text): print("{} ({})".format(name, url))
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
622bdf44dac3fc1f32f7e9b161111e0c859cf790
7e9ef90658a02fa8c840fdb51350f95b0695dedb
/data_conversions/raw_for_broken.py
2a2386ff4582d30d1c30d162079a9ae20ac8a30e
[]
no_license
bartekkroczek/FANET_Analysis
2da16c4cbe86dc4ceba30d2a3e36af56ad96d441
fb50aefb5781e804501e80ade46e9cb17256e976
refs/heads/master
2022-05-05T07:11:40.964940
2022-04-24T08:10:51
2022-04-24T08:10:51
123,772,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Dec 20 15:50:41 2017 @author: bkroczek """ import pandas as pd from tqdm import tqdm def RepresentsInt(s): try: int(s) return True except ValueError: return False def RepresentsFloat(s): try: float(s) ...
[ "bkroczek@localhost.localdomain" ]
bkroczek@localhost.localdomain
9c7cfab4afca4c9a6855488b3e76722f0015b0c3
342b29790c7e2910e74bc4be32e55c1de02b9319
/app/core/tests/test_admin.py
2691ac0bfb4ba01d09cb86083011fca847611c08
[]
no_license
yieniggu/demo-isw-django-docker
c6f8233286dfbf952f41e6c01c431f5b5e9cec19
e6fe9556386f5a6db74e8c6b08d86377faae7cce
refs/heads/master
2022-11-09T00:36:53.479639
2020-06-23T21:30:48
2020-06-23T21:30:48
272,803,150
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
from django.test import TestCase, Client from django.contrib.auth import get_user_model from django.urls import reverse class AdminSiteTest(TestCase): def setUp(self): """Configuracion previa a la ejecucion de pruebas""" #Crear cliente self.client = Client() #Crear admin ...
[ "bastianandresxb@gmail.com" ]
bastianandresxb@gmail.com
aef6f8c929de67ad8c8d4fcd75e47e015a721192
a0467b04977f8db115faa50f7cb28c0943ff5616
/wpcolab/mobigame/urls.py
8f9c104b28edf392dbaaf2b2875a7187b0665728
[]
no_license
squirell4/Wits_Praekelt_CoLab
013b82d66f1b7becf26bcf7027e1d26c7f16fe26
96cceb9cb0fe7ff5a6142010f607857f8156d2c9
refs/heads/master
2021-01-23T15:56:53.631776
2011-11-22T14:07:19
2011-11-22T14:07:19
2,761,338
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
from mobigame import views from django.conf.urls.defaults import patterns, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^$', views.index, name='index'), url(r'^login/', views.login, name='login'), url(r'^signout/', views.signout, name='signout'), url(r'^s...
[ "hodgestar@gmail.com" ]
hodgestar@gmail.com
d62497d39ddd24227f946321f0e613b8b8239ff0
b57768feba5db90ee1ac65244fbfd351cdf2aca4
/Python/TwitterStream2.py
2eb74a724b53efcfaed9c52d6c9109a17fe09147
[]
no_license
abhiking-agrawal/StreamTwitterDataNodeJS
2c895587b46638d1ad9e8764552b6982bd66bbd0
637e78930d391fb22433f623acf4ff0d15111755
refs/heads/master
2020-03-20T22:23:19.630564
2018-06-26T20:40:42
2018-06-26T20:40:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
#Import the necessary methods from tweepy library from tweepy.streaming import StreamListener from tweepy import OAuthHandler from tweepy import Stream #Variables that contains the user credentials to access Twitter API consumer_key = 'HTNc6rm4tX63VYQKWQCV40TFm' consumer_secret = 'bAWS75kNkDMKrWvGvzoGVYrRdjrtrZk7BaPw...
[ "s530670@nwmissouri.edu" ]
s530670@nwmissouri.edu
9cde266c8bb9da6c3adb3d65bb550bd61cef22f5
52b5773617a1b972a905de4d692540d26ff74926
/.history/equiLeader_20200827165802.py
f08526aa75586e4953dfdca2be33a359af6602d4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
def equi(A): # return the number of equal leaders that both occur in the sequences # first find the equileader # an equileader is an index such that when two sequences are formed # the two sequences have the same leader # 0,1,2,3,4,5 store = {} leader = -1 count = 0 for i in A: ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
7e2e5990f25827e91fe635536bdbc26870b2c772
8a15ab8556221f998430219dcae25fc08b6d0eac
/src/aster/exporter/run.py
4b3ad95d46916958b8e3f6ac169ac7ec390603c5
[]
no_license
chris010970/geology
47d32984e8daca0eb3740f41a141599674e4ae97
25cec20d7d73a18f3ae1e0edfb0bae9a3cfbde87
refs/heads/master
2020-12-26T18:20:58.989757
2020-02-10T08:49:16
2020-02-10T08:49:16
237,592,768
4
1
null
null
null
null
UTF-8
Python
false
false
1,205
py
import os import sys import argparse from exporter import Exporter sys.path.append( os.path.join( os.path.dirname( sys.path[0]), '../utility' ) ) from fs import getFileList def getSceneList(args): """ Placeholder """ # assume single scene - else collect list scenes = [ args.scene ] if args...
[ "c.r.williams0109@gmail.com" ]
c.r.williams0109@gmail.com
a0be6281101cdbdb3abe6903e3a925c9759910ed
787eee171019dfac7a4866c3f6461207a11de174
/EthanAndElisaRampDataAnalysis.py
90c3d93b824169c72144c87f7ba4c896a375d8de
[]
no_license
davidzane/FindDaBadPixels
84f7081b7eb58d9633d547f9af83720bdd93aaca
e5de02bc78cf6ade5d336cc4cb1a2d839b9b5783
refs/heads/master
2020-06-18T10:03:35.067281
2019-07-19T23:11:58
2019-07-19T23:11:58
196,264,405
0
0
null
null
null
null
UTF-8
Python
false
false
4,761
py
#Built using Andres Code. For getting coefficients for curve fitting. And comparing them for data analysis #%% import stuff import numpy as np import numpy.ma as ma import sys sys.path.append("/Users/mrpoopoopants/desktop/cryonirsp/cnpipeline-summer/cnpipeline/lib") import EthansToolbox as ct from EthansCnDataCube imp...
[ "noreply@github.com" ]
davidzane.noreply@github.com
e91ed5ee381345d4cb599c6557e1542b7a721666
30d1c962ae880fa962ce0a730926d7c71efd5783
/compare/models.py
c7990718286dd034f7533772023d2cb7e7191c8d
[]
no_license
fortable1999/covermash
184c642b4d6598fbdbacfee761f5c6f5d4612398
7059092182c2afd92c86a8feca6cc16bee3fb3c6
refs/heads/master
2021-01-20T10:06:31.134610
2014-08-28T16:21:13
2014-08-28T16:21:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
""" compare admin page generated by template template author: Meng Zhao fortable1999@gmail.com """ from django.db import models from django.core.urlresolvers import reverse_lazy as reverse from django.utils.translation import ugettext as _ class Compare(models.Model): """ compare template model """ ...
[ "fortable1999@gmail.com" ]
fortable1999@gmail.com
84fd4c105e8f3c76cc7e7faf646ced0c9eee9175
0c4db2e5ef3c1632585dcc8848aba036589fd038
/biblioteca/apps/libro/migrations/0001_initial.py
cfbb5fce35d20ddb0148a9f74466783fc0f7ed83
[]
no_license
jonwilm/django2.0
1c358e8b7eb65f3da55702e29ec01ca8e2b69400
5bb2c8268ec405da5c2bd97e42379c4f9360b0cc
refs/heads/master
2023-04-28T10:48:07.218411
2019-11-28T21:04:40
2019-11-28T21:04:40
223,832,456
0
0
null
2023-04-21T20:41:26
2019-11-25T00:41:06
Python
UTF-8
Python
false
false
635
py
# Generated by Django 2.0.6 on 2019-11-21 03:29 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Autor', fields=[ ('id', models.AutoField(pr...
[ "jparedes84@gmail.com" ]
jparedes84@gmail.com
37808558e8dda82d4d47379d05d2dc1ca3cf04cc
9bd361a1b0f1c067d58c0be57e5f679ccad18e59
/algorithms/226. Invert Binary Tree.py
34645cfeadc0cb05909ee4f5670f95c1e6ffa832
[]
no_license
yyassif/codinginterviewquestions
1c672dee69df5e4fa31195cede31a37ce0e46430
870215d4b4ed73426eedefd7d2d08e0f540dc426
refs/heads/master
2022-08-13T19:22:55.730273
2020-05-18T21:19:42
2020-05-18T21:19:42
265,077,410
1
1
null
null
null
null
UTF-8
Python
false
false
1,193
py
#https://leetcode.com/problems/invert-binary-tree/discuss/360867/Python3-recursively-and-iteratively #Recursively: # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def invertTree(self, ro...
[ "noreply@github.com" ]
yyassif.noreply@github.com
31f5579b5a676a2c1bf975a6aa551896448d172b
3b7cbaad8d6048f35f60c923616b1cfb2462ea33
/Python/convert_gatk.py
b6dd452b95a82ababc971642eff1e058093a1a56
[]
no_license
tianxiahuihui/bioinformatics
14192499825e9dfeaec65cc7273c02239cc7de0c
28f263dcdcdc32b214289b73ffdd8b8acf1e4432
refs/heads/master
2020-05-21T19:55:31.348679
2020-04-08T09:03:54
2020-04-08T09:03:54
64,446,379
0
0
null
2019-09-07T08:36:06
2016-07-29T03:11:08
Python
UTF-8
Python
false
false
4,196
py
import sys, getopt, os def parse_ped_file(ped_file): ped_reader = open(ped_file) lines = ped_reader.readlines() trio = ['', '', ''] for line in lines: record = line.split() if(record[2] == '0' and record[3] == '0' and record[4] == '1'): trio[0] = record[1] if(record...
[ "noreply@github.com" ]
tianxiahuihui.noreply@github.com
f2111da069473d4ca652cbc2deee1b5dbbd69258
69f239a861d3b9e196161df01279c07a64ee84f6
/Kyi-Win-individual-project/Codes/final_cuda_Adagrad.py
1d44e77ecca69b36e9d2dcfd13479fa5e1dde130
[ "MIT" ]
permissive
mfarmer11/Final-Project-Group9
d168e3e52ff0dabe147f9e6182faefb362c5f5b6
dd1336157e69dd237d557e12d157cd152331f99d
refs/heads/master
2020-04-09T03:42:15.433953
2018-12-05T00:18:26
2018-12-05T00:18:26
159,993,443
0
0
null
null
null
null
UTF-8
Python
false
false
9,750
py
# coding: utf-8 import torchvision.transforms as tt from torchvision.datasets import ImageFolder from torch.utils.data import DataLoader import time import torch.nn as nn import torch import torchvision import torch.nn as nn from torch.autograd import Variable import torchvision.transforms as transforms from torchvisi...
[ "manoahf@gwu.edu" ]
manoahf@gwu.edu
0209d99d4efce92a99a77e26d7e5efd07b850cd9
00271b9a8cb7531d81427bcdda386b71e836a804
/GUI/APE_GUI_Node.py
93abb36808248aaffdb3861b5144f8cefc3df345
[]
no_license
machinekoder/APE
c2d99dad90943cbf8be4a7440262b5070765fd11
23084d53ac3e34826c8ae5044502375aca45b93f
refs/heads/master
2020-06-14T15:08:51.935881
2019-07-02T13:29:48
2019-07-02T13:29:48
195,036,751
0
0
null
2019-07-03T11:01:49
2019-07-03T11:01:49
null
UTF-8
Python
false
false
1,661
py
from zmqNode import zmqNode import threading import APE from multiprocessing import Process class APE_GUI_Node(): def __init__(self): self.node = zmqNode() self.node.target = self def startNode(self, address): self.node.logfile = 'GUINode.txt' self.node.connect('APE', address) ...
[ "43216607+jhardin4@users.noreply.github.com" ]
43216607+jhardin4@users.noreply.github.com
02cefe093965de7477f472d83242cdc96428f342
27666aa90c6b735c1142a18147f700494c454649
/personal_finance/hooks.py
717082a8fde9c7705ddcfb61cfb2f0b908a9903d
[ "MIT" ]
permissive
hpema/personal_finance
f4c739665b1f000cea8d9347df6269e230490106
33b2e329cadcf8e34bc0206090d94887d572bcf3
refs/heads/master
2020-12-24T18:50:51.705934
2016-05-05T18:31:47
2016-05-05T18:31:47
58,152,071
0
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals app_name = "personal_finance" app_title = "Personal Finance" app_publisher = "Hemant Pema" app_description = "Application to manage your personal finance" app_icon = "octicon octicon-file-directory" app_color = "grey" app_email = "hemant@pema.co.za" app_v...
[ "hemant@pema.co.za" ]
hemant@pema.co.za
0f138a3cbe085ec7985adaa99bf4cc6bb5ae4c96
ef7d8cb635d346a3f13c69b65915f318fab2a5b5
/pamap2/sn/sn_conv_oe_n.py
55057a4ac829b837b6583f92a5d4959937af107b
[]
no_license
anjanaw/Deep-Metric-Learning-for-HAR
f7dc1cb6305238dc2252f0349060f164a57f9cfd
54822089c6938cc4c44a2c6bee97ba48ee3bf7ea
refs/heads/master
2023-02-15T17:20:54.927945
2021-01-15T12:08:37
2021-01-15T12:08:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,114
py
import numpy as np import random import heapq from sklearn.metrics.pairwise import cosine_similarity from keras.models import Model from keras.layers import Dense, Input, Lambda, Conv1D, MaxPooling1D, Flatten from keras.layers.normalization import BatchNormalization from keras import backend as K import read import ten...
[ "shyameniw@gmail.com" ]
shyameniw@gmail.com
d52b59f1f40718023ecf4eeaa487a668f48e8c6a
3be1ddf42236a1b33ec74ed3bfdd0f8918513733
/coding-challenges/week07/day01/Q3.Twice.py
2a78bdb85cd56fb61bca2832de08a7d3ae9cbc3a
[]
no_license
aabhishek-chaurasia-au17/MyCoding_Challenge
84ef926b550b3f511f1c642fe35f4303c8abb949
419d02ad8740a2c00403fd30c661074266d2ba8f
refs/heads/main
2023-08-29T09:52:36.796504
2021-11-07T07:32:09
2021-11-07T07:32:09
359,842,173
1
0
null
null
null
null
UTF-8
Python
false
false
570
py
""" Given an integer array , every element is repeated TWICE , except one element , Find that element ? Input : - [1 , 2 , 1, 2 ,4 , 3 ,4 ,3] Output: - 3 Explanation : HINT : - Use XOR operator ; """ def findSingle( ar, n): res = ar[0] # Do XOR of all elements and return for i in range(1,n): ...
[ "abhishekc838@gmail.com" ]
abhishekc838@gmail.com
f866b0fc0f1edf6197ab857fd8bb5ae40d07d0bb
cf4bbf762ffca3bf9632b90ad367bd8cad867b3a
/Machine Learning A-Z/Part 3 - Classification/Section 16 - Support Vector Machine (SVM)/SVM.py
6861fbe49f79389f0a6b4b72fdb50373db435fe1
[]
no_license
schnebly/Machine-Learning
b57601cb4e361a6191466a6a522610968c02dfc8
c3f6a179aa6182a49540be359df58d3b3a7148bd
refs/heads/master
2021-05-15T07:55:42.435282
2018-03-01T20:54:10
2018-03-01T20:54:10
108,628,058
0
0
null
null
null
null
UTF-8
Python
false
false
2,651
py
#James Schnebly # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Social_Network_Ads.csv') X = dataset.iloc[:, [2, 3]].values y = dataset.iloc[:, 4].values # Splitting the dataset into the Training set and Test ...
[ "noreply@github.com" ]
schnebly.noreply@github.com
316052d06f6e1b68b3bbb4333879346f07326e91
f12f9c1455b1134bfe1b444dfb9bab40849ab433
/opencv/pycv_tutorial/drawing.py
0141cd424ab4d70847e3996e03abeed3c890f61f
[ "MIT" ]
permissive
whaison/PyIntroduction
b4444d9c6e0fa6d0afd1abed8e259ea60e47a3e2
433142b25de36552867b209649b17113ca2e11c6
refs/heads/master
2021-01-11T15:56:48.331293
2016-11-15T07:28:19
2016-11-15T07:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,500
py
# -*- coding: utf-8 -*- ## @package pycv_tutorial.drawing # # 入出力とGUI: OpenCVの描画 # @author tody # @date 2016/06/26 import cv2 import numpy as np # 描画用の空画像の作成 def emptyImage(): img = np.zeros((512, 512, 3), np.uint8) return img # 直線の描画 def drawLine(img, pt1, pt2, color, width): print(dir(c...
[ "tody411@gmail.com" ]
tody411@gmail.com
20a736f400abdec53fc7cbf139a8ce66474b7350
4feb1e08190ec89c85e4bdc2f185743508432c77
/Files/PyQt Widgets/07_Checkbox.py
fb02ab7954a6f5d8fc03cb2f6addaa61e4b0dd53
[]
no_license
franksalas/pyqtDev
cb1ddb358b1f45220855b4495427f6183b373348
017b86933a6a82c6a666bb74849c1e2713509959
refs/heads/master
2021-01-10T11:44:37.742673
2016-04-05T21:42:15
2016-04-05T21:42:15
55,462,510
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
from PyQt4.QtCore import * from PyQt4.QtGui import * import sys app = QApplication(sys.argv) window = QWidget() window.setWindowTitle('Hello PyQT') window.setWindowIcon(QIcon('pyqt.png')) window.setGeometry(50,50,600,400) checkbox = QCheckBox(window, text='PyQt') checkbox.move(200,200) checkbox.setChecked(True) # ...
[ "Frank.salas@gmail.com" ]
Frank.salas@gmail.com
ed58daa6f322d35c56fc1a469e630dd245d478a2
a46ce15cb0b86ee9d04fdc89848cc25171fdbf57
/src/class/predict_datas.py
962efce84695cdb7d271aa10f5dc9b6ceeba10e9
[]
no_license
Luning644182206/trec
d429a0ce1c27a6d56d8a1994ecb9e9f522f2eb16
618edd0451f789c51e4383b403f4e767e2f3797d
refs/heads/master
2020-03-22T10:41:21.492132
2018-09-05T02:56:25
2018-09-05T02:56:25
139,920,244
0
1
null
null
null
null
UTF-8
Python
false
false
8,891
py
# coding=utf8 # Created on Aug 16, 2018 # @author: luning644182206@emails.bjut.edu.cn import csv import os import re from nltk.corpus import stopwords from sklearn.externals import joblib import numpy as np from sklearn import metrics label = { 'GoodsServices': 'Request-GoodsServices', 'SearchAndRescue': 'Req...
[ "luning04@baidu.com" ]
luning04@baidu.com
8e0cd76c2ddd913712e3ba1fe50c64da72ba6d4f
1a911748c1f320340dcd32fe31950dbd82abddb3
/utils/vision_utils.py
cb9e13d2ea35dacdc9c5df14427ab13cfe121444
[]
no_license
icebox365/RE-OCR
8157618dd387fe21ae73483711fb705e8355c067
30707591d18671c006b6b887cc55fb3cd0e2fc11
refs/heads/master
2021-04-09T11:10:08.682805
2018-03-16T08:40:52
2018-03-16T08:40:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,513
py
import base64 import json import math import cv2 import numpy as np import requests from PIL import Image, ExifTags from logger import * def load_image(image_path): try: image = Image.open(image_path) orientation = None for orientation in ExifTags.TAGS.keys(): if ExifTags.TAGS[...
[ "ice.box@email.com" ]
ice.box@email.com
fd1b1cf74dbd869f6021d7d713f9dc3417f28f25
f3c7e2c147447ce62e5583765d6881c3d64d56e1
/jingdong/jingdong/spiders/jdspider.py
97500ebef1219169ecde54983479b8dcffd5b967
[]
no_license
YNZ-ying/scrapyjingdong
3d4bb789724c4a87782821779cfed4330a17dc9c
0f22a4fe9b701661c29a44b97a37329a7d7bb4b0
refs/heads/master
2020-04-29T20:56:00.461158
2019-03-19T01:23:40
2019-03-19T01:23:40
176,397,560
1
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
# -*- coding: utf-8 -*- import scrapy import re import requests import json from jingdong.items import JingdongItem class JdspiderSpider(scrapy.Spider): name = 'jdspider' allowed_domains = ['jd.com'] start_urls = ['https://search.jd.com/Search?keyword=python'] def start_requests(self):#重写start_reqoues...
[ "44636518+YNZ-ying@users.noreply.github.com" ]
44636518+YNZ-ying@users.noreply.github.com
2df4bb235e74bddda5a598651e549633c9efd2e1
cb4aefac26b2a0e9bc755057073e8964c1cda094
/AdaBoost_Project2/AdaBoost.py
ace404c51efbb3ee0e3ac0b003db16955608d5ab
[]
no_license
xj260098061/Machine-Learning-in-Action-Python3
7644666aec766a1dd6ccb96f49a99d819950d129
17a2613b63d5430f55e0c62f1eca86310485da22
refs/heads/master
2021-08-09T01:18:22.479560
2020-12-08T13:53:48
2020-12-08T13:53:48
229,924,707
0
0
null
2019-12-24T10:52:18
2019-12-24T10:52:17
null
UTF-8
Python
false
false
7,105
py
# -*- coding: utf-8 -*- """ Created on Thu Jul 26 20:14:03 2018 @author: wzy """ import numpy as np import matplotlib.pyplot as plt """ 函数说明:加载文件 Parameters: fileName - 文件名 Returns: dataMat - 数据矩阵 labelMat - 数据标签 Modify: 2018-07-26 """ def loadDataSet(fileName): # 特征个...
[ "noreply@github.com" ]
xj260098061.noreply@github.com
f2b463399f3b009736d6d97a1624e506b6eb9cc2
29db15f8fa63ba3be683f5728a03c0574c87e1ab
/examples/benchmark.py
9be5f75366c1e9c9a8e3946bbe8d4eb1f5871ceb
[ "Apache-2.0" ]
permissive
gc-ss/python-lsm
aaf2f0f97bc2bbce82488eb5a904fe81008d18d8
e44ede1fcf4677085a9be374534c09f936496ba5
refs/heads/master
2023-06-13T09:07:46.533135
2021-07-12T14:25:59
2021-07-12T14:25:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,430
py
import json import os import struct import tempfile from argparse import ArgumentParser, Action from glob import glob from multiprocessing import cpu_count from random import shuffle from threading import local, RLock from typing import Union from pathlib import Path import lsm from multiprocessing.pool import ThreadP...
[ "me@mosquito.su" ]
me@mosquito.su
f7ec5455f6feef4864826a255008ce732cbf0b1e
c0770e3350c79c63b56a8038a1a22078c53e46de
/scraper/views.py
fa63cd41198adba0a83797f510cc82f4d176f9f0
[]
no_license
iamksm/mdundoscraper
2c6f43d43326452637a8724eb5d51ff587ece3d5
fcba6a77bc36ed62bb7e1ddad6ae94064f27a913
refs/heads/main
2023-05-28T13:57:35.185158
2021-06-07T08:29:12
2021-06-07T08:29:12
373,785,249
0
1
null
null
null
null
UTF-8
Python
false
false
2,940
py
from django.http import HttpResponse, JsonResponse from django.shortcuts import render from .forms import ArtistForm, ArtistPrefix from .scraper import find_songs, list_artists def indexDF(request): # indexDF - Index Django Form """ The Main Django Form Page Creates 2 Forms using Django Forms Form g...
[ "kossam.ouma@healthcloud.co.ke" ]
kossam.ouma@healthcloud.co.ke
9edd0a4b85f54aeb166db6a8ce12ab39e5b12ff1
14ce83026e0b6342b8efc3a443f097acb40f737f
/treinamento_yale.py
f419b92b8f2d59d0252d4d166301b19c0e62a9bb
[]
no_license
Theus-Simons/Projeto-Integrador
7f10770f93e487d8c6869ca250f47fa12395ada1
69d006e0d2bf2d85f23ef20b97ed99027c7dff95
refs/heads/master
2021-05-19T14:15:16.301062
2020-04-02T18:44:49
2020-04-02T18:44:49
251,752,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
import cv2 import os import numpy as np from PIL import Image eigenface = cv2.face.EigenFaceRecognizer_create(40, 8000) fisherface = cv2.face.FisherFaceRecognizer_create(3, 2000) lbph = cv2.face.LBPHFaceRecognizer_create(2, 2, 7, 7, 50) def getImagemComId(): caminhos = [os.path.join('yalefaces/treinamento', f) fo...
[ "nino.schmidt10@gmail.com" ]
nino.schmidt10@gmail.com
89691ae5e0b50fad2f7b8edcd5d74695601db8de
8954988f7c9aa9dd9ae984b5f214d45d981b612b
/_temp/GED.py
9ef5151453404b9ed3e2c1e17842c6b44f53e9e5
[]
no_license
MoamerEncsConcordiaCa/GED_python
5494c7f0523d938b9832ee155d71c0dca5d3e1f6
7ad9f96e4d7b2ca6b1b91ec2386b4fa93ceacd67
refs/heads/master
2021-01-10T22:11:57.151730
2016-11-19T06:48:14
2016-11-19T06:48:14
42,900,832
0
0
null
null
null
null
UTF-8
Python
false
false
12,111
py
''' Created on Apr 2, 2014 @author: mo_amer ''' import networkx as nx #from costCommon import * from costWordGraphs import * def mapNodeToNode(Node1,Node2): return [Node1, Node2] def addToMapS(mapNew, maps): allMaps = [] allMaps.extend(maps) allMaps.append(mapNew) return allMa...
[ "mo_amer@encs.concordia.ca" ]
mo_amer@encs.concordia.ca
6ecc78f6d086a53dde0ae983405f8ee8e2f545c7
2aaf0ae5d269ddbfcafd5a97eb69b3f8e6f33848
/pandas_test_mines.py
9fc3543ec14b128b28448f5511968fc853f48230
[]
no_license
vshumanov/random
e992d60b05d857565db8502271082dece7c61e0b
69c5133467f7015863a653342308c034bfe628ed
refs/heads/master
2021-10-25T09:39:56.398000
2019-04-03T14:58:29
2019-04-03T14:58:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# -*- coding: utf-8 -*- file = 'datasets/rocks_vs_mines.csv' import pandas as pd data = pd.read_csv(file,header=None,prefix='V') #print data.head() #print data.tail() print 'Data Summary' print '-'*15 #print data.describe() dataRow2= data.iloc[1,0:60] print dataRow2.mean() mean = 0.0 nEl = len(dataRow2) for i in...
[ "vl.shumanov@gmail.com" ]
vl.shumanov@gmail.com
b41c95a9b28983c9ed8e4ba2abdaeea6f64bebb8
16ec9ff55483dfd3b01e39d24c51ffd4f7eb76ed
/drl/openai/cartpole.py
a6c15792d7d48ffc5d09c7ce5b4577c5b1f889e6
[]
no_license
msiegenthaler/deep-reinforced-learning-course
e3d7c3bf35bee279d4046470c6c6e0fb3da45dc5
ca185748151d4836d328998a92b08138527ee600
refs/heads/master
2020-04-21T13:03:27.305322
2019-03-19T18:28:19
2019-03-19T18:28:19
169,585,640
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
from torch import Tensor from drl.deepq.game import Action from drl.openai.game_openai import OpenAIFrameGame import torchvision.transforms as T class CartPoleVisual(OpenAIFrameGame): actions = [Action('left', 0, 0), Action('right', 1, 1)] def __init__(self, x: int, y: int, t: int): self.transf...
[ "mario.siegenthaler@linkyard.ch" ]
mario.siegenthaler@linkyard.ch
41c637bc21bc87c0fcd0cdd0a30c6b647570568f
5757f1767ba1c7bface68914a45992c77cca4e85
/decodeqr.py
12f3d7cde2728946101fb598c78a1971c11b90d0
[]
no_license
MaybeSHAH/store-image-flaskapp
fa88e67131ca27b6426b9b436e46cafe57d2485a
66ac8d15080a0943fb28df9c619163e27bafdae5
refs/heads/master
2023-03-11T07:12:54.681416
2021-02-24T14:54:15
2021-02-24T14:54:15
343,741,646
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
import cv2 # initalize the cam cap = cv2.VideoCapture(0) # initialize the cv2 QRCode detector detector = cv2.QRCodeDetector() while True: _, img = cap.read() # detect and decode data, bbox, _ = detector.detectAndDecode(img) # check if there is a QRCode in the image if bbox is not None: # dis...
[ "liyakatshaikh07@gmail.com" ]
liyakatshaikh07@gmail.com
8730fe40d6afee5489efb681abbd8a1558376fde
fa9bae32c203323dfb345d9a415d4eaecb27a931
/300. Longest Increasing Subsequence.py
b82de73f335d402df481d244806faaeea8693e58
[]
no_license
IUIUN/The-Best-Time-Is-Now
48a0c2e9d449aa2f4b6e565868a227b6d555bf29
fab660f98bd36715d1ee613c4de5c7fd2b69369e
refs/heads/master
2020-09-14T12:06:24.074973
2020-02-15T06:55:08
2020-02-15T06:55:08
223,123,743
3
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
class Solution: def lengthOfLIS(self, nums: List[int]) -> int: if not nums: return 0 dp = [1 for _ in range(len(nums))] for i in range(len(nums)): for j in range(i): if nums[i] > nums[j] and dp[i] < dp[j] + 1: dp[i] = dp[j] + 1 ...
[ "liuyijun0621@hotmail.com" ]
liuyijun0621@hotmail.com
4d52c8a3c4fec04aa406993409e869ae52c90037
1a95919667484ee14dd6e10a066d3f692a3e3e41
/src/webchart/test/migrations/0001_initial.py
31a2da26d4afcf527e157fbe7a4b7728ad6374f7
[]
no_license
Dmaner/HKDATA
0f020592973519158cec4563a8c4a731c10df191
6d31c092a5f7c10cb8ac6f57530c8039076643bf
refs/heads/master
2020-08-27T09:46:00.358207
2019-11-26T14:56:01
2019-11-26T14:56:01
217,322,026
0
0
null
null
null
null
UTF-8
Python
false
false
539
py
# Generated by Django 2.0.4 on 2019-11-07 09:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='WORD', fields=[ ('id', models.AutoField(aut...
[ "2663515256@qq.com" ]
2663515256@qq.com
515a1a3aa905f76ef6b4c1b87ae05f03d8e35b6d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02803/s686310385.py
3a37e7ca42661e163c159312bf8de6178b6bd0a3
[]
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
1,011
py
import sys h, w = map(int, input().split()) C = [list(input()) for i in range(h)] ans = 0 for i in range(h): for j in range(w): visited = [[0 for i in range(w)] for i in range(h)] data = [] if C[i][j] == '.': data.append([i, j]) visited[i][j] = 1 ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c19f30d455d48c06b2f777ebb53f33baa357faf8
1ee8f4707c9025ffe93152e91c2486cf1b332dd0
/Code/site-packages/docplex/mp/sttck.py
133637369b745831d2d7fd11d858a9d626131b68
[]
no_license
qfizik/BEP
7f05795dd7f7a4cf796aae2808eedbc426472eb9
f2848e3121e976540fb10171fdfbc6670dd28459
refs/heads/master
2023-02-02T03:54:55.452530
2020-12-18T16:02:46
2020-12-18T16:02:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
# -------------------------------------------------------------------------- # Source file provided under Apache License, Version 2.0, January 2004, # http://www.apache.org/licenses/ # (c) Copyright IBM Corp. 2015, 2016 # -------------------------------------------------------------------------- # gendoc: ignore...
[ "martijnswenne@hotmail.com" ]
martijnswenne@hotmail.com
f9ecbc5c0152d0cce3a931c93ed51505e3581f35
b7f3edb5b7c62174bed808079c3b21fb9ea51d52
/third_party/blink/tools/blinkpy/bindings/print_idl_diff.py
fd3cb868b5ac75e97baa0645c5fbfdcbc196a0d2
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause" ]
permissive
otcshare/chromium-src
26a7372773b53b236784c51677c566dc0ad839e4
64bee65c921db7e78e25d08f1e98da2668b57be5
refs/heads/webml
2023-03-21T03:20:15.377034
2020-11-16T01:40:14
2020-11-16T01:40:14
209,262,645
18
21
BSD-3-Clause
2023-03-23T06:20:07
2019-09-18T08:52:07
null
UTF-8
Python
false
false
14,275
py
#!/usr/bin/env python # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Print a diff generated by generate_idl_diff.py. Before printing, sort the diff in the alphabetical order or the order of diffing tags...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
b92d585af88133a85043e6133717faed799afdb6
ac282aae4170238122ac8df8dce7a00b77153fe6
/sdk/python/pulumi_kubernetes/coordination/v1beta1/outputs.py
2462eb82dc850a328a571b9f112a8a21e6b6b928
[ "Apache-2.0" ]
permissive
vizv/pulumi-kubernetes
1b85a90477c2f7b0c0309b372239ca074fab65b6
80d6793e07e833b7f2b6b678a2d5c447caa99fcc
refs/heads/master
2023-07-12T03:00:11.964743
2021-08-19T23:45:40
2021-08-19T23:45:40
398,131,961
0
0
Apache-2.0
2021-08-20T02:28:07
2021-08-20T02:28:06
null
UTF-8
Python
false
false
8,072
py
# coding=utf-8 # *** WARNING: this file was generated by pulumigen. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities from . import outp...
[ "noreply@github.com" ]
vizv.noreply@github.com
3a71a6954b18540b5826f16931684603f424880a
37e552e107dcd193b278eea58f51107ab75b2232
/Lesson1/test1.py
516a2ff5a7d5954e84d161b46790ea5587d48bf1
[]
no_license
IrenSpecter/LearnProject
6aded99e3ed1b617045f558b193a032cdd4fda7a
8308b5b393c511f368592d311d8dad50ac57cbf3
refs/heads/master
2020-03-21T09:24:26.314197
2018-07-12T20:53:56
2018-07-12T20:53:56
138,398,275
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
user={ 'Andrew':{'city':'Москва','temp':'25','wind':'восточный'}, 'Max':{'city':'Spb','temp':'20','wind':'северный'}, 'Alex':{'city':'Amsterdam','temp':'22','wind':'северо-западный'} } name=input('назовите ваше имя: ') # if name=='Alex': # print(user['Alex']) # elif name=='Max': # print(user['Max']) # elif name=='An...
[ "dubrovina.iri@gmail.com" ]
dubrovina.iri@gmail.com
c33cdfd37fc9fdf05fe22f55f1193cc6370acf98
25f31909afa432e49b0a77fc469cd9d6e6d72d70
/lab assingnments/ex1.py
2aa0a52c9fcdfd0104d3512bac7ca89a72d4604d
[]
no_license
VenkySVR/Python-DataStructures
7d13e044b705fd232db9f0997981ee11f9fb88ad
bac0e1697f4da00b93c9fc879f027ddb7371e252
refs/heads/master
2021-04-19T19:52:05.154734
2020-05-09T10:50:57
2020-05-09T10:50:57
249,631,604
1
0
null
2020-05-06T17:14:54
2020-03-24T06:37:05
Python
UTF-8
Python
false
false
1,489
py
#problem1 #create a variable savings. this is a comment line in python mySavings=550 print(mySavings) #print out savings #problem2 #Create a variable savings mySavings=550 #Create a variable balance Balance=1.1 #Calculate result result=100*1.1**7 #Print out result print(result) #problem3 #Create a variable others o...
[ "venky.s.vr13@gmail.com" ]
venky.s.vr13@gmail.com
5441774bb7af2ab794278518d094012e4d0d7bf2
db28c236fe2d68a0b2d44663f11b56bb3ac963c0
/tests/attr/test_shapley.py
4bf8248caa5eb9c463f07593c99a29ba024fcd90
[ "BSD-3-Clause" ]
permissive
kolvia/captum
30e26b959a04a8e4b790df0ef228d49606c52c8a
4b6280296dbc740df09afdc592b74e27e0b7ce88
refs/heads/master
2020-12-27T22:20:23.103700
2020-02-18T19:46:25
2020-02-18T19:46:25
238,082,789
0
0
BSD-3-Clause
2020-02-03T23:22:42
2020-02-03T23:22:41
null
UTF-8
Python
false
false
10,349
py
#!/usr/bin/env python3 from typing import Any, Callable, Optional, Tuple, Union import unittest import torch from torch import Tensor from captum.attr._core.shapley_value import ShapleyValueSampling from captum.attr._utils.typing import TensorOrTupleOfTensors from .helpers.basic_models import ( BasicModel_Mult...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
4cb63b631290bc2f13d74431375d4cdb27a24618
eb64b799ff1d7ef3a244bf8e6f9f4e9118d5cfcd
/tests/components/mqtt/test_device_trigger.py
972b0678ed276b84265f91a5dcfc00732b056518
[ "Apache-2.0" ]
permissive
JeffLIrion/home-assistant
53966b81b5d5816679f12fc761f79e8777c738d6
8f4ec89be6c2505d8a59eee44de335abe308ac9f
refs/heads/dev
2023-08-22T09:42:02.399277
2022-02-16T01:26:13
2022-02-16T01:26:13
136,679,169
5
2
Apache-2.0
2023-09-13T06:59:25
2018-06-09T00:58:35
Python
UTF-8
Python
false
false
43,657
py
"""The tests for MQTT device triggers.""" import json import pytest import homeassistant.components.automation as automation from homeassistant.components.device_automation import DeviceAutomationType from homeassistant.components.mqtt import _LOGGER, DOMAIN, debug_info from homeassistant.helpers import device_regist...
[ "noreply@github.com" ]
JeffLIrion.noreply@github.com
cea6e3c324c54e393cc9a78f37e3a1ee0d0f0722
1dfc6282f1f29e9704345d7eeed05458a3e44bdc
/com/muhaitian/chapter_eleven/ElevenInstance.py
3bd1b46d801829f69dcebdcfc11baa3e552badc9
[]
no_license
MuhaitianJose/PythonBasicTutorial
1b6713065c08782b6cc8ae90f8a11a04f98fbcde
479c9cf87b363b2bbeecc88e477764bdfd974b6c
refs/heads/master
2021-08-24T06:06:55.960579
2017-12-08T10:07:13
2017-12-08T10:07:13
112,460,289
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
value_a = set([1, 2, 3, 4]) value_b = set([2, 3, 4, 5])
[ "muhaitian_Jose@126.com" ]
muhaitian_Jose@126.com
da12eac167a9b7c626814f70ce49e2c51647a476
25e695fdd953fd955664ce618b75f263cde1e22f
/blog/views.py
d760091b42b1453235ecff343a9f8c0a6a699bcd
[]
no_license
AsmenKoc/my-first-blog
d587d00832ae90d46dbd76e87a67b4e57f7ecf01
0fdb9793e119940c88a8c32ea2eda701eb218074
refs/heads/master
2021-08-24T07:24:24.993300
2017-12-08T16:16:19
2017-12-08T16:16:19
113,586,781
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
from django.shortcuts import render def post_list(request): return render(request, 'blog/post_list.html') # Create your views here.
[ "asmen.koc@siroop.ch" ]
asmen.koc@siroop.ch
2ee2f919c8e14ff226d2352904de3c165f600a07
ec1051c870297ec7123578093d34f3b3508949b6
/examples/scripts/ct_astra_3d_tv_admm.py
c37647d32e006cf4247a549ae6a8d329b36a704b
[ "BSD-3-Clause" ]
permissive
lanl/scico
920af63872fe99cf27f76c3914ad80b63d27d915
6fe8536343d63024a27275c7d8cfd39ecb492ced
refs/heads/main
2023-08-08T03:18:37.450592
2023-08-04T01:45:55
2023-08-04T01:45:55
408,799,370
74
17
BSD-3-Clause
2023-08-04T01:45:56
2021-09-21T11:50:47
Python
UTF-8
Python
false
false
3,246
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the SCICO package. Details of the copyright # and user license can be found in the 'LICENSE.txt' file distributed # with the package. r""" 3D TV-Regularized Sparse-View CT Reconstruction =============================================== This example d...
[ "noreply@github.com" ]
lanl.noreply@github.com
f5bb2ad42db44259d72eaaff7e472bd1ac6e57f5
59c42110d525ec398dddc2d84fde2b76a777e1b9
/manage.py
ba0d1be589eb2fc9f873a1503c6897a6ec46cf5f
[]
no_license
likun-github/boat-back
a5b65ef022f1b923be1e45e0964f63e13933368d
f8ac2aa12a616ebe0a30bf050a96903a9c826ec5
refs/heads/master
2020-05-01T16:26:19.858300
2019-04-05T05:44:52
2019-04-05T05:44:52
177,571,886
2
0
null
null
null
null
UTF-8
Python
false
false
538
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "weixin.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are y...
[ "1397608894@qq.com" ]
1397608894@qq.com
90a5fb3b23d10eab0070b43d5fe84a11b02fbc56
ac042704660f07263a9b7918c9d19e8027e2c01b
/qn 56.py
14480e85e7a17ca6896cc345322b794f040f1065
[]
no_license
Prashant414/python
23387f2d205ceb36f141e4b4529ff9c3e80d2679
f5ff2b280b4bf29df2723b9d1d16690e65aaf62f
refs/heads/main
2023-03-21T10:23:32.119726
2021-03-09T17:59:45
2021-03-09T17:59:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
# ********** # ********** # ********** # ********** for i in range (4): for j in range (1,11): print("*",end="") print()
[ "prashantshyam09@gmail.com" ]
prashantshyam09@gmail.com
fe8a76e55d0a3954f0764b28af99e19087bbb644
0dac4df338635ce076a9c3868c667892d1e18a33
/storage/utils/random_number.py
3a5017c1f822cd36e95ad914cab40ea32fca0786
[]
no_license
kierodeveloper/registro_kiero
eb47fdd9d06e56fb5bf44e2aeea208456d38fce9
e65a04df99cc46145f9ff66db2d04fa4bfec977e
refs/heads/master
2020-07-27T06:03:11.027740
2019-10-02T14:15:07
2019-10-02T14:15:07
208,894,889
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# the random generation of string id's import random import string from datetime import datetime, timedelta # defining function for random # string id with parameter def ran_gen(size, chars=string.ascii_uppercase + string.digits): generateID = ''.join(random.choice(chars) for x in range(size)) ...
[ "root@ip-172-31-29-247.us-west-2.compute.internal" ]
root@ip-172-31-29-247.us-west-2.compute.internal
87147507c8e1cd5130cc800f955dde6f2ba83b93
5a96a225f2be824b6f4d6c7262d6ef3ca858ed75
/computer_science/data_structures/graph/graph.py
8058fb6c2aac676ab08b994443f0e5ce20d968ee
[ "MIT" ]
permissive
paaqwazi/algorithms
e216901bd1b8291cab147c1345689071dffec52f
cc35be3e626849bb9df379bb844d54745e77fae5
refs/heads/master
2020-12-12T22:09:03.510761
2020-01-13T00:39:55
2020-01-13T00:39:55
234,241,516
1
0
MIT
2020-01-16T05:19:25
2020-01-16T05:19:25
null
UTF-8
Python
false
false
410
py
class Vertex: def __init__(self, key): self.key = key self.connected_to = {} def add_neighbor(self, neighbor, weight): self.connected_to[neighbor] = weight class Graph: def __init__(self): self.vertices_list = {} self.number_of_vertices = 0 def add_vertex(self,...
[ "leandrotk100@gmail.com" ]
leandrotk100@gmail.com
c4797707b058479632ef3c760dbd3484f31d24b1
14d501bec1c03b601855dec5da37d5e68bfe0456
/server.py
9a0168f4162b9a28baae3ed9a0d60d8635957c62
[]
no_license
butlerwilson/python-machine-learning-api-service
3ea2fa25dddd004cd6fc5795eb761b78df4f10a9
7c5a11d4f6fe2e5d2406cf74c6ff891c131ca0e9
refs/heads/master
2022-12-13T03:00:06.168708
2019-12-23T13:26:28
2019-12-23T13:26:28
229,757,544
0
0
null
2022-12-08T03:20:53
2019-12-23T13:25:16
Python
UTF-8
Python
false
false
950
py
from flask import Flask from flask import request from flask import jsonify import joblib import numpy as np MODEL_PATH = "./model/rfc.model" model = joblib.load(MODEL_PATH) app = Flask(__name__) @app.route('/', methods=["POST"]) def predict(): if not request.json or "feature" not in request.json: resp...
[ "youngcy.youngcy@gmail.com" ]
youngcy.youngcy@gmail.com
53d8e4826322099bd5d975c7f752bccd7559efc4
1bdc2b98e4c20a4d6af9171ea718c1a1791183bf
/manage.py
2dab35b65444641238438c27df7b1d5514504b54
[]
no_license
coderfender/Travello
01cb912faf5a3f7318d3be97d78b4be1400dd213
ab58170515d31ebf791d386534c8013e3481f05e
refs/heads/master
2021-01-10T13:09:13.852848
2015-05-26T15:37:19
2015-05-26T15:37:19
36,289,512
1
0
null
null
null
null
UTF-8
Python
false
false
251
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "Travello.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "=" ]
=
c0a8cde7f00cf0185826da2f753d256bf80f6ff6
732947cb3c34f591817b269d1139c647452e3e00
/sched/adaptdl_sched/config.py
0123972cbfe8caaef25bdb94ff4068cf89004799
[ "Apache-2.0" ]
permissive
rohitpandey13/adaptdl
903318196e8c2e4634aabdc7889bcc3f136aeea7
0edd48bb9ed3c67b84f0218cd62f97cf0e7d7e4f
refs/heads/master
2022-12-22T11:02:00.766040
2020-09-18T23:42:42
2020-09-18T23:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,674
py
# Copyright 2020 Petuum, Inc. 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 applicable law or...
[ "qiao@aurick.net" ]
qiao@aurick.net
49d55034755b4bf81a61b7e64c7061aa94808c3d
cf7e21d1ef3a281c77e8b459b9c34d8996574934
/scripts/scenario_2/03-kmeans.py
3611873650d51ea1ca70acd505fd1f8d8e41560f
[ "MIT" ]
permissive
StevenGolovkine/fcubt
f8d056cc621259f41cb9b3b96b099791357b2473
fdf7c7c11c9e94733c50ecb90a641868394fd347
refs/heads/main
2023-07-28T16:17:23.369730
2021-09-12T12:54:27
2021-09-12T12:54:27
304,015,361
2
0
null
null
null
null
UTF-8
Python
false
false
2,930
py
import multiprocessing import numpy as np import pickle import sys import time from FDApy.representation.functional_data import DenseFunctionalData from FDApy.clustering.fcubt import Node, FCUBT from joblib import Parallel, delayed from skfda import FDataGrid from skfda.ml.clustering import KMeans from sklearn.metri...
[ "steven_golovkine@icloud.com" ]
steven_golovkine@icloud.com
3a5f896d5ba0aac048d5ea1e134f177046072d1e
2c74bb301f1ed83b79254944183ac5a18a639fdf
/homeassistant/components/arcam_fmj/device_trigger.py
13f1acc7244dcccb42cae2800e78bda4f5782e16
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
2,641
py
"""Provides device automations for Arcam FMJ Receiver control.""" from __future__ import annotations import voluptuous as vol from homeassistant.components.device_automation import DEVICE_TRIGGER_BASE_SCHEMA from homeassistant.const import ( ATTR_ENTITY_ID, CONF_DEVICE_ID, CONF_DOMAIN, CONF_ENTITY_ID,...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
e0a887f8f0744c208b8845e00093e2284ad4b53f
954de20148e5cc14a79439e532b51d790b4ef15a
/Chapter05/cars.py
d4bd3814fb1dde3955d03f0a6ee8f7019768f02b
[]
no_license
d1rtyst4r/archivetempLearningPythonGPDVWA
8803114f0bf9a3bbce55610bed477533c58b3630
794cab59c3f2cfabb677d7add5f3ecf3daf71e44
refs/heads/master
2023-04-10T01:42:51.505569
2023-04-02T10:38:04
2023-04-02T10:38:04
138,033,431
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
# IF, True and False cars = ['bmw', 'audi', 'toyota', 'subaru'] for car in cars: if car == 'bmw': print(car.upper()) else: print(car.title()) car = 'Audi' print(car == 'audi') print(car.lower() == 'audi')
[ "33938604+d1rtyst4r@users.noreply.github.com" ]
33938604+d1rtyst4r@users.noreply.github.com
ed93a4271eec05eab703e58e673e8f9dd0da1e3d
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_chart_column02.py
da03686f3aa3f77a1c4ba136699b681a49eb3040
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,319
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
8ebcae65d2c1f6f4951608633db89ad5033ad7b8
3410950092562bf858b8611bdfef6e950b5560a5
/Easy_inOut_AutoParking/scripts/controller_right.py
5e7d02cc21fdeb53687dd21664c7f3270126b264
[]
no_license
hajeonghan/wecar
116ad7f029dbb398a22979363745af09097c05ce
f267643d2598604569e0dde0e1ca1cb408fcb9c8
refs/heads/master
2023-01-06T02:14:31.898083
2020-11-06T03:00:18
2020-11-06T03:00:18
278,515,229
0
1
null
null
null
null
UTF-8
Python
false
false
3,914
py
#!/usr/bin/env python # echo_server.py #-*- coding:utf-8 -*- import rospy from sensor_msgs.msg import LaserScan,PointCloud from std_msgs.msg import Float64 from vesc_msgs.msg import VescStateStamped from math import cos,sin,pi from geometry_msgs.msg import Point32 class right_controller: def __init__(self): ...
[ "noreply@github.com" ]
hajeonghan.noreply@github.com
89f0113b3df959891f12d41f1f47971505436938
3ca67d69abd4e74b7145b340cdda65532f90053b
/LeetCode/Math/Unique Binary Search Trees/6047198844.py
5bd76d22baf3f68d298c888dc5b618012c22a961
[]
no_license
DKU-STUDY/Algorithm
19549516984b52a1c5cd73e1ed1e58f774d6d30e
6f78efdbefd8eedab24e43d74c7dae7f95c2893b
refs/heads/master
2023-02-18T06:48:39.309641
2023-02-09T07:16:14
2023-02-09T07:16:14
258,455,710
175
49
null
2023-02-09T07:16:16
2020-04-24T08:42:27
Python
UTF-8
Python
false
false
242
py
class Solution: def numTrees(self, n: int) -> int: memo = [0]*(n+1) memo[0] = memo[1] = 1 for i in range(2, n+1): for j in range(i): memo[i] += memo[j]*memo[i-j-1] return memo[n]
[ "2615240@gmail.com" ]
2615240@gmail.com
c1f2b57678f0104c5139a3a786e43dbc126dbea2
58f943c7e0b063a5ef689e52ee31188577f6110d
/2. Using Python to Interact with the Operating System/Week 4/Data Streams/streams.py
4d8e110a6bd0f88a95800a27e1859d26ab1e8018
[]
no_license
nikolayninov/Google
f99f2aaf8224b37beaf407145a5a112d6901039f
c46440d8209875eb3236d9c680d80dd1b430244b
refs/heads/master
2020-12-29T07:03:37.246804
2020-04-04T12:46:49
2020-04-04T12:46:49
238,504,477
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
#!/usr/bin/python3 data = input("This will come from STDIN: ") print("Now we write it to STDOUT: " + data) print("Now we generate an error to STDERR: " + data + 1)
[ "nikininov1@gmail.com" ]
nikininov1@gmail.com
793b2e5a024fc539bd31302e8dc1454beb432387
6bb45c5892b4c9692dcc44116fb73dc9e7ab90ff
/sagemaker-pipeline-compare-model-versions/evaluate.py
7961a7861c292fa262341b056359d45a950321af
[ "Apache-2.0", "BSD-2-Clause" ]
permissive
aws/amazon-sagemaker-examples
8359afe544e873662bda5b8d2b07399c437213c9
43dae4b28531cde167598f104f582168b0a4141f
refs/heads/main
2023-08-26T04:42:52.342776
2023-08-25T14:37:19
2023-08-25T14:37:19
107,937,815
4,797
3,519
Apache-2.0
2023-09-14T19:47:03
2017-10-23T05:55:22
Jupyter Notebook
UTF-8
Python
false
false
2,694
py
"""Evaluation script for measuring model accuracy.""" import json import logging import pathlib import pickle import tarfile import numpy as np import pandas as pd import xgboost from sklearn.metrics import ( accuracy_score, precision_score, recall_score, confusion_matrix, roc_curve, ) logger = lo...
[ "noreply@github.com" ]
aws.noreply@github.com
2619773e6b9abc0cb10f16574e1453baf9e0b51f
8f988f4fd1044b10c11039a0e38e65980e7af28b
/service/comment.py
3c80ec41993b6026ce98890edd7e1d3589fcd323
[]
no_license
hljyunxi/personal_site
fbaa276a90c3e42ec7e7a715525e648b80575b15
31cd67712e6fdff134578bf4b18c6d3e7b884973
refs/heads/master
2021-01-19T06:26:43.109865
2012-12-24T07:18:59
2012-12-24T07:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,688
py
import datetime from google.appengine.ext import ndb from google.appengine.api import users from model import * from singleton import Singleton from base_service import BaseService class CommentService(Singleton, BaseService): def get_comments(self, entity_key_string): key = ndb.Key(urlsafe = entity_key_string) ...
[ "matin0728@gmail.com" ]
matin0728@gmail.com
79c22466fafa880444dd06055e1e1df8d366216b
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/함수기본값_20200705103750.py
59bb53b6f9122637051f3596b1582ea96f8c3536
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
# def profile(name, age, main_lang): # print("이름 : {0}\t나이 : {1}\t주 사용 언어: {2}" # .format(name, age, main_lang)) # profile("유재석", 20, "파이썬") # profile("김태호", 25, "자바") # 같은 학교 같은 학년 같은 반 같은 수업 def profile(name="dd", age, main_lang="파이썬"): print("이름 : {0}\t나이 : {1}\t주 사용 언어: {2}" .format...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
d34aeef1be122ce5b6a7a2bc4f5c489acabb65b3
1e0a2ec012905f5c7441701dd32c983b5bb6cd93
/code/rnn_python/testing_all_data.py
e44d6d3b307e99ef15277be1e9eec2cbfd45108b
[]
no_license
benkha/RRN-Weather
55740001837e1f2cb690b1cda14e06e7c5bdc5c1
dd0f273d94b849282438b21532fbbc4fbe523cc8
refs/heads/master
2021-01-24T03:43:01.392832
2018-04-27T19:53:42
2018-04-27T19:53:42
122,902,174
0
0
null
null
null
null
UTF-8
Python
false
false
3,932
py
from rnn import * from parse_data import * out_path = './data/models_summary/' HIDDEN_LAYERS = 10 PAST_DAYS = 7 TESTING_PERCENTAGE = 0.1 n_epochs = 300 normalization = 'zcore' n_in = 18 n_out = 2 print("Hidden Lyers ", HIDDEN_LAYERS) print("PAST_DAYS ", PAST_DAYS) print("TESTING_PERCENTAGE ", TESTING_PERCENTAGE) prin...
[ "ben.kha@outlook.com" ]
ben.kha@outlook.com
2f72d31f342afd2fb69bd53b974ec2df152958ac
5233ad777ffe38c9d090db3e50a048f5ae40efeb
/adomicilio/urls.py
4c8d99810c9af31bbd657835ad29dae4b21b1913
[ "MIT" ]
permissive
EmaSMach/adomicilio
410b97c29453112bea941da5b7103f82c496862a
1b4124735c267623ab2d85bfc2ece201cb3962a0
refs/heads/master
2023-07-11T02:27:48.418810
2021-08-17T15:36:01
2021-08-17T15:36:01
293,381,445
0
4
null
null
null
null
UTF-8
Python
false
false
1,062
py
"""adomicilio 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-ba...
[ "davidemanuelsandoval@gmail.com" ]
davidemanuelsandoval@gmail.com
e95f53ad8929e7ea33f03c001ca8cc88127d3825
cc73545251d247a2937b8c8c8b083d2afcb45f51
/ML-In-Action/Supervised-Learning-Algorithms/decision-trees/trees.py
b4a7d82cfe67a31eeab425f32b4177c494d3b30e
[]
no_license
rustydigg918/cracking-the-data-science-interview
be5b83ecdde10ef14699fe9aa461512cc51bb51c
c2f3e21065885cb7bf81e38a9dc5d7be1785bf39
refs/heads/master
2020-06-20T04:11:51.055877
2019-07-13T02:24:01
2019-07-13T02:24:01
196,987,607
1
0
null
2019-07-15T11:42:45
2019-07-15T11:42:45
null
UTF-8
Python
false
false
3,850
py
from math import log import operator def createDataSet(): dataSet = [[1, 1, 'yes'], [1, 1, 'yes'], [1, 0, 'no'], [0, 1, 'no'], [0, 1, 'no']] labels = ['no surfacing','flippers'] #change to discrete values return dataSet, labels def calcShanno...
[ "le_j6@denison.edu" ]
le_j6@denison.edu
3d13591f1686e2388bab57bd82896252e3ae5ad1
1dcd99bb96d9c51b2b561e7c2e54615cf2bc5ced
/Question/sw_expert/D1/2070.py
ad4fe43c458e966ab5707e6cd08c70e0610bd6f7
[]
no_license
dongsik93/HomeStudy
62bbcad93be49ed396fe9d50e840f921bb751d4e
3a28ff8c0b522a546ea2ed07c939f49bac3699c7
refs/heads/master
2020-04-15T02:12:36.615830
2019-04-05T14:31:10
2019-04-05T14:31:10
164,306,391
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
T = int(input()) for i in range(T): num = input().split() for j in range(1,len(num)): if(num[j-1] == num[j]): a = "=" elif(num[j-1] < num[j]): a = "<" else: a = ">" print(f"#{i+1} {a}")
[ "ehdtlr9376@naver.com" ]
ehdtlr9376@naver.com
46a7dc7d39d0004436658a782bd0079b40b4fe48
69b96f181557286c1cbddbd1502848d6cc744a7a
/Python/GTK/main.py
0850a8e92eca187283c5dff00c1ceb03796a7e92
[]
no_license
WeepingDogel/drafts
1bfe2af41da17529ddefd6b810fdc7fe1a889620
f011af6ad31b7e3becc213f98999312160f786d1
refs/heads/main
2023-07-03T11:25:27.023304
2021-08-07T08:30:39
2021-08-07T08:30:39
376,811,396
5
0
null
null
null
null
UTF-8
Python
false
false
504
py
''' GTK 简易程序 ''' import gi gi.require_version("Gtk", "3.0") from gi.repository import Gtk class Windows(Gtk.Window): def __init__ (self): Gtk.Window.__init__(self, title="Hello World") self.button = Gtk.Button(label="Click Here") self.button.connect("clicked", self.on_button_clicked) ...
[ "weepingdogel@gmail.com" ]
weepingdogel@gmail.com
3d989d910f6713c152f986aca7c81af9d1b9ca65
38f469b99d7768b4b640dd53bc5d28583287aa54
/lib/optimize/soft_assign.py
56dbd3484cdd2e030d2ec54140c117d428173660
[]
no_license
neumannjan/charging-station-siting-sizing
32a865feaf8739c0235b4eaa45f1e72084d5b9aa
7d50935599cbaed0f75a0a04322c2140096d0e32
refs/heads/main
2023-07-18T07:16:58.821613
2021-09-04T14:06:03
2021-09-04T14:08:34
369,623,093
0
0
null
null
null
null
UTF-8
Python
false
false
26,001
py
import copy from dataclasses import dataclass from typing import Any, Dict, List, Optional, Union import gurobipy as gp import numpy as np import pandas as pd from gurobipy import GRB from .. import simulation as sim from .. import utils from ..budget import BudgetDist, ListBudgetDist, DictBudgetDist from .hard_assig...
[ "janneumannprg@gmail.com" ]
janneumannprg@gmail.com
63f339e09d599b1fd3c00a12ce49bac8419f2116
2e1fd3bfea9d61d50ee7ee12ef038277e6d4d8dc
/QuestionParser.py
76750b598d493ec230e5967e2637ea65475e255d
[]
no_license
PatrickLevy/Cetus-Chatbot
da74b3b0f806e2dda126d0fbd9b93a83ef167875
8d2a931424c756214a50eed540d9fd7027a6605b
refs/heads/master
2021-05-10T10:43:16.275124
2018-03-15T02:28:44
2018-03-15T02:28:44
118,391,962
0
0
null
2018-03-14T03:36:09
2018-01-22T01:45:33
Python
UTF-8
Python
false
false
1,733
py
#!/usr/bin/env python3 ########################################### # Question Parser Function(s) # @input: Raw user input string # @output: parsed string that can be fed into our AI module ########################################### def parseInput(inputString): # Categories greetingWord = 0 goodbyeWord = 0...
[ "mrpatricklevy@gmail.com" ]
mrpatricklevy@gmail.com
d1d0da5432589877aed660cf28249bdf1dba9eec
3744c992514a0d6ac5ae57b4b28910774d40c124
/courses/urls.py
27b48c4ecf00b11be157f2ec168b333a40bc6d9d
[]
no_license
inno-asiimwe/treehouse-django-rest
96a7e67780e439f7f234349784b020ad18d545b3
1f4e987a1aa5bf0c79ba19ee256a133e1a84db19
refs/heads/master
2021-09-02T00:38:47.974575
2017-12-29T12:55:07
2017-12-29T12:55:07
115,721,670
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
"""courses URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "innocent@Innocents-MacBook-Pro.local" ]
innocent@Innocents-MacBook-Pro.local
869e1b7818c587f8a141d1475c01a4f6ee1fba91
94d1face7f63908f4776d9656d7c509f1f3d7605
/gradivo/regularization.py
f134dd6f8b74af4eb01946df51e4a9f68839ec60
[]
no_license
BlazZupan/uozp-zapiski
be7f4e988f7c404db4108619c4fe73f57d726555
846ba038f355111f308d654451aba9f5d1126497
refs/heads/master
2023-06-08T03:01:08.629668
2023-05-28T06:33:28
2023-05-28T06:33:28
97,014,240
11
16
null
2023-05-28T06:33:29
2017-07-12T13:58:26
TeX
UTF-8
Python
false
false
2,631
py
import pandas as pd import numpy as np from matplotlib import pyplot as plt from sklearn.model_selection import KFold, cross_val_predict from sklearn.linear_model import Ridge, Lasso, LinearRegression from sklearn.metrics import r2_score # load the data, prepare it for sklearn data = pd.read_excel("bodyfat.xlsx") m = ...
[ "blaz.zupan@fri.uni-lj.si" ]
blaz.zupan@fri.uni-lj.si
f510a16e93d238d949d4fc2a786cc29033b9020a
e32154b11d9307855bfa3a28fd5ef909e6ea7fca
/Detox/python/spreadLowRankSets.py
e2230a3d970a8f9582356069147f606b9c54d8b9
[ "MIT" ]
permissive
cpausmit/IntelROCCS
c5947cb038e338f7bcdf8f3d4d203b45ae0df670
526672963452ed33706468ea2dc6fb63510d9090
refs/heads/master
2020-04-15T17:28:04.978006
2017-03-24T12:17:01
2017-03-24T12:17:01
17,555,528
1
4
null
null
null
null
UTF-8
Python
false
false
4,731
py
#=================================================================================================== # C L A S S #=================================================================================================== import sys, os, subprocess, re, smtplib, shutil, string, statistics import phedexApi import dbInfoHandler...
[ "maxi@mit.edu" ]
maxi@mit.edu
416a54616a634ee1d6f0d276de0e9ec4f0b850e3
61aa319732d3fa7912e28f5ff7768498f8dda005
/src/dev/Platform.py
4f28db39fe3d0a476989e9d783707802c3b19110
[ "BSD-3-Clause", "LicenseRef-scancode-proprietary-license", "LGPL-2.0-or-later", "MIT" ]
permissive
TeCSAR-UNCC/gem5-SALAM
37f2f7198c93b4c18452550df48c1a2ab14b14fb
c14c39235f4e376e64dc68b81bd2447e8a47ff65
refs/heads/main
2023-06-08T22:16:25.260792
2023-05-31T16:43:46
2023-05-31T16:43:46
154,335,724
62
22
BSD-3-Clause
2023-05-31T16:43:48
2018-10-23T13:45:44
C++
UTF-8
Python
false
false
1,955
py
# Copyright (c) 2005-2007 The Regents of The University of Michigan # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice, this ...
[ "sroger48@uncc.edu" ]
sroger48@uncc.edu
86333736952dac1e7a775e01237283db71ff2ff1
db6c8209405269d7d3d650ae992b6435d343df2a
/session8/block.py
bf267c29d206b3d9c43202951042ec2583d517f4
[ "BSD-2-Clause" ]
permissive
macterra/pb-exercises
3b53322a08ad05d96baa671a56e4fb8a15b93d8a
d606433aa68e2b0806d429d1f388121e10910a10
refs/heads/master
2020-04-02T11:40:11.932788
2018-11-08T20:57:08
2018-11-08T20:57:08
154,400,770
0
0
BSD-2-Clause
2018-10-23T21:45:22
2018-10-23T21:45:22
null
UTF-8
Python
false
false
10,967
py
from io import BytesIO from unittest import TestCase from helper import ( double_sha256, int_to_little_endian, little_endian_to_int, merkle_root, ) GENESIS_BLOCK_HASH = bytes.fromhex('000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f') TESTNET_GENESIS_BLOCK_HASH = bytes.fromhex('000000...
[ "jaejoon@gmail.com" ]
jaejoon@gmail.com
96f3ef431cdaf6d5f096a36f286a606425eb3bc6
42657a8b67660fe8ec7ca92f3c58df68b619f4d5
/test/test_general.py
376f0036589f8f42475ff2ce25df99efe082a51d
[]
no_license
bellothornus/Anagrams
e7fcfe05d3a3a8e704839869e443ca0daf892ad9
870399db74d409bdfbb68aaa7d6bb626c530a3fb
refs/heads/master
2023-01-07T07:38:17.968065
2020-10-29T18:57:50
2020-10-29T18:57:50
309,442,734
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
from src.code import anagrams def test_abba(): assert anagrams("abba",["aabb","abcd","bbaa","dada"]) == ["aabb","bbaa"] assert anagrams("racer", ["crazer","carer","racar","caers","racer"]) == ["carer","racer"]
[ "damia_iv@yahoo.es" ]
damia_iv@yahoo.es
639f0aa1ce6e1fa972d0216bbf03855c465f84b5
a6c337d435a4e76e71a18729ec26ee9c47160257
/shop/urls.py
2b668837010afa3c125c5a7729e675f1823e5a9d
[]
no_license
sanuk2424/shoppingX
18a6deb5f5a598ed143604a551607036e10b229a
50e4ad9a0709920a5df4ba20c7ed777bb5f61d5c
refs/heads/master
2023-08-17T01:33:09.916970
2021-09-15T12:42:51
2021-09-15T12:42:51
406,473,853
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
from django.contrib import admin from django.urls import path from . import views urlpatterns = [ path('',views.index,name="ShopHome"), path('about/',views.about,name="AboutUs"), path('contact/',views.contact,name="ContactUs"), path('tracker/',views.tracker,name="Tracker"), path('search/',views.sear...
[ "ajay@gmail.com" ]
ajay@gmail.com
5cbc74b264f6b7dd2691a294cb03e2bfdde072f9
fec34bb1349385356cf828615d376444ce3e8628
/F5 grafana/grafana_bados_dashboard/data/plugins/grafana-admdb-datasource/table.py
1fe9dc0f5a44ac2f58690f78b996016db6620c90
[]
no_license
alexnimo/F5
633085dffefc54a24aaea45ca42562fcff1b8525
b03cca43941652e0d25b92e6deca7335549b903a
refs/heads/master
2020-03-17T13:51:26.849342
2018-11-19T18:56:35
2018-11-19T18:56:35
133,647,513
0
1
null
null
null
null
UTF-8
Python
false
false
3,208
py
# how to extract table data from admdb in one shot, using python code injection s = b""" import os,json def chch2a(chch): # convert 2 chars encode, to ascii char if chch[0]=='_': return chch[1] else: return chr(int(chch,16)) def fixedDecodeURIComponent(vs): # demangles encoded vs name ...
[ "noreply@github.com" ]
alexnimo.noreply@github.com
143515a5e1393feeb57384f0ef8f3d1395fee71f
d17fa59dc0b03dc71787e96473ce92fefbb7b65b
/simulator/test/test_accuracy.py
83083496e07d696f8a79374563698edc244257a6
[]
no_license
Dunes/janitor
517d920ba7fd4a2d9ffe410682bf93593d645b04
f43be1c7e0b63d579e3351a27003ae25abbf3683
refs/heads/master
2021-01-21T05:02:27.056457
2015-03-16T14:35:43
2015-03-16T14:35:43
17,876,786
2
1
null
null
null
null
UTF-8
Python
false
false
539
py
""" Created on 20 Jun 2014 @author: jack """ import unittest from accuracy import quantize from decimal import Decimal class AccuracyTest(unittest.TestCase): def test_quantize_with_int(self): self.assertEqual(Decimal("0"), quantize(0)) def test_quantize_with_float(self): self.assertEqual(De...
[ "jxh576@cs.bham.ac.uk" ]
jxh576@cs.bham.ac.uk
e7abb7d013122fac077153081102b85c3a002398
69390b62e85ecfe81b6d2b516c5177743222f136
/Server/puzzle2AI.py
5ace175226b6fcd86ef4039765d7d27a480a0562
[]
no_license
mmiller5/Major-Tom
b4da537dda20221328ada8b40d7d61133bae5bb5
aad68a2ce7e0907b9f8d8e0e47019abf5b662f1c
refs/heads/master
2020-03-10T23:13:16.079679
2018-05-03T16:35:19
2018-05-03T16:35:19
129,636,575
0
0
null
null
null
null
UTF-8
Python
false
false
3,503
py
# Rudimentary AI for the checkers puzzle ''' Alpha-Beta Minimax code written by Eric Clinch https://drive.google.com/drive/folders/1lLCArvni4VB6sL6wTP3qZv-B8_lX2kxX modified by me ''' from puzzle2Logic import * import random def MaxieMoveAlphaBeta(board, depth, alpha, beta): assert(alpha < beta) if depth == 0:...
[ "mmiller5@andrew.cmu.edu" ]
mmiller5@andrew.cmu.edu
440e26cfdf14cbcc4b30092206aeda748a17c387
cb596dea60590ef584d03e564203b0a6db3f4fad
/model/TextCNN-tf2.0/corpus/__init__.py
fd52b058393f2c15172caea407279db2fc4a3834
[]
no_license
yooyisi/TOOLKIT
79cf7e2912e34c355887bcf610933f5362873446
040be8ba10dac6f3e5fcdaa99231bca426f2abf6
refs/heads/master
2023-02-23T22:14:01.982336
2023-02-12T17:02:31
2023-02-12T17:02:31
281,157,903
0
0
null
null
null
null
UTF-8
Python
false
false
3,017
py
# -*- coding: utf-8 -*- import re from itertools import islice import sys import os FILE_PATH = os.path.split(os.path.realpath(__file__))[0] PARENT_PATH = os.path.dirname(FILE_PATH) + '/..' sys.path.append(PARENT_PATH) train_data_file = FILE_PATH + '/train.txt' stop_word_file = FILE_PATH + '/stop_word.txt' import ...
[ "kksjtu@gmail.com" ]
kksjtu@gmail.com
25ad7ef802f7d87643df8b1cbedb050c10b17906
dae29b8e0045d72458420d87ba27658e3ecb34e3
/auchan/migrations/0004_auto__add_tag.py
fa5988ccf7c5d6bfa659bbce4447974b79eb58c3
[]
no_license
Boussadia/osmscraper
c056641986881a020431e77ab945591eba3017ef
809c7e0ff31272a69aef480c8405e42799b6fa54
refs/heads/master
2021-01-10T00:59:52.044984
2013-07-11T14:21:46
2013-07-11T14:21:46
18,377,210
2
1
null
null
null
null
UTF-8
Python
false
false
8,097
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Tag' db.create_table('auchan_tag', ( ('id', self.gf('django.db.models.fields.Aut...
[ "ahmed.boussadia@gmail.com" ]
ahmed.boussadia@gmail.com
5f771db2b579a6ea0a948b9ee7063ad7506f7d31
7022af77ee07a298a10a652156c4fc16e221e3c8
/data_reader.py
b4fc213c2531c275a00e428a47b2ede69703abe5
[]
no_license
AChelikani/ML-Trader
01c5afb6223ae2f54746e1440dfd20d31819bc1d
9bfb8445fd2819e2011da5d77c705307c2ec27bc
refs/heads/master
2021-04-24T19:15:20.026998
2018-03-12T02:45:10
2018-03-12T02:45:10
117,623,844
0
1
null
null
null
null
UTF-8
Python
false
false
1,314
py
import csv ######################################## # Data Format # Date,Open,High,Low,Close,Volume,Name ######################################## class DataReader(object): def __init__(self, filename): self.data = {} self.outputs = {} self.read_data(filename) def read_data(self, filen...
[ "advith.chelikani@gmail.com" ]
advith.chelikani@gmail.com
6970baf5352002daeeb173171126f4ad46c02acc
f8d9627ee93176af9e39e3855bf4760d7f9e1c0c
/PR_2/F23.py
d4ee47b297c49812b39ab41a640ffbf267c2a1d7
[]
no_license
LizzieGri/Python
2d88f9c5935d51126e62c5b6ca59f4b20a7b87f3
59cd938ab2021ca85f22f200a9cc24a207d84495
refs/heads/master
2023-04-30T01:15:34.601398
2021-05-17T10:06:47
2021-05-17T10:06:47
342,169,018
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
def f23(arr): for i in range(len(arr) - 1, -1, -1): if None in arr[i]: del arr[i] for i in range(len(arr)): for j in range(len(arr[i])): if arr[i][len(arr[i]) - 2] == arr[i][len(arr[i]) - 1]: del (arr[i][len(arr[i]) - 1]) for i in range(len(arr)): ...
[ "65723977+LizzieGri@users.noreply.github.com" ]
65723977+LizzieGri@users.noreply.github.com
f53ce2413e89b7f3a72c55e74bf1388a5ab5239b
8de2869bf284e98de6a9b424e90da5ab361d8aac
/book/_build/jupyter_execute/plotly/SankeyDiagram.py
e15bdc1717cb497625adb13deed7141e759fc4fc
[]
no_license
hossainlab/dataviz
d37081da066bd88165aba41e2a8050ee17a1b131
e02b38827ab363f907b8c06c8f7ffc98a6a27a8f
refs/heads/master
2023-07-20T01:42:47.144900
2021-08-29T10:43:15
2021-08-29T10:43:15
291,055,389
1
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import plotly.plotly as py import plotly.graph_objs as go import plotly.offline as offline offline.init_notebook_mode(connected=True) # ## Sankey Diagrams # Sankey diagrams are a useful way to display movement between locations/nodes. # # As an example, assume a per...
[ "work.jubayer@gmail.com" ]
work.jubayer@gmail.com
d3971377eba99dc7b8add8259fff3e9af72df4b8
d3aa23e994e323d10390e46e504b4da9a79eab98
/batdata/vndData/vnd.py
9804a6b8ed9058ed0bdb37eea340f26a3d3a490f
[ "MIT" ]
permissive
buiquocanh1991/batdata
c02bf92bce1e4852d962289d8b824762dae1ca79
772f7d7c1ca340f46ad8f7404099043f422de352
refs/heads/master
2020-04-23T14:29:00.900492
2019-02-15T11:41:18
2019-02-15T11:41:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,906
py
import datetime as dt from ..models import CurrDataModel, HistDataModel from .taskManagement import createTasks, runTasks from .utils import fieldsConversion, tickersConversion, VndDate class Vnd: """ Wrapper class to handle inputs and present output """ def __init__(self, defaultFormat="df"): ...
[ "chulucninh09@gmail.com" ]
chulucninh09@gmail.com
371146f44c358eebffb2be0331ba40c58ef4a1f1
757868e5a8243a26c7babf971aee3a01b770c2d9
/venv/Scripts/pip-script.py
4165d313f5d53c920c64b897312fdffff8ee067e
[]
no_license
Aklmenrah/streamlit
fcfc33f718357507633eecf38f73148e362ed9da
b32f7bf6237282e5805566f90114630e46bc0d4f
refs/heads/master
2022-11-06T21:30:00.920688
2020-07-06T14:35:22
2020-07-06T14:35:22
273,005,573
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
#!C:\Users\aklme\PycharmProjects\predict-schema2\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$'...
[ "noreply@github.com" ]
Aklmenrah.noreply@github.com
05597be72fcb1415ea763ef46929da51ad09d779
8ad8c7b4a45902893935d3d5240816b9ce0ce4ea
/Mission_to_Mars/scrape_mars.py
f69c2f999624718f2d492c054d592f36d2e8dd82
[]
no_license
melcardenas28/Web-Scraping-HW---Mission-to-Mars
e4304c8e27fe0c7c899ecec2f4439d2565af60b2
885e54b3fc15c5373a3e27521e5de9a6e1f19671
refs/heads/main
2023-07-13T20:47:06.309834
2021-08-15T22:25:05
2021-08-15T22:25:05
396,160,485
0
0
null
null
null
null
UTF-8
Python
false
false
3,962
py
from bs4 import BeautifulSoup as soup from splinter import Browser import pandas as pd import datetime as dt from webdriver_manager.chrome import ChromeDriverManager executable_path = {'executable_path': ChromeDriverManager().install()} browser = Browser('chrome', **executable_path, headless=False) def mars_news(br...
[ "mel.cardenas28@gmail.com" ]
mel.cardenas28@gmail.com
de0f677968e9f4697dd7adc64171b4ecddd51055
dbc335168eb6fcfe682d64f0f5ee1cb947443a40
/scripts/train.py
24fd129e7dfd0c95fdcaee40fe8698fc93f6f4ff
[ "MIT" ]
permissive
iampawansingh/Active_Learning_in_NLP
4bbc96925f3ab04525ffd90bc748dc12686e6dcc
5d1adb3241d3dd8c34fc7aea52b6798beaeb9962
refs/heads/main
2023-05-04T03:51:00.339546
2021-05-19T07:39:26
2021-05-19T07:39:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,384
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 2 14:23:30 2021 Script to train simpletransformer model @author: Abinaya Mahendiran """ from pathlib import Path import numpy as np import pandas as pd # Import necessary libraries import torch import torch.nn as nn from simpletransformers.classification import Clas...
[ "abinaya.m02@mphasis.com" ]
abinaya.m02@mphasis.com
a1bd9482ac29f6bb873cef722bb8e6642378cdfc
5749de379939a7a39abb6598f323e401a853a781
/covid_crowd_management/asgi.py
0f514f9424ce23a678cdc479f6d7e19969c1db50
[]
no_license
Team-VSUR/COVID-19-Crowd-Management-Website
f109ef50dea1338b653a00f653b79b42a9bcf6e4
a21b31783ffd59432199c7cd2f20c424004fd385
refs/heads/master
2022-07-19T17:52:24.463903
2020-05-19T18:59:45
2020-05-19T18:59:45
263,388,309
0
2
null
null
null
null
UTF-8
Python
false
false
421
py
""" ASGI config for covid_crowd_management project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefaul...
[ "59662860+vanshamb2601@users.noreply.github.com" ]
59662860+vanshamb2601@users.noreply.github.com
f32bb5d29a90efe2a350355d236f78799ead02cb
358c55a24b566a84f86e33dce614bff9634769ba
/blog/migrations/0002_auto_20190903_1022.py
ce434bf5ce3b36ab6cd0bc810e98e65c440ae451
[]
no_license
farruhcool/blog
384e1731c068c5512271f3e7af62946fb9b16a11
d6ccd20f3f68c987c5c120475ebc51aabe1b0287
refs/heads/master
2023-05-04T22:55:38.924975
2019-09-03T05:30:08
2019-09-03T05:30:08
203,350,678
0
0
null
2023-04-21T20:36:30
2019-08-20T10:08:15
Python
UTF-8
Python
false
false
730
py
# Generated by Django 2.2.4 on 2019-09-03 05:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] operations = [ migrations.CreateModel( name='Tag', fields=[ ('id', models....
[ "farruhcool1993@gmail.com" ]
farruhcool1993@gmail.com
b09867d33bc0a96dd11eeb77d0555f2d7ab5a8b4
29aa518b2c07a138ead231296dcd1b25a0b057fa
/venv/Scripts/pip3-script.py
20f2d462d04d99366d1f63828ebae57b62ebc21c
[]
no_license
anabanslo/heroku-practise
d9f8094621f80581af61356afe124e7fc35f6d57
764b8c2df5ae22cad89c35728bc37221b5153bbc
refs/heads/master
2023-05-10T19:10:45.058420
2020-03-25T19:45:02
2020-03-25T19:45:02
250,073,747
0
0
null
2023-05-02T18:43:24
2020-03-25T19:35:54
Python
UTF-8
Python
false
false
421
py
#!C:\Users\Anaba\PycharmProjects\heroku-practise\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', s...
[ "anabananaslo@hotmail.com" ]
anabananaslo@hotmail.com
6465dc787a23d16a3e2c1cf22c9dc6de61ba0a90
ba9485e8ea33acee24dc7bd61049ecfe9f8b8930
/aoj/itp18b.py
d39fd25df763c61ab9e2475985a6549280301003
[]
no_license
diohabara/competitive_programming
a0b90a74b0b923a636b9c82c75b690fef11fe8a4
1fb493eb44ce03e289d1245bf7d3dc450f513135
refs/heads/master
2021-12-11T22:43:40.925262
2021-11-06T12:56:49
2021-11-06T12:56:49
166,757,685
1
0
null
null
null
null
UTF-8
Python
false
false
140
py
while (True): x = input() ans = 0 for i in range(len(x)): ans += int(x[i]) if ans == 0: break print(ans)
[ "diohabara@gmail.com" ]
diohabara@gmail.com
13e6b9a157b45b00f46e46154a3f1a5828b0fb3c
a1c34f7cbc3f522213e3b2180ca2ed10b698651e
/operators/api/urls.py
ecd5c3c290bd1a14eb5fdf475a7b5a0551a9b495
[]
no_license
ulugbek1999/ncd
c9461c1dc8ee2f7ba084ba54f5320d65c44ac335
d976ee5a77f5ceeaa3fd5e2acf1805667141e0be
refs/heads/master
2022-08-26T12:06:30.024540
2020-03-07T10:33:47
2020-03-07T10:33:47
202,854,987
0
0
null
null
null
null
UTF-8
Python
false
false
962
py
from django.urls import path, include from operators.api.operator1 import views as op1 from operators.api.operator2 import views as op2 from operators.api.operator3 import views as op3 from operators.api.operator4 import views as op4 operator1_patterns = [ path('employee/create/', op1.EmployeeCreateAPIView.as_vi...
[ "kayrat.nazov@gmail.com" ]
kayrat.nazov@gmail.com