blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
ea663b6b22d93520cc62ae3f93baa2a72b489749
360666ec687b8793a9560c086158877132a8bb95
/en685.621/pa2/iris_ml.py
f0710481f4831a865cdd72183d2ed90cfc214f45
[]
no_license
jakesciotto/jhu
d0c4f645876c030976db5b6f92613531ec741f13
8e528fc0804b837450b2e4cd5a4b4d4195249629
refs/heads/master
2023-05-11T10:21:05.948081
2023-05-01T18:22:54
2023-05-01T18:22:54
291,558,789
0
2
null
null
null
null
UTF-8
Python
false
false
12,912
py
# ----------------------------------------------------------- # iris_ml.py # # Jake Sciotto # EN685.621 Algorithms for Data Science # Johns Hopkins University # Summer 2020 # ----------------------------------------------------------- from sklearn.datasets import load_iris from sklearn.preprocessing import StandardSc...
[ "noreply@github.com" ]
noreply@github.com
ea02035d22a3e269d1369ed02fed370f7ef870cc
25aac706af2a67be7025fce81255f17c2b285f8e
/tersersemestre_vectores/vectores.py
f56f913be2a53ffdd7136465cc8df3ff1c1bf493
[]
no_license
orlandoacosta99/python
dc3fab8cb5b387de477345e9bdf5158e98f14a92
6080c71f0886e704efdf7fca6b673c586ecc9343
refs/heads/master
2020-04-24T10:13:15.748546
2019-05-28T15:55:23
2019-05-28T15:55:23
171,886,071
1
0
null
null
null
null
UTF-8
Python
false
false
6,103
py
import math import statistics def producto_escalar(escalar, vector): """ >>> producto_escalar(2, [1, 2, 3]) [2, 4, 6] >>> producto_escalar(5,[2, 5, 1]) [10, 25, 5] >>> producto_escalar(2, [2, 1]) [4, 2] :param escalar: dato que multiplicara al vector :param vector: datos a los cua...
[ "oacosta00309@universidadean.edu.co" ]
oacosta00309@universidadean.edu.co
530165d7b4ab11307df52f704542b8c2645200ab
d346c1e694e376c303f1b55808d90429a1ad3c3a
/easy/171.title_to_number.py
286464e4ead7a4e9d3260afe5591ae0245f05c03
[]
no_license
littleliona/leetcode
3d06bc27c0ef59b863a2119cd5222dc94ed57b56
789d8d5c9cfd90b872be4a4c35a34a766d95f282
refs/heads/master
2021-01-19T11:52:11.938391
2018-02-19T03:01:47
2018-02-19T03:01:47
88,000,832
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
import string from functools import reduce class Solution(object): def titleToNumber(self, s): """ :type s: str :rtype: int """ #mine dict_ = list(string.ascii_uppercase) sum_ = 0 i = 1 for s_ in s: sum_ += (dict_.index(s_)+1) * 26...
[ "aria@Arias-MacBook-Pro.local" ]
aria@Arias-MacBook-Pro.local
58ef573df239bbd37fb7eed6e14709be9c093eab
8d8e19a371e32417e460e822e19dca1164d8b19d
/tango_with_django_project/tango_with_django_project/settings.py
796f22db32c3ed64c514d78aa5df1228d36b5c73
[]
no_license
JCassiere/tango-django-rango
9291327881567188a6ebb4320fb5fe379164bc0d
ddb02c7d23450828230bd15e87ac004cf336e8f7
refs/heads/master
2021-01-11T16:00:37.657121
2017-03-24T00:54:13
2017-03-24T00:54:13
79,980,944
0
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
""" Django settings for tango_with_django_project project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settin...
[ "jcassiere91@gmail.com" ]
jcassiere91@gmail.com
484129dd68d44c1571c8e745f00a48b2ff2d626a
2da85bac6fef09678cf4fac2bab7c3d59c0e8f32
/juego.py
b03ef08df18479b0b5b5b1e64982bf6ba01b4c36
[]
no_license
TheMindBreaker/PyFinal
dc197f4e12bf2ce8e3b90288489f85bced805464
bda54f7d5e8cfd155c3992e2157384e203641f0b
refs/heads/master
2020-03-09T12:24:05.274261
2018-04-09T14:32:11
2018-04-09T14:32:11
128,784,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
#Okol & Developingo import mono from random import choice lista_palabras = { 'cpu': 'Unidad central de procesamiento', 'sqli':'Es un error que te permite ejecutar consultas a la base de datos', 'php':'lenguaje de programacion para crear webs dinamicas', 'ruby on rails':'framework web de ruby', 'per...
[ "noreply@github.com" ]
noreply@github.com
b7a736d7e56c2d8ef1f2dcbc2f94322cd31d1168
28559fbbf0af5af697d5e8c61e9a1359058ffd09
/properties_localizer.py
ddbf4f265762604e6880ed5c76a59f3d86188705
[]
no_license
ralphchristianeclipse/CSVLocalizer
4cb6d450f9df5d1a4db7782e0fe2c24c15e69dc1
e0488a5cab69a2cb55fe4fd6c22180a53fb5077d
refs/heads/master
2020-03-19T07:58:35.098485
2018-06-05T08:03:29
2018-06-05T08:03:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,837
py
# -*- coding: utf-8 -*- import os import sys import csv def start_localize_properties(CURRENT_DIR, BASE_PATH, IN_PATH, OUT_PATH, LANG_KEYS): base_out_dir = os.path.join(BASE_PATH, OUT_PATH) # top most if not os.path.exists(base_out_dir): os.makedirs(base_out_dir) # each languages for lang in LANG_KEY...
[ "r.molas06@gmail.com" ]
r.molas06@gmail.com
24df9f3eff000842344a8569ab9b734af225eacd
5df8dd1803b6b2bdc163f93eda8b59cb85838db0
/Web_scraping/GetDownloaded/Scraping/torrentmovies.py
6d6a6094bbf7a5867cbfb11f4faf287fb56b5fad
[]
no_license
sahil-sahu/GetDOWNLOADED
2b9bba2ee2891266f1eea3338a49287c493e4315
812cc9a79af8f8c735666f06228d9a1c0a3c0945
refs/heads/main
2023-02-18T18:11:27.114691
2021-01-18T01:53:33
2021-01-18T01:53:33
330,064,184
1
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
import scrapy from scrapy.crawler import CrawlerProcess from scrapy.utils.response import open_in_browser from scrapy.http import FormRequest dict = { # 'BOT_NAME' : 'hyper_scraping', # 'SPIDER_MODULES' : ['hyper_scraping.spiders'], # 'NEWSPIDER_MODULE' : 'hyper_scraping.spiders', 'ROBOTSTXT_OBE...
[ "sahilku2003@gmail.com" ]
sahilku2003@gmail.com
43312ed31266bee7fde72db44c48a9ee9de84f09
902a2f9636d9a435e7b3cb54dc2dda24c12e7677
/s3_restore.py
c7fe00c263ca9279093435f6e580c839c381ac28
[ "MIT" ]
permissive
koolhand/s3_glacier_restore
853ed1850bccdca76d5b59fcb7250e5a2e7d6f61
0eea3dcebbd0f9fd9fa64f8e42be468b293d3fc4
refs/heads/master
2023-04-10T08:45:08.619778
2021-04-23T11:43:41
2021-04-23T11:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,865
py
#!/usr/bin/python3 import sys import time import boto3 import queue import logging import argparse import datetime import threading import multiprocessing from os import path from botocore.exceptions import ClientError AWS_PROFILE = 'default' PERCENT_QUEUE = queue.Queue() def setup_logger(logfile): logger = log...
[ "horkyze@gmail.com" ]
horkyze@gmail.com
9ff7493a5a324afa3b22631ef92d3ba9fe9cc82d
2dc17d12ff6ea9794177c81aa4f385e4e09a4aa5
/archive/90SubsetsII.py
0f633535858662c676b52cec7c6c4552f462aadf
[]
no_license
doraemon1293/Leetcode
924b19f840085a80a9e8c0092d340b69aba7a764
48ba21799f63225c104f649c3871444a29ab978a
refs/heads/master
2022-10-01T16:20:07.588092
2022-09-08T02:44:56
2022-09-08T02:44:56
122,086,222
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
596
py
# coding=utf-8 ''' Created on 2017�5�31� @author: Administrator ''' class Solution(object): def subsetsWithDup(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ self.ans = [] def dfs(cur, nums, st): self.ans.append(cur) ...
[ "yanhuang1293@gmail.com" ]
yanhuang1293@gmail.com
93ffe572cb1bc35c608e4df022228398ffaf503a
968092a84a126f40df318450f5b5b8cfb8c5603e
/model.py
ebde0bf900729b68ba93e4048bf606db733a929f
[]
no_license
keep-innovation/ner
3174fd8ea88483a4e64347bb80edb2f5ee8005b6
7b67ac5aaf143ab16bcc37a5efc203bd5c5dda3c
refs/heads/main
2023-06-15T12:31:31.899933
2021-07-14T15:26:41
2021-07-14T15:26:41
385,986,642
0
0
null
null
null
null
UTF-8
Python
false
false
16,660
py
from config import Config import tensorflow as tf # import tensorflow.compat.v1 as tf if Config().import_name == 'electra': # eletra from tf_utils.electra.model.modeling import BertModel, BertConfig, get_assignment_map_from_checkpoint from tf_utils.electra.util import training_utils from tf_utils.electr...
[ "noreply@github.com" ]
noreply@github.com
c777f93db227dc48d35f338270200f1c54d3dda4
1e7f48c3cc9173525a7171afabcc3af934ef8e7a
/Server.py
0d9b91db99b983d410e8643c2ff6e488833de86b
[]
no_license
mcaim/Python-Email
a8bab4cb62abc20d3022bdc7dd16867efca4ccea
a2153550f86697fffd4d2f1354f330a0c34c87c3
refs/heads/master
2020-05-05T11:15:58.778559
2019-04-07T15:04:50
2019-04-07T15:04:50
179,982,141
1
0
null
null
null
null
UTF-8
Python
false
false
17,047
py
__author__ = 'Aidan McRitchie, mcaim@live.unc.edu, Onyen = mcaim' import re import sys import string #import _curses.ascii from socket import * special_characters = '"<>()[]\\.,;:@"' space = ' ' printset = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ " synt...
[ "mcritchiea12@gmail.com" ]
mcritchiea12@gmail.com
6dfbf07b6dea937b2bc5553d2aa83cbd9c13c8b0
9dfbe905aae1478318ca9a581a7e97e69b749d7d
/python/day04.py
48a3611dc7724429c24444617fac970a3bb42ce8
[]
no_license
chriscummings100/aoc2020
41c738b15731a0cd930a249586584cb1a943604e
592084ccf967f80c3a46f89bae7b7b0fe9fc1ff9
refs/heads/main
2023-01-29T05:23:33.917324
2020-12-12T17:17:26
2020-12-12T17:17:26
320,051,989
0
0
null
null
null
null
UTF-8
Python
false
false
2,632
py
import re curr_entry = {} all_entries = [] with open("day04input.txt") as f: while True: line = f.readline() if not line: break line = line.strip() if len(line) == 0: all_entries.append(curr_entry) curr_entry = {} else: ...
[ "chris@ftl.ltd" ]
chris@ftl.ltd
b296def624467a03808f1a77ad01caba6e298e77
2e335f7db34b0b80e114d02a3ae02ee485aa2560
/cozy/structures/arrays.py
c87f5ab3b8e1e0901cd7d5022477adb032b8ab3a
[ "Apache-2.0" ]
permissive
MostAwesomeDude/cozy
6a3d60d4a7da9bc95bcc4f5f20645ac3e0a8d725
e7b0ace2915c54b1176fc4d3eed289ede109a058
refs/heads/master
2020-03-24T11:17:51.860989
2018-07-26T22:33:37
2018-07-26T22:33:37
142,681,384
0
0
Apache-2.0
2018-07-28T13:56:19
2018-07-28T13:56:19
null
UTF-8
Python
false
false
564
py
from cozy.common import declare_case from cozy.syntax import Type, Exp, Stm TArray = declare_case(Type, "TArray", ["t"]) EArrayCapacity = declare_case(Exp, "EArrayCapacity", ["e"]) EArrayLen = declare_case(Exp, "EArrayLen", ["e"]) EArrayGet = declare_case(Exp, "EArrayGet", ["a", "i"]) EArrayIndexOf = declare_case(Exp,...
[ "loncaric@cs.washington.edu" ]
loncaric@cs.washington.edu
755cb6cacb99a472555a45b426dd7575ffa1159f
395ab72edfc78710334b7c1a44550890ae474de9
/fitmodel.py
9dff86a557818cded390f213a1ea8d665b325450
[ "MIT" ]
permissive
deapplegate/wtgpipeline
20862a34c08a27dc3e09fde8f9185c590dceac43
9693e8562022cc97bf5a96427e22965e1a5e8497
refs/heads/master
2023-07-01T04:06:05.340473
2021-07-27T18:44:34
2021-07-27T18:44:34
100,309,025
1
2
null
2017-10-17T17:43:07
2017-08-14T20:59:18
Python
UTF-8
Python
false
false
8,782
py
################################### # Utilities for fitting models # # Based on solution by abeardmore found on http://code.google.com/p/pyminuit/issues/detail?id=6 # # Modified and extended by Douglas Applegate ################################### import numpy import minuit import math, inspect import scipy.stats as ...
[ "dapple@xoc7.stanford.edu" ]
dapple@xoc7.stanford.edu
f657b49a94c741116b559b970566f1865e4e630f
efec061962750decbb293c382871f71832f2c07a
/src/plonetheme/markiezenhof/setuphandlers.py
35c024fd67b68d24d72900301ec6ca67088be97b
[]
no_license
plone-ve/plonetheme.markiezenhof
8a2670b0ce5fd3c819e74f9db6934c64d3379b5b
b1cf9f6f452b423d1dcae26c7460cd380577a4d8
refs/heads/master
2023-08-28T00:43:17.625799
2016-06-10T12:29:49
2016-06-10T12:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
# -*- coding: utf-8 -*- from Products.CMFPlone.interfaces import INonInstallable from zope.interface import implementer @implementer(INonInstallable) class HiddenProfiles(object): def getNonInstallableProfiles(self): """Hide uninstall profile from site-creation and quickinstaller""" return [ ...
[ "andreslb1@gmail.com" ]
andreslb1@gmail.com
4c4b8aaaada1da35461d159d800be8a304d45f8b
8a0d2c985ead725a209812a4dd2935373e1c05e7
/vt-subdomains.py
3ed074bb37465af3ab08df4710544621c6034213
[]
no_license
smed79/vt-subd-scraper
77fe7e7d34b2356c764a9c9db9cae3ec67919061
8ae04dc19a94845d7096833437b201a411dd40e0
refs/heads/master
2023-03-17T16:26:08.748594
2018-10-07T18:57:20
2018-10-07T18:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,019
py
#!/usr/bin/env python3 import requests from os import environ import os import sys import json def main(domain, apikey): url = 'https://www.virustotal.com/vtapi/v2/domain/report' params = {'apikey':apikey,'domain':domain} try: response = requests.get(url, params=params) jdata = response.jso...
[ "chris408@users.noreply.github.com" ]
chris408@users.noreply.github.com
2f82445e68f7fd36002f38d4b614262803b8f378
de9af73c37ba970fcbda9594243ccd4dfa3ba66e
/torchtools/tt/__init__.py
9dab24e285b500dd5cc4c6cd713f668ce67609cc
[ "MIT" ]
permissive
TianyuanYu/BGNN-AAAI
8ae04e162e54dfc5c8ec20ef826524b906b1e01c
16bd260b93009be27932415e74ce1b3128215d92
refs/heads/master
2022-10-29T07:08:28.175190
2020-06-18T09:26:49
2020-06-18T09:26:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
from torchtools.tt.arg import _parse_opts from torchtools.tt.utils import * from torchtools.tt.layer import * from torchtools.tt.logger import * from torchtools.tt.stat import * from torchtools.tt.trainer import * # global command line arguments arg = _parse_opts()
[ "lyadanluol@gmail.com" ]
lyadanluol@gmail.com
6f755efdd77859e41445a0f5e96e81a88f8644f3
5246838f884449a95aadd8fed71d1b1fc29f333c
/two/2.1.py
3456c268a40c75ee9f1506f3c9fade20caf50a9f
[]
no_license
chenjb04/PythonCookbook
046396915f614c5090442f100adf8b0696e5de3e
9e906aab39f7799d6d53b768aac01616badd830f
refs/heads/master
2020-05-01T14:21:50.781637
2019-03-31T10:22:52
2019-03-31T10:22:52
177,517,740
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
# -*- coding:utf-8 -*- __author__ = 'ChenJiaBao' __date__ = '2019/3/29 15:31' """ 对任意多的分隔符拆分字符串 re.split() """ import re line = 'absd fjkd; afed, fjrel,asdf, foo' ret = re.split(r'[;,\s]\s*', line) print(ret)
[ "chenjb04@163.com" ]
chenjb04@163.com
6e9c807ed2d9091213791471b2b26664ff2558fe
ee3b17d703903909628f23bbba862ec396ffd9e5
/create_dataset.py
bae188b263ca60324231776b83532ddd0af3e6e2
[]
no_license
Kanagaraj-NN/fault-localization
84b9e492f4ad382efee3601b4074e9b5b799ce05
cad86c74bb9c995438c74a2e534e9cd99c5f9e07
refs/heads/master
2020-03-13T15:35:29.650619
2018-10-29T13:52:44
2018-10-29T13:52:44
131,179,956
0
0
null
2018-04-26T16:03:16
2018-04-26T16:03:15
null
UTF-8
Python
false
false
5,327
py
import argparse import csv import os PROJECTS = ['Closure', 'Lang', 'Chart', 'Math', 'Mockito', 'Time'] PROJECT_BUGS = [ [str(x) for x in range(1, 134)], [str(x) for x in range(1, 66)], [str(x) for x in range(1, 27)], [str(x) for x in range(1, 107)], [str(x) for x in range(1, 39)], [str(x) for...
[ "ashish.baghudana26@gmail.com" ]
ashish.baghudana26@gmail.com
9bb4f05412faa3982c82de55fedc200a7790cc48
c06efd90533c51c2b29b7e92cd13723388de25ee
/actions/listRbacAuthorizationV1alpha1RoleForAllNamespaces.py
19afa194e46fdb73582c2cf0fc1d052e06ecc134
[]
no_license
ajohnstone/stackstorm-kubernetes
490e4a73daad3713d7c5b5b639d5f30ff1ab3e58
99ffad27f5947583a2ab1b56e80c06003d014c47
refs/heads/master
2021-01-11T23:29:49.642435
2016-12-07T13:20:34
2016-12-07T13:20:34
78,588,572
0
0
null
2017-01-11T00:48:59
2017-01-11T00:48:59
null
UTF-8
Python
false
false
1,017
py
from lib import k8s from st2actions.runners.pythonrunner import Action class listRbacAuthorizationV1alpha1RoleForAllNamespaces(Action): def run(self,config_override=None,fieldSelector=None,labelSelector=None,pretty=None,resourceVersion=None,timeoutSeconds=None,watch=None): myk8s = k8s.K8sClient(self.con...
[ "andy@impulsed.net" ]
andy@impulsed.net
12d0188fb6fd2916853aa544d5ca05a6481a4047
9eed44fb62d895b083b648a01e27f4aa6fae2880
/cnn/mnist/mnist_main.py
4d2ad0ca4557ac5b566745810982950400545f48
[]
no_license
koibiki/tf_estimator_learn
6ac839fc4ce3a3d0f2cde8e97f0cfd73949d8490
d79d3a0d5b19d0c92bce24a656c1197b94c35b66
refs/heads/master
2020-05-07T14:27:14.721816
2019-04-10T14:09:29
2019-04-10T14:41:20
180,595,194
0
0
null
null
null
null
UTF-8
Python
false
false
2,892
py
import tensorflow as tf from cnn.mnist.net.cnn_net import MnistCnn import numpy as np tf.logging.set_verbosity(tf.logging.INFO) def cnn_model_fn(features, labels, mode): mnist_cnn = MnistCnn() logits = mnist_cnn(features) predictions = { # Generate predictions (for PREDICT and EVAL mode) ...
[ "orient2008.cl@hotmail.com" ]
orient2008.cl@hotmail.com
ae51d1913b4b2065ba5070e60c6b33337f9e56d2
fc186ff017d25ba9391f4a26e9e707d74fb16093
/recursion/N-th-Fibonacci-Number/solution3.py
976806fa77467a843abe4200a408b02fc9ffaa84
[]
no_license
SivaAkhil/DataStructures-and-Algorithms
9178fbdb89eda717ea0df7a8693179decbb98c57
5b6e2b0b46ea59ee6e0f7c91f2b7d129780fd0d2
refs/heads/main
2023-06-29T00:22:21.633970
2021-08-03T09:46:48
2021-08-03T09:46:48
387,405,593
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
# this is iterative solution # time O(N) # space O(1) def ntfib(n): lastTwo = [0, 1] counter = 3 while counter <= n: nextfib = lastTwo[0] + lastTwo[1] lastTwo[0] = lastTwo[1] lastTwo[1] = nextfib counter += 1 if n > 1: return lastTwo[1] else: lastTwo...
[ "akhilnaredla.1@gmail.com" ]
akhilnaredla.1@gmail.com
9f1846dba8512da311219e14da9510b5ba99eba1
fe8360d9284d8156cd557d3a757645c11849cdd9
/models/coverage_tests.py
4e1b6442279a580d20a09444f28840390ef1316d
[]
no_license
hvanreenen/fhir-rest-server
5a1a5bcb9a3477d9f9d133c263f61ba202db5741
36ae55706aba0fdfcf084dbb24bd8c73929b3e0f
refs/heads/master
2021-01-10T23:45:06.793874
2016-10-20T09:57:04
2016-10-20T09:57:04
70,390,390
0
0
null
null
null
null
UTF-8
Python
false
false
3,403
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 1.0.2.7202 on 2016-10-07. # 2016, SMART Health IT. import os import io import unittest import json from . import coverage from .fhirdate import FHIRDate class CoverageTests(unittest.TestCase): def instantiate_from(self, filename): d...
[ "henk-jan.van.reenen@nlhealthcareclinics.com" ]
henk-jan.van.reenen@nlhealthcareclinics.com
c8f014085dc60b59132c67403fa5d7c84661e430
3152274ae39760dc1962504e2b4b9b39e885b338
/circle_area.py
754b8174d44d3a89cd89b15a7c912941b7fd8f16
[]
no_license
JoeltonLP/circlo_area
a8ce919bb2dea71be0aa694dfa0e96555fcc1d35
7b3ff55d505c7b06e9d3089cc05cf08d27f039aa
refs/heads/main
2023-04-09T12:54:59.556766
2021-04-13T19:39:31
2021-04-13T19:39:31
355,948,108
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
#!/usr/bin/python3 import sys from math import pi def area_circle(raio): raio = pi * float(raio) ** 2 return raio def help(): print('needs an argument\n') print('sintaxe:') print('use: {} <raio>\n' .format(sys.argv[0])) if __name__ == '__main__': if len(sys.argv) < 2: help() e...
[ "joelton.mpto.dev@gmail.com" ]
joelton.mpto.dev@gmail.com
d511d554edfff742d4b47863aab36c2676babf88
aa0270b351402e421631ebc8b51e528448302fab
/sdk/network/azure-mgmt-network/generated_samples/network_manager_get.py
2dcc0bfecc4e973785a2db207ad947fb4a3f5f17
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
fangchen0601/azure-sdk-for-python
d04a22109d0ff8ff209c82e4154b7169b6cb2e53
c2e11d6682e368b2f062e714490d2de42e1fed36
refs/heads/master
2023-05-11T16:53:26.317418
2023-05-04T20:02:16
2023-05-04T20:02:16
300,440,803
0
0
MIT
2020-10-16T18:45:29
2020-10-01T22:27:56
null
UTF-8
Python
false
false
1,561
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
7760fe3621617197d17783aec54d43f5126e894e
eea07e52aa5304b4a0613c625dc79f49c8356cc7
/deploy.py
dd29d1cfb5e3cc587531ea94e0d95daf7439105a
[ "MIT" ]
permissive
sanedragon/dot
3abf717288bbbf809e6a6122d8235b3a28f20c61
fb165af44a2dbd0813c3053710917cd7a0509193
refs/heads/master
2021-01-23T11:59:14.897176
2013-02-03T19:19:32
2013-02-03T19:19:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,246
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Intelligently and interactively installs dot files from the same directory using symbolic links from the home directory. ''' import os import sys import shutil files_to_ignore = ( 'deploy.py', 'LICENSE', 'README.md' ) possible_ssh_private_key_files = ( ...
[ "emily@zubon.org" ]
emily@zubon.org
108a2a5962b56c5693ee9fcf5027dd1c4c1a5272
f225c95cf67c0b9c1278ba2376197ab747c91ae1
/app_config/__init__.py
bea8bfcf231d0c4c783713ca61cd889f37025b98
[]
no_license
pkrasnyuk/python-RESTfull-WebService
fafb91394af93616596b7e826100000704f8dbf5
6789ddd646fcf79f10811ec6ab68d445490e41a9
refs/heads/master
2023-08-03T23:16:21.366715
2023-07-15T01:21:42
2023-07-25T08:47:02
189,635,904
2
1
null
2023-08-02T02:27:38
2019-05-31T17:49:24
Python
UTF-8
Python
false
false
2,494
py
import json import os from app_config.config import Config def load_configuration(config_file_path): if config_file_path and os.path.isfile(config_file_path): with open(config_file_path, "r") as config_file: try: load_result = json.dumps(json.load(config_file)) ...
[ "pkrasnyuk@hotmail.com" ]
pkrasnyuk@hotmail.com
fb0fa69a4a05906e134ce9a2a9602ffc95ad2807
b9ff5e3bdc9be013590ef8438cc5b6c143e757f0
/code/products/migrations/0008_auto_20180620_2013.py
3e0a502566c25cb03b32c4078592be97e8be2e3e
[]
no_license
lethisa/django2ecom
b8792789337d6e727dda65b4307bc58a02cb43db
65373d1b057cabfac23b881c1f86f3eb4a59b570
refs/heads/master
2020-03-21T00:25:18.335192
2018-07-06T03:20:54
2018-07-06T03:20:54
137,892,500
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
# Generated by Django 2.0.6 on 2018-06-20 13:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0007_product_slug'), ] operations = [ migrations.AlterField( model_name='product', name='slug', ...
[ "lethisaputri@gmail.com" ]
lethisaputri@gmail.com
f0fed322463f67b3e7e37bc823ba6f1b32059ddc
7cb3274199793f9c5f193d43c92d832e20668f89
/trainmodel.py
f441223bfbe3e8bea8a0cef9b82c40d9c3e88a8b
[]
no_license
anuj2110/FaceRecognition
51956c71ee197edbc48a4ddc2d668098add91c5e
fe419ebe79d2deb259bab29fb867d001b3af6cd3
refs/heads/master
2021-05-21T04:07:11.919720
2020-04-13T12:42:02
2020-04-13T12:42:02
252,535,702
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
# -*- coding: utf-8 -*- """ Created on Fri Apr 3 13:21:54 2020 @author: Anuj """ from tensorflow.keras import layers as l from tensorflow.keras.models import Model,Sequential from tensorflow.keras.applications.vgg16 import VGG16 import numpy as np from tensorflow.keras.preprocessing.image import ImageDataGenerator i...
[ "atrehan789@gmail.com" ]
atrehan789@gmail.com
6878cac300bf18e2e450cd1656b0b26693b23a7b
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/Vulkan/BufferCreateInfo.py
5d76890125f871cb5c2cb76be92e0dd89aa0a4f7
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,209
py
# encoding: utf-8 # module gi.repository.Vulkan # from /usr/lib64/girepository-1.0/Vulkan-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes of th...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
8cf6db9dd4b6aa7154a6d86c2408d2b5eaa07ed3
0db19410e9751790af8ce4a0a9332293e379c02f
/mmpose/datasets/transforms/__init__.py
7ccbf7dac2822a8b8d093366c2632ee81c9d88f9
[ "Apache-2.0" ]
permissive
open-mmlab/mmpose
2c9986521d35eee35d822fb255e8e68486026d94
537bd8e543ab463fb55120d5caaa1ae22d6aaf06
refs/heads/main
2023-08-30T19:44:21.349410
2023-07-04T13:18:22
2023-07-04T13:18:22
278,003,645
4,037
1,171
Apache-2.0
2023-09-14T09:44:55
2020-07-08T06:02:55
Python
UTF-8
Python
false
false
971
py
# Copyright (c) OpenMMLab. All rights reserved. from .bottomup_transforms import (BottomupGetHeatmapMask, BottomupRandomAffine, BottomupResize) from .common_transforms import (Albumentation, GenerateTarget, GetBBoxCenterScale, PhotometricDistortion, ...
[ "noreply@github.com" ]
noreply@github.com
e4103af9c334ebda338051406002d470f160085f
e8bc319b26f4ca69e363b81194da3692fc9900b9
/120.三角形最小路径和.py
b799f63d281ad9d47b8119434723fd39a785e344
[]
no_license
chxii/leetcode
4b5c2d5acc4c10d93a3c1e2d9773d38590b5408f
a1c54a867ffdf0690e26e73999f8efc518fef442
refs/heads/master
2022-04-11T15:56:37.123797
2020-04-07T08:37:55
2020-04-07T08:37:55
238,866,316
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# # @lc app=leetcode.cn id=120 lang=python3 # # [120] 三角形最小路径和 # # @lc code=start class Solution: def minimumTotal(self, triangle: List[List[int]]) -> int: if not triangle or len(triangle) == 0: return 0 m = len(triangle) n = len(triangle[-1]) dp = [[float('inf')] * (n) ...
[ "xi.cheng@biomind.ai" ]
xi.cheng@biomind.ai
9f437daeae8ef5eed4fff4417f18ad21366df054
3ee0c019a7b10a7a78dfc07d61da5d2b3cf3ad27
/191113/swep_2117_홈방범서비스.py
8a97c9aad3e9acbaff3dc1f0a96086db81eb8033
[]
no_license
JiminLee411/algorithms
a32ebc9bb2ba4f68e7f80400a7bc26fd1c3a39c7
235834d1a50d5054f064bc248a066cb51c0835f5
refs/heads/master
2020-06-27T01:37:55.390510
2019-11-14T08:57:16
2019-11-14T08:57:16
199,811,134
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import sys sys.stdin = open('swep_2117.txt', 'r') from collections import deque delta = ((1, 0), (-1, 0), (0, 1), (0, -1)) def find(x, y): global homeCnt visited = [[0 for _ in range(N + 1)] for _ in range(N + 1)] visited[x][y] = 1 cnt = city[x][y] Q = deque() Q.append([r, c]) k = 1 w...
[ "wlals41189@gmail.com" ]
wlals41189@gmail.com
8db5bfa3d73b5f07725a2a441166c5d20a4219dc
15781159d59e07209382c0c560ec75497186bd27
/project2/plot.py
3253df8877ebf22f41f058e6227082c6035ea1c9
[]
no_license
dougshidong/mech516
cfad3569ef6fd50b0054bf913315d3cdfca0a62d
8358f5429881441dd9809170afeaf3db93c72e7b
refs/heads/master
2021-01-10T23:03:21.914212
2016-12-02T21:33:59
2016-12-02T21:33:59
70,628,442
2
0
null
null
null
null
UTF-8
Python
false
false
1,627
py
#!/usr/bin/env python import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.backends.backend_pdf import PdfPages plt.rc('text', usetex=True) plt.rc('font', family='serif') fname = ['Godunov','HLLC','MacCormack'] inname = 'exact.dat' xe, re, ue, pe = np.loadtxt(i...
[ "doug.shidong@gmail.com" ]
doug.shidong@gmail.com
90472afe2ddab6686099aefea75222231352131e
45870a80cbe343efe95eb9e8d0bd47c8c88353d1
/特殊的函数/venv/Lib/site-packages/tensorflow/contrib/data/python/ops/interleave_ops.py
2485c0d22098deb12eed5864ddec8218fe5687a9
[]
no_license
pippichi/IntelliJ_PYTHON
3af7fbb2c8a3c2ff4c44e66736bbfb7aed51fe88
0bc6ded6fb5b5d9450920e4ed5e90a2b82eae7ca
refs/heads/master
2021-07-10T09:53:01.264372
2020-07-09T13:19:41
2020-07-09T13:19:41
159,319,825
0
0
null
null
null
null
UTF-8
Python
false
false
6,052
py
# Copyright 2017 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...
[ "874496049@qq.com" ]
874496049@qq.com
4f44ff65f94163b3fd4e6aed042fb3f16285a7c3
ae92e7e1a3e66059e81da62dca274ea664fa3568
/eight-queens/main_demo3.py
2367d71070d386ecdcadece789ef2d77ad5050a6
[]
no_license
nasihs/omelette
a90b6f80e4025be8bbfd608953773f5e1e862836
135e199c12d53d36ec05e3a1b615a478aab71611
refs/heads/master
2021-09-20T12:15:56.344038
2018-08-09T13:53:27
2018-08-09T13:53:27
141,831,224
0
0
null
null
null
null
UTF-8
Python
false
false
6,620
py
# -*- coding:utf-8 -*- """ 自动前进 加入了多线程通信 加入了自动计算步数 """ import cv2 import numpy as np import sys import subprocess import identify_demo as id from multiprocessing import Process, Queue def count_blocks(): pass def move_forward(temp, fwd, q): flag = 1 while True: coor = q.get(True) if t...
[ "nasihs1113@gmail.com" ]
nasihs1113@gmail.com
81a97264c5de5a15b96cb8468452246dc403a2ef
1157e03573c8a1310e7145a3d6426ab79bdc4681
/utils/label_check.py
35e9db3dc3f2acbca3d68d2ff1345fb33da87d0a
[]
no_license
Interesting6/SegySegUNet
3a5d2568398e72032cbed03c89ff60737c9dca4b
91dc6475dd0c94d4e727a4dc2a7802a2d559832c
refs/heads/main
2023-02-23T10:41:27.232883
2021-01-17T04:30:20
2021-01-17T04:30:20
330,310,111
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
import matplotlib.pyplot as plt import numpy as np import segyio import os data_dir = "/home/cym/Datasets/StData-12/F3_block/" data_path = os.path.join(data_dir, "F3Seis_IL190_490_Amplitude.segy") label_path = os.path.join(data_dir, "F3Seis_IL190_490_Label.segy") data_cube = np.transpose(segyio.cube(data_path), (0,2,1...
[ "cym1106515697@outlook.com" ]
cym1106515697@outlook.com
39bc582e2ac16c9c823548cbeff5e7f1e3705111
2893460027b0f109f8d0e2a6aaf3b2f03befd642
/media.py
df39668871b60ce68997834c86305c3a006cbf48
[]
no_license
ldsz6524/Programs
f7f4efba9fe2b2f428a4cdce65bbd861c5c153f8
ea6310a1fe52642e629875ba7d2f215c5a4c2b12
refs/heads/master
2022-04-11T17:59:57.119771
2020-03-12T05:17:29
2020-03-12T05:17:29
113,326,209
3
0
null
null
null
null
UTF-8
Python
false
false
621
py
import webbrowser class Movie(): '''This class provides a way to store movie related information''' def __init__(self, movie_title, poster_image, trailer_youtube): '''This method is uesd to initialise the object''' '''Line 8 to 10 are the definition of instance variables...
[ "noreply@github.com" ]
noreply@github.com
c84a441156c8b3291af36939bd3f090075b2f96c
afa85dbb2e496b6357ffe4e163163cea76095e35
/113mon.py
8c3432a3c6bde889f77d36084b139c3e4f950b00
[]
no_license
RaghulHari/pythonprogramming
f276d0669fe40d5c7bc0bff27f7192e3547a2375
29bdff7c6c038494ce396503acec832ac7bf888a
refs/heads/master
2020-05-30T06:28:39.459731
2019-10-03T07:33:08
2019-10-03T07:33:08
189,580,304
0
2
null
null
null
null
UTF-8
Python
false
false
209
py
l=input() l=l.split("/") a=l[0] b=l[1] c=l[1] e=len(a) f=len(b) g=len(c) if e==2 and f==2 and g==4 and int(l[0])>0 and int(l[0])<32 and int(l[1])>=1 and int(l[1])<13: print("yes") else: print("no")
[ "noreply@github.com" ]
noreply@github.com
8212533adce5b873f82bb889796cd14c74185f25
fd18d9737b8a48c452272cc525397757e3b05bd3
/wirfi_app/migrations/0022_presetfilter.py
fd6a4d698ad24dfe8cd1e47cd182e762ebe7da62
[]
no_license
rameshdhungana/wirfi-backend
7551081bf1ccac4d6b8977b6f778001f5f96e9b2
a1afcb3543dfbbe582383532174e3f84a30712b6
refs/heads/main
2023-01-02T13:23:44.041954
2019-01-31T10:17:05
2019-01-31T10:17:05
305,905,796
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
# Generated by Django 2.0.7 on 2018-09-07 08:42 from django.conf import settings import django.contrib.postgres.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('wirfi_app', '0021_remove_device_priority'), ] ...
[ "ssumedhiw@gmail.com" ]
ssumedhiw@gmail.com
8d1500fc9d9743384c3cf312d133450010f67d6f
8afae7ea1b1129edbcba6558cc0e1197fcf9d868
/data/acs_pums/analyze_energy.py
98f1a3cf52cd7af1f8eb309dec83f39c915a7376
[]
no_license
mjstevens777/energy-portal
bb3f89d4fcb29f778df2940d394995fe274b59c4
4dbd59972091058320da00818b2256e4a16826aa
refs/heads/master
2021-01-21T04:44:33.205235
2016-06-08T22:40:35
2016-06-08T22:40:35
55,736,179
0
0
null
null
null
null
UTF-8
Python
false
false
1,153
py
import csv from collections import defaultdict vars = ['ELEP', 'GASP', 'FULP'] data = {} for var in vars: data[var] = defaultdict(float) data[var + '_weight'] = defaultdict(float) puma_ids = set() with open('acs_pums/data/energy_usage_individual.csv') as f: for i, row in enumerate(csv.DictReader(f)): ...
[ "mjstevens777@gmail.com" ]
mjstevens777@gmail.com
2670bf4dde4523bdc076aa6d44c2a8acca432221
91d101db50816f2cda918998fd1b70396f27a143
/mllib_trial_pca.py
5a1866eacaa8c8d3eb96b253c080fd33c5b7d80e
[]
no_license
shah-deven/Reducing-Inequalities
b6d93068b4125b58362fe095cb5001d0b0d3b236
d67b24e8ecd4f5547f06e622351130c644efd126
refs/heads/master
2020-03-10T17:12:44.198588
2018-04-14T07:52:30
2018-04-14T07:52:30
129,494,482
0
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
from pyspark import SparkContext, SQLContext from pyspark.mllib.regression import LabeledPoint, RidgeRegressionWithSGD from pyspark.mllib.linalg.distributed import RowMatrix from pyspark.mllib.linalg import Vector import numpy as np def parsePoint(line): values = [] # if line.split(",")[1] != 'income': ...
[ "shahdeven04@gmail.com" ]
shahdeven04@gmail.com
6191ce97580edf97f30469eba4fddaa91ca01a42
6a46949273edb67a5962f88a85c93612c0cb4810
/constants.py
abea9333fe550eb4920a795a163c2698779e608a
[]
no_license
Jonasori/Outdated-Disk-Modeling
1c3e22bfca4b6b4e6882a8887b3fb9fac1d7529f
1964a2f543870cb112421eb32ed3a725e0acf842
refs/heads/master
2020-03-11T01:16:22.500038
2018-09-27T03:36:02
2018-09-27T03:36:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,032
py
"""A place to put all the junky equations I don't want elsewhere. FOR GRID SEARCH. """ from astropy.constants import c from astropy.io import fits import numpy as np import datetime c = c.to('km/s').value mol = 'hco' # These frequencies come from Splatalogue and are different than those # embedded in, for example,...
[ "jonasori@gmail.com" ]
jonasori@gmail.com
ad0a0089f5111ace12566437673580d3d18754df
851b465959f5afbdae433714c2cc0000b8cb2b09
/MINI2/member/models.py
981439578adc5fc95b6dcf39652d3821718661cb
[]
no_license
haeinyy/webproject_communitysite
944cf7b09b9a746297c8f53f4fb837641246ffc0
47ebbcb47fe348592d66e9574044d058a72c030e
refs/heads/main
2023-06-20T05:03:44.311740
2021-07-19T08:58:41
2021-07-19T08:58:41
379,854,526
1
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from django.db import models # Create your models here. # pk = user_phone class Member(models.Model): user_name = models.CharField(max_length=15, verbose_name="사용자이름") user_pw = models.CharField(max_length=15, verbose_name="비밀번호") user_phone =...
[ "sohuig@sookmyung.ac.kr" ]
sohuig@sookmyung.ac.kr
f408b88581308159c47ed8e101bf9fac61db48b9
29beed260f7292a65b1a2ad9cbe710255029005f
/blog/migrations/0001_initial.py
67a643c0cbc1a9d830c2f3ac2665822521917154
[]
no_license
petervargaofficial/prvniblog
11b2f98c3c378a858f2ca29bdfde5c4f78526fb2
9c16ab08166df04c1b1e521ee9776ee390cc0198
refs/heads/master
2020-06-10T03:06:29.053911
2016-12-10T15:27:26
2016-12-10T15:27:26
76,111,654
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-10 13:51 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
[ "peter.varga.official@gmail.com" ]
peter.varga.official@gmail.com
f1910d4e4c8d87f5aeb016310db8387103e97414
19d6b5b3692bd8bd62f3c1638c725a68c35f5469
/blog.py
d33c62fa373353475f2d526a6c5b77c3b897478c
[]
no_license
jinkangcheng/Python
1345999e69288569377025c0dfbb49809151ceb8
211ea738d7e9cd0c95432e42b8baabcc1a88db00
refs/heads/master
2021-01-10T09:06:44.063828
2016-01-05T15:02:33
2016-01-05T15:02:33
48,080,197
0
0
null
null
null
null
GB18030
Python
false
false
2,423
py
#!/usr/bin/python #coding:utf8 from flask import Flask, render_template, url_for, request,redirect,make_response,session import os,MySQLdb app = Flask(__name__) app.secret_key='afjlsjfowflajflkajfkjfkaljf' user_list = ['admin','anonymous','py'] imagepath = os.path.join(os.getcwd(),"static/images") @app.route('/') def i...
[ "jkc93@126.com" ]
jkc93@126.com
d65aabe6a818c51ba0ee19a2b996ca3bf098aaea
f13ef014a60930f7571faa4e817ba393605e1d15
/sistema/sistema/urls.py
82ed756e7fc089a0531c445caafae3c00606dfe0
[]
no_license
Robert321/Sistema2Sprint2
b977e7947eb07ff406b9df4347a23b4dbaa7c3c1
663dac6ecc967fb6b675f5525fe16c0b253bd2ad
refs/heads/master
2021-01-19T00:24:23.649139
2014-07-09T13:27:54
2014-07-09T13:27:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
from django.conf.urls import patterns, include, url from django.conf import settings from django.contrib import admin from django.conf.urls.static import static from django.views.generic import RedirectView admin.autodiscover() from sistema.apps.registro.views import * urlpatterns = patterns('', url(r'^media/(?P...
[ "robet_741@hotmail.com" ]
robet_741@hotmail.com
7b4edb1a9aaa2df00d07914dfe7aad3f4f5d8a26
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02407/s010066877.py
e8955e076ce82566c91dd3f2b32b6e8cc5421855
[]
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
201
py
n = input() a = list(map(lambda x : int(x), input().split(" "))) for i, a_ in enumerate(reversed(a)): if i == 0: print("%d" % a_, end="") else: print(" %d" % a_, end="") print()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
14079e30fa26cf1e221d4368be6681f4a6455963
2cc638b403001e9418ffdd9aeaa367a81e11faa8
/code/DeepGPs/models/GP/GPlib.py
be4815bb680d4427711bb89a3dd843c139b2dc69
[]
no_license
mhavasi/MPhil_Project
f0a51d5efcaa141a2b839c13502a2fae79f5dc6c
312122922d0b364ab34350015aab61e71a9812ee
refs/heads/master
2021-03-27T19:44:38.783555
2017-10-06T14:23:55
2017-10-06T14:23:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,876
py
from ..AbstractModel import AbstractModel import GPy import time import tensorflow as tf import numpy as np class GPlib(AbstractModel): # The training_targets are the Y's which are real numbers def __init__(self, training_data, training_targets, modelParams)...
[ "mh740@cam.ac.uk" ]
mh740@cam.ac.uk
b9717f3483c03ebfdc8246efed5f98a7a5d0adfc
523ddad20a1a541be5bb0fa55dc4df21e85e644a
/neuralNet.py
8b867f9327607bd6b6c244ae0f2f1a97296d60dd
[]
no_license
alv16106/NeuralNet
b1d353e738fe82a0982598be76b96c82a3aae6c4
45257fa3b4453e26cdac19b92e8ba9d1dd8fb008
refs/heads/master
2020-05-17T05:17:22.434786
2019-05-10T03:28:00
2019-05-10T03:28:00
183,530,045
0
0
null
null
null
null
UTF-8
Python
false
false
3,441
py
import numpy as np import utils import data import pickle class Network(object): def __init__(self, shape): # Cuantas layers queremos self.num_layers = len(shape) self.shape = shape # Inicialización random de pesos self.weights = [np.random.randn(y, x+1) for x, y in zip(shape[:-1], shape[1...
[ "alv16106@uvg.edu.gt" ]
alv16106@uvg.edu.gt
804cea13ed938a7fde7a5ed8b23008394fe60ae2
d1633816e7ab93b4a00e37946dce2f93eddd66ae
/ps1/ps1.py
54cb6a7c74672788c960134ada6232c24f2767a1
[]
no_license
RitterGT/ComputerVision
d15affc7b25df9f646ea4c3cb958c8013c09e6a2
ad27ac548385365f3302314d4a78b1397b7eb072
refs/heads/master
2021-01-22T01:58:05.347050
2015-11-08T22:31:27
2015-11-08T22:31:27
42,410,753
1
1
null
null
null
null
UTF-8
Python
false
false
3,196
py
import cv2 import numpy as np def part1(): cv2.imwrite("output/ps1-1-a-1.png", cv2.imread("input/Image1.png")) cv2.imwrite("output/ps1-1-a-2.png", cv2.imread("input/Image2.png")) return def part2(): image1 = cv2.imread("output/ps1-1-a-1.png") b,g,r = cv2.split(image1) #Swap red and blue ...
[ "RitterGT@gmail.com" ]
RitterGT@gmail.com
d9e35c58ef81da07d57d505c560402b03b7a66eb
85b7431db3b2f90ec7749a3f7d7755bd9f09092d
/SeleniumEssentialTraining/04_02/Radiobuttons.py
0348d096fecfa768c2b52f0776eef06b29e9c0b6
[]
no_license
tcd1558/ScriptingForTesters
db4f8260123459a9406fbbbe4306c76817d83589
2a6aa6aa6dedc18cb74c7dd0987d170854f27588
refs/heads/main
2023-04-07T05:22:22.808921
2021-04-14T22:45:24
2021-04-14T22:45:24
342,373,670
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
# This script opens a webdriver (Chrome) to access # the test website https://formy-project.herokuapp.com # enters a string and clicks on a button # Then it sleeps for 60 seconds and closes the browser # webdriver is needed to start the browser driver e.g. chromedriver from selenium import webdriver # Add the sleep fu...
[ "tcd1558@yahoo.com" ]
tcd1558@yahoo.com
369c85f97223d4a424164aea2c749e27cfaff3c0
32fc5324804cb67fe93102121cef95160d95e997
/main/form/tree/wrapper.py
061dcb6e49f23d0d0e8ef0732a4912a0d17ffe34
[]
no_license
fu2re/jsondb
69b982db395f184ba24811cfb6d29b40ba899e16
bd870a8df97a37c96df1a00c605dae6cf4a3636e
refs/heads/master
2021-01-19T22:01:45.389053
2012-08-27T08:31:23
2012-08-27T08:31:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
# -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui, Qt from project import QProjectItem from table import QProjectTableItem from data.projects_manager import projectManager class QProjectTree(QtGui.QTreeWidget): """ Левая панель, дерево вида: проект -> таблица """ def __init__(self, root, pare...
[ "fu2re@yandex.ru" ]
fu2re@yandex.ru
22718770c683b7f8769e1f964ec84b760f44aa20
0420c3de754604feac524cda55d23fa0c1fa1306
/Sublime Text 2/Backup/20130223154609/sublemacspro/sbp_mark.py
08f2049cae66e67bfb73486c3b90aa157d1416ff
[ "BSD-3-Clause" ]
permissive
jgeller819/dotfiles
93341ea4040d8a942b6391b2c92f5299c6950261
c78153a57b0ab6ad95bcb0f23a522a0135e8b7a8
refs/heads/master
2021-01-25T03:27:30.841815
2014-06-24T03:55:32
2014-06-24T03:55:32
20,668,049
0
0
null
null
null
null
UTF-8
Python
false
false
3,069
py
import sublime import sublime_plugin # Remove any existing marks # class SbpCancelMarkCommand(sublime_plugin.TextCommand): def run(self, edit, **args): m = self.view.get_regions("mark") # Get current selection: currentSel = self.view.sel()[0] if m: self.view.erase_regi...
[ "jgeller819@gmail.com" ]
jgeller819@gmail.com
3dd1b32431110ef79c1c370c4226d35bac027777
082f4fc478b554d2257440edb1a31a17bb805c72
/Video-Person-ReID/data_util/create_metadata_files.py
da1002a9970c0e823708a02852a4d91496d9cc36
[ "MIT" ]
permissive
anurag3/2019-CVPR-AIC-Track-2-UWIPL
0d637c9fe707609bec29dbe3b36704caa50b4f36
61ee2c96611e10fe51a52033b1cd0e2804d544ca
refs/heads/master
2021-03-04T20:42:47.246524
2020-04-04T00:06:20
2020-04-04T00:06:20
246,063,049
0
0
MIT
2020-04-04T00:06:22
2020-03-09T14:49:53
null
UTF-8
Python
false
false
3,103
py
from os import listdir, mkdir from os.path import join, split, isfile, isdir image_sets = [ 'query', 'test', ] dummys = [ '', #'_dummy', ] models = [ 'v2m100', ] aic_track2_dir = '/path_to_aic19-track2-reid/' for model in models: for image_set in image_sets: for dummy in dummys: ...
[ "noreply@github.com" ]
noreply@github.com
0a8f1ad2849f4fd538ae144669fe95ff27917f08
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/layout/_showlegend.py
627f4d0cd8ad3a72ac09cad8f153f99e1ff91981
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
422
py
import _plotly_utils.basevalidators class ShowlegendValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name='showlegend', parent_name='layout', **kwargs ): super(ShowlegendValidator, self).__init__( plotly_name=plotly_name, parent_name...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
f0c6c67f26d32148b533776cf2bb3ab0dec518e8
bd4d9fdf6deaa88d98493e1db50fccf785b09a0d
/Nest2PagerDuty.py
77501f71c9bc15d9fdc9bec4c2ebf212fd4befd4
[]
no_license
ophirr/Nest2PagerDuty
42ebae1c8a07a8163cbaf03065c43ace58ea1915
3716214d3384304792222cc89adad38a691a5b20
refs/heads/master
2021-05-19T17:24:09.964814
2020-04-20T03:31:28
2020-04-20T03:31:28
252,046,817
0
0
null
null
null
null
UTF-8
Python
false
false
3,716
py
import gmail import json import requests import re from sekret import api_key, GNAME, GP, ROUTING_KEY, INCIDENT_KEY extsub = '' nest_url = '' try: from BeautifulSoup import BeautifulSoup except ImportError: from bs4 import BeautifulSoup # Login to gmail, yes this mechanism is insecure g = gmail.login(GNAME...
[ "ophir@tizos.org" ]
ophir@tizos.org
51b265658ed77898b0443e969d95d3fb4c4e3a52
4329dea0118b0665551695c50f6fcf4e58cd60e1
/BenchmarkingThesis/dataStructures/CTData.py
2535684c14de3b5b328626a02cdba29fc676fa48
[]
no_license
SirEdrick/Spectral-CT-Thesis
5a5586bdd0068140a21a888d40fed12206556da7
e7ace4eb01bb85a89cb30eebf7edc0b552a5a307
refs/heads/main
2023-06-04T22:42:05.867100
2021-06-27T18:36:07
2021-06-27T18:36:07
380,811,472
0
0
null
null
null
null
UTF-8
Python
false
false
40,348
py
''' Created on 19 sept. 2018 @author: Wail Mustafa ''' import sys import os import string import h5py #from libtiff import TIFF from PIL import Image import numpy import itertools import warnings import time import matplotlib.pyplot as plt import matplotlib.colors as mcolors import imageio class CTData(object): de...
[ "noreply@github.com" ]
noreply@github.com
03e89042f9e43ee0f4a84569e259fbf7739b5baa
0f0440c398ce75044c0e54b12d6c0bc5d1e7a167
/sitepr/votacao/models.py
29d4c61720428aa026f4d758364f806a59e3b476
[]
no_license
ElSulphur/DIAM
8511b15681861c5198479bfdf18455656a5b60ba
726f4df785ee5b7b6c58d961b4bb6621de55052f
refs/heads/master
2023-03-31T20:23:38.345012
2021-04-10T22:57:46
2021-04-10T22:57:46
356,336,623
0
0
null
null
null
null
UTF-8
Python
false
false
698
py
from django.db import models # Create your models here. from django.utils import timezone from six import string_types import datetime class Questao(models.Model): questao_texto = models.CharField(max_length=200) pub_data = models.DateTimeField('data de publicacao') def __str__(self): return self...
[ "nascimento1188@gmail.com" ]
nascimento1188@gmail.com
82dce29d8fa0ff40bc86b3b1042df98f9ff565eb
cdc410b6025ae28e8184b6f92a7e324337fca320
/dynamicprogramming/even_length.py
156d355542766fa2c0e93d54d9e47d9b77d26cff
[]
no_license
superwololo/codingpractice
e9ffbe0b4673879ecda45072c5cfa3822ac28ef5
0106c04e2b3ec74f5a55467c6bee100e52fd3970
refs/heads/master
2020-12-26T12:31:35.239153
2020-01-31T20:28:25
2020-01-31T20:28:25
237,511,151
0
0
null
null
null
null
UTF-8
Python
false
false
2,521
py
""" arr1 = [1, 2, 3, 1, 2, 3] arr2 = [1, 5, 3, 8, 0, 2, 3] def longest_even(arr, index): cumsum -> [1, 6, 9, 17, 0, 19, 22] k = 1 k = 2 """ https://livecode.amazon.jobs/session/aca517f3-53c6-4c69-befb-5236c3ae399f The n-queens puzzle is the problem of placing n queens on an n×n chessboard su...
[ "e.johnston@criteo.com" ]
e.johnston@criteo.com
43a474811ccf00c5c702c89371ec5c28d26e0e29
fe328aa4eaf907be3808d2e5a5815fb336f38d09
/src/RunBot.py
81a926a15205afa52f9759662378b85786a3640c
[ "MIT" ]
permissive
Ashvio/ProPlayerInfoBot
b3845113531fae19cd7a1d550ded9d50f1031d62
5da07962ecf1480db1b51e3192ecd095db8fa89c
refs/heads/master
2021-01-13T00:55:39.583643
2016-09-02T21:04:56
2016-09-02T21:04:56
48,395,769
0
0
null
2016-09-02T21:04:57
2015-12-21T21:45:18
null
UTF-8
Python
false
false
2,899
py
from src.DatabaseManager import DatabaseManager, load_db, is_video, get_url from src.Player import to_comment, Video, Player import praw import time import re def save(manager, filename): manager.save_db(filename) def get_players(title, db): words = re.split(" |'", title) # for value in db.values(): ...
[ "ashvion@gmail.com" ]
ashvion@gmail.com
33c0fe675935c71160a22f399c58efd34b7b34b8
4305377e2d58954adcfc5991c80f5dd3bd2bfab6
/cgi-bin/profileDBManager.py
3118db001607b872abd1d6ee2f04202413468cf3
[]
no_license
gypdtc/CSC_410_website
5fb5048381698b71c05087aa09709dee4bfb0218
81de0241d5a5cf56d55af58a13e68cd6213b68e3
refs/heads/master
2021-01-13T11:17:09.727218
2016-12-24T01:40:52
2016-12-24T01:40:52
77,259,436
1
0
null
null
null
null
UTF-8
Python
false
false
2,120
py
import pymysql from dbconnector import connect from datetime import datetime def update(user_ID , post_data): update_sql = 'UPDATE user_account set nickname = %s , email_address = %s where user_ID = %s' # print user_ID #connect to DB con = connect() if con == None: return 'Error' try: with con.cursor() as c...
[ "nevgivin@gmail.com" ]
nevgivin@gmail.com
43a65b4c9ab7a04e313f976ac7e7cc37d94dab2b
cfc46fd56c16ac9c010bcf0c1eb50da3047d1b2b
/tests/metrics/test_num_capability_types_count.py
51dddd5c9cf6c11bab8bb61b7dd79b78f12e4e20
[ "Apache-2.0" ]
permissive
radon-h2020/radon-tosca-metrics
d93ef5b3dc53c7863ba98a985919237fe6c4aadf
d0a10e10f2d897299a04f69290f09d5589bc039f
refs/heads/master
2021-08-24T13:53:43.207745
2021-07-06T08:44:00
2021-07-06T08:44:00
242,997,596
3
0
Apache-2.0
2021-03-29T13:47:46
2020-02-25T12:45:05
Python
UTF-8
Python
false
false
905
py
import unittest from parameterized import parameterized_class from toscametrics.blueprint.num_capability_types import NumCapabilityTypes yaml_0 = 'tosca_definitions_version: tosca_simple_yaml_1_0' yaml_2 = ''' tosca_definitions_version: yorc_tosca_simple_yaml_1_0 capability_types: tosca.capabilities.Root: desc...
[ "stefano.dallapalma0@gmail.com" ]
stefano.dallapalma0@gmail.com
53e06503760a12ac6ce4123864321dd77ff2a55a
2ec8c8e6786af00fde9b3842e6e0e0f97ee6b4e2
/resumeparser/RP_RestAPI/urls.py
76ae5802c112b98050c885161b7111f90a3b198b
[ "MIT" ]
permissive
job-hax/resume-parser
6e842a277152fc513c80f38c6b714712d3209d06
4793702f24581d88ca021379341a652e42514659
refs/heads/master
2022-04-27T07:25:30.128013
2019-12-25T01:51:40
2019-12-25T01:51:40
221,457,165
19
11
MIT
2022-04-22T22:43:37
2019-11-13T12:43:58
Python
UTF-8
Python
false
false
225
py
from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from RP_RestAPI import views urlpatterns = [ path('', views.resume_parser), ] urlpatterns = format_suffix_patterns(urlpatterns)
[ "smammadov@opengov.com" ]
smammadov@opengov.com
d37066a5a6bf7f763b5b3e013e4fd15fa44146dd
e970c6bfb725a038a17600763db44e21e2591f18
/ex43_classes.py
9c23e10614c52b0286a29fe6cd006b1511725e08
[]
no_license
gabyborja/learnpython
5b9dede94c7bbf2087d79833c4dd0ee099b29d23
13bccb5723c125e28646da694cafec4f581ba55f
refs/heads/main
2023-03-08T02:14:44.447713
2021-02-17T11:22:58
2021-02-17T11:22:58
329,461,347
0
0
null
null
null
null
UTF-8
Python
false
false
10,425
py
from sys import exit from random import randint from textwrap import dedent class Scene(object): def enter(self): print("This scene is not yet configured.") print("Subclass it and implement enter().") exit(1) pass class Engine(object): def __init__(self, scene_map): ...
[ "gabyborja1994@gmail.com" ]
gabyborja1994@gmail.com
c5ba575380e28a585c9ac4e8e03714922bac52c8
8300081ddc9d64c22fdf4cce6fdac1fbdf8c04f1
/config/settings/local.py
14fa955e6ac315db9b91b1df3a847b41310d0bda
[ "MIT" ]
permissive
didils/patearn1
4234fe5cafce3f3beb435007f2ca971550837901
332d94acdce55ae15233b19d3fd6e2beea8c5122
refs/heads/master
2021-06-04T21:16:49.227953
2018-08-28T15:17:03
2018-08-28T15:17:03
146,205,150
0
0
MIT
2021-06-01T22:37:57
2018-08-26T18:16:01
Python
UTF-8
Python
false
false
2,587
py
from .base import * # noqa from .base import env # GENERAL # ------------------------------------------------------------------------------ # https://docs.djangoproject.com/en/dev/ref/settings/#debug DEBUG = True # https://docs.djangoproject.com/en/dev/ref/settings/#secret-key SECRET_KEY = env('DJANGO_SECRET_KEY', de...
[ "Home@seolssaui-MacBook-Pro.local" ]
Home@seolssaui-MacBook-Pro.local
23b62f0334b9a37e1575aa80724c0edee2a6e52b
7680dbfce22b31835107403514f1489a8afcf3df
/Exercícios_parte_1/exercício__029.py
4386d4d6650ace06a10d4a8400fb756767315b53
[]
no_license
EstephanoBartenski/Aprendendo_Python
c0022d545af00c14e6778f6a80f666de31a7659e
69b4c2e07511a0bd91ac19df59aa9dafdf28fda3
refs/heads/master
2022-11-27T17:14:00.949163
2020-08-03T22:11:19
2020-08-03T22:11:19
284,564,300
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# radar eletrônico v = float(input('Qual é a velocidade atual do seu carro em km/h? ')) multa = ((v-80)*7) if v<= 80.0: print('Tenha um bom dia! Dirija com segurança!') else: print('VOCÊ FOI MULTADO! Excedeu o limite de velocidade que é de 80 km/h\nVocê deve pagar uma multa de R${:.2f}!'.format(multa)) ...
[ "noreply@github.com" ]
noreply@github.com
e3c68f4ac6e886779865be178261a082ad6cca6f
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/distutils/command/install_egg_info.py
0085fdca385a9fd1a67ca687b00ca2114190c80d
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,730
py
# 2016.08.04 19:58:52 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/distutils/command/install_egg_info.py """distutils.command.install_egg_info Implements the Distutils 'install_egg_info' command, for installing a package's PKG-INFO metadata.""" from distutils.cmd import Command from distutils im...
[ "info@webium.sk" ]
info@webium.sk
8e3ec9c35c3f22fd3e972293f675185cb418958e
75d0009170fe44c315ce72a8c29e712ade3848c3
/9_Outter_Function/_random_pop.py
47f2d189c7f4a4c61652331e96df35c2ab7a60e0
[]
no_license
moon4311/sp
d6a65d5b95bc51332b9a80a1410ffb6854a99f61
207758d4f4f7c28fa1cd9f277825313257782433
refs/heads/master
2021-09-14T07:20:49.257372
2018-05-09T13:28:42
2018-05-09T13:28:42
116,090,677
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import random def random_pop(data): # number = random.randint(0 , len(data)-1 ) number = random.choice(data) # return data.pop(number) data.remove(number) return number if __name__ == "__main__": data = [1,2,3,4,5] random.shuffle(data) # data 섞기 (셔플) while data : print(random_pop(data...
[ "kjm4311@naver.com" ]
kjm4311@naver.com
3d89834b623f58e1db722a58a6c10d0aab51a050
670ce29ecc090e25f4f97ced4cd57ca622b100aa
/171-excel-sheet-column-number.py
63106fc2cab019a23e82922c299f843b40ac143e
[]
no_license
Dinesh-Sivanandam/LeetCode
94dcff32d6652e085c262d0a11ca51345e9d1fde
b9298bbba8a5d36e352aba9efbd4d2875c35a49b
refs/heads/master
2023-04-20T01:31:26.516015
2021-05-20T00:57:33
2021-05-20T00:57:33
290,481,529
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
class Solution(object): def titleToNumber(self, s): """ :type s: str :rtype: int """ result = 0 for letter in s: result = result * 26 + (ord(letter) - ord("A") + 1) return result if __name__ == '__main__': sol = Solution(...
[ "noreply@github.com" ]
noreply@github.com
43489505ae9946941ddd6047e32d0228478da0fb
eee3ae1b9ff636fa23529b607cef12280691056b
/mysite/settings.py
8b09ff37fbf3cc55011ffeac330ab209f0a2560c
[]
no_license
suryakandikonda/my-first-blog
bf68793ee6715f620f737f64964bbcefbef869d4
fb92fb118463651f0c1aefabd67a0a82a1ac2f18
refs/heads/master
2021-05-26T09:05:31.864895
2020-04-08T14:35:14
2020-04-08T14:35:14
254,069,539
0
0
null
null
null
null
UTF-8
Python
false
false
3,173
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.5. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os # ...
[ "suryasaikandikonda@gmail.com" ]
suryasaikandikonda@gmail.com
c3167f44e52789fcb1bd320316272ce7c9a2f0ae
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.COT/Serif_8/pdf_to_json_test_Latn.COT_Serif_8.py
e4aedda09a59d48663e36d901911e8ca7937caf0
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
303
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.COT/Serif_8/udhr_Latn.COT_Serif_8.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
3def6d57e5465af715fc2d59609c2a22eb819f2b
3f856dc08cd450cfd3f4df5a68aa43498e2b88b9
/venv/Lib/site-packages/boto3/__init__.py
2d2f4418beaaed00b503e7beb1466bc73d31f753
[]
no_license
choudharyamit26/textTospeech
e5ac58625e1dab9e7db847bb3b42d7d6284c4948
24711e7a313dcf1916e213cf1e987c7535a4feca
refs/heads/main
2023-02-23T02:55:42.240045
2021-01-25T11:45:54
2021-01-25T11:45:54
302,002,910
0
0
null
null
null
null
UTF-8
Python
false
false
3,340
py
# Copyright 2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
[ "ravichoudhary766@gmail.com" ]
ravichoudhary766@gmail.com
100ddc11054c0255d41bbb2c33745df5e14e4b4c
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/sankey/link/_targetsrc.py
4e42976ca8999da96195282be5eaa6a49248ed35
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
403
py
import _plotly_utils.basevalidators class TargetsrcValidator(_plotly_utils.basevalidators.SrcValidator): def __init__(self, plotly_name="targetsrc", parent_name="sankey.link", **kwargs): super(TargetsrcValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
[ "noreply@github.com" ]
noreply@github.com
5dac70dadcc3b9398003e47c74b4b2e2c18ab7a4
15b4f3daf1a7858c0bfd020a8de41165b132564d
/bin/correction.py
538aadb740d044c625b187f2edafac19457ddf4c
[]
no_license
Daalma7/Fairness-with-Many-Objective-Optimization
dd3eae0ae185021c0c28779d98a01c9b86aff4f7
9661e9ece243be43a6ea770027f4da7d2cf8c040
refs/heads/master
2023-07-12T05:24:11.144703
2021-08-17T17:05:02
2021-08-17T17:05:02
384,517,212
0
0
null
null
null
null
UTF-8
Python
false
false
6,216
py
import pandas as pd from math import ceil import random import csv import sys import warnings import importlib import os import re import numpy as np from collections import OrderedDict as od warnings.filterwarnings("ignore") sys.path.append("..") from general.ml import * from general.individual import * from general....
[ "davidvillarmartos130499@gmail.com" ]
davidvillarmartos130499@gmail.com
b2ccb3486375934a7ce2ca85148e21351487cf9a
b738a0edcd7f23af475d913b91df18ca39c9e6fe
/lclCluster.py
c495a79f608edccbfb9f83bfd7027e0a2a6399fb
[]
no_license
erodrig9/Amazon-Recommendation-Analysis
b2d70df50fed5f9c165ff7868b15410baa70c94b
5b4477a307a684b3561f1b85794dbfb46283d0e6
refs/heads/master
2021-01-20T12:04:44.723628
2011-08-05T02:51:40
2011-08-05T02:51:40
2,158,225
0
0
null
null
null
null
UTF-8
Python
false
false
2,757
py
import sys def possiblePairs(n): return n*(n-1) - (((n-1)*n)/2) inOutDegree = {1: 0} adjNodes = {1: [0,0]} fileName = sys.argv[1] if len(sys.argv) < 2: print 'One file name must be specified' quit() IFILE = open(fileName, 'r') line = IFILE.readline().strip() while line[0] == '#': line = IFILE.r...
[ "erodrig9@gmail.com" ]
erodrig9@gmail.com
3a9466a85877955598211cf8c720848236b693ae
e45fef67477bb265f0b69e63ecb5517106525e8b
/calculator.py
e1dcde888b4da05d6cea78e7ac2464de9646eb9e
[]
no_license
lenskikh/cass
0a6c72d75b6b41da066f05c3511016dd54e4e307
f84ce7328db26bf1d82ddd26caf0a84d07e96b4c
refs/heads/master
2023-07-29T11:04:14.997261
2023-07-17T19:53:33
2023-07-17T19:53:33
194,334,196
1
1
null
null
null
null
UTF-8
Python
false
false
8,780
py
import tkinter as tk #Sound activation results in a slower response to key presses #If you want to hear keystroke clicks, remove the comments on three lines #import winsound #sound_of_click = 'sounds/click.wav' window = tk.Tk() window.title("CASS calculator") x = 390 y = 280 numbers = {".":tk.PhotoImage(file = r"...
[ "lenskikh@gmail.com" ]
lenskikh@gmail.com
3a94e53dca1597278dc61bdfb447167934a00193
77b246d2dc02fb1faba5df8803dadbda483a03c9
/test.py
a1ae48249f1c306a960e2c199886ed0d51445ff3
[]
no_license
Vergangenheit/RestAPI
3a62c1dcbbc444c9b312af481f58e89666db8363
ec8513ee2466e281cb4bd9acbd90892007be50c5
refs/heads/master
2022-11-19T08:36:04.444962
2020-07-23T14:31:07
2020-07-23T14:31:07
281,750,741
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
import requests BASE = "http://127.0.0.1:5000/" # data = [{'likes':20, 'name':'Lollo', 'views':123}, # {'likes':4, 'name':'Pillo', 'views':45}, # {'likes':204, 'name':'Calo', 'views':235}] # for i in range(len(data)): # response = requests.put(BASE + 'video/' + str(i), data[i]) # print(respons...
[ "lorenzo.ostano@gmail.com" ]
lorenzo.ostano@gmail.com
ba8e27733b696dda064fe948e3719ab2450b6ba8
c70c7aae620cd725ce3f94943ba82d399098ef80
/app/neuralNetworkMod/learning/starter2.py
caccde51d3b51a2b6e2afc7b159bdf8bb25bac59
[]
no_license
ra2003/Ciphey
ca90eebcc6b11cd6dd527c49d8411326ddd53752
4fed962b6b839d21835f94738461e737441f02fa
refs/heads/master
2021-02-05T00:31:52.562122
2019-12-30T13:28:36
2019-12-30T13:28:36
243,722,593
1
0
null
2020-02-28T09:15:34
2020-02-28T09:15:33
null
UTF-8
Python
false
false
1,531
py
import tensorflow as tf # deep learning library. Tensors are just multi-dimensional arrays mnist = tf.keras.datasets.mnist # mnist is a dataset of 28x28 images of handwritten digits and their labels (x_train, y_train),(x_test, y_test) = mnist.load_data() # unpacks images to x_train/x_test and labels to y_train/y...
[ "brandonskerritt51@gmail.com" ]
brandonskerritt51@gmail.com
f20b66793a778f5a890d39576989a7578d983703
8b7c8d5d8603b9532293460f8d320a7b85c03959
/revenge/native_exception.py
381074b93d959e7c44342091db2f4a9d1541b66e
[]
no_license
freemanZYQ/revenge
035abcb2940e07b1b522caa76e2fadc5fdc3c7ab
96cd24560010c472b7183519f636d7047fba7c53
refs/heads/master
2020-07-27T20:29:54.464726
2019-09-13T02:20:59
2019-09-13T02:20:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,459
py
from . import Colorer import logging logger = logging.getLogger(__name__) import typing import frida import colorama colorama.init() import os from termcolor import cprint, colored from prettytable import PrettyTable here = os.path.dirname(os.path.abspath(__file__)) class NativeBacktrace(object): def __init__...
[ "whootandahalf@gmail.com" ]
whootandahalf@gmail.com
8a72a1ce79731e27b566a353ffb0ab6d393bfdd5
eb6738286948946905ff076ccdfc83c5a811f62a
/app.py
97f06d1656a7c2ef818da34e9ab10f7a64a296e2
[]
no_license
TretanAll/belajar-flask
020591e9e7124ce000f77d25565ebcfe6b8498f6
9102052ae49a7866763f3a6c669df5614b8c9c11
refs/heads/master
2020-05-18T16:48:28.770385
2019-05-08T05:08:15
2019-05-08T05:08:15
184,536,186
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
from flask import Flask, render_template, request app = Flask(__name__) #: route untuk index @app.route('/') def home(): search = request.args.get('search') if not search: #:memanggil templates yang sudah dibuat return render_template('index.html') return 'Hasil dari kata kunci search...
[ "fata.fatchur2906@gmail.com" ]
fata.fatchur2906@gmail.com
1aa152002ee24ec974bb466baa4c482491acd0b8
d1d5caf663266106d367a2557c82dfc0de167691
/Part 6/client/main.py
437ed26de8ac45c954d5d0c33c1575b9e876cff8
[]
no_license
navin20/TalkieTut
e4d15ac631da2bac77ea465da87d8cc33f912163
3fcab1100a84a61a2c89fe29244ebd9f6e5a4258
refs/heads/master
2020-12-04T02:40:32.433411
2018-12-06T03:03:29
2018-12-06T03:03:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,378
py
#!/usr/bin/python # -*- coding: utf-8 -*- from kivy.lang import Builder from kivy.app import App from kivy.uix.screenmanager import ScreenManager, Screen from kivy import Config Config.set('graphics', 'multisamples', '0') from kivy.utils import get_color_from_hex import List from List import MDList from lab...
[ "noreply@github.com" ]
noreply@github.com
8baed9fb3e23ad004c4f3dedc0a4b1acbf3ddce0
acab53339f2ec0a656dd297d185d7dd5dd9821fa
/all/findLowestCommonAncestor.py
76be497f2f11df909f15a90a4a8e07d474b4fd84
[]
no_license
shrutisaxena0617/Data_Structures_and_Algorithms
a355b127f2e5850e485aa784561ba7190432e14a
31641f04a7c9dfa0b8c5ca1f5c92c56d6f22b239
refs/heads/master
2021-05-03T13:04:08.578505
2019-07-08T02:28:09
2019-07-08T02:28:09
120,508,581
1
0
null
2018-02-06T19:05:28
2018-02-06T18:59:10
null
UTF-8
Python
false
false
931
py
class Node: def __init__(self, data): self.data = data self.left = None self.right = None def findLowestCommonAncestor(root, node1, node2): path1, path2 = [], [] if not findPath(root, node1.data, path1) or not findPath(root, node2.data, path2): return -1 i = 0 while i < len(path1) and i < len...
[ "shrutisaxena0617@gmail.com" ]
shrutisaxena0617@gmail.com
efd7e00ff85405fefa382fd9e4b1e1fe36de907b
726d8518a8c7a38b0db6ba9d4326cec172a6dde6
/0501. Find Mode in Binary Search Tree/Solution.py
808554b5b1825dcc00a81a5bd808278ae5eb3276
[]
no_license
faterazer/LeetCode
ed01ef62edbcfba60f5e88aad401bd00a48b4489
d7ba416d22becfa8f2a2ae4eee04c86617cd9332
refs/heads/master
2023-08-25T19:14:03.494255
2023-08-25T03:34:44
2023-08-25T03:34:44
128,856,315
4
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
from typing import List class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def __init__(self): self.pre = None self.ret = [] self.ret_count, self.max_count, self.cur_count = 0, 0, 0 def findMode(self, ro...
[ "faterazer@outlook.com" ]
faterazer@outlook.com
fbc91cbcf1923091f1650547f04392faef815546
965a7d9f81c051b9f56ea08fe048a3935f10ced6
/lclbindings/lclpython/TCustomButtonunit.py
f41c0045361708d399deab0567d319aa2958953b
[]
no_license
mabudrais/lazarus-ccr
1fd074078d04c869fe0a5a5140a1871b66e5c16d
be1510ff5bb5adae34fa91781c61f43650779f04
refs/heads/master
2020-12-25T11:41:40.836166
2015-08-14T07:26:17
2015-08-14T07:26:17
40,607,784
0
0
null
2015-08-12T15:16:48
2015-08-12T15:16:48
null
UTF-8
Python
false
false
1,332
py
import PyMinMod from TButtonControlunit import* class TCustomButton(TButtonControl): def Create(self,TheOwner): r=PyMinMod.TCustomButtonCreate(self.pointer,TheOwner.pointer) ro=TCustomButton() ro.pointer=r return ro def Click(self): r=PyMinMod.TCustomButtonClick(self.poin...
[ "m.abudrais@gmail.com" ]
m.abudrais@gmail.com
359b9da5690e878c8d9deee3140376753253f023
385f8d8ed7ab17e6217ab33485157e620cfcd51c
/base/16_进程与线程/02_线程.py
40551ed2beb05e2cdf3f22f6a83368c304ff2240
[]
no_license
simeon49/python-practices
78937992671a5447e11bc5cbc283201ad5b716a6
130f9845c6ab4c049fcbc549ee298c6e9576c2dc
refs/heads/master
2021-07-15T06:21:38.442779
2020-06-04T07:04:38
2020-06-04T07:04:38
159,765,263
0
0
null
null
null
null
UTF-8
Python
false
false
3,710
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # python 标准库提供了两个模块: _thread(低级模块) threading(高级模块 对_thread进行封装) import time import random import _thread import threading def job(thread_type): start = time.time() thread_name = '' if thread_type == '_thread': thread_name = _thread.get_ident() el...
[ "qixiyi@hlchang.cn" ]
qixiyi@hlchang.cn
815c603a59208f188e4e1771b1bd9f90f728af1e
24fefc553716d5b6420cd08bcc19d98f78e32a71
/OSP_1.py
55497598f971c2187505559c25d856bbccd75a73
[]
no_license
Raywang0211/Orthogonal-Subspace-Projection
5e927b1fdcb48f7c2dc3f00425f5ac4fe24c366d
231ecf355bfc9fcde7216ee348e88db575326a4f
refs/heads/master
2020-06-17T05:15:05.130439
2019-07-08T12:46:02
2019-07-08T12:46:02
195,808,952
1
0
null
null
null
null
UTF-8
Python
false
false
2,164
py
import numpy as np import matplotlib.pyplot as plt from numpy.linalg import inv from scipy import signal import random def Make_signal(s): t=np.arange(0,1,0.01)*2*np.pi #初始化時間並轉成角度顯示(2p=360度) sin=1+np.sin(t) #製造正弦波 make sin wave square=1+signal.square(t) #製造方波 make square wave triangle=signa...
[ "noreply@github.com" ]
noreply@github.com
3b0474b73ac383434f9c830cadaaaa8ced9e74bf
0c9bcafe1ad47b967c51e52f43693ddd8f35c2ef
/myCode.py
b21de49064354b50039e2197eb9c69d083a823bc
[]
no_license
FilipinoJonas/myCode
a5f1b57c5765b17dd653c23f1c12ef861d89874a
efb08cfb4ffaac010ac394cd951d53133a86f99c
refs/heads/master
2020-03-13T16:12:23.376253
2018-04-26T18:02:35
2018-04-26T18:12:32
131,191,431
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
print ("H") print ("E") print ("L") print ("L") print ("O") print ("") print ("W") print ("O") print ("R") print ("L") print ("D")
[ "jocastillo@s.sfusd.edu" ]
jocastillo@s.sfusd.edu
15fece6a426be27c6103e892920a63d3e689447f
afe810cbf8e8f14a1ece9bbe757e7001701c39a3
/weatherservice.py
e4441a6887d13ad9db697fb6a3e5be3a9bab28ea
[]
no_license
ginnikhanna/WeatherApp
3b5a4e5d2ee51681faf54227a08f38dd51c3d961
c9d6751460e688d891494fec1150367301267eb2
refs/heads/master
2021-01-05T05:52:47.709737
2020-02-16T20:29:58
2020-02-16T20:29:58
240,904,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,919
py
import weatherapiclient from weatherapiclient import WeatherInfo import openweather_apiclient class WeatherService: def __init__(self, city, weather_apiclient = openweather_apiclient.OpenWeatherApiClient): self._city = city self._weatherapiclient = weather_apiclient def city(s...
[ "ginnikhanna27@gmail.com" ]
ginnikhanna27@gmail.com
7d346bcd38ae3d28823754ad8174065e4599a0a3
63cf47ff7a2bf9b1c73d1874dc7182473e392d95
/0x05-python-exceptions/0-safe_print_list.py
bfbb4f5e9b981e500deff16d25cf09d3a9733514
[]
no_license
paurbano/holbertonschool-higher_level_programming
cddbf9fd7145e3ba059df3d155312e0d9845abea
2c055b5240ddd5298996400d8f2a7bc4d33c0ea4
refs/heads/master
2020-09-29T04:14:33.125185
2020-05-16T05:18:42
2020-05-16T05:18:42
226,903,807
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
#!/usr/bin/python3 def safe_print_list(my_list=[], x=0): try: cont = 0 while cont < x: print("{:d}".format(my_list[cont]), end="") cont = cont + 1 print("") return cont except IndexError: print() return cont
[ "paurbano@gmail.com" ]
paurbano@gmail.com
255f9fd73a162984b372c7afaaba667bb6e51176
5a5fd75627d8119cf2484fb319208d482ee86f70
/Python/forTest.py
35caa681c568530a0298f44d00bee96e34f8ebfa
[]
no_license
cgscreamer/UdemyProjects
9fb7daa2e86daf6ee603452f20cbf4d71551bdfb
b0a428fc88de0c1b8c6113ea8a8ca20afe187fa9
refs/heads/master
2020-04-16T14:02:01.166670
2019-06-04T10:17:08
2019-06-04T10:17:08
165,652,293
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
number = "9,234,567,789,567" cleanedNumber = "" for char in number: if char in "0123456789": cleanedNumber = cleanedNumber + char newNumber = int(cleanedNumber) print("The number is {}".format(newNumber))
[ "Colm.Creamer@logmein.com" ]
Colm.Creamer@logmein.com
6538dae5234e2367ccdb23d6f142688adf723e44
a4c144caa7e002d173641d6e7818b5e7932caf16
/drf_chart_of_account/migrations/0013_auto_20201015_1924.py
eec7de6dcfe66eac7c041b292ce204d7abe8345f
[ "MIT" ]
permissive
skoobytechforimpact/drf_chart_of_account
43a4dc55e132b5fb3e40609d9ab6714194cc29ba
a9c8243ed2231d38d7fb4fd5323a9f0ffadab5f2
refs/heads/master
2022-12-28T09:05:26.881381
2020-10-17T09:59:05
2020-10-17T09:59:05
302,094,331
0
0
null
2020-10-17T09:59:06
2020-10-07T16:22:44
Python
UTF-8
Python
false
false
1,505
py
# Generated by Django 3.1.2 on 2020-10-15 19:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('drf_chart_of_account', '0012_auto_20201015_1924'), ] operations = [ migrations.AlterField( model_name='layerfivemodel', ...
[ "pritom.saan@gmail.com" ]
pritom.saan@gmail.com
9c3e561c05ad7084a0fc8afc891b85a747eb8b7c
eb4e686d5cc25a48591238e7d42b8c88f0c73700
/edison/urls.py
314905bd3c54e4fceb2ee6fa563480c27f29bbae
[]
no_license
ead-ru/edison-test
933677c72e0d6415404282ecc55c6b233f47995b
d50582b7b3acecb3d0bb74ccb4ce6265458f6850
refs/heads/main
2023-06-05T01:50:09.832051
2021-06-28T06:49:06
2021-06-28T06:49:06
380,065,673
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
"""edison URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "ead@keemail.me" ]
ead@keemail.me
ca95ba1e5c60662d2effcbff8f9000c073bb79f8
c402e39720dce456f97fb596ed555f422c12b181
/Problems/udemy/reverse_string.py
57074e9ce2713471b99849e8351339d3697719af
[]
no_license
esau91/Python
af076ab4fd28fdff37cbfa9560769f18292c8a74
7df895e86c614bcf5ceb9030c34301a70826b9ae
refs/heads/main
2021-11-17T14:34:04.584707
2021-10-20T04:02:16
2021-10-20T04:02:16
314,422,938
0
1
null
null
null
null
UTF-8
Python
false
false
324
py
#Reverse a string def reverse_string(my_string): my_words = my_string.split(' ') reversed_words = [] for word in my_words: reversed_words.insert(0, word[::-1]) return ' '.join(reversed_words) if __name__ == '__main__': my_string = 'Hello My Name is Esaú' print(reverse_string(my_string...
[ "esau@defender.local" ]
esau@defender.local
bea952f31b540393fda7966d18a311d387f994f3
7edc9a47324f59b5b7299a1665da6d1ea7868d06
/test.py
a4eff73229ec562136a16da917ea77a25d1c1dbe
[]
no_license
ycdhqzhiai/PaddleOCR-demo
85adadeaa4aefcc67e17ca74edffa06c314d5401
51e045ed5023b3d9cadf3042432e9e7836ef922f
refs/heads/main
2023-03-08T13:17:25.518698
2021-02-24T02:51:38
2021-02-24T02:51:38
341,465,294
3
1
null
null
null
null
UTF-8
Python
false
false
1,478
py
import argparse import yaml import cv2 import numpy as np from PIL import ImageFont, ImageDraw, Image from core.PaddleOCR import PaddleOCR def parse_args(): parser = argparse.ArgumentParser() parser.add_argument("--params", type=str, default='data/params.yaml') return parser.parse_args() def draw_result(i...
[ "ycdhqzhiai@163.com" ]
ycdhqzhiai@163.com
70ecfde020b40b26f350d100c40a2ab6967e5e2b
0b1e91048726d39ae01a08e16e25af80209e09d5
/src/Qb_node/qbrobotics-qbdevice-ros-internal/qb_device_msgs/catkin_generated/pkg.develspace.context.pc.py
9c2c34f881f9402a7ca74b7c5c42599a841ad332
[ "BSD-3-Clause" ]
permissive
CentroEPiaggio/SoftLEGS-ROS_Package
e49e8d61a60c068f15b78c82950beddff30f0280
23f0f405dccdec1df43bb2d448e12a37a712ab51
refs/heads/master
2020-04-11T04:08:44.328439
2019-04-11T14:11:29
2019-04-11T14:11:29
161,502,560
0
2
null
2019-04-11T14:11:31
2018-12-12T14:49:41
null
UTF-8
Python
false
false
665
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/riccardo/catkin_ws/devel/include;/home/riccardo/catkin_ws/src/Qb_node/qbrobotics-qbdevice-ros-internal/qb_device_msgs/include".split(';') if "/home/riccardo/catkin_ws/devel/include;/home/riccardo...
[ "edoardo.sorelli@gmail.com" ]
edoardo.sorelli@gmail.com
a81bd154aac7ad9219f75bf433e0f82c1aaad35e
b6dc025a739f5fe75a6c7dc91f282b87e20edb51
/Model/NN/ReducedSet/RandSample/urinary_tract/urinary_tract.py
698a15eb22054f5ed316a7b653339129cfbb1109
[]
no_license
leon1003/QSMART
edc31dd2c4e6505108180debbe0cca22eff088f7
489ac208fe3fd08c7e65375d40367ea52458338e
refs/heads/master
2023-03-23T19:37:36.780320
2021-03-13T19:08:18
2021-03-13T19:08:18
174,651,478
1
0
null
null
null
null
UTF-8
Python
false
false
35,764
py
from __future__ import division import jmp_score as jmp from math import * import numpy as np """ ================================================================== Copyright(C) 2018 SAS Institute Inc.All rights reserved. Notice: The following permissions are granted provided that the above copyright and this n...
[ "lh10630@uga.edu" ]
lh10630@uga.edu
236a021fff78d1002577bb143ebe22a10e70a9c0
b5ba12d4dcb240ba6069964380f6a3aede79f448
/assessments/migrations/0001_initial.py
2239db1cf11d367868abd78fefe5fa79e660e53b
[]
no_license
70-6C-65-61-73-75-72-65h/erp
9e1a6f20a15d16794043f583022b1e04a9435b20
0e088c767d0d0c0e5515be703ed71252d55b70d9
refs/heads/master
2022-03-27T21:12:52.305257
2019-12-17T15:41:59
2019-12-17T15:41:59
224,333,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# Generated by Django 2.2.6 on 2019-12-03 17:42 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('company_operations', '0001_initial'), ('accounts', '0001_initial'), ] operations = [ ...
[ "max.ulshin.max@istat.com.ua" ]
max.ulshin.max@istat.com.ua
d29d485bf02a0c8cf68758d59a9ad5251572abcd
5bd69424f2f526d2a3d396121477eaa8ecab3605
/python3/machine_learning/tensor/deep_network_XOR/deep_network.py
516efbf1d36edcc4310e05fae5daa1c23cf8318a
[]
no_license
Sn-Kinos/toy_box
c7aec0f7e67c4e41d1eaff255cf7c64b44b926f6
bccfa3012e6ece58cd2a50940d2ecced03e4d38c
refs/heads/master
2020-05-27T09:31:16.440670
2017-06-17T19:05:52
2017-06-17T19:05:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
import tensorflow as tf import numpy as np xy = np.loadtxt('train.txt', unpack=True, dtype='float32') x_data = np.transpose(xy[0:-1]) y_data = np.reshape(xy[-1], (4, 1)) print(x_data) print(y_data) X = tf.placeholder(tf.float32, name='X-input') Y = tf.placeholder(tf.float32, name='Y-input') y_hist = tf.histogram_su...
[ "eonchan99@gmail.com" ]
eonchan99@gmail.com
5e281f3953e260e9561c2040ebfd0bee86bdbbbe
d306ab21f0960a5c44012ee84bc795284415cac8
/seventeenth_of_december.py
5483d0ce4adfaeb4bd350365d1b18976ed1990ed
[]
no_license
MartinMekk/julekalender
64d2ba01f3f780b447231a7a582f33e770ee64a8
4f20b96f77cb3e2801977128d3e464c494618520
refs/heads/master
2020-05-24T14:02:54.312528
2014-12-24T18:30:25
2014-12-24T18:30:25
27,596,079
1
0
null
null
null
null
UTF-8
Python
false
false
1,054
py
__author__ = 'martinsolheim' import copy def state_machine(from_state): if from_state == 1: return 6, 8 elif from_state == 2: return 7, 9 elif from_state == 3: return 4, 8 elif from_state == 4: return 0, 3, 9 elif from_state == 6: return 0, 1, 7 elif fr...
[ "martin.solheim@me.com" ]
martin.solheim@me.com