blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
93cb659cc937c48743eba02e0c00a723442a776e
9854dbc28a1fcca6268d735c47280822ebe25a16
/application/flask_sqlalchemy.py
bacdac43af118a77a3fe9254f7be2579f64d25af
[]
no_license
klfoulk16/recreate-flask-sqlalchemy-tutorial
d5d2c9e952c67cb32acc04803f21fc27c4978163
d9891ab326991d89d5f5f5b9482045e619cfe436
refs/heads/main
2023-02-17T07:39:38.353269
2021-01-22T20:07:17
2021-01-22T20:07:17
331,976,542
5
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
import sqlalchemy from sqlalchemy.ext.declarative import declarative_base import flask class Flask_SQLAlchemy: def __init__(self): """Create instance of class to be used when defining tables""" # tell SQLAlchemy how you'll define tables and models self.Base = declarative_base() def in...
[ "klfoulk16@gmail.com" ]
klfoulk16@gmail.com
e24929005b477bee628302659a985e0d691ee09d
0a85f78b84466893783a2b88799aa25675694345
/chatbot/corpus/baobaowhisperdata.py
4da25136d85b670a382397d6a0b606375bc4d932
[ "Apache-2.0" ]
permissive
zxzx74147/DeepQA
471c864af70a92e6c123a365be6c70c59fa0b181
71d1a4e0ac1d2897327bc654dd09df1e46137c94
refs/heads/master
2021-08-28T14:03:05.680423
2017-12-12T11:56:42
2017-12-12T11:56:42
107,098,315
0
0
null
2017-10-16T08:16:18
2017-10-16T08:16:18
null
UTF-8
Python
false
false
3,307
py
# Copyright 2015 Conchylicultor. 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 ...
[ "zxzx25952@gmail.com" ]
zxzx25952@gmail.com
0f5cb35930f5208d39ec2592d907071525142e1b
08d163710a17497d81e2bc4b53c77b2c787f2baa
/src/dataset/gtsrb.py
a649dab3498c19c716ce3d6906fe22a5fc8ad9e1
[ "MIT" ]
permissive
ngonthier/dti-sprites
7a9b80601b26bd760635d371500e34b15f409932
7c41b8bf15916f2ac14d6c0de795cd32e4689672
refs/heads/main
2023-04-30T21:51:01.183767
2021-05-14T11:56:14
2021-05-14T11:56:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,846
py
from abc import ABCMeta from functools import lru_cache from PIL import Image import numpy as np from torch.utils.data.dataset import Dataset as TorchDataset from torchvision.transforms import Compose, Resize, ToTensor from utils import coerce_to_path_and_check_exist, get_files_from_dir, use_seed from utils.image imp...
[ "tom.monnier@hotmail.fr" ]
tom.monnier@hotmail.fr
4e168c90de4d94bce20aae2dc651e906c9ddab35
99cde1a485b87f1253cabc3ac131b63525a2990b
/users/views.py
505857249b50839737e49d66b163c1d0eaf85c92
[]
no_license
NamCheolKim/airbnb-clone
ee7efd01670bae56e99c943d8c5aad3cd40a780c
80cbcaac314f0c0a3d32ebd98b6681a74eb28a8e
refs/heads/master
2021-06-29T19:22:21.348900
2021-02-25T08:45:44
2021-02-25T08:45:44
220,784,134
0
0
null
null
null
null
UTF-8
Python
false
false
12,599
py
import os import requests from django.utils import translation from django.http import HttpResponse from django.contrib.auth.views import PasswordChangeView from django.views.generic import FormView, DetailView, UpdateView from django.urls import reverse_lazy from django.shortcuts import redirect, reverse from django.c...
[ "tube@tubeui-MacBook-Pro.local" ]
tube@tubeui-MacBook-Pro.local
fad413cdf0ebf545f27260b7ed0593f679b3b9cf
e6bc1f55371786dad70313eb468a3ccf6000edaf
/Datasets/the-minion-game/Correct/076.py
fa39bfcd0f041cb2eb3e2c8fd566a8a06327f68b
[]
no_license
prateksha/Source-Code-Similarity-Measurement
9da92e3b22c372ed6ea54d8b6ab2c5921e8c41c0
fb371b837917794d260a219a1ca09c46a5b15962
refs/heads/master
2023-01-04T07:49:25.138827
2020-10-25T14:43:57
2020-10-25T14:43:57
285,744,963
3
0
null
null
null
null
UTF-8
Python
false
false
342
py
def minion_game(string): vowel =['A','E','I','O','U'] S=0 K=0 for i in range(len(string)): if string[i] in vowel: K+= len(string)-i else: S+=len(string)-i if S>K: print("Stuart"+" "+ "%d" % S) elif K>S: print("Kevin"+" "+'%d' % K) else:...
[ "pratekshau@gmail.com" ]
pratekshau@gmail.com
b3aa8d40a9d1110d654d7483b38f77c4184c5fe8
770e2091d4d571bd4bfeeefbd0755129ef79d2cf
/matplotlib/5.py
e6dc037d574d73aa6187c890e876aff42ff3390f
[]
no_license
youjia4321/data_analysis
24d4897562b07fa9f7effb2f4f6add9b87fb5807
4f2e4a0389e0bbf67b654b9e9fe12088133cddbe
refs/heads/master
2020-04-27T10:42:58.664049
2019-03-08T02:58:18
2019-03-08T02:58:18
174,266,384
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import numpy as np import matplotlib.pyplot as plt mu, sigma = 100, 15 x = mu + sigma * np.random.randn(10000) # 数据的直方图 n, bins, patches = plt.hist(x, 50, density=1, facecolor='r', alpha=0.75) # for i in patches: # print(i) plt.xlabel('Smarts') plt.ylabel('Probability') plt.title('Histogram of IQ') plt.text(60...
[ "noreply@github.com" ]
noreply@github.com
f41df87feeebb3b68c2075f9224a426443e7fba8
e8c12c596f120de59294e40b9d2ec3b734604082
/library_requests.py
a299f5a6f6edd1ed2488f26669383a5db6c72a59
[]
no_license
DaVaHa/ScriptsLibrary
5eb64bb8f26d518b2232f3ed5115676c5047e66c
1d4c471378ca996ada141935b678412bd3256337
refs/heads/master
2021-06-27T19:37:47.540737
2020-10-17T14:21:33
2020-10-17T14:21:33
167,837,704
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
''' PYTHON LIBRARY : request ''' import requests ## DOWNLOADING LINKS INTO FILES r = requests.get(url) with open("code3.zip", "wb") as code: code.write(r.content)
[ "danielvanhasselt@hotmail.com" ]
danielvanhasselt@hotmail.com
445cee4ced19d187b52c5337b3428623190cbb8e
d81f671303c20c8c076d9551e7ba03d55ac5e2b7
/mayo/net/graph.py
376b922fd3e6e76ad5831be0c91ad3802cd94fa7
[]
no_license
randysuen/mayo
591cce68c083ae59f6d809346448f279a905ef1a
a382c150eeab134470520d51c6fb9ccca91ccaff
refs/heads/master
2020-03-22T08:38:34.465270
2018-06-13T15:17:13
2018-06-15T07:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,161
py
import re import copy import pprint import weakref import itertools import collections import networkx as nx from mayo.util import ensure_list, recursive_apply def _replace_module_kwargs(params): kwargs = params.get('kwargs', {}) replace_map = { key: params.get(key, default_value) for key, d...
[ "gxtfmx@gmail.com" ]
gxtfmx@gmail.com
8564e1451a3626ffeba51d20ab25d780f7de3db6
f8e1c1cebdd48d02506978e483fdf63560015adb
/venv/lib/python3.6/site-packages/rsa/_version200.py
cc47b1fd3b2061fd344c72d5185d0089c9f4235c
[]
no_license
minh-hpham/electron
a1a7452808fa2c01ddd9d1ccfeb62371eddf9059
b5e4ea96368c44fb09e2b013fc3acfedaccefb13
refs/heads/master
2020-03-14T00:52:30.513099
2018-05-03T04:40:29
2018-05-03T04:40:29
131,365,811
0
0
null
null
null
null
UTF-8
Python
false
false
15,082
py
# -*- coding: utf-8 -*- # # Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu> # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Un...
[ "hongpham@Hongnhungs-MacBook-Air.local" ]
hongpham@Hongnhungs-MacBook-Air.local
93492b704f6fe05dc224243661ed0c2a8066ed38
67e817ca139ca039bd9eee5b1b789e5510119e83
/Tree/Kth Smallest Element in a BST.py
78fa4551d211d33dd4023977b36259e7db2cd425
[]
no_license
dstch/my_leetcode
0dc41e7a2526c2d85b6b9b6602ac53f7a6ba9273
48a8c77e81cd49a75278551048028c492ec62994
refs/heads/master
2021-07-25T21:30:41.705258
2021-06-06T08:58:29
2021-06-06T08:58:29
164,360,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
#!/usr/bin/env python # encoding: utf-8 """ @author: dstch @license: (C) Copyright 2013-2019, Regulus Tech. @contact: dstch@163.com @file: Kth Smallest Element in a BST.py @time: 2019/9/11 22:08 @desc: Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Note: You may assume...
[ "dstch@163.com" ]
dstch@163.com
f17de87c264862b0ba6ef877b5c4ee0381723438
d7d5152448acf53891dbf34ba056afa658d21128
/twitter_clone_app/models.py
0b923c2ff6ddff25d39429421f76376c6db857cb
[]
no_license
joshgendal/twitter-clone-example
8cfee5bbafb15f7f58cee277e175a6357f31e372
97ee59e1e4566b2dbfe853d100c1305202224bf7
refs/heads/master
2023-05-05T19:46:35.227070
2021-05-27T01:46:26
2021-05-27T01:46:26
371,215,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,127
py
from django.db import models from django.db.models.fields.related import ForeignKey import bcrypt, re EMAIL_REGEX = re.compile(r'^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$') # Create your models here. class UserManager(models.Manager): def registration_val(self, post_data): errors = {} if not EMAIL_REGEX....
[ "jgendal@codingdojo.com" ]
jgendal@codingdojo.com
41265b2b026bbfda5edb0931161ec922a2b5efbf
c45341942bae8f70c9ace28d0c2de8728ef452ff
/login.py
1ec4b2646d05a053f2be81a5847be7101bbbf364
[]
no_license
wsasocket/webvulndemo
298d5bab08466b56b481eeb4dc2dcb66ab429268
c0617573442557d6ee3555737cafda09e44832c3
refs/heads/master
2020-09-12T06:13:59.256140
2019-11-18T02:52:14
2019-11-18T02:52:14
222,337,614
0
0
null
null
null
null
UTF-8
Python
false
false
7,574
py
import base64 import hashlib import json import os import sqlite3 import mysql.connector from flask import Flask from flask import send_file from flask_restful import Api, Resource, reqparse from edit import edit_info from utils.sys_token import sys_token app = Flask(__name__) api = Api(app) parser = reqparse.Reque...
[ "18911781163@163.com" ]
18911781163@163.com
8f87644aa89197f8678e4f705b93a992f85f6c0b
b7e0a7b0f2817f624309e4715f2b5fd4f9ed4df7
/mlcommons_box/mlcommons_box/common/mlbox_metadata.py
e6b9e35c7a4895e85f77a9be78c423bd41481412
[ "Apache-2.0" ]
permissive
vibhatha/mlbox
50936f5dbb98226a35b134e0e72b3a4b05bda4f3
f76aa0043175988109d020be42dad5f32003190f
refs/heads/master
2022-12-29T18:29:12.250664
2020-10-16T16:49:29
2020-10-16T16:49:29
301,155,105
3
0
Apache-2.0
2020-10-04T14:56:52
2020-10-04T14:56:52
null
UTF-8
Python
false
false
2,638
py
import os from mlspeclib import MLObject from typing import (Any, Optional, Tuple) class MLBoxInvoke(object): def __init__(self, path: str): path = os.path.abspath(path) metadata, err = MLObject.create_object_from_file(path) if err: raise RuntimeError(err) self.task_na...
[ "smodeel@redhat.com" ]
smodeel@redhat.com
107ef4e3d0f741079d4b7ad0fa3f9389b8af268d
b873df189cca0ce29b662ac771d4bc2ded4a4640
/rede-client/src/userede/mappers/commons/brand.py
5e6c98cda19b4f6ec8e6d9ae9f502da30b55f9d5
[]
no_license
marcioinfo/ApiClient
e0d3af1019da6a2afb4f73ec1505458cc9e312dc
6cc7c13cd45ea5a1db98ab32e80be81ddac3e0b2
refs/heads/master
2020-09-13T08:34:28.677857
2019-11-19T14:23:11
2019-11-19T14:23:11
222,712,775
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from enum import Enum, unique, auto @unique class Brand(Enum): MASTERCARD = auto() VISA = auto() DINNES = auto() CABAL = auto() SICRED = auto() SOROCRED = auto() HIPERCARD = auto() CUP = auto() CALCARD = auto() CONSTRUCARD = auto() AVISTA = auto() CREDSYSTEM = auto() ...
[ "marciocorrea@Mac-mini-de-Marcio.local" ]
marciocorrea@Mac-mini-de-Marcio.local
b180a01aa11f5aeaab18cb3fba9d1d79c72784d0
b9192b43b37f5347a95ae86dbd00c2867cc23a16
/scripts/BestETS.py
c49161afa0f2256f8491c94b88548377c5dc19e0
[]
no_license
alketcecaj12/PolisEye_Experimentation
68b905984d2340c8b55cf62e7f84c24fca739b4c
ed1d9ff4111feff7f1282037e62722900caa9aa3
refs/heads/master
2023-08-25T02:37:26.069080
2021-09-27T12:27:23
2021-09-27T12:27:23
410,818,274
0
0
null
null
null
null
UTF-8
Python
false
false
5,598
py
from statsmodels.tsa.holtwinters import SimpleExpSmoothing from random import random import matplotlib.pyplot as plt from statsmodels.tsa.seasonal import seasonal_decompose from statsmodels.tsa.stattools import adfuller import pandas as pd import numpy as np from pandas import datetime from random import random from pa...
[ "alket.cecaj@unimore.it" ]
alket.cecaj@unimore.it
2997cc78f67022bca812170c46f66d8313209acb
0ce6b40e2a2ae8d3e1a016538f6b16431349340c
/app/refresh.py
6cf5f6bf416f2610e10f2c178061730810179072
[ "Apache-2.0" ]
permissive
ForomePlatform/anfisa
d5b2d121a3a504bfabfe451b1d96b33463807f73
95d32607c50bcec2119186c121a6e35904bcb069
refs/heads/master
2023-02-04T04:21:25.082041
2022-10-25T16:25:30
2022-10-25T16:25:30
143,028,025
9
36
Apache-2.0
2023-01-31T19:55:07
2018-07-31T14:46:39
Python
UTF-8
Python
false
false
3,313
py
# Copyright (c) 2019. Partners HealthCare and other members of # Forome Association # # Developed by Sergey Trifonov based on contributions by Joel Krier, # Michael Bouzinier, Shamil Sunyaev and other members of Division of # Genetics, Brigham and Women's Hospital # # Licensed under the Apache License, Version 2....
[ "michael.bouzinier@kvitneset.com" ]
michael.bouzinier@kvitneset.com
291709388d2fff63edeb9f40b601dec07b3a51cd
0205b52c9224fd02d5b23b090012ae3559acb316
/finbert/utils.py
0051ec8cd8ce5e434f5b3a08cbabd5d127676ad2
[]
no_license
sauravghoshroy/algo-trading
fee65e423373b1b2c252d15e120e47cc6bc6b96b
3ac53a70bf0a27f37325cd93963764701cf1f549
refs/heads/master
2023-04-13T21:21:08.626010
2021-05-02T13:32:36
2021-05-02T13:32:58
363,494,774
1
1
null
null
null
null
UTF-8
Python
false
false
9,893
py
# The classes used for data processing and convert_examples_to_features are very similar versions of the ones \ # found in Hugging Face's scripts in the transformers library. For more BERT or similar language model implementation \ # examples, we would highly recommend checking that library as well. from __future__ i...
[ "saurav@student.ie.edu" ]
saurav@student.ie.edu
52813bfbe2857a1b8c207518f521af82c8c11fdd
3324d9eaca3b25c27402c76b774164c98d9f10d0
/InitCertificados.py
6fcf000dd79490020568521a459cb727c4241b12
[]
no_license
mavino4/AFP_scrap
02d98cc91e7df12465e44420c4ba70f8193c7d3e
12e8c0dfe2d2cab060524ada49abf4b44956e628
refs/heads/main
2023-07-09T20:37:09.510226
2021-08-14T15:24:07
2021-08-14T15:24:07
393,485,777
0
0
null
null
null
null
UTF-8
Python
false
false
4,116
py
from selenium import webdriver import time download_directory = "/media/F/sevima/CertificadosScrap" # iNTRODUCCIÒN DE DATOS PATERNO = "QUISPE" #input("Apellido Paterno: ") MATERNO = "AQUISE" #input("Apellido Materno: ") NOMBRES = "JHONATAN" ...
[ "marco.antonio.vino@gmail.com" ]
marco.antonio.vino@gmail.com
7c0a3c20d0df1689796a36e329feeb27f6a7a664
8deb82d52eba270da6ed2a6d786b7b4f9342e148
/Converter_1.py
95fe13685771e640dd641cae669b0a6c731fb9a7
[]
no_license
lowelab/scripts
38281696601484c9891a3351adc85a253f524bf4
9d656faa8533f78e8ff8e0d9f3cea01c771c1a9d
refs/heads/master
2016-09-03T07:31:57.153249
2015-09-28T05:12:02
2015-09-28T05:12:02
41,137,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
#!/usr/bin/env python Usage =""" Converter.py - version 1.0 Convert STRUCTURE SNP input file (tab delimited txt file) into TREEMIX input file. Save to new .txt file Usage: Converter.py *.txt 2(column containing population data, and immediately before snp data columns) > *TreeMix.txt """ import sys import csv if ...
[ "josephine.gerlach@adelaide.edu.au" ]
josephine.gerlach@adelaide.edu.au
c2b146752ab71faa43ec01d5c2edf13ed78bf639
0039b45f11881c90d43700ffcf5cf85cbaa99f6d
/Multithreaded Server with client/webserver.py
171ba3aa1ade87e54abda2c7822529702ea7f7c1
[]
no_license
saitronkarthi/Networks
0a1a83790db3bdc4a5390b6e3a440abc0e5cb19b
e6fcad52f771a0855679a4c5827b130057236a5f
refs/heads/master
2020-12-31T00:19:07.016638
2016-02-20T23:30:22
2016-02-20T23:30:22
52,180,742
0
0
null
null
null
null
UTF-8
Python
false
false
3,934
py
#UTA Id: 1001267157 #Name: Karthikeyan Rajamani ##References ##1.Skeleton code provided for phyton ##2.https://docs.python.org/2/howto/sockets.html ##3.https://bedfordsarah.wordpress.com/2013/10/29/python-socket-programming-project-1-http-web-server/ ##4.http://www.wellho.net/resources/ex.php4?item=y303/browser.py ##5....
[ "karcons@gmail.com" ]
karcons@gmail.com
6c36bcd38fddaf1b17e82c50383c05d460021889
4081a8b244ecfba2101f0a22b36defd187ae14b5
/data.py
5eb6c4d610a77f32051d397a30bab2192b119bbd
[]
no_license
bearhsiang/ConvVAE
ba7c090a7601d1308c8daaf488a8f134bea93453
1641e3b3923d5b2d0dd6cb8908ecf9f826d90184
refs/heads/master
2020-09-08T19:35:00.603645
2019-12-02T03:48:58
2019-12-02T03:48:58
221,226,389
0
0
null
null
null
null
UTF-8
Python
false
false
749
py
from torch.utils import data import json import numpy as np class Dataset(data.Dataset): def __init__(self, filename, doc_max_len=20, tle_max_len=20, pad_idx=0): self.data = json.load(open(filename, 'r')) self.len = len(self.data['document']) self.doc_max_len = doc_max_len self.tle_m...
[ "b05902066@ntu.edu.tw" ]
b05902066@ntu.edu.tw
d4d10316a2b2fa4fa33e68118bff5c61d1af5d8e
08411ea509578738545949824f7f0d8d543d284d
/0x01-python-if_else_loops_functions/100-print_tebahpla.py
1cbfb06a029722a35a8e45c09f1e2d15176944ff
[]
no_license
s-macias/holbertonschool-higher_level_programming
13c8a21db12529b756f223c864e838349ccef3be
f717deb42022db2e2fd4278d153498ffefab710b
refs/heads/master
2023-01-07T20:27:25.858898
2020-11-06T14:52:28
2020-11-06T14:52:28
259,426,878
0
1
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/python3 if ord(c) >= 97 and ord(c) <= 122 and (ord(c) % 2) != 0: print("{:c}".format(ord(c) - 32), end="") elif ord(c) >= 97 and ord(c) <= 122 and (ord(c) % 2) == 0: print("{:c}".format(ord(c), end=""))
[ "1552@holbertonschool.com" ]
1552@holbertonschool.com
7835d7fea00e4dcad46bf9117f2c76e5d0e341a4
65b4522c04c2be071c2d42095956fe950fe1cebe
/inversions/inversion11/best_model/predict/analysis/pred_disp_large_scale/plots/post_disp/gen_post_disp.py
2d7cabac2102b3f35527307245505ab7abce8bca
[]
no_license
geodesy/viscojapan
ac0cd93f7a2134cd2651623b94879dcc21c0c46a
03e70265b56eb5994e73bcb6066f0be338e42f27
refs/heads/master
2021-03-03T18:19:07.779601
2015-07-16T03:50:49
2015-07-16T03:50:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
import numpy as np import viscojapan as vj res_file='/home/zy/workspace/viscojapan/inversions/inversion10/iter2/run7/outs/nrough_05_naslip_11.h5' reader = vj.inv.ResultFileReader(res_file) disp = reader.get_pred_disp() post = disp.get_post_at_nth_epoch(-1) sites = disp.get_sites tp = np.loadtxt('stations_large_sc...
[ "zy31415@gmail.com" ]
zy31415@gmail.com
9e9c3add151023e51852a1cebfd7c398e313e3df
2311bd51e0edd32794746dc1aac9685a4d9c7ac7
/trainer/task.py
31c17f5deca91da36c8c01469af221909d49a30a
[]
no_license
robert-yaman/protein_folding_NN
4a2dd7ee7cd595c06dae92f909b7bdf685f3239f
f675de9e0db2e66581325c05184fc8f5a02d0738
refs/heads/master
2021-05-06T05:12:35.189570
2018-01-05T00:01:52
2018-01-05T00:01:52
115,061,271
0
0
null
null
null
null
UTF-8
Python
false
false
4,146
py
import argparse import tensorflow as tf import os import sys import data import validate sys.path.insert(1, os.path.join(sys.path[0], '..')) from model.model import ProteinFoldingModel from model2.model2 import ProteinFoldingModel2 MODEL_MAPPING = { 1 : ProteinFoldingModel, 2 : ProteinFoldingModel2, } def main(ar...
[ "robert.e.yaman@gmail.com" ]
robert.e.yaman@gmail.com
bfb91a4fb7758b07111e62d04d046d0db9e129ff
5274c8d9a88a9b2c352907779efb3972e2188030
/workwithpython/favorite_genres_survey/favorite_genres_survey.py
df4c7e87e8bf8be2e403b0795933468c44a11409
[]
no_license
khoshsoroorm/MyPractise
90157b9c126d62be45c44f474ca78b1367adec36
a23c0e5dfcca7bd8390d1020aa2676f397c8745d
refs/heads/master
2021-05-17T13:34:06.720564
2020-05-01T13:32:38
2020-05-01T13:32:38
250,800,395
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
import operator def fave(n): my = {} my_list = [] for i in range(1, n + 1): m = input() m = m.lower().strip().split() for i in range(1, len(m)): my_list.append(m[i]) for item in my_list: if item != my: my[item] = my_list.count(item) output_di...
[ "khoshsoroorm@gmail.com" ]
khoshsoroorm@gmail.com
690e07bd3fbf3691b4151d2e583eed069405d2c5
52363f899941fbe697f9a2b2657b5876ca2d3c89
/selfteachweb/asgi.py
d7437436252877f6d9e600d73a87c06d95a46dbd
[]
no_license
archerpmorgan/selfteachweb_django
3b765f9c0c53ab071ba4a8b31d9727aee98342da
551b34ce04dfdbb817f5dbfd8594eb2d5a73819a
refs/heads/master
2022-11-23T09:51:09.881105
2020-07-21T03:09:55
2020-07-21T03:09:55
281,274,296
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" ASGI config for selfteachweb 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.setdefault('DJANGO_...
[ "armorgan@microsoft.com" ]
armorgan@microsoft.com
729d0bb1c126d3c229c8e3e17db982202c6a8746
6c57b1694817d1710335429c12c2d9774ff446e3
/2017-08-26/BWM-Model_case09_11/generated_files/LEMS_c302_C2_BWM_Model_nrn.py
3f97e63b84048d26ca68ce228f2cd5b992e9849f
[]
no_license
lungd/openworm-experiments
cd3875e8071c35eacb919c318344bac56d0fe379
065f481fbb445ef12b8ab2110f501686d26c213c
refs/heads/master
2021-01-01T04:41:38.397726
2017-09-12T13:55:40
2017-09-12T13:55:40
97,220,679
1
1
null
2017-09-01T17:10:28
2017-07-14T10:07:56
Python
UTF-8
Python
false
false
14,670
py
''' Neuron simulator export for: Components: Leak (Type: ionChannelPassive: conductance=1.0E-11 (SI conductance)) k_fast (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) k_slow (Type: ionChannelHH: conductance=1.0E-11 (SI conductance)) ca_boyle (Type: ionChannelHH: conductance=1.0E-11 (SI...
[ "lungdm@gmail.com" ]
lungdm@gmail.com
9e4dd4e329860dccce6347da4fb21fd39335ac5b
1802f464e3d51ffbf9bc66a3b252552fd886421c
/rem.py
cb457863b965949c0ae7f0547ccf52cad669fc30
[]
no_license
anuashuanu/kwantics
889b4a7d3078dfad78f0dedffe8cb4a451ee403d
fe0814738dc774e3179c22f7db0a7b063fe001c4
refs/heads/master
2020-03-07T08:57:55.510222
2018-05-02T06:54:09
2018-05-02T06:54:09
126,692,935
0
0
null
null
null
null
UTF-8
Python
false
false
4,589
py
# -*- coding: utf-8 -*- import re def Num_to_word(Number): def Decimal_Word(Number): Word = ["शून्य", "एक", "दो", "तीन", "चार", "पाँच", "छह", "सात", "आठ", "नौ"] print('Number is decimal') Number = Number - int(Number) Number = '%.3f' % Number Number = str(Number).split('.')[1...
[ "anuashuanu@gmail.com" ]
anuashuanu@gmail.com
b4c43d591a05c307702228d8b14960d6a795df9b
f0898c857c8f3804ea290bdf295adb45f3e015a6
/certidude/decorators.py
638151c158316173a6061ae942dfacd6d416b219
[ "MIT" ]
permissive
SnpAmine/certidude
88aaac27d5b85c5ee9ab8ce32b0c1e36195a9886
8176ba73e45ecf06091ff641415d06b8cb28f848
refs/heads/master
2020-03-10T12:40:39.149001
2018-04-13T12:46:36
2018-04-13T12:46:36
129,383,299
0
0
MIT
2018-04-13T09:54:15
2018-04-13T09:54:15
null
UTF-8
Python
false
false
2,872
py
import click import ipaddress import json import logging import os import types from datetime import date, time, datetime, timedelta from urllib.parse import urlparse logger = logging.getLogger("api") def csrf_protection(func): """ Protect resource from common CSRF attacks by checking user agent and referrer ...
[ "lauri.vosandi@gmail.com" ]
lauri.vosandi@gmail.com
b3a1878da5320ce739ade189bb7a71ab6062c734
2531541710958051faa06c6568330011035bb0ff
/quiz/views.py
d8d96ff23a143bb7a455b65e99ad3f18574da8ed
[]
no_license
Sebmins/mysite
4a431eecf637c8d2e219a63cb674e7e746a15fd1
0bc5d7914b1d0cad05ce2244ace91bf8351d54df
refs/heads/main
2023-01-13T18:50:08.033435
2020-11-19T10:18:11
2020-11-19T10:18:11
308,591,861
0
0
null
null
null
null
UTF-8
Python
false
false
3,180
py
from django.db import transaction from django.shortcuts import get_object_or_404, render from django.template.response import TemplateResponse from django.views.generic import ListView, DetailView, CreateView, DeleteView, FormView, UpdateView from .forms import VotingForm, CreateFormSet, EditFormSet from .models import...
[ "sebastian.waring@vectare.co.uk" ]
sebastian.waring@vectare.co.uk
876e4421030016d98f53be1fa21f1316f40c564a
97566db0ff6e36a4b4dfa24796ed2d21dc6c1fd6
/property/migrations/0008_auto_20190815_0900.py
db0bfcad36f50f3be380a4ce3594142ec970f5ab
[]
no_license
olegush/real_estate_agency
94936560729d17dd788a0def2719821bbee36ead
78852985442819d48bf8fa3c84f97a077321d6a0
refs/heads/master
2020-07-04T05:59:56.809042
2019-08-15T08:51:35
2019-08-15T08:51:35
202,179,283
0
0
null
2019-08-13T16:02:54
2019-08-13T16:02:54
null
UTF-8
Python
false
false
826
py
# Generated by Django 2.2.4 on 2019-08-15 06:00 from django.db import migrations import phonenumbers COUNTRY_CODE = 'RU' COUNTRY_PHONE_CODE = 7 def normalize_phonenumber(apps, schema_editor): Flat = apps.get_model('property', 'Flat') for flat in Flat.objects.all(): phone_number = phonenumbers.parse...
[ "oleg107117@gmail.com" ]
oleg107117@gmail.com
7a9d103b8cc5ed62a72dcd0c0dedd9df02fa0407
c80997614ac490750e7ca3225e2a63df480135db
/Syllabus.py
11443a68d8dff89d6904f6c2f6f977f71f411904
[ "MIT" ]
permissive
anderson-github-classroom/syllabus-assignment-kdyson811
06c66acee5059ebb03f44950c296051771ea2d6c
8cc72cff11b01a1e3ded9e9c8ee754b2a004a139
refs/heads/master
2022-04-19T11:06:40.112083
2020-04-13T04:43:43
2020-04-13T04:43:43
255,201,231
0
0
null
null
null
null
UTF-8
Python
false
false
3,376
py
# --- # jupyter: # jupytext: # formats: ipynb,md,py # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.4.2 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # Name(s) # **KIANA DYSON*...
[ "kdyson@calpoly.edu" ]
kdyson@calpoly.edu
5c16b75924631e16619f526fd395ee423d533d5c
05fa0ddf9e1fd105e127f4bab5db110ceb60178c
/0155. Min Stack.py
efc00ba57ff7d55ff7f0348932e6065a63858ff5
[]
no_license
JoaoASousa/LeetCode
e05ac2082cc97d9ecd5ffbe3323e5b4791d05cc1
1557a822691f52b05e9d0abcc840c37523ffd819
refs/heads/master
2023-06-22T03:30:59.662870
2023-06-19T22:44:30
2023-06-19T22:44:30
225,728,595
0
0
null
null
null
null
UTF-8
Python
false
false
708
py
''' Runtime: 77 ms. Beats 39.38%. Memory: 20.5 MB. Beats 22.53%. ''' class MinStack: def __init__(self): self.stack = [] self.minStack = [] def push(self, val: int) -> None: self.stack.append(val) val = min(val, self.minStack[-1] if self.minStack else val) self.minStack...
[ "45333685+JoaoASousa@users.noreply.github.com" ]
45333685+JoaoASousa@users.noreply.github.com
11f5086df084fdb9fd17777932df230396966728
eba4dde56875d9c02f9a486d5d96c58e5465885e
/python/xviz_avs/server/sessions.py
c3513cfda0d2883385773210a6f4a1e566291b4b
[ "Apache-2.0" ]
permissive
jazzqi/xviz
84d6158c703b49342521ddc8245ad375b46f17d6
9d79fd2c7abe589d6b886249288422f49a99d158
refs/heads/master
2021-07-05T02:59:41.771687
2020-12-21T07:35:37
2020-12-21T07:35:37
211,004,107
0
1
Apache-2.0
2020-11-17T10:45:14
2019-09-26T05:07:02
null
UTF-8
Python
false
false
1,355
py
import logging class XVIZBaseSession: def __init__(self, socket, request, logger=None): self._socket = socket self._request = request self._logger = logger or logging.getLogger('xviz-server') def on_connect(self): ''' This method is called when server is connected and s...
[ "twojtasz@uber.com" ]
twojtasz@uber.com
7a0a47dc0866ee825f01238627523928e0428e20
3e24be2df8c15bd9596c2362233c1ff6baff5043
/ntumlone-002/homework/hw3p6.py
f8fa2caf75d6d8808cc87f842deda801e8540c1c
[]
no_license
doggggie/courses
cf2fe4c452c2f9bc2a879ddd37cb8ddeafdcca22
65be7a1bad733c366ef89da0be8ebe17001dbe73
refs/heads/master
2021-01-10T12:16:51.619346
2015-10-30T00:45:41
2015-10-30T00:45:41
36,337,086
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
from numpy import exp import numpy as np def E(u, v): return exp(u) + exp(2*v) + exp(u * v) + u*u - 2 * u * v + 2 * v * v - 3 * u - 2 * v def grad(u, v): du = exp(u) + v * exp(u * v) + 2 * u - 2 * v - 3 dv = 2 * exp(2 * v) + u * exp(u * v) - 2 * u + 4 * v - 2 return du, dv def hessian(u, v): ...
[ "xiaogou@gmail.com" ]
xiaogou@gmail.com
0dab0e7d26d72407b7a6020837da1ab6a9b00993
2796711aaa8482e5b857a014780b0716b7e09920
/testQt4Table.py
6fc0967fca8e5ac6f9dc70223cbf10409089b3c2
[]
no_license
zhaokh/jdpachong
17f09d1d9c3bccf73fdf9bed24e23abfa7fbd4b0
1fc49d87f18e10dc5ba7543e12b5b2528a845606
refs/heads/master
2020-04-08T16:11:39.553310
2018-12-05T08:41:51
2018-12-05T08:41:51
159,508,443
0
0
null
2018-12-02T16:14:39
2018-11-28T13:42:55
Python
UTF-8
Python
false
false
2,155
py
from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import sys import time class MyTable(QTableWidget): def __init__(self, parent=None): super(MyTable, self).__init__(parent) self.setWindowTitle("各个市场比特币实时行情") # 设置表格名称 self.setWindowIcon(QIcon("ok.png")) # ...
[ "wwwzhaokh@126.com" ]
wwwzhaokh@126.com
d89758ecc7f6c66a64fc2ea486b71d42a11cfa90
0fca949535d53c11a9b8e1929f9a3c5ea998976a
/visual_analysis/google_charts/user_certifcate_per_country_normalized_cutoff100.py
85f58c9cc9ead853df2e4e8cb1e6ae3eeef9cd95
[]
no_license
gabrodhic/MOOCdb
1fee9ce681c37eb60e0c1744a9c93fab0b625308
158ad4c6a568e1d3fb14f48a38cf23ccc433829b
refs/heads/master
2021-01-21T02:36:07.863891
2015-03-04T10:00:18
2015-03-04T10:00:18
66,462,568
0
0
null
2016-08-24T12:35:45
2016-08-24T12:35:44
null
UTF-8
Python
false
false
1,876
py
''' Created on Jun 27, 2013 @author: Franck Dernoncourt for ALFA, MIT lab: franck.dernoncourt@gmail.com ''' #!/usr/bin/python # -*- coding: utf-8 -*- import google_charts_wrapper def main(): ''' This function plots the number of edits on the wiki every day from 2012-03-04 ''' preprocess_sql = ''...
[ "francky@mit.edu" ]
francky@mit.edu
7a5115f9df5dc530ce87c9e24f53b24c53610277
85806794e61e08dc613ecc9f62328bebf687690f
/experiments/run_kernelshap.py
6a3c9582563e29ca55a831d3414547bb3404ee00
[ "MIT" ]
permissive
datajms/COVID19_attribution
78a110b0f0629bb61fc929e29c6689c950369afd
4e3668177d8f0d38fbfa93ed728d2d3307f9b515
refs/heads/master
2022-05-23T15:41:24.397800
2020-05-02T20:24:07
2020-05-02T20:24:07
257,324,461
0
0
null
null
null
null
UTF-8
Python
false
false
2,323
py
import numpy as np import pandas as pd import logging ## 0. Config logger from my_logger import logger logger.setLevel(logging.ERROR) # Silent logger, because SHAP is chatty. ## 1. Load and set-up problem from c19_code.problem import VAR_DICT_NO_MSF, problem_from_var_dict from c19_code.problem import VAR_THRESH_A, ...
[ "jean.matthieu.schertzer@gmail.com" ]
jean.matthieu.schertzer@gmail.com
64a076192f7de915b98de5c34bd645a80d21f45f
58bfe4544cf43c8fd4e48a95ac87a4f28f075a1f
/shows/VerticalWave.py
d1d1359804ea10222b3b695eecbc98f41551a78d
[]
no_license
dnsco/Triangles
70662d5384e3ed59c7b6d4ccc073de57d48f23c8
46d95fda5e5fa043d78f617861a83346a7babb82
refs/heads/master
2021-05-28T00:22:13.027272
2015-01-01T01:49:27
2015-01-01T01:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
from HelperFunctions import* from triangle import* class VerticalWave(object): def __init__(self, trimodel): self.name = "DiagonalWave" self.tri = trimodel self.time = 0 self.speed = 0.1 self.width = 12 self.color = randColor() self.background = randColor() (self.min_row, self.max_ro...
[ "stevedudek@gmail.com" ]
stevedudek@gmail.com
934eb7bd4816c66b9dfac5e552f2a5d70c91b3e5
9f7e53070a771d3fc182b0d7b0dce68816167920
/chapter09/n80.py
c16ec2ef245639e0833a23dfca8a0d90a72237cb
[]
no_license
chantera/nlp100
cb3b0dfcf6b822bf5d6616bbd3bc4f563834a155
d2871d56559adbeaffa8aa7ec409da328ff011e4
refs/heads/master
2021-01-20T20:42:51.038810
2016-06-11T09:20:28
2016-06-11T09:20:28
60,738,672
0
1
null
null
null
null
UTF-8
Python
false
false
1,046
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 80. コーパスの整形 文を単語列に変換する最も単純な方法は,空白文字で単語に区切ることである. ただ,この方法では文末のピリオドや括弧などの記号が単語に含まれてしまう. そこで,コーパスの各行のテキストを空白文字でトークンのリストに分割した後,各トークンに以下の処理を施し,単語から記号を除去せよ. トークンの先頭と末尾に出現する次の文字を削除: .,!?;:()[]'" 空文字列となったトークンは削除 以上の処理を適用した後,トークンをスペースで連結してファイルに保存せよ. """ import sys import re ...
[ "jin.aleajactaest@gmail.com" ]
jin.aleajactaest@gmail.com
0002d483929a2213dc78b3654a3d16d500e71d6f
c80ec1805a7e6cb1bd3f4b3e383ef4f4cf164765
/gen/filters/rules/family/_hastwins.py
c2e37d04b70c8905222c5247ba01261e08eced18
[]
no_license
balrok/gramps_addon
57c8e976c47ea3c1d1298d3fd4406c13909ac933
0c79561bed7ff42c88714edbc85197fa9235e188
refs/heads/master
2020-04-16T03:58:27.818732
2015-02-01T14:17:44
2015-02-01T14:17:44
30,111,898
2
1
null
null
null
null
UTF-8
Python
false
false
2,365
py
# # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2013 Nick Hall # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any...
[ "carl.schoenbach@gmail.com" ]
carl.schoenbach@gmail.com
84d916b3b8037b93f1602fe285a1e10a554b8594
4670a34c69e1d951dadf3f0909ad825bd3dc9d55
/LSI-analysis/HIDE/arXiv-score - orig.py
af7e11725bb463adf7e2e750acf38419f907c2f6
[]
no_license
rocksonchang/Science-Trends
4d794ad01ca0b37565d1401c287a667051246196
ff559074755fa0705f301c4be676cb1145237b47
refs/heads/master
2021-01-13T08:39:58.923233
2018-02-04T14:23:51
2018-02-04T14:23:51
71,819,754
2
0
null
null
null
null
UTF-8
Python
false
false
2,454
py
################################################################################################# ################################################################################################# ## load some packages from gensim import corpora, models, similarities try: import xml.etree.cElementTree as ET ex...
[ "chang.rockson@gmail.com" ]
chang.rockson@gmail.com
ac6d114eab5b1ab633aa87f105c7c7323addf638
900779fbbd58369ae191bbdbc838dd337c8504fc
/project1/submit/Task1.py
af889abd1c703a1f87e3469725441f0f98a76420
[]
no_license
yixin0711/udacity-data-structures-and-algorithms
f816815990da5847b3294c8f9aed0e11a31beec8
a3a5005a5c74920668ada3012b6109e25fe9de63
refs/heads/master
2022-11-13T04:57:54.685491
2020-07-01T16:37:49
2020-07-01T16:37:49
271,827,933
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
""" Read file into texts and calls. It's ok if you don't understand how to read files. """ import csv with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 1: How many different telephone nu...
[ "xinyi@gatech.edu" ]
xinyi@gatech.edu
e6656c14108867ec2f3b216d7914b6fdd1f61378
9d3d37bd8428d83558ef09fa0a3e0e3a06bca4cf
/pilot_31_dir/mapL31_Tile15.py
0b18cf02ad69936fc17ecafa7783da0232de32db
[]
no_license
jfoster17/ramps
b7b030d09f932bbcf11caf25847ecb1c081be1ab
a8a69eff3f1c33e237b95620b7e58a8da214e77b
refs/heads/master
2021-01-10T21:07:03.342981
2015-03-09T20:39:45
2015-03-09T20:39:45
17,524,802
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
#RAMPS Astrid script using the KFPA/VEGAS #HISTORY #Oct 5, 2015 (JBF) Comment out blanking values (no longer needed) #April 15, 2015 (JBF) Set blanking values manually to fix a VEGAS problem #March 10, 2014 (JBF) Initial Version Catalog("/home/astro-util/projects/13B312/ramps/pilot_31_dir/Pilot31_Sources.cat") ##...
[ "jonathan.b.foster@yale.edu" ]
jonathan.b.foster@yale.edu
27f31969536a4fb78ce302b26dcad11783bbfed6
54ac9141f54bc65f5660ee7fc7df5ded1ebed62f
/dbHandler.py
b538ef60e945e7abfd1cbad5822574adc5113b54
[]
no_license
Tjccs/Phyton-Scripts
71f1a7215985c9ad23c34f71eb3a033277aa1517
87502813131c60b428a6b9231c8a6f91b801d6b7
refs/heads/master
2021-01-11T08:46:45.809057
2017-04-27T08:22:54
2017-04-27T08:22:54
77,069,522
0
0
null
2016-12-21T16:56:15
2016-12-21T16:47:50
null
UTF-8
Python
false
false
458
py
import sqlite3 from flask import g, Blueprint dbHandler = Blueprint('dbHandler', __name__, template_folder='servidor') with dbHandler.app_context(): def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = sqlite3.connect(DATABASE) return db @dbHand...
[ "noreply@github.com" ]
noreply@github.com
d72f678d53b6961cf66e12021c6f2d14190a9857
018996e7300a19817d74714c32a9b1988ee06616
/old_trumpov.py
2d40aad69e069289817119b2c868fcb7c8e2596f
[]
no_license
mgd34msu/trumpov
6c90da3da7fd5f8c7de149bbddc9052a00b9a0fc
0aefdda6318fb8037f6e590a9c049faf01555080
refs/heads/master
2021-05-09T10:32:46.732835
2020-07-04T20:21:54
2020-07-04T20:21:54
118,966,322
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
import json import random as rnd chain = {} corpus = [] data = json.load(open('condensed.json')) for line in data: add_word = line['text'].replace('\r', ' ').replace('\n', ' ').replace('\"', '').split(' ') add_word = [word for word in add_word if word not in ['', ' ']] corpus = corpus + add_wo...
[ "noreply@github.com" ]
noreply@github.com
276077a68b8e0a6396fabf17ffb5e8ec2deec013
dd1f671592f535add1ee0d9c5efd364fc6149cd5
/python_code/publish.py
34eeb765e8fe6576b2dc73c3f0f9b568f88600cd
[]
no_license
ittipu/Design_Simple_dashboard_for_Control_LED_With_JS_python_esp32
137134143d4ee42df3c40629ce9b3e8484eab6fa
3a1431f7e20e2dff21e38b02da8891fea6a32bdb
refs/heads/main
2023-05-30T23:56:36.597928
2021-06-23T11:51:11
2021-06-23T11:51:11
379,585,985
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from config import * import paho.mqtt.client as mqtt from main import * import time import json client2 = mqtt.Client(protocol=mqtt.MQTTv311) def on_connect(client, userdata, flags, rc): print("Result from connect: {}".format(mqtt.connack_string(rc))) while True: client2.connect(host=broker, port=port, kee...
[ "tipu3001@gmail.com" ]
tipu3001@gmail.com
98cae8f9b24f64db821c0fc6b69e286620a878bf
ae13a3899126c7429678628d2014dab99b2533c7
/threaded_server/server.py
2f2667a5f3d8853cde4afc253b1d5a621c41f117
[]
no_license
Optixal/BiteSizedPython
65e99342ace20e0dff0217d922f672621d036496
6d6577dea20c3168349c0d6a8f0026ae7b83140f
refs/heads/master
2020-07-06T13:35:33.624374
2017-10-11T15:55:08
2017-10-11T15:55:08
67,928,602
2
1
null
null
null
null
UTF-8
Python
false
false
3,571
py
#!/usr/bin/python3 # Basic Multi-Threaded Server # Optixal import socket, sys, time, datetime import coloredstatus as cs from time import sleep from _thread import * if len(sys.argv) != 2: print(cs.status, "Usage:", sys.argv[0], "[port]") sys.exit(1) host = '0.0.0.0' port = int(sys.argv[1]) log_location = ...
[ "optixal@live.com.sg" ]
optixal@live.com.sg
ab1b72766a5886f432f7ed73a863ec66e1dcc21e
2fd3d7a7c676a89a961cea12167020e5c742761a
/FibonaChicken.1.py
b38581bac298ceafd9f716a5346a53e496e59bd8
[ "CC0-1.0" ]
permissive
Python-Repository-Hub/fibona-chicken-number
773cbde7f269280498c3602dfacd470373c9e718
1158ea27c06487edcf15e28515b04c15118f4e60
refs/heads/main
2023-04-17T01:01:42.287165
2021-05-06T21:18:23
2021-05-06T21:18:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
''' Fibonacci Sequence and Golden Ratio ''' from math import sqrt def FibonacciSequence(n): F = [0, 1] for i in range(2, n + 1): F.append(F[i - 1] + F[i - 2]) return F n = 50 F = FibonacciSequence(n) for i in range(1, len(F) - 1): print(i, ":", F[i], F[i+1]/F[i], F[i]/F[i+1]) phi = (1 + sqrt...
[ "joonion@gmail.com" ]
joonion@gmail.com
6388ca3c702fcf24fc0c58037eb51b8487416be0
6176efac2f93f78c611fb1ecac2483133281c8d6
/1.tutorials/57.oops5.py
ebf31a98ed96ed12eb7bc55f99450c69a5265a7a
[]
no_license
BarinderSingh30/Python_Basic
f10f00e932a6533d1bb8bf9cd9783186fac1d513
64b8689cd9b20d64d6da3905b3752a7c7fb415ea
refs/heads/main
2023-06-23T08:09:33.217233
2021-07-21T16:03:14
2021-07-21T16:03:14
375,288,819
0
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
class college: no_of_branches=8 def __init__(self,aname,asid,abranch): #constructor to construct class object and assign their variables easily self.name=aname self.sid=asid self.branch=abranch def printdetails(self): return f'Name is {self.name}.\nSID is {self.sid}.\n...
[ "emailforbarinder@gmail.com" ]
emailforbarinder@gmail.com
fc58fb3b8d6ae5dedc570c4c1adbaf9dc9a404a6
7a98eb53c801471a7528ca3e98127055af506383
/layers/modules/__init__.py
31a161d38029603cef2da7f71d661736f8f58695
[]
no_license
neroxkb/ssd_imbalance
a687460f9b13d68e751478014b5c53b8d5bfe1e1
048975495f451f82752a3091288e919b5a005531
refs/heads/master
2021-07-14T23:42:09.137098
2021-07-10T03:03:01
2021-07-10T03:03:01
227,809,537
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
from .l2norm import L2Norm from .multibox_loss import MultiBoxLoss from .FocalLoss import FocalLoss from .FocalLoss2 import FocalLoss2 __all__ = ['FocalLoss','FocalLoss2','L2Norm', 'MultiBoxLoss']
[ "1799330191@qq.com" ]
1799330191@qq.com
bd740af5d2deee97de4d87dbe0ef242a4fc7f866
f62ecb7f31f4c52fac0e7955e1cde15e3d3e908c
/recover_iris.py
9a418f6d20e3c980b29344c3c9d4f58c65d020a8
[]
no_license
jamesx00/iris_pkl
110e9dba93d61c7ab347cdef6e8b16a5b98e069b
5762b0dccd6b1f17cc54c35a96ac674e4ed88a7e
refs/heads/master
2023-04-16T04:00:05.971270
2021-04-29T14:10:24
2021-04-29T14:10:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
import joblib # Import the IRIS Dataset to be used in this Kernel from sklearn.datasets import load_iris # Load the Module to split the Dataset into Train & Test from sklearn.model_selection import train_test_split Iris_data = load_iris() Xtrain, Xtest, Ytrain, Ytest = train_test_split(Iris_data.data,Iris_data.t...
[ "tansirijames@gmail.com" ]
tansirijames@gmail.com
88917f1eb0d35ca3116654128275f4646f7c2553
314d7658374b4f168ff8fd6caf0278cd6ea2e492
/todo/migrations/0002_todo.py
446e13439c2b1c5679ed7405026cf311f2bf212f
[]
no_license
sserhiisv/todo
8b2e3b8283903e0b2f7b03748af8e20af8ee38f2
2f59902c50f2f6d311290b6c134a82a684d1371f
refs/heads/master
2021-06-14T05:34:09.740845
2017-05-03T21:25:02
2017-05-03T21:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-28 10:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('todo', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "zeroproger@gmail.com" ]
zeroproger@gmail.com
af549c5f28809aa0ff4c12ecd2d66aad2f41e951
2b167e29ba07e9f577c20c54cb943861d0ccfa69
/numerical_analysis_backup/large-scale-multiobj2/core-arch5-guard0-beta0-hebbe/pareto25.py
24ae69bfb9cc96c1eae6bea2eb789a9b5259fd40
[]
no_license
LiYan1988/kthOld_OFC
17aeeed21e195d1a9a3262ec2e67d6b1d3f9ff0f
b1237577ea68ad735a65981bf29584ebd889132b
refs/heads/master
2021-01-11T17:27:25.574431
2017-01-23T05:32:35
2017-01-23T05:32:35
79,773,237
0
0
null
null
null
null
UTF-8
Python
false
false
2,486
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 4 15:15:10 2016 @author: li optimize both throughput and connections """ #import sys #sys.path.insert(0, '/home/li/Dropbox/KTH/numerical_analysis/ILPs') import csv from gurobipy import * import numpy as np from arch5_decomposition_new import Arch5_decompose np.random...
[ "li.yan.ly414@gmail.com" ]
li.yan.ly414@gmail.com
12b99b6543c76c546599fde7bd2fb1f957b0f7a0
de40ce47ba1fc673b8c0d85a4570170548278341
/tests/storage/databases/main/test_lock.py
9ca70e7367b476e494ea7f5b7da82ff92f0827f1
[ "Apache-2.0" ]
permissive
pingponglabs/synapse
3c741fa7604254ca2b443f5b8031f0915d601868
016f085722666ac68d2e4b4f21793db399203ea9
refs/heads/master
2023-06-24T09:30:47.970055
2021-07-22T23:43:53
2021-07-22T23:43:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,632
py
# Copyright 2021 The Matrix.org Foundation C.I.C. # # 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 a...
[ "noreply@github.com" ]
noreply@github.com
1c087bc07e4beaf9cef2291705e5c44acd0b2a7e
6006bfb6d9941c928fed87b9d2db170dc0ddd9e1
/source/conf.py
c3a3b7cd39a96625879576bf195bd970d545411a
[]
no_license
supremeys/readthedocs
c01f76802b5927db8e7c0cfec01b9bd4d7612438
aeaed43c8d028b1f39e495f8ad3c4945e9b7ced9
refs/heads/master
2023-02-15T15:33:05.142907
2021-01-11T11:20:09
2021-01-11T11:20:09
326,540,371
0
0
null
null
null
null
UTF-8
Python
false
false
2,327
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "rivern.yuan@quectel.com" ]
rivern.yuan@quectel.com
7b8b1e3bf65134928bbed9628517cb616c9a5cb4
9d58c796906c6687241125ee6602cc612cb28735
/FileRstproj/FileRstproj/wsgi.py
18849c0de1d7746d732056d98c0d2fce323e9eb0
[]
no_license
uday99/RestFrameworkUploadfile
29de0929ad7c2af2d4e4a856801467b05ce53829
6b92f0d55893e435f4383a4691a79642be28923f
refs/heads/main
2023-07-10T18:40:27.225900
2021-08-19T15:21:09
2021-08-19T15:21:09
397,986,544
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for FileRstproj project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "udaykumarandolu@gmail.com" ]
udaykumarandolu@gmail.com
31c1779398b3ce2aad134e0fb09067334f0f0976
a9e27f69b8db430252cd29f334f182b9962e22ae
/src/collective/deformwidgets/dynatree.py
2dcec4d7bb40a7798e2a521b94322c3fd90574f1
[]
no_license
collective/collective.deformwidgets
d4b09da0ae935f16437f56f77351e52f3ccace81
fef9e81e5e448de30fcd654a68f1cfd98e7aeb9d
refs/heads/master
2023-03-22T11:55:37.251077
2012-10-11T21:20:53
2012-10-12T06:10:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,384
py
#!/usr/bin/python # -*- coding: utf-8 -*- from imsvdex.vdex import VDEXManager from Products.CMFCore.utils import getToolByName from zope.app.component.hooks import getSite import colander import deform import json def vdex_to_dynatree(vdex=None): ''' Convert a vdex manager object to something und...
[ "do3cc@patrick-gerken.de" ]
do3cc@patrick-gerken.de
cc1c4654fe4f9af3d5dcd665eaad982c2c01d813
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02900/s932480273.py
879d6d669a5cb836b2df581b153b4b2ff7c9129f
[]
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
367
py
a,b=map(int,input().split()) def factorization(n): a=[] while n%2==0: a.append(2) n//=2 f=3 while f*f<=n: if n%f==0: a.append(f) n//=f else: f+=2 if n!=1: a.append(n) return a s_a=set(factorization(a)) s_b=set(factoriz...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f193b93fe7ed2fb7532ba5e080503c1e75e790b1
abad82a1f487c5ff2fb6a84059a665aa178275cb
/Codewars/8kyu/count-of-positives-slash-sum-of-negatives/Python/test.py
61c68d640b924eca1c079ae4f9c87625028e4368
[ "MIT" ]
permissive
RevansChen/online-judge
8ae55f136739a54f9c9640a967ec931425379507
ad1b07fee7bd3c49418becccda904e17505f3018
refs/heads/master
2021-01-19T23:02:58.273081
2019-07-05T09:42:40
2019-07-05T09:42:40
88,911,035
9
0
null
null
null
null
UTF-8
Python
false
false
533
py
# Python - 3.4.3 Test.describe("Basic tests") Test.assert_equals(count_positives_sum_negatives([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14, -15]),[10,-65]) Test.assert_equals(count_positives_sum_negatives([0, 2, 3, 0, 5, 6, 7, 8, 9, 10, -11, -12, -13, -14]),[8,-50]) Test.assert_equals(count_positives_sum_negati...
[ "d79523@hotmail.com" ]
d79523@hotmail.com
cd8920434e0863b34a751ea69e517aacf8e7f874
363cbc43dad2f8a3cb08ca343b95c1d08f6c60c6
/analysis/test/MC/GJet_Pt-20to40/diPhoAna.py
5244ce9787562ccb87be6970e3dc6050a0346f82
[]
no_license
DebabrataBhowmik/MonoHiggsToGG
45af4363928b48d51ae50210a18a1bb19eb909c5
b22984b06d3b1f767dcf15796c66f07581bf39f0
refs/heads/master
2022-01-26T02:30:39.866888
2019-04-02T09:50:26
2019-04-02T09:50:26
179,046,566
0
1
null
null
null
null
UTF-8
Python
false
false
9,034
py
import FWCore.ParameterSet.Config as cms import FWCore.Utilities.FileUtils as FileUtils import FWCore.PythonUtilities.LumiList as LumiList import FWCore.ParameterSet.Types as CfgTypes import FWCore.ParameterSet.VarParsing as VarParsing process = cms.Process("diPhoAna") process.load("FWCore.MessageService.MessageLo...
[ "debabrata.bhowmik@cern.ch" ]
debabrata.bhowmik@cern.ch
3580008934feddc279f08ed0aa8247a1544c764e
a519c248ccac7cfb4c934b5ad1159f4937117fba
/More_String_Manipulation/correct_password.py
c97737688bac4ff84491704a13c359e3ebae10d0
[]
no_license
kaci65/Nichola_Lacey_Python_By_Example_BOOK
1ae5654b82c01e320eaf8d1e41fb03804c0786fc
2cc18d2d8351a990cee31e253c4bcb298ba4c266
refs/heads/main
2023-04-12T18:16:03.663399
2021-05-02T14:34:00
2021-05-02T14:34:00
346,003,770
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
#!/usr/bin/python3 """check if user input is correct the secondtime round""" passwrd = input("Please enter password: ") passwrd2 = input("Please confirm password: ") if passwrd == passwrd2: print("Thank you") elif passwrd.islower() != passwrd2.islower(): print("They must be in the same case") else: print(...
[ "wanjikukarugi@gmail.com" ]
wanjikukarugi@gmail.com
e37dafe7caa9a8d29dfcbea9bd614748b5cd2a86
049907461661bc14f605d4468410b56325d16a23
/HackerRank/Practice/Python/Finding the percentage.py
f260648cef67a9e1c775dbfbe5fd26fbb1996a22
[]
no_license
KillerStrike17/Competitive_Programming
8961440f85ed86b35cf96896f0fc9d6da3f200a6
73c32f6bd06269009565a71cc8b35e25b0f6befb
refs/heads/master
2021-01-09T16:52:47.562653
2020-03-04T02:01:21
2020-03-04T02:01:21
242,379,664
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
if __name__ == '__main__': n = int(input()) student_marks = {} for _ in range(n): name, *line = input().split() scores = list(map(float, line)) student_marks[name] = scores query_name = input() avg =sum(student_marks[query_name])/len(student_marks[query_name]) print('{0:....
[ "shubham.agnihotri1997@gmail.com" ]
shubham.agnihotri1997@gmail.com
dca37f69ef045346bf166496d0eef89ac630a922
fffded9233122a6034bc48aa2ba90cd9fc74e91d
/train_cifar.py
bcb03e7a366e279a96e795427ab447330534e38d
[ "Apache-2.0" ]
permissive
advboxzoo/Adaptive-Diversity-Promoting
39041629a1810a86897be2576410a53113c0a935
a164d578c4c59ac63d0d62dc794ec01cd89507cd
refs/heads/master
2020-07-06T08:42:38.933862
2019-08-14T10:30:48
2019-08-14T10:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,459
py
from __future__ import print_function import keras from keras.layers import Dense, Conv2D, BatchNormalization, Activation from keras.layers import AveragePooling2D, Input, Flatten from keras.optimizers import Adam, SGD from keras.callbacks import ModelCheckpoint, LearningRateScheduler from keras.callbacks import ...
[ "noreply@github.com" ]
noreply@github.com
0658549bfd322d198f2128a33f8a3bb2686fea0e
a63e4f0a16be73c24339e062a2628aec99d8bf03
/cartoframes/viz/popup.py
7287144d61c7ca2b1efe929508cdc7566f96e185
[ "BSD-3-Clause" ]
permissive
haytastan/cartoframes
0c6cd87e3dc7820b2771ef1029699b791858c406
29553bb653b10adb37a39f6a58a827e35e079cac
refs/heads/master
2020-12-13T23:38:30.392375
2020-01-13T10:30:46
2020-01-13T10:30:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,878
py
from __future__ import absolute_import from ..utils import gen_variable_name class Popup(object): """Popup Args: data (dict): The popup definition for a layer. It contains the information to show a popup on 'click' and 'hover' events with the attributes provided in the definition...
[ "jarroyo@cartodb.com" ]
jarroyo@cartodb.com
75c1aed5a94dae68b0cd66dab4ac649d219916c6
aa2f2a7de82f5bdd0c6abb9e396eab1811ae566a
/first/1753.py
da77d2ed748bf0894911a52cb729b5406ed4d7c3
[]
no_license
W1nU/algorithm
a5bbb2a9012284b0f0fd7692b473a215b849f40f
b9d60a940c3e6f2151dd9e1081c54b6f79bdb48c
refs/heads/master
2023-03-22T03:28:01.058813
2021-03-12T12:25:10
2021-03-12T12:25:10
347,056,920
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
import heapq import sys input = sys.stdin.readline INF = sys.maxsize V, E = map(int, input().split()) start = int(input()) - 1 edges = { n: [] for n in range(V) } visited = [] min_distance = [INF] * V min_distance[start] = 0 for _ in range(E): s, e, w = map(int, input().split()) edges[s - 1].append([w, e - ...
[ "seungwoojung@Seungwooui-Macmini.local" ]
seungwoojung@Seungwooui-Macmini.local
2066f374429d18ce1acef95a6e8d052ea5a17205
6fe242bd15b6484fe12db6799a7a792fd9e503ea
/prog3.py
9e5758adfb4b079ec6cee418d192d46b91cd4420
[]
no_license
AnushaAdla/OCR_To_Speech
a850236fd7f5c9f098af38772c8af45f01e45009
86d937d494b71c8435200c69111bd40b87119db3
refs/heads/master
2020-11-30T04:17:32.392972
2017-07-11T10:50:42
2017-07-11T10:50:42
96,871,536
0
0
null
null
null
null
UTF-8
Python
false
false
266
py
import Image import pyttsx import pytesseract im = Image.open('a.jpg') print pytesseract.image_to_string(im) engine = pyttsx.init() rate = engine.getProperty('rate') engine.setProperty('rate',rate-30) engine.say(pytesseract.image_to_string(im)) engine.runAndWait()
[ "anusha.yadav.50999@gmail.com" ]
anusha.yadav.50999@gmail.com
89e123beb4ec1f95633bb5373c04ca769c7422d5
904b71e153361110dad46a9bf204011adfeab429
/realtime_accl_graph.py
c4a718928dd84407bff9e3aa0c663816caf5d302
[]
no_license
MiyabiTane/BDM
dbe4c4de0910fa7519fdc2d4967c996e01462a04
841bed04bbaaae80b91dfd73259a74677f25820c
refs/heads/master
2020-09-06T07:39:50.374633
2019-12-20T14:50:53
2019-12-20T14:50:53
220,366,358
0
0
null
null
null
null
UTF-8
Python
false
false
3,396
py
# -*- coding: utf-8 -*- """ matplotlibでリアルタイムプロットする例 無限にsin関数をplotし続ける """ from __future__ import unicode_literals, print_function import numpy as np import matplotlib.pyplot as plt import smbus import time def pause_plot(): plt.figure(figsize=(10,8)) plt.subplots_adjust(hspace=1) ax1 = plt.subplot(311) ...
[ "miyabitane@yahoo.co.jp" ]
miyabitane@yahoo.co.jp
39dbaaffe13e8fc1e7613a8e8a186af2d97d9049
fb257c47cc65ffe1bef9c5fd7f77712b9de32414
/day6/program2.py
5591821dbed813dac1521bab57f741aa67c11bf4
[]
no_license
samyakhappy9/tathastu_week_of_code
2479904593f2742d7ebb9cb4571357a707e93464
970f14b9b0b96018300ad298d83ce6ccb1117ce8
refs/heads/master
2022-12-02T12:15:22.328265
2020-08-22T14:07:16
2020-08-22T14:07:16
265,662,122
1
0
null
null
null
null
UTF-8
Python
false
false
166
py
def ans(l): res=[x for x in l if x==0] + [x for x in l if x==1] return res n=int(input()) l=[] for i in range(n): x=int(input()) l.append(x) print(ans(l))
[ "noreply@github.com" ]
noreply@github.com
006000ba6b3b95793494d4ea69a3dc5643bf713e
be6feef8342e22e09283cebbb7dad4e29df8bfe9
/src/apps/alarm_clock/peripherials.py
73814742a60d71875020757f9320d6913daeb394
[ "MIT" ]
permissive
JJongHak/alarm-clock
f7675f6c60bad37c17829b158ab653a1e5d1e6dd
efba84e71fcade26bef020dc7eaa10181ea9f96c
refs/heads/master
2020-08-05T22:34:30.709964
2018-01-03T16:51:56
2018-01-03T16:51:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,385
py
import math import uasyncio as asyncio import machine import neopixel import hw from .hal import HCSR04 def deinit(): daylight.deinit() indicator.deinit() class Daylight: DEFAULT_KELVIN = 2500 @staticmethod def kelvin_to_rgb(kelvin): temp = kelvin / 100 if temp <= 66: ...
[ "stefan.hoelzl@gmx.de" ]
stefan.hoelzl@gmx.de
8d666bd97f5421c1264ea7eceaaada6c70d79d20
d4dab65a18429c72dda12f1271ec0b4452cb7aad
/tensorflow/python/distribute/values.py
a2c834f893e2d6376714229bd585502bebe2edf0
[ "Apache-2.0" ]
permissive
chiragmak10/tensorflow
6d486210bebb68f3328853731cdb37fbe6aa9b1a
0e1f4418b84170533b3d388ac29042fe486403ee
refs/heads/master
2020-04-12T08:30:11.229595
2018-12-19T04:56:29
2018-12-19T05:00:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
82,713
py
# Copyright 2018 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
81505eb219e1c3ac4a7f66e4d581b9dd8618ed10
f7e89247de7c44ac8ce2e0c5a36348aed3cf447d
/PythonAll-master/Loops.py
44c08f0a68de86eaa53144a7c2b4c699dc1da6a0
[]
no_license
kalyansri/Firstprj
f85ea17c19198ffff7ab08de7be973aab8f75fa6
5820ca7ac4f56dcfdb3df44edb140455dc3f27a5
refs/heads/master
2023-01-20T21:09:10.002485
2020-11-27T16:49:49
2020-11-27T16:49:49
316,554,813
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
a=5 def met(ab): a=20 print('function' ,ab) if __name__=="__main__": met(55) print('Globally',a)
[ "sridharkalyan26@gmail.com" ]
sridharkalyan26@gmail.com
13acb432c9022c2ed73e8e1e8c6c55b5a45ce2d3
8ecc01f99f2977dccbec708de05d27c84d5bc832
/stylegan2/modules.py
55c42feb6a93f0684e37d794f1bf5c5463e81abe
[]
no_license
disanda/myStyle2
187fbcefa5caff86c137fea00819f661b046f702
f575c16b6c6a8a21faa46f2228e1fa17c65ce5ba
refs/heads/master
2023-03-13T13:04:04.382831
2021-03-25T09:57:08
2021-03-25T09:57:08
321,574,762
0
0
null
null
null
null
UTF-8
Python
false
false
38,919
py
import numpy as np import torch from torch import nn from torch.nn import functional as F def get_activation(activation): if isinstance(activation, nn.Module) or callable(activation): return activation, 1. if isinstance(activation, str): activation = activation.lower() if activation in [Non...
[ "skyanda1@qq.com" ]
skyanda1@qq.com
b363e8058c2887db3c204ca9ca827bc385baa3b7
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/pPyAgyeNEvQsBytaR_19.py
4aff1636b0a9b914bbbca2ca40fe25b9d7d42fe7
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
""" Write a function that calculates the **factorial** of a number **recursively**. ### Examples factorial(5) ➞ 120 factorial(3) ➞ 6 factorial(1) ➞ 1 factorial(0) ➞ 1 ### Notes N/A """ def factorial(n): counter = n counter2 = n if n == 0: return 1 for x in range (cou...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
38043e53324b35022507d8c661ba877f03024257
a92db55b2a21ac3e4191e22800c66f8155c39f18
/backendrooms/Chat/urls.py
c850fd056c1be7ea8dd3ff01e4d9ad9ab67f554c
[]
no_license
thaopanda/EasyAccomd
046fc4520d0234e66ab6b49c2da2c20db0d38d1c
f9e68833ac1a57ca1cdd3e5db37fd15ecdef3ef1
refs/heads/master
2023-03-26T07:48:16.038758
2021-03-25T05:03:45
2021-03-25T05:03:45
351,314,303
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from django.contrib import admin from django.urls import path, include from Chat import views urlpatterns = [ path('thread/', views.GetThread.as_view()), path('chat/<int:pk>/<int:begin>/<int:end>/', views.GetChat.as_view()), path('threadAdmin/<str:username>/', views.GetThreadAdmin.as_view()), ]
[ "thaoa4vuive@gmail.com" ]
thaoa4vuive@gmail.com
0c38900605baafbc66468be8b179b55caad9d3e2
e03e59d67c96c1afa0a1c76e62235a3e3f639976
/django_test7sangpum_exam/django_test7sangpum_exam/urls.py
0df11edfa6c35162ba1bb27fad7cc5209cac88cd
[]
no_license
kangmihee/EX_python
10a63484802e6ff5454f12f7ade7e277dbf3df97
0a8dafe667f188cd89ef7f021823f6b4a9033dc0
refs/heads/master
2020-07-02T00:23:05.465127
2019-09-03T07:49:46
2019-09-03T07:49:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
"""django_test7sangpum_exam URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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, ...
[ "acorn@acorn-PC" ]
acorn@acorn-PC
bce0f6c70423222e21c2c95b9bbe84fa075d7ceb
5c548d7170a69113c7340eea0734e061e509edaa
/dns/attacker-dns/dgacollection/Ranbyus.py
a3049074822c076b859e1e93e8da383aba0a20e3
[ "MIT" ]
permissive
pierreeliseeflory/dga_hackathon
b58bd5199b746c5e410d560f193c5244c02dbe6a
80a31cb4ecd0a38b383c6acdcb49795acf832868
refs/heads/main
2023-06-23T09:50:22.909810
2021-07-04T16:45:27
2021-07-04T16:45:27
377,782,116
3
0
null
null
null
null
UTF-8
Python
false
false
1,802
py
#!/usr/bin/env python3 from dgacollection.DGAMalware import DGAMalware """A few constants for the Ranbyus' DGA. The original code contains the TLD .org but it's never used due to a bug in the algorithm. """ tlds = ['.in', '.me', '.cc', '.su', '.tw', '.net', '.com', '.pw'] nb_domains = 40 uint_mask = 0xFFFFFFFF defau...
[ "pierre-elisee.flory@thalesgroup.com" ]
pierre-elisee.flory@thalesgroup.com
227ea3743321bec1ade4e600ce13eae5358619ab
64d501ad51e6f2b076e62b5652cb49aa28033f61
/accounts/views.py
487680de350e4135605331695fc07c6f846d9796
[]
no_license
macnaer/Estate
2f691b998045a429e5ee3c534b2fa1935f756470
5bc10efeaf451a3a0d0b7a080be1adb1b9d4456a
refs/heads/master
2021-02-19T04:33:01.370495
2020-05-12T08:54:49
2020-05-12T08:54:49
245,277,062
1
0
null
null
null
null
UTF-8
Python
false
false
2,245
py
from django.shortcuts import render, redirect from django.contrib import messages, auth from django.contrib.auth.models import User def register(request): if request.method == 'POST': first_name = request.POST['first_name'] last_name = request.POST['last_name'] username = request.POST['us...
[ "trofimchuk.an@gmail.com" ]
trofimchuk.an@gmail.com
49091ce4234bc154634b45910022ebbe90c601af
02b823db43794e5b8069a37a8b7bee1030bb700d
/nemo_simulator/scripts/controler.py
c5621b9f3c85f6bb1f36feafae2a432f122a9ccb
[]
no_license
FelipePicard/Following-Car
13e803b3e6bbce8ba4dd82d3bedaaa091ca17990
d915b5babda0fba13d5974f5150c214817374490
refs/heads/main
2023-06-16T06:29:27.083470
2021-07-08T19:11:20
2021-07-08T19:11:20
325,136,800
0
0
null
null
null
null
UTF-8
Python
false
false
12,307
py
#!/usr/bin/env python import rospy import math from geometry_msgs.msg import Twist from geometry_msgs.msg import PointStamped from geometry_msgs.msg import Pose from nav_msgs.msg import Odometry from tf.transformations import euler_from_quaternion, quaternion_from_euler # Starts a new node rospy.init_node('controler',...
[ "noreply@github.com" ]
noreply@github.com
74d9d462e821b53877b54326c9b3fcdc6186e434
c4702d1a06640555829b367852138cc93ba4a161
/dealer_sale_order/report/dealer_sale_order_dp_report.py
c8e2704dea9d21e634595e4ff5b1bf37fe55262f
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
1,945
py
import time from datetime import datetime from openerp.report import report_sxw from openerp.osv import osv from openerp import pooler import fungsi_terbilang from openerp.tools import DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT, DATETIME_FORMATS_MAP import pytz from openerp.tools.translate import _ imp...
[ "rizal@portcities.net" ]
rizal@portcities.net
c37b008f819908a0c55fd5858ba0112036a39dc8
6b14ff06e5ec70c8213595b0fc623c125407e4db
/Coursera course An Introduction to Interactive Programming in Python/week 4/Quiz 4b-9.py
ddccc2e51c9800f97c4c681c5d6b14233f4161ee
[]
no_license
mymmym1/Python
7ff70750d714cfa1e0c729e5b3c133672f1aecf2
329d9464da44f3197f6033f518b2be9053be1568
refs/heads/master
2022-05-05T09:01:36.727921
2022-03-04T23:00:15
2022-03-04T23:00:15
144,877,163
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
import simplegui a = 5 def keydown(key): global a if key == simplegui.KEY_MAP["space"]: a = a*2 print a def keyup(key): global a if key == simplegui.KEY_MAP["space"]: a -= 3 print a def draw(canvas): #text = str(a) canvas.draw_text(str(a), [120...
[ "noreply@github.com" ]
noreply@github.com
2c5d3417abb782cf5b18c0f180dd6513861adc06
251803cc600cd98cd6b8aff83f664823e43b93a3
/chamberlain/repo.py
43772413fe98dcdce8f992fdd2cb7267ab6385d9
[]
no_license
behance/chamberlain
328f919b9fdf290778e6b721fe061d8a5caf5b63
98912d4c548ee898a10789a23ebe0f2bae29edc2
refs/heads/master
2020-04-12T07:27:12.018140
2018-08-14T16:13:12
2018-08-14T16:13:12
25,706,881
1
6
null
2018-08-14T16:13:13
2014-10-24T20:33:40
Python
UTF-8
Python
false
false
313
py
def repo_hash(repo): return { "id": repo.id, "full_name": repo.full_name.lower(), "owner": repo.owner.login.lower(), "name": repo.name.lower(), "ssh_url": repo.ssh_url, "private": repo.private, "fork": repo.fork, "html_url": repo.html_url }
[ "heilong24@gmail.com" ]
heilong24@gmail.com
5ce18680e043497799a69dc6331ef8a435a2b7bf
bd1c7f51aaa6ed8aeeefcc8ba2852710cff4e7a5
/courses/migrations/0010_courserequest.py
00b7ec563e2e7d7ae2d2b75a3421b03a0f02bb2c
[]
no_license
Toques/uci_websoc_tracker
592514c1d43510d43e4842752a80a0f1b4f266ed
bca501497b430250d5e55fd69b7202d3a1654895
refs/heads/master
2021-01-17T06:53:22.968783
2016-07-23T21:16:39
2016-07-23T21:16:39
54,759,338
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-06-23 19:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('courses', '0009_auto_20160621_2036'), ] operations ...
[ "calvinwong8@yahoo.com" ]
calvinwong8@yahoo.com
55808e8c80fa098decc7491efd02c753bde5c920
4beb01d4b80c857b8bb525930fc394650fe9157b
/devopsteam/wsgi.py
09adb55ce627fbe6a776c83de17c339c51d4f1f0
[]
no_license
hewendi/devopsteam
52c99bad523cf64dd9c5faf5bc0e701c197af78d
9b84dbc3e431a3abaa0ac10f3a6788554991fa35
refs/heads/master
2020-04-07T21:22:33.286794
2018-11-23T15:54:42
2018-11-23T15:54:42
158,575,418
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
""" WSGI config for devopsteam project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_S...
[ "627710332@qq.com" ]
627710332@qq.com
5a90720befedbb099a4657c48ad943403c59b2bc
4ed8a6eaf38ac1f3470aadcbefd077970fa9f5bb
/tests/test_block.py
bb7d05c652f6d6a9c34d5e563f26ab67e4033cd3
[]
no_license
lynnagara/asdf
e144471bce789d312741fb21f351253b015fb1ae
4b971dbb9888871a3cc7f8fa86d8eca6a455a362
refs/heads/master
2023-03-22T04:46:13.959945
2021-03-07T07:56:24
2021-03-07T07:56:24
342,971,987
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from asdf.block import Block from asdf.wallet import Wallet from asdf.transaction import Transaction def test_create_block(tmp_path: str) -> None: sender = Wallet(50, f"{tmp_path}/wallet1_private.pem") sender.generate_key() recipient = Wallet(50, f"{tmp_path}/wallet2_private.pem") recipient.generate_k...
[ "lyn.nagara@gmail.com" ]
lyn.nagara@gmail.com
bf82709cb4790be647fcde76a74bc211689781bb
80a31cbc1f054fff376687a67d8f2ba4304d7d11
/LastFmImportPython/lastFMImportPython/src/LastFmImport/lastfm/mixin/_searchable.py
d10683d790c2101e0db2f7c4219133f8fd51255e
[]
no_license
Psykar/MM-LastFmImportPython
492098f230fd49491a2b80b080dc3c2423f864fe
97e83d48f83c0cd0372f4ed8df24a1b5bf30071c
refs/heads/master
2021-05-16T02:05:10.974845
2013-06-26T12:15:01
2013-06-26T12:15:01
5,386,652
3
6
null
null
null
null
UTF-8
Python
false
false
1,650
py
#!/usr/bin/env python __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>" __version__ = "0.2" __license__ = "GNU Lesser General Public License" __package__ = "lastfm.mixin" from lastfm.decorators import depaginate def searchable(cls): @classmethod @depaginate def search(cls, api, ...
[ "psyker7@gmail.com" ]
psyker7@gmail.com
5926c0cc0bd002c728bc2609e5803769aeebea12
06341c4349f28d4cd9f5bea1471e01a0da8a3e19
/data_dump.py
775dfa88d1c020ead615a776e09de613dae54cd7
[ "MIT" ]
permissive
pulsatrixwx/PulsatrixWx
b38bf3274458511df22f541bb51b8bbf556f74b8
aae6ac36e2460dcf7f4a592d709139cd0d6a2e91
refs/heads/master
2016-09-05T13:59:19.979083
2013-12-16T23:01:04
2013-12-16T23:01:04
15,236,779
3
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
from util import argparse from util.dataIO import DataIO import types def main(): ap = argparse.ArgumentParser() ap.add_argument('--data-file', dest='data_file', default="data/ECMWF_Global_2p5_20120203_0000.nc") ap.add_argument('--attributes', dest='attrs', action='store_true') ap.add_argument('--dime...
[ "djgagne@inspiration.som.nor.ou.edu" ]
djgagne@inspiration.som.nor.ou.edu
73284b28278fbe9f7203d0f56cdfbf8b4ec36f38
eac5631b46e9c5669e236007cd1118af54c55a52
/maths.py
01f119b9ebdc1f54a8022cbe6912d8673818b51c
[]
no_license
Slugger70/Bootcamp
6ec62726264ef13101cfaad429aee9d149e61f4d
f0213eceba101df4ce1e55e1ce66b6657906def8
refs/heads/master
2020-05-29T14:11:06.439994
2013-10-02T06:25:49
2013-10-02T06:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
#Create a file called math_example.py # choose a three-digit number, save it as the variable "a" a = 128 print a # multiply by 80 #add 1 # multiply by 250 # choose a four-digit number that ends in 0, save it as the variable "b" b=10 print b # add it twice to the result # subtract 250 # divide 2 # print the result print...
[ "charlotte.anderson@unimelb.edu.au" ]
charlotte.anderson@unimelb.edu.au
4283b41950aa9f597d4284b8d394afbf299daea4
b05c4c300e2f6cc6af99da97173e20aaa3f0ed10
/accounts/urls.py
b074a976dd83527d5f9c6ba3ab523fea25bb0f5a
[]
no_license
ChristinaDRoberts/Efficient-Emergency
ae3cc405450a09165d5dc8302c36f62d723fa9d9
9967edb8d04c6a8b3da5d7c96e6709eee159b8db
refs/heads/master
2022-12-15T03:17:48.823422
2021-04-08T14:15:53
2021-04-08T14:15:53
174,886,785
0
0
null
2022-12-08T04:59:20
2019-03-10T22:05:07
JavaScript
UTF-8
Python
false
false
484
py
from django.contrib.auth.views import LoginView, LogoutView from . import views from django.urls import path from .views import MarketingView app_name = "accounts" urlpatterns = [ path('', MarketingView.as_view(), name="index"), path('login/', LoginView.as_view(template_name='registration/login.html'), name="log...
[ "Christinepeninsula@hotmail.com" ]
Christinepeninsula@hotmail.com
6bd1f2bc68019e1590617081c2dfb73640bb62f3
ffdc77394c5b5532b243cf3c33bd584cbdc65cb7
/mindspore/python/mindspore/ops/_op_impl/aicpu/sparse_cross.py
33209f2542379298e1cb276db73ab99aca4117c0
[ "Apache-2.0", "LicenseRef-scancode-proprietary-license", "MPL-1.0", "OpenSSL", "LGPL-3.0-only", "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause-Open-MPI", "MIT", "MPL-2.0-no-copyleft-exception", "NTP", "BSD-3-Clause", "GPL-1.0-or-later", "0BSD", "MPL-2.0", "LicenseRef-scancode-f...
permissive
mindspore-ai/mindspore
ca7d5bb51a3451c2705ff2e583a740589d80393b
54acb15d435533c815ee1bd9f6dc0b56b4d4cf83
refs/heads/master
2023-07-29T09:17:11.051569
2023-07-17T13:14:15
2023-07-17T13:14:15
239,714,835
4,178
768
Apache-2.0
2023-07-26T22:31:11
2020-02-11T08:43:48
C++
UTF-8
Python
false
false
2,409
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "1539890764@qq.com" ]
1539890764@qq.com
5a786bc2c3f6ec720f4933c3aedb67c3c726460b
3c664fc7cb34da423d446a5928c2bf950baa042f
/blog/migrations/0015_auto_20190724_2121.py
8ec22fe20075f64722f3f5bd50b207ba687cbaf8
[]
no_license
BG-98/weblogg-ed
75a07a01e0fc72bfd53b6e450212677306282e76
46dec9fcb46f457823f6ea6333d724698545e331
refs/heads/master
2022-11-30T11:41:46.466150
2019-07-28T12:49:38
2019-07-28T12:49:38
199,277,364
0
1
null
2022-11-26T04:41:33
2019-07-28T11:13:48
Python
UTF-8
Python
false
false
412
py
# Generated by Django 2.2.3 on 2019-07-24 15:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0014_auto_20190724_2116'), ] operations = [ migrations.AlterField( model_name='post', name='image', ...
[ "bhanvi.goyal98@gmail.com" ]
bhanvi.goyal98@gmail.com
ab388f793983f211a87b38848eb922961c385516
b6010878b98cc924bcafda43893e8ca1d375f4bb
/parser.py
a855ab1a133713966d57cc09d5575abd3b08e091
[]
no_license
pepijndevos/bobcat
7fc06e17dbec63750845bcd6b75465485bd9d07f
d4dea0b62c9fe9d4396be0d17f94d7a5bf289022
refs/heads/master
2020-03-26T03:36:02.603236
2018-09-01T14:38:27
2018-09-01T14:38:27
144,462,635
1
0
null
null
null
null
UTF-8
Python
false
false
6,296
py
from ply import lex from ply.lex import TOKEN tokens = [ # Identifiers 'ID', # constants 'INT_CONST_DEC', 'INT_CONST_OCT', 'INT_CONST_HEX', 'INT_CONST_BIN', 'FLOAT_CONST', 'HEX_FLOAT_CONST', 'CHAR_CONST', #'WCHAR_CONST', # String literals 'STRING_LITERAL', #'WSTRING_LITERAL', ...
[ "pepijndevos@gmail.com" ]
pepijndevos@gmail.com
27456c5262db06b8bef96281690b636ec91d8907
073c2fd73875ce4e7d061623b8403f8d77c45d92
/cohesity_management_sdk/models/restore_app_task_state_proto.py
10ff0ddfb0d0caef8f2dea7883811f228b6e1723
[ "Apache-2.0" ]
permissive
naveena-maplelabs/management-sdk-python
b11441b2edccc5a1262785bd559ad4b3ea984c3b
06ce4119d955dc08cdbc5109c935afcfcd9d65ab
refs/heads/master
2021-05-20T10:52:12.776816
2020-03-10T03:28:08
2020-03-10T03:28:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,158
py
# -*- coding: utf-8 -*- # Copyright 2020 Cohesity Inc. import cohesity_management_sdk.models.restore_app_params class RestoreAppTaskStateProto(object): """Implementation of the 'RestoreAppTaskStateProto' model. TODO: type model description here. Attributes: app_restore_progress_monitor_subtask_...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
3e5b0ba83f75b854bad02097f5a41b1eb1fa092c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/429/usersdata/321/104630/submittedfiles/jogoDaVelha_BIB.py
ef680987742f43f7773f7fd8ccbe646aa5e714c4
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
# -*- coding: utf-8 -*- # COLOQUE SUA BIBLIOTECA A PARTIR DAQUI import random tabuleiro =[ [1,1,1], [1,1,1], [1,1,1]] def nome(): nome = str(input('Qual seu nome? \n')) return nome def simbolo(): s = str(input('Qual símbolo você deseja utilizar no jogo? (X ou O) \n')) while s != 'X' ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
f3da8c4d53071d8c278222a1990f9e438c3423e9
473b536cf4544494fbc9621845ac0815313bb873
/2015/csaw_hackingtime.py
010923c28f23dc87c7d36ade6101754eb0c0d7a6
[]
no_license
Trietptm-on-Coding-Algorithms/writeups
65c2df283c4a95c5c52128ab5054241094aaf196
7c7d99be149292d2a5edf89cf2f1566930fb7972
refs/heads/master
2020-03-21T05:17:50.680586
2016-03-21T14:02:37
2016-03-21T14:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from z3 import * table1 = [0x70, 0x30, 0x53, 0xA1, 0xD3, 0x70, 0x3F, 0x64, 0xB3, 0x16, 0xE4, 0x04, 0x5F, 0x3A, 0xEE, 0x42, 0xB1, 0xA1, 0x37, 0x15, 0x6E, 0x88, 0x2A, 0xAB] table2 = [0x20, 0xAC, 0x7A, 0x25, 0xD7, 0x9C, 0xC2, 0x1D, 0x58, 0xD0, 0x13, 0x25, 0x96, 0x6A, 0xDC, 0x7E, 0x2E, 0xB4, ...
[ "ocean.kuzuri@gmail.com" ]
ocean.kuzuri@gmail.com
6fed5c9181026588187864d16944ede39fe3a6b1
7c3b77af326723f353f5626f113111ba42ce45bd
/cython/py_src/myLib1.py
5a07a9d43aedb7eb3ef90a17a78feaca1013d2d6
[]
no_license
ianhzhang/learning
143ed501d90ef20ef99a934bae066d8063b4f794
42d9c4da6da1b34844ee94379576feb6337d3271
refs/heads/master
2023-01-08T02:58:21.209957
2021-03-11T01:44:56
2021-03-11T01:44:56
144,384,263
1
0
null
2023-01-07T13:24:15
2018-08-11T12:41:38
Go
UTF-8
Python
false
false
34
py
def hello1(): print "Hello1"
[ "ianhzhang@gmail.com" ]
ianhzhang@gmail.com
ffdc4174189e4f4f021d888485f0c450083c9439
b25549b3b1b8a64d0e903fe074ac995551a63668
/Codeforces/520A.py
0689d7f3b353cf40f2b4ceba1266a7d576da20e3
[]
no_license
niketanrane/CodingDecoding
06dd7bb92c5d083216df21da16a70d1c351554a0
4318b3eef42370a2320d0a8ac5e823e7961cc74b
refs/heads/master
2021-07-24T07:21:12.336868
2018-12-05T01:22:17
2018-12-05T01:22:17
141,040,310
0
0
null
2018-11-15T15:42:52
2018-07-15T16:03:05
C++
UTF-8
Python
false
false
155
py
if __name__ == "__main__": n = input() str = set(input().lower()) if len(str) == 26: print("YES") else: print("NO")
[ "noreply@github.com" ]
noreply@github.com
da11020b435ef73254020efea1ae2d179b0238be
f7b4b203b0d2729f1bb456ba2f0118a55734a46b
/fungsi.py
b6f6abc30d77744d020492df28c5eba93b829c88
[]
no_license
miftahulkhair32/python
f402c6f802dc4fb1ce259e4cf2a7f4e6902a7b77
f10a069bbd0717eab25a9367ec633a1dc8f43c0e
refs/heads/master
2020-03-15T17:13:08.627127
2018-05-07T04:38:07
2018-05-07T04:38:07
132,254,419
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
def salam(): print ("assalamu'alaikum") def sapa(nama): print ('apa kabar '+nama+'?') def selamat(waktu="pagi",nama='eef'): print ('selamat '+waktu+', '+nama) def kabar(nama): print ('hallo '+nama+' bagaimana hari ini?') nama = raw_input('masukan nama anda : ') #menjalan fungsi salam() sapa(nama) s...
[ "miftahul.khair.k.r@gmail.com" ]
miftahul.khair.k.r@gmail.com
75ccc01b6e067fcde9efd423021aafdb0f512457
719e4db471878d21989df2827b3bc5053e9c7f47
/video_transcriber/video_transcriber/settings.py
18c1f4547a938187cdfe782aef01860baffcd4b5
[ "MIT" ]
permissive
KappaLambda/video-transcriber
fa540396f04d45312cfec8f520d81d359f85fccb
92318b686a1e7c3e354a5fd5153c2cab9083978d
refs/heads/master
2022-11-11T09:31:03.380983
2020-06-28T12:53:11
2020-06-28T12:53:11
275,583,475
0
0
null
null
null
null
UTF-8
Python
false
false
3,506
py
""" Django settings for video_transcriber project. Generated by 'django-admin startproject' using Django 1.11.2. 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/ """ ...
[ "liopetas.kostas@gmail.com" ]
liopetas.kostas@gmail.com
d3fd8759143553d27047922048b584d72c658ecd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2019_04_11_02_04_35_965689.py
1d72b19e863e45f9715f26e5fa15712c131d7587
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
import math def calcula_gaussiana(x,mi,sigma): Y=1/(sigma*(2*math.pi)**1/2)*(math.exp(-0.5*((x-mi)/sigma)**2)) return Y
[ "you@example.com" ]
you@example.com