blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
3bb4a436ba047184d62d283d7b2b9e40cae5dd1a
c7d87b146913128fcc12dd4241f69a6b5b346235
/week6/6_6_BMI.py
71a33ddf3a4233c33c6832af7a7716835956133c
[]
no_license
PutkisDude/Developing-Python-Applications
cbe9fc169937087721440a378a912383ba7c2930
928c22bcb1b05408dc008c605c1c3a4b509a5536
refs/heads/main
2023-04-09T03:53:08.312225
2021-04-13T09:15:15
2021-04-13T09:15:15
336,190,821
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
#Author Lauri Putkonen #6. Returns the BMI. def bmi(weight, height): height = height / 100 bmi = weight / (height * height) return bmi weight = float(input("Type your weight(kg) : ")) height = float(input("Type height (cm): ")) print("Your BMI is %.2f" % bmi(weight, height)) #OUTPUT: # Type your weight(...
[ "putkis@gmail.com" ]
putkis@gmail.com
4fa3f1d14d7a3874a09c7c5cc9abb92aad5c255c
2b5f57510315d96de0ab5c374560adaac76a5abf
/Grade-Calculator.py
72ebdc9b91c7de88322355ebcc3dc32be95bd502
[]
no_license
zeem5/Grade-calculator
92ad1e9fb8bd69370b250c60cc388ec7220b1f5a
ab0c955d603d1903e472d5b5b43ec36dacd13c92
refs/heads/master
2020-04-08T03:35:53.580214
2018-11-24T23:46:14
2018-11-24T23:46:14
158,982,476
0
1
null
null
null
null
UTF-8
Python
false
false
353
py
x = int (input ("Enter your score")) if x > 0 and x < 39: print ("F") elif x > 39 and x < 44: print ("E") elif x > 44 and x < 50: print ("D") elif x > 50 and x < 60: print ("C") elif x > 60 and x < 70: print ("B") elif x > 70 and x < 100: print ("A") else: print ("Please enter ...
[ "noreply@github.com" ]
zeem5.noreply@github.com
76d07d0af3b66039cf6a45daa29221885fca4724
a00a9591df0c32f12595ac7c1c07ffbfd1185642
/punctatools/lib/preprocess.py
57260029e06ed82f4183b50b1169c5a496ff91b0
[ "Apache-2.0" ]
permissive
stjude/punctatools
4bcc100620e45c6e1839035cc2f6227d93f3fe7f
0630b67fdf2d81772b11b95b140468dca20a35de
refs/heads/main
2023-04-18T04:33:24.882656
2022-12-13T17:05:57
2022-12-13T17:05:57
377,252,061
7
8
NOASSERTION
2022-12-13T17:05:58
2021-06-15T18:00:57
Jupyter Notebook
UTF-8
Python
false
false
3,708
py
import os from typing import Union import intake_io import numpy as np import pandas as pd from am_utils.parallel import run_parallel from am_utils.utils import walk_dir from tqdm import tqdm def compute_histogram(dataset): """ Compute intensity histogram for a give image. Parameters ---------- ...
[ "37274810+amedyukhina@users.noreply.github.com" ]
37274810+amedyukhina@users.noreply.github.com
15585c539acb0e4546ebbccb70364de39847516c
e57d7785276053332c633b57f6925c90ad660580
/sdk/synapse/azure-mgmt-synapse/azure/mgmt/synapse/operations/_workspace_managed_sql_server_extended_blob_auditing_policies_operations.py
516ad87a451dfc9680c799edc043f4ea896578f1
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
17,241
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" ]
adriananeci.noreply@github.com
0e3aebd5a6b8e7490e4f7f478497e0a2e46b2f3d
61f9553eedc2ec936ea87f06da5b986091e3b8ff
/workspace/buildout-cache/eggs/plone.app.upgrade-1.3.4-py2.7.egg/plone/app/upgrade/v40/tests.py
5d20ec6119c77470822fbbc82a2aec777d5bd649
[]
no_license
gruhter/gso
47880b055455cc99d63eec72498048c857e7831b
c0eb949f8a06aab6b97329d51a6d046e2fc0a653
refs/heads/master
2016-09-01T18:28:05.589620
2015-05-14T19:38:18
2015-05-14T19:38:18
35,579,298
0
0
null
null
null
null
UTF-8
Python
false
false
26,186
py
import time from zope.component import getSiteManager, queryUtility from zope.ramcache.interfaces.ram import IRAMCache from Products.CMFCore.ActionInformation import Action from Products.CMFCore.Expression import Expression from Products.CMFCore.utils import getToolByName from Products.MailHost.interfaces import IMai...
[ "gso@abv.bg" ]
gso@abv.bg
fad45a86132e84bd2b36271cb1a2dfe8fc908e37
416bbc7b84b728950b1811ab310afa30ed652ec1
/cBOW_skipGram.py
d30695371bff6023498d6913ace880a713de21b1
[]
no_license
datacampmumbai/First-Project
b9b2acb86c2baeff9a7e11a01cf670b7a0254336
41772fa8017372b4dd696145eec3137603f2471e
refs/heads/master
2020-04-05T17:36:05.126030
2018-11-14T10:20:18
2018-11-14T10:20:18
157,068,394
0
1
null
null
null
null
UTF-8
Python
false
false
1,340
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 28 09:10:42 2018 @author: Sanmoy """ import os import pandas as pd import gensim from string import punctuation from nltk.corpus import stopwords from nltk.tokenize import word_tokenize, sent_tokenize custom=set(stopwords.words('english')+list(punctuation)+['»...
[ "noreply@github.com" ]
datacampmumbai.noreply@github.com
3d320782a9808236efa872d44247c0f6d4dd8806
246ee82e5e53770c71374e0bc781ccf7b7341634
/aula6.py
520c0bd4489a2827d36e79c69a01f7440b9cf398
[]
no_license
Felipe-builder/Dio_Introducao_PYTHON
f3e281e391977cc34c15033b3dfc8465971408fd
530ce4f11b5ce23dc78f6994dc5abc5e104e7644
refs/heads/master
2023-07-01T16:46:52.373154
2021-08-10T21:23:22
2021-08-10T21:23:22
394,672,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,646
py
conjunto = {1, 2, 3, 4, 5} conjunto2 = {5, 6, 7, 8} conjunto3 = {1, 2, 3, 4} conjunto4 = {1, 2, 3, 5} conjunto_uniao = conjunto.union(conjunto2) print('União: {}'.format(conjunto_uniao)) conjunto_interseccao = conjunto.intersection(conjunto2) print('Intersecção: {}'.format(conjunto_interseccao)) conjunto_diferenca1 = c...
[ "felipesvascon@gmail.com" ]
felipesvascon@gmail.com
cfbdf7c3da7f8b2699eaf24f527932d1c674b6d1
4e44c4bbe274b0a8ccca274f29c4140dfad16d5e
/Push2_MIDI_Scripts/decompiled 10.1.2b5 scripts/pushbase/touch_encoder_element.py
f9f76e3eeae43809b8f5db8daf6b10d1825bf8fa
[]
no_license
intergalacticfm/Push2_MIDI_Scripts
b48841e46b7a322f2673259d1b4131d2216f7db6
a074e2337b2e5d2e5d2128777dd1424f35580ae1
refs/heads/master
2021-06-24T15:54:28.660376
2020-10-27T11:53:57
2020-10-27T11:53:57
137,673,221
2
0
null
null
null
null
UTF-8
Python
false
false
3,161
py
# uncompyle6 version 3.0.1 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.13 (default, Jan 19 2017, 14:48:08) # [GCC 6.3.0 20170118] # Embedded file name: c:\Jenkins\live\output\win_64_static\Release\python-bundle\MIDI Remote Scripts\pushbase\touch_encoder_element.py # Compiled at: 2018-11-27 11:59:28 fro...
[ "ratsnake.cbs@gmail.com" ]
ratsnake.cbs@gmail.com
4b803dc11bc61c8e8bfaa692a0a6f248f40f8b06
bf885e4a58ac5ab888890e297eafcfca907d7845
/hello_world_project/hello_world_project/urls.py
d3bf32b3ef4875f4d09711b297f85325df8055ae
[]
no_license
manishbalyan/django-hello_world_app
c54e4875a9bb3dac7e58224f11e1cf6d60b70463
bc53fa0a8d3e57bc085bc113c0d5640521c45e44
refs/heads/master
2021-01-23T16:28:18.954683
2019-02-13T05:55:24
2019-02-13T05:55:24
38,373,453
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from django.conf.urls import patterns, include, url from django.contrib import admin urlpatterns = patterns('', # Examples: # url(r'^$', 'hello_world_project.views.home', name='home'), # url(r'^blog/', include('blog.urls')), # this link the project urls to app urls url(r'^admin/', include(admin.si...
[ "balyan05.manish@gmail.com" ]
balyan05.manish@gmail.com
6eb5cb0c208022350e4de33e4e9a311131f2b321
6f8a0685ecba9540ee5aefb44b3b09fb0e68ba14
/src/repeating_key_XOR.py
ec0f0b481a377301806a7e1ffcef6b2e8017c31f
[]
no_license
Auguste0904/CAESAR
def873cc6c965f1b0f92e7b1a560b4cd82935c6b
0f58741f40582b59b5923532fa199fc8876b2bbd
refs/heads/master
2023-03-17T18:58:50.165218
2021-03-11T08:54:19
2021-03-11T08:54:19
346,637,184
0
0
null
null
null
null
UTF-8
Python
false
false
1,653
py
#!/usr/bin/env python3 ## ## EPITECH PROJECT, 2020 ## B-SEC-500-PAR-5-1-caesar-lucas.moritel ## File description: ## repeating_key_XOR.py ## import os import sys import codecs def error_gestion_arg(argv): if len(argv) != 2: print("Error: Invalid number of arguments") exit(84) if os.path.isfil...
[ "auguste.alexandre@epitech.eu" ]
auguste.alexandre@epitech.eu
cafc587d98b94559ed1c700073ef8df288023c8a
a2f08f07c5a8473fc6d65b54844948524a8d56a5
/codigwithsilentsec/src/account/admin.py
b72b53b9d4b00e41e1423fa4da64b110879754f5
[]
no_license
silnetmagar321/etenderwebsite
9fd94e11d4103b68397a2af6179453f659591bb5
39521808442c63cc2ade17602430f625d091f213
refs/heads/main
2023-01-07T13:25:56.174456
2020-10-20T09:08:14
2020-10-20T09:08:14
304,482,380
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from account.models import Account # Register your models here. class AccountAdmin(UserAdmin): list_display = ('email', 'username', 'date_joined', 'last_login', 'is_admin', 'is_staff') search_fields = ('email', 'username',) ...
[ "56421032+silnetmagar321@users.noreply.github.com" ]
56421032+silnetmagar321@users.noreply.github.com
e3d05428e8745778fea2949c845fbc7da34a2630
6fd76f3bec4aa0784be93cfbd0f6fa72a00bbf5c
/accounts/views.py
efaf95511e52581717a16d54a73d3ba008f78bba
[]
no_license
ihor-nahuliak/Python-Django-Website
70e43ceadac36c745c6a50fc8635e01872c433e2
af4338325a9b741a7f047738049218d8384d6183
refs/heads/master
2020-12-08T03:35:25.046570
2019-11-01T12:07:46
2019-11-01T12:07:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
from django.shortcuts import render, redirect from django.contrib import messages, auth from django.contrib.auth.models import User from contacts.models import Contact def register(request): if request.method == 'POST': # Get form values first_name = request.POST['first_name'] last_name = ...
[ "salmanmoazam08@gmail.com" ]
salmanmoazam08@gmail.com
97dff6c9bea41dde6e6d416fe20ab4804a53ed50
9757f47db825c61fd7180462be97e59909d183fc
/env/bin/python-config
0eedffec046f906eddb2944d98f3b1f0b97d70c6
[]
no_license
dignacio0815/translatorrepo
dcf449eadc17bc3d89a111dec3120dfbb1a31cc7
f1beaf0fe378363e597db153976ccf1d46c79910
refs/heads/master
2020-03-25T15:44:18.681461
2018-08-10T19:38:56
2018-08-10T19:38:56
143,899,385
0
0
null
null
null
null
UTF-8
Python
false
false
2,363
#!/home/ubuntu/workspace/translator_project/env/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if ...
[ "denizeignacio@gmail.com" ]
denizeignacio@gmail.com
cc0c0b02bbebc632dd806ce1cb000e302ef11030
1c5444654ab9756378b19b633f89c34703b789f7
/workspace/dcmfinder.py
e75d9fd564c0d479b40b9e839829e74dcb5f54fc
[ "MIT" ]
permissive
ythackerCS/DCMFinder-Container
4f0834288becf5500d9072c75e33943e667539a1
cd37fe8ffb01f067c9b3876f35293c123ccaf644
refs/heads/main
2023-08-15T19:59:31.669406
2021-10-08T23:08:05
2021-10-08T23:08:05
415,128,896
0
0
null
null
null
null
UTF-8
Python
false
false
3,228
py
import sys, os import re import subprocess import csv from numpy.core.numeric import count_nonzero import pydicom from tqdm import tqdm keepIfTagNotFound = True def findDicoms(FilterForArray,FilterAgainstArray): print("RUNNING DCM FINDER") #This is the input directory (main directory) that is searched for ...
[ "46691555+ythackerCS@users.noreply.github.com" ]
46691555+ythackerCS@users.noreply.github.com
e4c15e1ee609db1dfee0dcf2cb6a825074785e3c
3e9259daf292e924b0f114b3fa2d4249f103de1a
/AI/DEAD_pyvona_test.py
411d52ac7fb166aaa6486fd4c8ba8199b7210379
[]
no_license
rajonali/HorribleAI
bd692479dc11114f525b7232e8b442e14ee27cf0
6644c931652802244b231df47c68cf4b2d6b673b
refs/heads/master
2021-01-25T09:04:08.814758
2019-02-01T04:53:08
2019-02-01T04:53:08
83,951,205
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
import pyvona filename = "/home/rajonali/AI/filename.ogg" v = pyvona.create_voice("something", "something") v.speak("Hello World")
[ "noreply@github.com" ]
rajonali.noreply@github.com
ecefc0e5c68e1e71c4d81babea0adbd873cc0749
b0680a0905161b5b8c8539f5021eb8dfcd33576a
/String Examples/ex14.py
c6ba2641e8aca25a72a144ed773bfe8b4f737999
[]
no_license
FerruccioSisti/LearnPython3
32a78f3b63a985b7a42dcf69ae3ac432ec3dea76
a4c0d238041836d22e99cf9f2cde80381daa91b9
refs/heads/master
2020-05-02T14:23:35.182958
2020-01-21T16:14:29
2020-01-21T16:14:29
178,009,432
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
#This example is using both argv and input to get information from the user from sys import argv #Get the name of the script and the user script, user_name = argv prompt = "> " print (f"Hi {user_name}, I'm the {script} script") print ("I'd like to ask you a few questions.") print (f"Do you like me {user_name}?") like...
[ "ferrucciosisti@gmail.com" ]
ferrucciosisti@gmail.com
e3dd831fccc3a95a952dbdc11ecb63ba2363ac4a
06cd596e0f49d1e5de09a3de56be504453881413
/graphm/matrix.py
251c4584e075f168eb420e2b6fea01820f7b76c4
[]
no_license
aguytech/graphm
630b0e8b252d286c91a3c2429f344952a3513b7b
c4f58dabced17be83bb89da2c8bf5eb554a69ea2
refs/heads/master
2023-04-11T23:17:09.014633
2021-05-11T11:00:31
2021-05-11T11:00:31
365,999,487
0
0
null
null
null
null
UTF-8
Python
false
false
4,282
py
''' Created on Apr 26, 2021 @author: salem Aguemoun ''' import functools import graphm.matrixboolean class Matrix(graphm.matrixboolean.MatrixBoolean): """ Manage a arithmetic matrix .. CAUTION:: Instance variables :var list matrix: matrix with real numbers :var int dimM: number of rows :var int dimN: number ...
[ "aguytech@free.fr" ]
aguytech@free.fr
124ef503647674d5954b7b9f0a1783d787153177
9b3a3a84d51b46f576b12ebf4da42f9c7244fc95
/introduction-to-python/02-datatype.py
a2b4764e02b72c09cf67285dc8434db055c74fd9
[]
no_license
Markweell/introduction-to-python
bce97e40a1553e7caa90e7b82d7e1510a816c3a1
ea3ceb38e482cab265c2fe8a638225ba1dc47e26
refs/heads/master
2022-06-20T02:07:37.597644
2020-05-09T18:34:46
2020-05-09T18:34:46
262,634,921
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
#string print(type("Hello word")) # str print(type('Hello word')) # str print(type('''Hello word''')) # str print(type("""Hello word""")) # str # Number print(type(30)) # int print(type(30.3 )) # float # Bolean print(type(False)) # bool # List print(type([12,123,123,123])) # List print(type([12,False,123,'string'])...
[ "marcosgallardoperez@gmail.com" ]
marcosgallardoperez@gmail.com
41f4b127bfbd6b75174719694a023c07f6cca470
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.TZO/Sun-ExtA_16/pdf_to_json_test_Latn.TZO_Sun-ExtA_16.py
1ec5da78381362fbe785a67e34d5996d974a7995
[ "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
311
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.TZO/Sun-ExtA_16/udhr_Latn.TZO_Sun-ExtA_16.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
313596f03b52d8f926d39f82a8d8f88c0c0a19bf
829d1c828e4e90b151718c4902413700e60db512
/Day_4.py
cfa06f63b2f8ba1598788baaed64f8084c15565c
[]
no_license
SoadB/100DaysOfCode-Python
2f8bcd337dc317bc33e8814ea1aeb24f78e4974f
9482e26825bf1bd5e7520371736896208086b185
refs/heads/master
2020-07-11T08:45:11.838852
2019-11-26T22:56:03
2019-11-26T22:56:03
204,493,407
0
0
null
null
null
null
UTF-8
Python
false
false
1,811
py
import random # Ex1 x = 5 y = 4.5 z = 2j print(type(x)), print(type(y)), print(type(z)) print("--------------------------") # Ex2. int number long = -72836309174392816438 print(type(long)) print("--------------------------") # Ex. float number num = -5.721 print(type(num)) print("--------------------------") # ...
[ "soadb321@gmail.com" ]
soadb321@gmail.com
59019e4e0de44502a63c95bc121cf7f067510cda
841a4906780c75fe72f0bea68e641bcab1fa19f5
/2019/07/two.py
75e4be895e0f2c8fba69cf1f2ce7e6abe32faa95
[]
no_license
RobertMusser/Avent-of-Code
87584a37e7d81b252affb2c04bda8abbc9ef9fd3
6bcdd866efaa1088b02f2ad50a125a453d41d7f5
refs/heads/master
2023-02-06T13:47:50.596782
2023-01-26T01:31:34
2023-01-26T01:31:34
224,293,033
0
0
null
null
null
null
UTF-8
Python
false
false
7,787
py
import math import itertools # Reads file into string, code adapted from ( https://github.com/imhoffman/advent/blob/master/2015/01/one.py ) def file_to_string(file_name): with open(file_name) as fp: while True: line = fp.read() if not line: # a little bit of error catching ...
[ "robert.musser@questu.ca" ]
robert.musser@questu.ca
e2b7d9b4825d95f7b92c5d81dd50fc3bdbd93371
13feec69e423695e650d018a1ceca1f6fa83d275
/training/config.py
dae9c6a0f262c66987ac2e7df5872e677b787141
[ "Apache-2.0" ]
permissive
OpenImageDenoise/oidn
4da631f5d9ce32ee632538aa5819bba650a08995
5579cd99edfa0839f87ec6960d16dcafcfe0eb31
refs/heads/master
2023-09-04T19:03:14.242623
2023-06-24T12:06:59
2023-06-24T12:06:59
168,025,831
1,491
157
Apache-2.0
2023-07-14T09:19:50
2019-01-28T19:48:52
C++
UTF-8
Python
false
false
10,880
py
## Copyright 2018 Intel Corporation ## SPDX-License-Identifier: Apache-2.0 import os import sys import argparse import time import torch from util import * # Returns the main feature from a list of features def get_main_feature(features): if len(features) > 1: features = list(set(features) & {'hdr', 'ldr', 'sh...
[ "attila.t.afra@intel.com" ]
attila.t.afra@intel.com
9a0d49f1da096724198cae1381ead5d2f5ab901e
7d4f3360991786ea493b5020e327951613ea3e54
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi
65bb45cf42ebcb13eaa1fc5f90908018caa7f712
[ "Apache-2.0", "MIT" ]
permissive
kiranw/travelingtable
ec7224e4d2496ce55a66de87a24f697e17796ef2
520d99bff8d0d72ba9986c3a0e0762fb8074892c
refs/heads/master
2016-09-05T22:02:38.520882
2015-03-02T03:36:34
2015-03-02T03:36:34
31,521,984
0
0
null
null
null
null
UTF-8
Python
false
false
3,116
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "kiranw@mit.edu" ]
kiranw@mit.edu
b7f64b488967b17bca55e572ba1fa82ce4bb0851
5d0a85c793266da7ea77aed0998398cc2eef0e49
/Sem 4/AI/Assignment2/task2/cube.py
6188ab2af0536685b9b891182a5df8c38cc9f969
[]
no_license
GeorgeSfarz35/UBB-Projects
8757efeeb4f8517602e2f0659050a6e54c47109f
b025958be030fd80c6b571cdd6e26c6a1bbd61b9
refs/heads/main
2023-09-03T15:30:08.652869
2021-10-15T16:02:08
2021-10-15T16:02:08
417,543,524
0
0
null
null
null
null
UTF-8
Python
false
false
2,886
py
import pygame, sys from pygame.locals import * from OpenGL.GL import * from OpenGL.GLU import * ###### import random verticies = ( (1, -1, -1), (1, 1, -1), (-1, 1, -1), (-1, -1, -1), (1, -1, 1), (1, 1, 1), (-1, -1, 1), (-1, 1, 1) ) edges = ( (0,1), (0,3), (0,4), (...
[ "george.sfarz@stud.ubbcluj.ro" ]
george.sfarz@stud.ubbcluj.ro
0588e6013bc4ccd0a97c815853df716c9fa6e040
c0ea89d58fd6f780a23f10a0b5535b3feada5a1a
/anchore_engine/services/policy_engine/api/models/image_selection_rule.py
e0f9abbea332fcca8e57209b3916beb1d02c3c34
[ "Apache-2.0" ]
permissive
longfeide2008/anchore-engine
b62acbab8c7ebbf7fa67a2503768c677942220e4
622786ec653531f4fb216cb33e11ffe31fe33a29
refs/heads/master
2022-11-08T10:02:51.988961
2020-06-15T18:00:37
2020-06-15T18:00:37
274,068,878
1
0
Apache-2.0
2020-06-22T07:27:39
2020-06-22T07:27:38
null
UTF-8
Python
false
false
4,764
py
# coding: utf-8 from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from anchore_engine.services.policy_engine.api.models.base_model_ import Model from anchore_engine.services.policy_engine.api.models.image_ref import ImageRef # noqa: F401,E501 from anchore_engine.services...
[ "zach@anchore.com" ]
zach@anchore.com
8ea4f2d22296c8763d073634a3bd564ee230dd68
7167c7acbebabc66f3e04959161c720e8091560b
/tour/tests/tour_tests.py
daeba4dec330067ede160de46ba55da76c130ea6
[ "MIT" ]
permissive
ambitioninc/django-tour
2a260ae3f6d59218b0cee9a7a9bc8b0a11c3d80f
f0181d71ebd6c66e11dd921ad5e602192fc621cc
refs/heads/develop
2016-09-05T21:48:39.161270
2015-10-05T19:44:58
2015-10-05T19:44:58
18,072,292
26
12
null
2015-10-05T19:45:15
2014-03-24T17:53:55
Python
UTF-8
Python
false
false
10,375
py
from django.contrib.auth.models import User from django.test import TestCase from django_dynamic_fixture import G from mock import patch from tour.models import Tour, Step, TourStatus class BaseTourTest(TestCase): """ Provides basic setup for tour tests like creating users """ def setUp(self): ...
[ "wes.okes@gmail.com" ]
wes.okes@gmail.com
b8c213645b92dcf3207a40770f860521dd4ee3aa
1363e0788e8359d7d50e7238ae08a165af3eced1
/shoppon/logs/my_syslog.py
1490cd48ce62af50024b0ee0f9f65b0115a0da37
[ "MIT" ]
permissive
shoppon/Python-learning
dd9b94f81a0d5d47061b3b6405ba5b00d6094a0d
50b68785b6b3b78a7deba3f452fa9c0fad218e9b
refs/heads/master
2021-06-20T16:15:38.156790
2020-12-22T15:20:44
2020-12-22T15:20:44
148,798,551
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
# coding: utf-8 import logging from logging import Formatter from logging import StreamHandler from logging.handlers import SysLogHandler try: import syslog except: syslog = None def init(): # 指定syslog的programname syslog.openlog('shoppon') def get_logger(): logger = logging.getLogger(__name__) ...
[ "shopppon@gmail.com" ]
shopppon@gmail.com
71618da8689e4208efa693fb48db8b677d588d1c
5ad97fca229f380bba82e6647b606ca93ba19f37
/tests/docstring_tests.py
59076ce548ac59be270952b895fa0c9f1523e983
[ "MIT" ]
permissive
KeyserSosa/lighthouse
d53df9b643c2214cd42811c61f2c0b3bcb58f388
5d66718daa14d0e5a243e3f2930cda818a88d33d
refs/heads/master
2021-01-23T01:08:54.881556
2015-06-05T22:23:22
2015-06-05T22:23:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,794
py
import inspect import re import lighthouse.balancer import lighthouse.check import lighthouse.checks.http import lighthouse.checks.redis import lighthouse.cluster import lighthouse.configs.handler import lighthouse.configs.monitor import lighthouse.configs.watcher import lighthouse.configurable import lighthouse.disco...
[ "william@hipmunk.com" ]
william@hipmunk.com
d7e882092e4b190087f4548e9372a44995255bcf
d3737731634ee3f6fa2b19f6806d42ecc27d21a5
/wals3/scripts/initializedb.py
273185799ef7e0f763aec0421b0141b6c83648e1
[]
no_license
Maggi12/wals3
3ad2475714b2d0bd1a7e5bb52baac1070eb07a5f
e66f08766ef67f51cae3d9656bcd4da1a8cf63c8
refs/heads/master
2021-01-22T20:02:56.225183
2014-07-25T15:42:39
2014-07-25T15:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,628
py
from __future__ import unicode_literals import sys import transaction from itertools import groupby, cycle import re from datetime import date, datetime from collections import defaultdict from pytz import utc from sqlalchemy import create_engine from sqlalchemy.orm import joinedload_all from path import path from bs4...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
09cf6f7180cf4a125f28ec1629fc501026177646
041228051fa241354ea3f33cd3065be58b3a7258
/binary_tree/huffman_decoding.py
8400dae15ebea018328ed06089541281b26a30c1
[]
no_license
muthusrathinam/30dayscoding
d52d6abd688e0d3d17115804dbbb613314a938c7
da5f880ba0252d2d425e1171924c8ad5e821e130
refs/heads/main
2023-06-21T15:45:00.224532
2021-07-23T06:19:19
2021-07-23T06:19:19
364,475,496
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
def decodeHuff(root, s): #Enter Your Code Here #create temp. pointer temp = root result=[] #traverse binary coded string for char in s: #traverse left of the tree if char is '0': temp = temp.left #traverse right of the tree else: temp = t...
[ "muthusmr444@gmail.com" ]
muthusmr444@gmail.com
63875d79110d18f6cff0081c2b8bd5e9f9f2c73c
ce29e42a50e35ec4637521bf8a3b71ab5f2fb9a6
/others/efficient/multi_process_manager.py
76f62e733dced66c471ded08dfc6895c02769ffe
[]
no_license
ico-Meng/WebCrawler
97b3d5f0956cc13a83009a26c3e50944252fba44
7d9236ee4e1c664d257f550d64186eeed892188b
refs/heads/master
2020-03-15T21:40:26.224465
2018-05-06T17:13:36
2018-05-06T17:13:36
132,359,481
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
#!/usr/bin/env python import random, time, Queue from multiprocessing.managers import BaseManager task_queue, result_queue = Queue.Queue(), Queue.Queue() class QueueManager(BaseManager): pass QueueManager.register('get_task_queue', callable=lambda: task_queue) QueueManager.register('get_result_queue', callable=lamb...
[ "ico.yigang.wang@gmail.com" ]
ico.yigang.wang@gmail.com
03de2449eab530e9938f1967544c20b6d90aa7d6
7ac83871db3ac0d2f3403ca574d6c16729b14e51
/p14.py
a035e1d6971ebe5411b33deef53ec2b3baa6c913
[]
no_license
hexiaolang/TensorFlow
aff18372c8edbc0102c83e535315e42c9ce0b022
82f5c00045e0a0bc49cffbcb4572fbdc4d8ec2b7
refs/heads/master
2021-04-26T23:56:12.375649
2018-03-06T09:23:38
2018-03-06T09:23:38
123,882,377
0
0
null
null
null
null
UTF-8
Python
false
false
2,104
py
# -*- coding:utf-8 -*- import tensorflow as tf import numpy as np def add_layer(inputs, in_size, out_size, n_layer, activation_function=None): layer_name = 'layer%s' % n_layer with tf.name_scope(layer_name): with tf.name_scope('weights'): Weights = tf.Variable(tf.random_normal([in_size, ou...
[ "helin0905@163.com" ]
helin0905@163.com
9b698fbb7fa81969df29bb6c75b7825c6c411271
50fa5e53d749f1ee829ecdb8351374ca80db1b5a
/DraggablePoint.py
5654e97856b41c44480631c84f82ac1e76ae3482
[]
no_license
locdoan12121997/matplot-test
bd938a47be13dfe0f89b87558fd4d6e5ee6fe0ec
7536ca3f3c1748e095195a2b8778443795504e96
refs/heads/master
2022-07-07T22:14:31.764868
2019-10-01T03:58:31
2019-10-01T03:58:31
211,907,700
0
0
null
2022-06-21T22:57:51
2019-09-30T16:44:48
Jupyter Notebook
UTF-8
Python
false
false
3,459
py
import matplotlib.patches as patches from matplotlib.lines import Line2D class DraggablePoint: lock = None id = None lines = [] def __init__(self, parent, x, y, size=0.3): self.parent = parent self.point = patches.Circle((x, y), size, fill=True, fc='k', ec='g') self.x = x ...
[ "cs2015_loc.dtt@student.vgu.edu.vn" ]
cs2015_loc.dtt@student.vgu.edu.vn
71b4c3192c59446446642f2dc38ac6eac594e87f
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_138/1273.py
7807dd8fe021579a8ca3aa6fa4f8c90eff1cc487
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
t = int(raw_input()) for i in range(1,t+1): n = int(raw_input()) line = raw_input().split() naomi = [] for j in range(0,n): naomi.append(float(line[j])) line = raw_input().split() ken = [] for j in range(0,n): ken.append(float(line[j])) naomi = sorted(naomi) ken = sorted(ken) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
1bd538971347d12cadaa9a32a71f8df8df448517
0ec06804975ff5ae7e4258d088d2a940e7b7f128
/artenv/artproject/artwork/settings.py
e12ad39f7dccf62d2210bcfa3f13ab838875340f
[]
no_license
NatashaGumbo/Artworks
4d38c817a7fefb22989590d08fcea2d8e22fc04c
fbbd7f9f16f48ea377159bb060460c039846461e
refs/heads/master
2021-08-11T09:39:11.739360
2017-11-13T14:11:15
2017-11-13T14:11:15
110,244,784
0
0
null
null
null
null
UTF-8
Python
false
false
3,444
py
""" Django settings for artwork project. Generated by 'django-admin startproject' using Django 1.11.7. 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/ """ import os...
[ "tashaverahgumbo@gmail.com" ]
tashaverahgumbo@gmail.com
b6780c329a1ffec2fc775d000bede61cd63fd982
0814eb1801f8a6f7b0fd8e3b07b2b8b4b23b2041
/dataloader/DataLoader.py
0ec4a93357adcf6c937dc0eacfa8fd811f6208a1
[]
no_license
xianfengju/SiamRPN-TF
173d59cf7205bc2c8a1c6b3d921ddc7622fe3db9
cf0859ee02328a2f32fb7a3ab5b38eaa55a6e17d
refs/heads/master
2022-02-13T03:47:55.532351
2019-06-26T10:07:43
2019-06-26T10:07:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,595
py
import tensorflow as tf import numpy as np import cv2 import os,sys CURRENT_DIR = os.path.dirname(__file__) sys.path.append(os.path.join(CURRENT_DIR, '..')) from dataloader.sampler import Sampler,ShuffleSample from dataloader.data_augmentation import RandomGray,RandomStretch,CenterCrop,RandomCrop,RandomColorAug,Rando...
[ "xiongjiangfeng@gmail.com" ]
xiongjiangfeng@gmail.com
3d29fc4351f1f443d97e90cdd5c1312728d92434
d498180b97f5f474c969b8f89fef522ae1afa642
/src/kubectl_launcher/config.py
9c0214253271dfaa0856cb57b576574f026dd584
[]
no_license
fm1ck3y/kubectl_launcher
cff19fc06f461655cdb8570f4701373b03f6586c
c842dae62ee265ab4e6aaaad01510920f3c0e0df
refs/heads/master
2023-04-21T19:39:58.203965
2021-05-07T16:35:37
2021-05-07T16:35:37
365,292,357
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
import yaml import logging from kubectl_launcher.exceptions import KubectlLauncherYamlException log = logging.getLogger(__name__) class Config: kubectl_servers = [] servers = [] deployments = [] services = [] persistentVolumes = [] def __init__(self,file_yaml): try: config...
[ "arte.vdovin@gmail.com" ]
arte.vdovin@gmail.com
6f319e57426860fd21a49fcc0ff9ad5f63b64e02
ed9d718007b5bc776f3405ad6bac3a64abdebf0b
/google/cloud/logging_v2/services/metrics_service_v2/transports/grpc.py
6a7a2c6a61a74aea88c49021160e9d906ee686b5
[ "Apache-2.0" ]
permissive
renovate-bot/python-logging
06b020e1aaae238b2693264bbad489567902481b
28d141d0e8ed4560d2e33f8de0d43b0825a7f33f
refs/heads/master
2023-08-31T09:01:49.829649
2021-08-30T20:37:20
2021-08-30T20:37:20
238,564,076
0
0
Apache-2.0
2020-02-05T22:49:14
2020-02-05T22:49:13
null
UTF-8
Python
false
false
15,816
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
c8e00806ae74fe6db6ef1b04820024697e4e3627
766c392a3a196d15909505fefae2d44a7041b215
/sanicApp.py
c935d9db151d0570392f46802fbdcc07f661144f
[]
no_license
bunny1985/qtConnect
b942702afce9bd1b7efc65b8f5d11754cf8b6000
e092cea5c87d3d5acea6f89cf153bc0dc561dd21
refs/heads/master
2020-05-19T08:52:24.786923
2019-05-05T13:30:37
2019-05-05T13:30:37
184,933,405
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
from sanic import Sanic app = Sanic("QTConnect", strict_slashes=True)
[ "michal.banas@gmail.com" ]
michal.banas@gmail.com
a21cbc48f84c785c531000e69be0bc25254d2951
8dfce5fab6ab68bd08807d5893c3dd60ddc5bded
/scraper/test_AmazonProduct.py
6296ef2ab9dea7176cb8f085e16f107615c5cfb2
[]
no_license
khiemjannguyen/Sem4_DB_Projekt
0f8865076f952311882eb7198defcca936d4c50b
60c157b38c423edf684c04372510a83ee9e7bd00
refs/heads/main
2023-04-19T22:38:31.110635
2021-05-15T21:47:19
2021-05-15T21:47:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,754
py
import unittest from AmazonProduct import * class Test_AmazonProduct(unittest.TestCase): url1 = "https://www.amazon.de/Samsung-MU-PA1T0B-EU-Portable-Kabel/dp/B074M774TW/?_encoding=UTF8&pd_rd_w=l7mCN&pf_rd_p=4f36a2ac-16fe-4a2a-a875-9a9ac12f9041&pf_rd_r=GXM3CM87QAX521QKM1WH&pd_rd_r=ce39a955-9f89-4159-88b2-278a4df7de...
[ "khiemjan.nguyen@gmail.com" ]
khiemjan.nguyen@gmail.com
b0adb28cc7f846a838514b4518eeb37eab5b89d6
dded91a7c9a6f45c6b2753270e46f4fab8ffbaa3
/EC_MenuApps/richtext_notepad.py
ed430474431476c52ce1138375a1b99ca4cbbbf1
[]
no_license
francisco-ribeiro1/Curso-Python
e0ab05c210f9228c85c0d889b4a3429ce8e87f33
edb7bfb4cf9bc6eb291e4caec894b0330ce4850f
refs/heads/master
2022-12-17T17:30:04.196796
2020-09-18T23:35:35
2020-09-18T23:35:35
296,724,075
0
0
null
null
null
null
UTF-8
Python
false
false
8,147
py
# Notepad com Rich text import sys from PySide2.QtWidgets import (QApplication, QMainWindow, QAction, QMessageBox, QTextEdit, QFileDialog, QInputDialog, QFontDialog, QColorDialog) from PySide2.QtGui import QIcon, QTextCursor, QColor from PySide2.Q...
[ "noreply@github.com" ]
francisco-ribeiro1.noreply@github.com
b5b837af34e57caa301ef9f8de09196ca005dc82
d913ab73cc005749478ae374729a68952ba16a1a
/mrjob/mrjob_spark_word_count.py
7acd36db76956ae3a19002fb4a1a350df16bd507
[]
no_license
matrixor/BigData
f5fa238b5c5bd165d6df2b227684a3f4774fd07b
1ba320424220891302b4643635b0e4938b691ba2
refs/heads/master
2021-09-03T20:07:57.349489
2018-01-11T16:21:52
2018-01-11T16:21:52
109,291,916
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
### You must define this file name as 'mrjob_spark_xxxxx' ### xxxxx is your job description, like 'word_count' ######################################################### from mrjob.job import MRJob class MRSparkJob(MRJob): ### update below 'job' function to define your job def job(self,lines): fr...
[ "alan.0002.t@gmail.com" ]
alan.0002.t@gmail.com
39abb1c58a1ae46d15c937d463dbc72c51ee8659
b641319ea5164c1eb5db77c819abdd1f8136fce3
/random_stream.py
26e2a2c280f4736e7a6b65c58e3d223854009094
[]
no_license
Anwesh43/theano-starter
8d4b2a9e3023f10018f9005ef9a9e4583270fee0
87f2d987ce02a883889eac6543b82530d1b90989
refs/heads/master
2021-01-12T02:48:45.879958
2017-01-16T15:35:22
2017-01-16T15:35:22
78,109,827
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
import theano.tensor as T from theano import * from theano.tensor.shared_randomstreams import RandomStreams srng = RandomStreams(seed=1000) r_uv = srng.uniform((2,2)) r_nd = srng.normal((2,2)) rng_val = r_uv.rng.get_value(borrow=True) rng_val.seed(345) r_uv.rng.set_value(rng_val,borrow=True) r_uniform = function([],r_...
[ "anweshthecool0@gmail.com" ]
anweshthecool0@gmail.com
baa7678b52fae8e25d141a1b921f8006e86a6d26
66adad393a638d3a4cc47ed3d8b45b208f155ebe
/bookmarks1/account/views.py
bdac6a72fc611c4ef5ecf8d9c87d1849eaffa17e
[]
no_license
Dyavathrocky/image_sharing
a5e265c65fde29c1f665c522230bd73dfbf16c23
0939240f9a96dd8c80de813939d79455e95782c7
refs/heads/main
2023-01-21T15:23:10.141362
2020-11-29T13:53:26
2020-11-29T13:53:26
316,220,540
0
0
null
null
null
null
UTF-8
Python
false
false
3,172
py
from django.http import HttpResponse from django.shortcuts import render from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from .forms import LoginForm, UserRegistrationForm, \ UserEditForm, ProfileEditForm from .models import Profile from ...
[ "davathrak@gmail.com" ]
davathrak@gmail.com
7bfebb60ad510573083f308d96db0442c9bcef2b
0464932d544ee946a13d991d2ae0b284b31f5edd
/hourglassSum.py
da959cca4c5b6d4bbe5cf48f412abd10d7401144
[]
no_license
arjun1237/2D-Array-DS
f9ace4ca845c6247fcff3c8d589745d8580fbb4d
61c74cdef9cbe8be493aa3249996ebe87e5267b1
refs/heads/master
2020-07-12T14:20:07.051525
2019-08-28T03:27:05
2019-08-28T03:27:05
204,839,189
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
def hourglassSum(arr): array_len = len(arr) highest = 0 for i in range(1, array_len-1): for j in range(1, array_len-1): total = arr[i][j] for k in range(0, 3): total += arr[i-1][j-1+k] + arr[i+1][j-1+k] if i == 1 and j == 1: ...
[ "noreply@github.com" ]
arjun1237.noreply@github.com
1ea4f37d648dbba8cdb93a2e9036c0c97129ecf0
8c06beebdb5ee28f7292574fefd540f8c43a7acf
/Arctype_Dashboard/asgi.py
f843ce0156227c94479067214b7caa5e4e018782
[]
no_license
progettazionemauro/ARCTYPE_DJANGO_DASHBOARD
0c3baf93c6a3f8dd28d9459a21a273efbed1f4e3
60d1dab19c32b7a80d70de85e846fd6760be9a26
refs/heads/master
2023-04-12T01:37:57.317231
2021-05-03T01:48:41
2021-05-03T01:48:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" ASGI config for Arctype_Dashboard 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.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "chukslord1@gmail.com" ]
chukslord1@gmail.com
d0fdb912fce20ef803705dbad7736eeb3cee1a79
81abfb6bfeb12b01e0df631cb5dbfe467f8b4382
/classes_objects.py
3ee8a3a7a0b51fbf70757da05c335894d157e417
[]
no_license
saikaranpraveen/python-basics
704163c40df6128585ff0b9cad884014445dbc76
e70148b4098b9d3b0ee86b91b46d6cd9581cf040
refs/heads/main
2023-06-27T06:42:04.356688
2021-04-23T06:10:53
2021-04-23T06:10:53
391,301,650
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
class Car: def __init__(self, brand, model): self.brand = brand self.model = model def handling(self, handling): print (f"{self.brand} {self.model} has {handling} handling.") def __str__(self) -> str: return f"Brand = {self.brand}\nModel = {self.model}" honda_city = Car("H...
[ "karansiamintern@gmail.com" ]
karansiamintern@gmail.com
702983a9b768406deede4bb9d92ee2a880f5bd28
1926bce5e0cbdd6ab1e76f801ac2adb40b39da4b
/Car_Showroom inventory management/purchaseparts.py
bf4e29aa9066b2978178aac23c706a82ad831533
[]
no_license
AshvinjeetSingh/Car-showroom-inventory-system
b07eaa434b097a7a164b8edcc35bd33263679456
0d636b9c4c4346332e22fe58ccd83e9e8ef628b2
refs/heads/master
2020-06-28T16:02:08.341109
2019-08-29T11:14:09
2019-08-29T11:14:09
200,274,662
0
0
null
null
null
null
UTF-8
Python
false
false
13,857
py
from tkinter import * from tkinter import messagebox, ttk from tkinter.ttk import Combobox import tkinter as tk import pymysql class Purchase: def __init__(self): self.root = tk.Toplevel() self.root.title("Sales") width = 900 height = 600 screen_width = self.root.winfo_sc...
[ "ashvinjeetsingh98@gmail.com" ]
ashvinjeetsingh98@gmail.com
215571d3b4b7d4e305c325ec81353e980d4c283e
1ad78a9e70ed4295d11c7df6d33737c8a0af7b18
/adjust_image_color.py
12c2a2ecd7e177199f2c88ec9a34463b65d283c3
[]
no_license
linchaolong-learn/TensorflowLearn
7200cd2ac1640ec5f12fcfd411c1f424e831ea46
0838f3191bdc564a947c8e898b3119767ecf05d3
refs/heads/master
2020-03-15T07:18:31.928342
2018-06-06T08:18:03
2018-06-06T08:18:03
132,026,220
2
0
null
2018-05-03T17:07:19
2018-05-03T17:07:18
null
UTF-8
Python
false
false
1,296
py
# 图像色彩调整 import matplotlib.pyplot as plt import tensorflow as tf # 读取图像的原始数据 image_raw_data = tf.gfile.FastGFile("datasets/cat.jpg", 'rb').read() # 解码图片 img_data = tf.image.decode_jpeg(image_raw_data) with tf.Session() as sess: # 将图像的亮度-0.5 # adjusted = tf.image.adjust_brightness(img_data, -0.5) # 在[-0.5...
[ "linchaolong@healthmall.cn" ]
linchaolong@healthmall.cn
d7078816be6d36440d58f60f8b3cbd2db9ef4135
9640a6783b61e962b15ed14b163e1d91836a0d26
/webcrawl/naver_autologin.py
27a332501bc1c540b6c74304fb7d1b03b55ed4c9
[]
no_license
namgiho96/tf_Python_study
5c644b79efd2012ab90569f1748d2003298f98cd
639634373e6350951a484b782cbfb26aa7d2e740
refs/heads/master
2020-05-07T09:10:38.774408
2019-04-09T13:00:51
2019-04-09T13:00:51
180,365,932
3
0
null
null
null
null
UTF-8
Python
false
false
567
py
from selenium import webdriver # 웹불러오는 라이브러리 ctx = '../crawler/chromedriver' driver = webdriver.Chrome(ctx) driver.implicitly_wait(3) driver.get('https://nid.naver.com/nidlogin.login?mode=form&url=https%3A%2F%2Fwww.naver.com') driver.find_element_by_name('id').send_keys('giho123') # 아이디를 정해준다 driver.find_element_by_na...
[ "namgiho96@gmail.com" ]
namgiho96@gmail.com
a3f0f41e1e74dfb4968b10ff2fecd3d29bb11d66
a20b8bea72c6f0def075001152455a6bfd68ac85
/game/views.py
a6e0b824cbbb03ede6f636ac3864c4d2a856346a
[]
no_license
mr-korean/portfolio-django
cb0ea4cedd816ac75a657dbfca949235d8d30aa7
8246e137283344faf2b6c0555e129a54f064f5ee
refs/heads/master
2020-03-20T15:44:29.021007
2018-09-11T16:28:46
2018-09-11T16:28:46
117,920,585
0
0
null
null
null
null
UTF-8
Python
false
false
2,937
py
# -*- coding: UTF-8 -*- from django.views.generic.base import TemplateView from django.contrib.auth.models import User from django.shortcuts import render, get_object_or_404 from django.utils import timezone from .models import Record, HighRecord from django.http import JsonResponse, HttpResponse from django.contrib.a...
[ "zzang2314274@hanmail.net" ]
zzang2314274@hanmail.net
24b75e19d3d0afdeca0a294cc8798e0b8e02fdde
0fa977f3ccfd3293d7707a1ec36dcc2dcbd82915
/2017/booleans/underwater.py
dca547a6d61c876dd7b102ec563bd530643f7b59
[]
no_license
xzou288/MInecraft_Python_4Xiang
c121bd22e66d8720198a4fa68b9445b52bf2d494
7ba8d7e5d1a0f24e49ee08bdc6c839548f4f3bf8
refs/heads/master
2021-09-10T15:32:51.524841
2018-03-28T15:47:14
2018-03-28T15:47:14
110,139,759
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from mcpi.minecraft import Minecraft mc = Minecraft.create() pos = mc.player.getPos() x = pos.x y = pos.y z = pos.z blockType = mc.getBlock(x, y, z) mc.postToChat(blockType == 0) pos = mc.player.underwater() underwater = true
[ "noreply@github.com" ]
xzou288.noreply@github.com
55d65050fc5aacda7acd63dcd44060f20f7cf89f
6a2db8e177cacd14a33cb49b8ea78b5fd7c3ebe1
/day01/day01_2.py
16600064035200615bbea703a73ed44c734004b8
[]
no_license
somyungsub/kosta-pythonbasic
fa42c55852774b9791120829087fcea343efc502
0abfde24ff7a3018ec0ac057eed2a27746b77148
refs/heads/master
2020-03-27T19:30:45.803299
2018-09-01T11:49:28
2018-09-01T11:49:28
146,993,932
0
0
null
null
null
null
UTF-8
Python
false
false
847
py
# 숫자 from builtins import divmod, complex # 정수 할당 n1 = 4 n2 = 3 n3 = 2 # 실수 할당 n1 = 4.0 n2 = 3.0 n3 = 2.0 # 복소수 할당 -> 정수 나눗셈, 나머지 연산자는 안됨 # n1 = 4j # n2 = 3j # n3 = 2j print(n1 + n3) print(n1 - n3) print(n1 / n3) print(n1 / n2) # 기본적으로 실수형으로 변환 후 실행되어 실수형 반환 print(n1 // n2) # //는 정수형으로 됨 print(n1 * n3) print(...
[ "gkdldy5@naver.com" ]
gkdldy5@naver.com
d57dc6bd6e6ed40663cea90c3cb805e43497b4f9
e0980f704a573894350e285f66f4cf390837238e
/.history/news/models_20201124144813.py
df865398f4c40cdf05ca57629f9dae3cd204713b
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,391
py
from django.db import models from wagtail.contrib.forms.models import AbstractEmailForm # Create your models here. class FormField(AbstractEmailForm): page = ParentalKey( 'NewsPage', on_delete=models.CASCADE, related_name ) class NewsPage(AbstractEmailForm): tempalte ='news/ne...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
bb352a077de0a96d708f7bd908b1d4f2e9c8b720
aa76391d5789b5082702d3f76d2b6e13488d30be
/programmers/Lev1/print_triangle.py
aeb50f3fd8f6008928c6bee577e7267406cb4451
[]
no_license
B2SIC/python_playground
118957fe4ca3dc9395bc78b56825b9a014ef95cb
14cbc32affbeec57abbd8e8c4ff510aaa986874e
refs/heads/master
2023-02-28T21:27:34.148351
2021-02-12T10:20:49
2021-02-12T10:20:49
104,154,645
0
0
null
null
null
null
UTF-8
Python
false
false
132
py
def printTriangle(num): s = '' for i in range(1, num + 1): s += "*" * i + "\n" return s print(printTriangle(5))
[ "the_basic_@kookmin.ac.kr" ]
the_basic_@kookmin.ac.kr
e7e0deac411c991076dc18e374867a07a253d989
d89a482aaf3001bbc4515f39af9ba474e1ae6062
/sip/sip_history.py
7bdbef694f14c90a11c7df182424967f95a137dc
[]
no_license
hongtao510/u_tool
2925e3694aba81714cf83018c3f8520a7b503228
98c962cfb1f53c4971fb2b9ae22c882c0fae6497
refs/heads/master
2021-01-10T20:40:24.793531
2014-03-14T22:57:37
2014-03-14T22:57:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
# -*- coding: utf-8 -*- """ Created on Tue Jan 03 13:30:41 2012 @author: jharston """ import webapp2 as webapp from google.appengine.ext.webapp.util import run_wsgi_app from google.appengine.ext.webapp import template import os from uber import uber_lib import history_tables import rest_funcs class SIPHistoryPage(we...
[ "hongtao510@gmail.com" ]
hongtao510@gmail.com
67245adfabd81ea366d100de52754decec5d6173
eeeceb85a215522ef412fddc44cc471c894f28af
/src/python/Problem113.py
d87253a0df06867a8444367d729a88f520e69e6c
[ "MIT" ]
permissive
mchrzanowski/ProjectEuler
3874ad141ca0bf633039899807a6afc1cca67134
06a24cadbd2c38fb42c3935779fc7ffb6de4e1b5
refs/heads/master
2021-01-25T05:34:32.548331
2015-02-08T20:31:10
2015-02-08T20:31:10
3,176,325
0
1
null
null
null
null
UTF-8
Python
false
false
3,016
py
''' Created on Apr 7, 2012 @author: mchrzanowski ''' from operator import ge, le from time import time def calculateBouncyNumbers(limit): ''' there are two sets of bouncy numbers: 1). numbers that are stable or decreasing 2). numbers that are stable or increasing there exists an non...
[ "mike.chrzanowski0@gmail.com" ]
mike.chrzanowski0@gmail.com
344e07bbfa7a9945dc213604ca7facf2917036fa
c526a482a0da0ef09d05975c97faae062d1911b6
/Week 5/day 3/JSON_loads.py
443924bd515c90fe8d17f23333c92280f7536c46
[]
no_license
Wdecibel/MyPythonProject1
2958171e80e9aa74af2f1446a624af3183b6e741
4d443091d3df5b3774e490950c5b5e19b18dd149
refs/heads/master
2020-07-02T03:59:19.090917
2019-08-09T06:36:40
2019-08-09T06:36:40
201,409,347
0
0
null
null
null
null
UTF-8
Python
false
false
168
py
# __Author__: Han # __Date__: 2019/1/17 import json with open('JSON_text', 'r') as f: data = f.read() data = json.loads(data) print(data['name'])
[ "hanw@cefcfco.com" ]
hanw@cefcfco.com
bb34d51fcdd2bb89209f9280e0d806d946c14977
4dbf7b5be86e7cc27cc3606106ce1daa792ade4b
/mmdet/models/detectors/base.py
b74cb657faa80d77757bf451dfe113c9a04efb42
[ "MIT" ]
permissive
ashwinvaswani/lesion_detection
61a011a90e9e42ab0cc56eba066540c879946f1d
26246e3954209075c56649dfb2ef565290e6dcb3
refs/heads/master
2023-04-03T03:56:21.856885
2021-04-03T12:14:18
2021-04-03T12:14:18
273,017,913
1
0
null
null
null
null
UTF-8
Python
false
false
6,706
py
import logging from abc import ABCMeta, abstractmethod import mmcv import numpy as np import pycocotools.mask as maskUtils import torch.nn as nn import inspect from mmdet.core import auto_fp16, get_classes, tensor2imgs class BaseDetector(nn.Module): """Base class for detectors""" __metaclass__ = ABCMeta ...
[ "ashwin.vaswani99@gmail.com" ]
ashwin.vaswani99@gmail.com
60e68556375c7be92b4a838b420b1e603730aca7
6f6997efe1a15d57688c12ff0197790fb2eac6bc
/histogram/wigets/waferdata_histogram.py
aa532f8c85f67b1d487d0d292c97a7194ae277d9
[]
no_license
montanaviking/waferprobe
29fa5f0eb07e60820162916e48059f63374902c5
fb2786b376153f9b6e9495b6faf3ee5960f90a06
refs/heads/master
2022-11-06T10:57:01.539733
2020-06-19T23:47:59
2020-06-19T23:47:59
273,601,408
4
0
null
null
null
null
UTF-8
Python
false
false
65,386
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'waferdata_histogram.ui' # # Created by: PyQt5 UI code generator 5.11.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Histogram(object): def setupUi(self, Histogram): ...
[ "microcraftx@gmail.com" ]
microcraftx@gmail.com
a8f2cafb277643c76e1a634c5fcab184d07b9eb5
04b1803adb6653ecb7cb827c4f4aa616afacf629
/third_party/blink/web_tests/external/wpt/tools/third_party/pytest/src/_pytest/_code/__init__.py
815c13b42c25bd314988dbaa7ff9f4e3d1d2e5c2
[ "LGPL-2.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.1-only", "GPL-1.0-or-later", "GPL-2.0-only", "LGPL-2.0-only", "BSD-2-Clause", "LicenseRef-scancode-other-copyleft", "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
Samsung/Castanets
240d9338e097b75b3f669604315b06f7cf129d64
4896f732fc747dfdcfcbac3d442f2d2d42df264a
refs/heads/castanets_76_dev
2023-08-31T09:01:04.744346
2021-07-30T04:56:25
2021-08-11T05:45:21
125,484,161
58
49
BSD-3-Clause
2022-10-16T19:31:26
2018-03-16T08:07:37
null
UTF-8
Python
false
false
410
py
""" python inspection/code generation API """ from __future__ import absolute_import, division, print_function from .code import Code # noqa from .code import ExceptionInfo # noqa from .code import Frame # noqa from .code import Traceback # noqa from .code import getrawcode # noqa from .source import Source # noq...
[ "sunny.nam@samsung.com" ]
sunny.nam@samsung.com
4dde79d5e3be0ffc2d8fdc9b8d3237fd2be57c5b
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/Dowsure.py
c4c979d73ab936957a9778dbb5945bfedab00234
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
961
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class Dowsure(object): def __init__(self): self._application_code = None @property def application_code(self): return self._application_code @application_code.setter d...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
0a2a2c8497f4ec98148d7fb8ba76e6e61511350b
33fd027b90dd8c4efd600f5bbcaf474edcc953a7
/pyspark_windowfunctions.py
6c96f1218c633ebc61e915eb25e33b9a7bed2965
[]
no_license
andrevictorm/PYSPARK_ESTUDO
50ce523ee0ce08533dc7a8dd0c2f9b4b0d0ca2cc
fedca431f5eaac6d57fcfaa42e39a819ac295072
refs/heads/main
2023-09-05T15:30:59.235946
2021-11-16T14:32:05
2021-11-16T14:32:05
428,668,907
0
0
null
null
null
null
UTF-8
Python
false
false
2,412
py
# Databricks notebook source As Windows Functions retornam um único valor para cada grupo de linhas. O PySpark oferece suporte a 3 tipos de Windows Functions: Ranking functions Analytic functions aggregate functions Documentação: https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.sql.Window.html?hig...
[ "noreply@github.com" ]
andrevictorm.noreply@github.com
0bc20c0d41b836f3d9feff0c9ebc05cc4c02a45a
b9054f8fb2da88a4788e04f06e52e1745ef5683e
/displayer/custom_entry.py
9c11f2cf36b3346b574febf1087a52f9fc5452d8
[]
no_license
thinkingabouther/functionDisplayer
9f9f012af54daa02d0062325d3cb9ab8aa807d1f
1517847498bb21e0ce05a28798a1e74d5210a4dc
refs/heads/master
2021-09-12T02:12:17.915235
2018-03-26T17:20:24
2018-03-26T17:20:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
from tkinter import Entry class EntryWithBackgroundText(Entry): def __init__(self, *args, **kwargs): self.background_text = kwargs.pop("background_text", "") super(EntryWithBackgroundText, self).__init__(*args, **kwargs) self.insert(0, self.background_text) self.bind('<FocusOut>', ...
[ "widauka@ya.ru" ]
widauka@ya.ru
db6a5f9a9e48fbdb723307801d93ecf4a47d4f32
2b23ac5fac45ea526324b84bc1c873794a92ce3f
/example.py
741e4ecd2ec915d16f015f54bb3416549d03e785
[]
no_license
yaleman/technicolorspeedstats
9bd9b1dded37ba943c09551edf42d8a7871722ee
5a1514eacd7d93ab86f93489053ec9a0cf786dd3
refs/heads/master
2022-05-19T10:17:52.020727
2022-05-09T01:15:36
2022-05-09T01:15:36
245,538,477
1
0
null
2022-05-09T01:15:37
2020-03-06T23:59:40
Python
UTF-8
Python
false
false
86
py
#!/usr/bin/env python3 from technicolorspeedstats import get_data print(get_data())
[ "yaleman@ricetek.net" ]
yaleman@ricetek.net
cedfaacfc1ea964fcf106617d42d8c8281ed0dad
69a9564d94bc9bcd8983703cdaba8c8c388b5c03
/my-project/back_up_lcd_3.py
ec7b9c68f56dad1df2e92d9814eff663140a2e11
[]
no_license
arunksoman/PCPL-electro
c67dd4a75bccea5063ae76ea2935a48a9e52a68b
52afbb63ea4a8843b774c3b0d7dc636b997ba724
refs/heads/master
2020-05-06T15:41:57.483108
2020-02-11T16:04:25
2020-02-11T16:04:25
180,203,771
0
1
null
null
null
null
UTF-8
Python
false
false
8,968
py
import RPi.GPIO as GPIO import random import time import sys import requests import json import serial product = json.loads(requests.get("http://192.168.43.94:8084/SmartTrolley/Files/ProductData.txt").text) print(product) GPIO.setmode(GPIO.BOARD) GPIO.setwarnings(False) ser = serial.Serial("/dev/ttyACM0", baudrate=9...
[ "noreply@github.com" ]
arunksoman.noreply@github.com
e9a1330a1595a139f084229242758028a2cfc425
cc1f28b97af0eba00706e70a246d3e737216356f
/generateGroups.py
fab1671ba31e87bf4ac70272865259b5e90368e5
[]
no_license
Cherishlrx/DeepGroup
26288aa23b43e6904c45e30c9c7004228a7ff4bc
f4bfe6cc97efdb13ce2065f13695427dea0d8a18
refs/heads/main
2023-02-19T07:31:23.530470
2021-01-23T17:28:19
2021-01-23T17:28:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,311
py
import random import pandas as pd import itertools from config import Config def get_train_test_datasets(lambda_amount, num_groups, overlap_val, max_len_groups, num_items, fileName, version, train_portion=100): config = Config() file_name = fileName + '/negative_example_'+ config.decision_rule +'/ne_' + str(nu...
[ "s.sajadi@ghoghnos.net" ]
s.sajadi@ghoghnos.net
beafb58ab3ec08a99d6f55d9c254e7f0c0b3fe56
e92ed45992bf8ef42e36596baa152f5412b45cc9
/learners/perceptron.py
0d1a1c2150a65c7b218ba98e4f6c2c579a737ca5
[]
no_license
kjohnsen/cs478
e4fda959aae8e87cffc82deee88f111f69f4fe19
f01fab43833dbc50fff78b242113b4fbb46931d0
refs/heads/master
2020-04-15T14:41:05.262515
2019-03-20T05:57:15
2019-03-20T05:57:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
import random import numpy as np class Perceptron: def __init__(self, num_features, learning_rate): # last weight is bias self.weights = np.array([random.uniform(0.1, 0.5) for x in range(num_features)]) self.l_rate = learning_rate # Returns 1 if it was correct, to keep track of accurac...
[ "johnsenkyle13@gmail.com" ]
johnsenkyle13@gmail.com
a079211c11689b83b59f3657cc19f4ecfdd5c9e7
43d38bf7ad12fd6030e705c1cb326e6a4d57595d
/kmsPidGenerator.py
692a4210cdb384c6ea3f0d05674f79d2d1eb80c5
[]
no_license
Cheain/kms_tool
fba8d1a9427e074eb6392471572c7d28fdeadbb9
fa795d40667111fbc3ea23c1caa7d7d7f47397f9
refs/heads/master
2021-04-03T10:01:36.459501
2018-03-11T08:44:54
2018-03-11T08:44:54
124,347,704
1
1
null
null
null
null
UTF-8
Python
false
false
4,582
py
import datetime import random import time import uuid APP_ID_WINDOWS = uuid.UUID("55C92734-D682-4D71-983E-D6EC3F16059F") APP_ID_OFFICE14 = uuid.UUID("59A52881-A989-479D-AF46-F275C6370663") APP_ID_OFFICE15 = uuid.UUID("0FF1CE15-A989-479D-AF46-F275C6370663") # also valid for Office 16 (2016). # KMS Host OS Type hostOs...
[ "hch.hch@163.com" ]
hch.hch@163.com
4905f1162de481d5c10d057cf7e2d91f01cd6fba
a3d32e0ff84958d194ced642441f5379c0032465
/tests/functions/test_image_train_process.py
3fe7e75cf95dfa56d3155c3a714ddfd2389acd77
[]
no_license
TensorMSA/tensormsa_old
406755511d05d4ec179c085337a05f73c0dde80a
ef058737f391de817c74398ef9a5d3a28f973c98
refs/heads/master
2021-06-18T11:58:29.349060
2017-04-20T10:17:43
2017-04-20T10:17:43
67,384,681
6
0
null
null
null
null
UTF-8
Python
false
false
5,430
py
import unittest, requests, os, json,random from tfmsacore.utils.logger import tfmsa_logger from django.core.files.uploadedfile import TemporaryUploadedFile from tfmsacore.data import ImageManager class TestImageTrainProcess(unittest.TestCase): """ ./manage.py jenkins ./tests/functions --enable-coverage ./m...
[ "tmddno1@naver.com" ]
tmddno1@naver.com
7cfee5b9df13834712ed1c7dfcb5aaac39cd1210
cd8f7ecd20c58ce1ae0fe3840f7c7ee961aa5819
/Third Maximum Number.py
e33e7d88fe709f5f961c58fc1b2f6c3993b73f63
[ "Apache-2.0" ]
permissive
sugia/leetcode
9b0f2a3521b088f8f7e5633c2c6c17c76d33dcaf
6facec2a54d1d9f133f420c9bce1d1043f57ebc6
refs/heads/master
2021-06-05T07:20:04.099488
2021-02-24T07:24:50
2021-02-24T07:24:50
29,124,136
1
0
null
null
null
null
UTF-8
Python
false
false
855
py
''' Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexity must be in O(n). Example 1: Input: [3, 2, 1] Output: 1 Explanation: The third maximum is 1. Example 2: Input: [1, 2] Output: 2 Explanation: The third maxim...
[ "noreply@github.com" ]
sugia.noreply@github.com
e163ad73aa563dda6ef681844f282f3877df4508
cf0f368408240a146b0d91ad7fe1c2f299694f4b
/main/migrations/0008_auto_20190609_2032.py
919f27c81a72f260f0494a748082b8ecf9479268
[]
no_license
joseangelmm/Project-AII
aaab67cef3575d0d13b59604bb63919950e933a9
67f8f082b48142de16cb65ba1d9d98de51b41771
refs/heads/master
2020-06-02T05:43:10.897784
2019-06-13T21:53:55
2019-06-13T21:53:55
191,058,099
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# Generated by Django 2.2 on 2019-06-09 18:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0007_auto_20190607_0027'), ] operations = [ migrations.AlterField( model_name='noticia', name='fecha', ...
[ "36623144+joseangelmm@users.noreply.github.com" ]
36623144+joseangelmm@users.noreply.github.com
7d7924468a06f470667187de5548dd1e1047dfaa
a93cfeed4c2a2833f1896bf5f39aa31955f21efe
/Data Structures/Graphs/BFS_simple.py
5ae140432c3c0db4bf5c088416c25bf7cebf8063
[]
no_license
akshat343/Python-Programming
ae83d05408fb67d51d388df22492dfe743596b2a
f5a1540770388e49d65536352ce1816c406d5229
refs/heads/master
2023-08-05T19:58:40.293770
2021-10-07T07:25:46
2021-10-07T07:25:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
897
py
""" Author : Robbin Singh Simple Implementaion of BFS (Breadth First Search)using queue """ #Entre Adjancey Matrix of the graph print("Enter Adjancey matrix") R = int(input("Enter the number of rows:")) C = int(input("Enter the number of columns:")) matrix = [] print("Enter the entries row wise:") for i in range(R): ...
[ "robin25tech@gmail.com" ]
robin25tech@gmail.com
ff3255e6e3d9e37b3559b22797e3b5adaa849817
5167c21d194d3a03d59d58368f5c8481370af356
/Semana 09/03.py
1fb45f83b87281362864de69b3330d4c0d0d6d4a
[]
no_license
GuilhermeSSx/NappAcademy1
15ebc206d12ec52b25df2705ff3f8fe08b415605
cd3a7641d3b8468a876d31df33044ea946b78e36
refs/heads/master
2023-05-28T05:52:17.048297
2021-06-13T18:51:02
2021-06-13T18:51:02
372,360,364
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
import json def criar_json(**kwargs): return json.dumps(kwargs) assert criar_json(test="porvilow") == '{"test": "porvilow"}'
[ "guilhermedosantos45@gmail.com" ]
guilhermedosantos45@gmail.com
8b9843406d7206f8d8eb6ef33274a88f5669773e
b727870804e5c7a474c271e1cf0ebfe05619ddfb
/keras44_5_wine_conv1d.py
38577cf7df599d8d5b61c45ee04523731daff3ff
[]
no_license
marattang/keras
843227592f7b3cb08034bfdc2e6319200e62e990
cc78d1d70bfbe99e78f19ae11053ebbb87f20864
refs/heads/main
2023-08-03T21:50:53.438394
2021-09-10T05:11:15
2021-09-10T05:11:15
383,742,096
0
0
null
null
null
null
UTF-8
Python
false
false
3,365
py
import numpy as np from sklearn.datasets import load_wine from sklearn.model_selection import train_test_split from tensorflow.keras.utils import to_categorical from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, Conv2D, GlobalAveragePooling2D, Flatten, LSTM, Conv1D from sklearn.pr...
[ "tlawlfp0322@gmail.com" ]
tlawlfp0322@gmail.com
0b420050e1479b0904e29b59e1c48a5160989fd1
f392a5e4193d44c41e234696d093140cdf301497
/tests/example2.py
8b1a937795148bdddefeb027df7948a1d1727c74
[ "Apache-2.0" ]
permissive
GateNLP/gate-lf-python-data
fb151132c94e25f59947d6400692f23914dfa89e
89880a82458f09702c1d6828ae341997e0b45f73
refs/heads/master
2021-03-27T08:55:26.304655
2019-05-31T11:44:29
2019-05-31T11:44:29
113,597,027
4
1
Apache-2.0
2019-05-30T08:50:59
2017-12-08T16:52:39
Python
UTF-8
Python
false
false
362
py
from __future__ import print_function from gatelfdata import Dataset import sys if len(sys.argv) != 2: raise Exception("Need one parameter: meta file") file = sys.argv[1] ds = Dataset(file) valset = ds.convert_to_file() for b in ds.batches_converted(batch_size=20, as_numpy=False, pad_left=True): print("Batch: ...
[ "johann.petrak@gmail.com" ]
johann.petrak@gmail.com
b59946a4e00e1bcdc58afd777c83dd4e729b3c09
436f7239b7314251b91a55868473a96d7dccac00
/layer_definition.py
1f5bfc88b4109cb0aed3ccbd62aab0e8d766ed26
[ "Apache-2.0" ]
permissive
anguoyang/RED-NN
44164d15f89072d230a62556eb449af0a108ec04
b4b746eb0c1c0920822ee37b02c30c87ae0fba3d
refs/heads/master
2022-02-18T23:19:13.892083
2019-10-08T07:48:04
2019-10-08T07:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,117
py
import tensorflow as tf import numpy as np class Rig2DConv(tf.keras.layers.Layer): def __init__(self, filters, kernel_size, phi, un_rotate=True, padding='SAME', **kwargs): # Non-trainable variables initialization self.filters = filters self.un_rotate = un_rotate self.phi =...
[ "noreply@github.com" ]
anguoyang.noreply@github.com
f62ae8f7f1ee46d83a45239fa0760d60126d68ef
c9f64fdf0a51b2ec438c05f2a08796a056aac73b
/HW1_solution_example/integrate.py
bd368bcece228facd6870ec75371c28150b84b66
[ "MIT" ]
permissive
MengbinZhu/pg2014
dd5e3d766e8ffd6292a551e4559c9c36d065f177
3571b2be5df2a9f593f781375b4b8029ce0c0c9e
refs/heads/master
2021-05-27T17:20:49.235056
2014-12-04T23:07:26
2014-12-04T23:07:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
# Rob Hetland # 2014-10-14 # Homework 1, problem 2, trapazoidal integration # Released under MIT license import numpy as np def trapz(f, dx=1.0): """Trapazoidal integration of function f, with spacing dx""" f = np.asarray(f) return dx * 0.5 * np.sum(f[1:] + f[:-1]) if __name__ == '__main__': #...
[ "hetland@tamu.edu" ]
hetland@tamu.edu
3387ea205b396e3bb8b9c493c9f7e9b47b825ea5
82e7ff55cc4d7fa9d4423e77eb7625cd89a65b78
/src/bench/bench_muxers.py
594da8837410126482bcf45fec660db9068be6be
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JohanSmet/lsim
d3c9cc63e01f5caa2bf2de50ff810999998c3d0a
37594029278539f012b970d1516a4e27f82c0e24
refs/heads/master
2023-04-27T03:50:28.394867
2023-04-24T20:22:16
2023-04-24T20:22:16
208,345,318
11
5
BSD-3-Clause
2023-04-24T20:34:07
2019-09-13T20:56:13
C++
UTF-8
Python
false
false
31,484
py
#!/usr/bin/env python3 import lsimpy from bench_utils import * lsim = lsimpy.LSimContext() HIGH = lsimpy.ValueTrue LOW = lsimpy.ValueFalse def test_mux2to1s(): truth_table = [ [{'I0': LOW, 'I1': LOW, 'Sel': LOW, '/Strobe': LOW}, {'Y': LOW}], [{'I0': HIGH, 'I1': LOW, 'Sel': LOW, '/Strobe': ...
[ "johan.smet@justcode.be" ]
johan.smet@justcode.be
bcf48bbac8518b773ccfdc6279bdd00a78314561
7a7c0cd1b38a306e7d51a67f6442fc0b48ae83a0
/Exam/28.py
991a36c618d133a6c35e5fa823d398b37a0cc2b7
[]
no_license
09-03/Infa
f06fd007ded30101b289730ef0ea12154e3f7317
a7896461435650a6d3865047ed09ec9dadd4b493
refs/heads/master
2023-06-10T16:48:06.440654
2021-06-29T00:43:27
2021-06-29T00:43:27
297,751,033
1
0
null
null
null
null
UTF-8
Python
false
false
538
py
""" Написать программу, вычисляющую наибольший общий делитель двух чисел, введённых с клавиатуры. """ def NOD(a,b): a_start = a b_start = b while a != 0 and b != 0: if a > b: a = a % b else: b = b % a return print(f"НОД {a_start} и {b_start}: {a+b}")...
[ "noreply@github.com" ]
09-03.noreply@github.com
7ecc66635c799a752527ae9aea098b284abae35c
2f24d7b5c852eb0a8f70b898e101487b1cb3c407
/src/models/request.py
1efa149b4e80aa76c8da9ad67e28c619d366a886
[]
no_license
Project78/Project78
afdf60dc6f517207070b02488c19f8d392c11784
9d8feb4181e9b8b97c05bb49ba3156a1964fa517
refs/heads/master
2020-12-24T17:35:44.022129
2012-01-31T09:16:56
2012-01-31T09:16:56
2,641,947
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
''' Created on Nov 6, 2011 @author: averaart ''' from google.appengine.ext import db from event import Event from guardian import Guardian from student import Student from combination import Combination class Request(db.Model): ''' A Request represents one subject about which a Guardian wants to talk '''...
[ "averaart@hotmail.com" ]
averaart@hotmail.com
ad81e48cc1fae84b6d8c962232aab56ba3d9292b
b8485ced30894816aa3f4e12574764acc4ff87df
/thecart/shop/migrations/0008_auto_20210321_1546.py
771c468c5709e40c9011ec8db8737d9ec3e26cc6
[]
no_license
gauravsalwatkar/E-commerce-website
74bdfbba88373f9d8589d200ef3ce7a36c5c216d
4de236a74ce465d7d4205c458a397123b5fc3e83
refs/heads/master
2023-04-03T16:29:23.444752
2021-04-05T05:12:07
2021-04-05T05:12:07
354,724,844
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
# Generated by Django 3.1.1 on 2021-03-21 10:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0007_auto_20210321_1543'), ] operations = [ migrations.RenameModel( old_name='Order', new_name='Orders...
[ "noreply@github.com" ]
gauravsalwatkar.noreply@github.com
d4d27d560f9cb70b7b0cdfe713f2b5481ce676e5
facb8509e51a388030550574ab414d324374c8c8
/iwlearn/models/based_on_keras.py
fcd6cf62d08b8356a6fb89099dd7c0a5d5ccbe06
[ "Apache-2.0" ]
permissive
mfridental/iwlearn
a257092053d8a6c0f514713f83f0fa15c9d11c2e
a3253f9f59761663f59768eb26c9dc047504cc4e
refs/heads/main
2022-07-31T05:58:43.217852
2022-07-03T21:31:28
2022-07-03T21:31:28
214,254,342
3
0
Apache-2.0
2022-07-03T21:31:29
2019-10-10T18:16:52
Python
UTF-8
Python
false
false
7,606
py
# TODO: KERAS MODELS ARE TEMPORARY BROKEN DUE TO TENSORFLOW API CHANGE # # -*- coding: utf-8 -*- # import sys # import logging # import dill # import ujson as json # import os # import datetime as dt # # import numpy as np # import tensorflow.compat.v1.keras as k # from keras.preprocessing.image import Iterator # imp...
[ "maxim.fridental@paessler.com" ]
maxim.fridental@paessler.com
1693c4a0d618967a4157bd72cbf492d3b6a83247
330540d9e2dcb3b8cc70272f5fb5c2bebdb572b5
/DnfDeals/utils.py
b6601effd4e5ecee0c4a6d694f97f490f9465f3e
[]
no_license
xiaguangting/DnfDeals
2a8e1e881cfbdd692bb1f16dffdb640b070c2af5
3dfdb34de4ea6bc5f9fb1c0352e0e94aeb24cae4
refs/heads/master
2020-08-05T22:47:15.889580
2019-11-14T03:45:36
2019-11-14T03:45:36
212,740,629
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
import logging import smtplib from email.mime.text import MIMEText from logging.handlers import TimedRotatingFileHandler import pymysql from DnfDeals import settings def send_email(subject, content): message = MIMEText(content, 'html', 'utf-8') message['From'] = "DnfDeals<%s>" % settings.EMAIL_ADDRESS m...
[ "18627924383@163.com" ]
18627924383@163.com
37a72d6160014af204fb5ae6c5c9eca84b4d6906
f19cc4e99b265ae41ad6e5c16f023c1e68d11126
/Stess.py
7a80a65c9ad9ab88157b1b83af91f42ab902ccf3
[]
no_license
aezakmi007/CPU-STRESS-ALERT-SYSTEM-IOT
b9e3cdbed265f5a6b8c1839711ddf9fcd12453dd
bfb7f487e50c6aa6abd1a2a11c8f54b179f494ef
refs/heads/main
2023-03-31T23:29:41.990723
2021-04-11T06:04:34
2021-04-11T06:04:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import psutil from boltiot import Bolt api_key = "a1d04b0c-01e4-4542-bafa-116090c8f0ae" device_id = "BOLT293335" cpu_Threshold = 0.4 clientId = Bolt(api_key, device_id) interval = 5 def control_green_color(pin, value): response = clientId.digitalWrite(pin, value) def control_red_color(pin, value): response = c...
[ "Abdullah9695" ]
Abdullah9695
efdbbbe6b16c275ebb302d934239ed9abb79e159
603f752f35b34802d15f397c9d11c56aad2ac5e4
/getStudentScore.py
fc95bc09a24f687285cf4ee0d24a8aa4963922ec
[]
no_license
waitfun/university
a0b153e6121205ec772ee201f201c18c2aade8e2
71c1fad8a3193525e74389c8f5dc5fe9a9ab4e64
refs/heads/master
2020-04-06T17:01:24.980336
2018-11-15T03:53:07
2018-11-15T03:53:07
157,643,248
1
0
null
null
null
null
UTF-8
Python
false
false
1,782
py
import requests from bs4 import BeautifulSoup import csv,time,re,math import sys import io sys.stdout = io.TextIOWrapper(sys.stdout.buffer,encoding='gb18030') def getScore(): cookie = "JSESSIONID=AE9029BE20920E54399350EB7C13D7AF; Hm_lvt_c09b7f26e29f23a8e4c2c74fc98ca736=1526317044,1527310349,1527498285,1527844527" ...
[ "waitfun319@qq.com" ]
waitfun319@qq.com
c9744084c4db946f615b3b38f72857617c7d3169
109e3c93cd7de41fd5fbfad242bb39ab267dd290
/examples/twitter_server.py
1dfbe86ea28f3944fad6d8ae27766c38ed72f461
[ "Apache-2.0" ]
permissive
scholer/pygephi_graphstreaming
1bab016dc65c4f521be72d8038094bc39eb6f5f1
eace8d34a43badb39922b7ee764bac453ecfadc7
refs/heads/master
2021-01-15T16:28:13.646093
2015-10-08T22:31:07
2015-10-08T22:31:07
43,645,754
0
0
null
2015-10-04T17:44:08
2015-10-04T17:44:07
null
UTF-8
Python
false
false
9,047
py
#!/usr/bin/python # coding: utf-8 # # Copyright (C) 2012 André Panisson # # 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...
[ "panisson@gmail.com" ]
panisson@gmail.com
73efba33a53e27b03f156c4fa1fef480aa463f10
8de7a1bb8e4939f37d77f66e90376fd2727e1972
/trade.py
ccd09807bfdbfcb1e1110d050984962a54880ab0
[]
no_license
webclinic017/stonk-1
8228a5da5ab47f2f9f7a2511e7ffef79add15f47
fbf162b1f2e9a414d6262a6046f0f897857fb127
refs/heads/master
2023-08-22T02:37:44.036641
2021-10-13T02:33:17
2021-10-13T02:33:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,546
py
# interface between the code and the Interactive Brokers API # imports analysis and data import analysis from data import mktPrice # Interactive Brokers imports from ibapi.client import EClient from ibapi.wrapper import EWrapper from ibapi.contract import Contract from ibapi.order import * # time and threading for o...
[ "danieldunc@hotmail.com" ]
danieldunc@hotmail.com
4a5726c2ee0ab88d6178f75060afb050e28bb3d0
9b946ad3b66792aafdb3a41e7cd05289f747bd1a
/Festhub/studlogin/apps.py
3525eea9deae50b93a58b1efcf41d31b84dde048
[]
no_license
aiswaryathenkunnel/MCAProjec
fcadfea71dad0fcd4d297624d07ac2341c9a220d
c4e0b4c6e9de02baae82269c9aefb8c62e4ce3b2
refs/heads/master
2020-04-07T23:16:16.555560
2018-11-23T08:49:16
2018-11-23T08:49:16
158,805,298
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class StudloginConfig(AppConfig): name = 'studlogin'
[ "45259054+aiswaryathenkunnel@users.noreply.github.com" ]
45259054+aiswaryathenkunnel@users.noreply.github.com
1fcabfdfd261d113f56cf3419f435286db66644a
ebec4fb7b2eb36b0214e7c018dd1a2f9a9f7b67d
/SPLN/testes/teste_2019/ex6_2.py
8f64e6fb33ebc2a9359e11e36545baea12b4f200
[]
no_license
MrBoas/PLC
cb09aaa2440a8711a6ba888a92cdcd2559b0b8cf
3f77cf1ce96cf8c4bb21ee4ec05f1fc418e9b73e
refs/heads/master
2022-02-02T10:45:16.322559
2019-08-05T15:51:51
2019-08-05T15:51:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
from bs4 import BeautifulSoup as BS import requests import subprocess def getHTML(distrito,concelho): urlBase = "http://www.ipma.pt/pt/otempo/prev.localidade.hora/#" composedURL = urlBase + distrito + '&' + concelho response = requests.get(composedURL).content soup = BS(response) return soup # x = getHTML(...
[ "raulvilasboas97@gmail.com" ]
raulvilasboas97@gmail.com
63b86d3db2a788557594680b422fe05b9c77afcf
d01f9ff2d7ba3c7c99158678adeaf082f3f15dbc
/model/cpn/ade.cpn.R50_v1c.v38.v2/train.py
294cb1add0f70efdd177b711e5ca1fc5df2170d0
[ "MIT" ]
permissive
akinoriosamura/TorchSeg-mirror
d8e76d99e80d55c2555f4f8f7a7fc3f30ef5dec4
34033fe85fc24015bcef7a92aad39d2a25a001a5
refs/heads/master
2021-06-18T15:47:00.946788
2019-10-26T04:46:07
2019-10-26T04:46:07
217,657,156
0
0
MIT
2021-06-08T20:36:44
2019-10-26T04:46:39
Python
UTF-8
Python
false
false
6,088
py
from __future__ import division import os.path as osp import sys import argparse from tqdm import tqdm import torch import torch.nn as nn import torch.nn.functional as F import torch.distributed as dist import torch.backends.cudnn as cudnn from config import config from dataloader import get_train_loader from network...
[ "osamura.akinori@gmail.com" ]
osamura.akinori@gmail.com
16e79e32970b8fe13d66dc766354d45e07bc578d
91df76643a7d942f0ae11fa89c2dfcbd3feadfa9
/utils/dump_helpers.py
db66dbc830479a25545b07185b394d09ca21e9a3
[ "MIT" ]
permissive
Sixzero/yolov3-tf2
c6bb4a826872fec74b5c77d68b34962ee0876d7c
404d937481f16804a80ce605ce1f8704d6775e56
refs/heads/master
2020-12-01T20:02:21.021216
2020-01-01T15:03:34
2020-01-01T15:03:40
230,750,981
0
0
MIT
2019-12-29T13:01:53
2019-12-29T13:01:52
null
UTF-8
Python
false
false
47
py
../../diabtrend-treasures/utils/dump_helpers.py
[ "havliktomi@hotmail.com" ]
havliktomi@hotmail.com
0208a4a50bebc3bf813bc885b5acd3bc9bda9696
88c1f9ccb62e91d6b0574bcde1043921bdeb0126
/client_cli/src/d1_cli/tests/test_cli.py
cf82f63f797c9ac5a31102d6f830c03b7f3c3656
[ "Apache-2.0" ]
permissive
jevans97utk/d1_python
83b8de8780287c655779844f367b9189413da074
3ac4d4f3ca052d3e8641a6a329cab526c8ddcb0d
refs/heads/master
2020-05-21T01:16:50.677816
2019-04-22T16:09:44
2019-04-22T16:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,974
py
#!/usr/bin/env python # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2019 DataONE # # Licensed under the Apache License, Version 2.0 (t...
[ "git@dahlsys.com" ]
git@dahlsys.com
ea182e68ead47f4393fd988adea64d157fd53d03
fee6a2ef79fd27c4795fe5256c2a144fc0c1311b
/roman/rq/sim_connection.py
9b2de331765bde37df18f4334dae86a01d655dc0
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
microsoft/roman
a290b470d3e2cc28f44dd8470f7ef295942fd929
51405e6a404d670ae571b7ddff4f9468f9381b8a
refs/heads/main
2023-06-30T01:59:16.074496
2023-02-07T20:17:12
2023-02-07T20:17:12
246,629,589
20
15
MIT
2023-02-03T20:51:15
2020-03-11T16:56:42
Python
UTF-8
Python
false
false
2,175
py
from .hand import * ################################################################ ## Simulated hand implementation ################################################################ class SimConnection: """Implements functionality to read and command the simulated hand, regardless of simulator.""" def __init_...
[ "mihaijal@microsoft.com" ]
mihaijal@microsoft.com
e64468f489f6456474b6cfadd135210659097b4d
9a6ed03100c84c6863ea94c592740ed7836bebaa
/venv/bin/wheel
b7654b7eb42f70ab2cb36133dd9af2c5f2b68513
[]
no_license
nemanjamaksim/cicd-buzz
b708ea171cbdd4fc9648fea2f018e9e41bdff447
31fe7a1fa12eaca22eec172e3dc3c8cba7fe56d2
refs/heads/master
2020-04-30T17:18:50.182192
2019-03-21T15:42:00
2019-03-21T15:42:00
176,961,656
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/home/nemanja/Documents/cicd-buzz/venv/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nemanja.maksimovic@bepecs.com" ]
nemanja.maksimovic@bepecs.com
122f637e84c5e5004fd039a44edc78f44b846fcc
4be65fc46dbb6e56834796f2f143256edf1bf03e
/chapter_11/language_survey.py
5859296df3b5545d5a750877a40578a628db69c3
[]
no_license
Mozes721/PythonCrashCourse
78cbb32695d618a14f06f7ae71780b2604f6c7bf
9c823cc9a75bd6a282bfbbe51aaccf3d21069177
refs/heads/master
2021-07-15T10:46:55.979655
2020-06-01T14:17:45
2020-06-01T14:17:45
158,593,111
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from chapter_11.survey import AnonymousSurvey question = "What language did you first learn to speak?" my_survey = AnonymousSurvey(question) my_survey.show_questions() print("Enter 'q' to quit at any time/n") while True: response = input("Language ") if response == 'q': break my_survey.store_respo...
[ "MozesTheGreat@yahoo.com" ]
MozesTheGreat@yahoo.com
492a402cbf27dab0e47aac4ae9e1d9d48b0ac5d8
f273e6fbd3d2a39bc88373718cf226ae9638e491
/POP_moving_file_once.py
c1edeb0ce1340305c601f68e70825e22ada8952c
[]
no_license
TheRiseOfDavid/ntut_crawler
510c36f95afb8bace42702a60dc388a999dcb6c2
4b0a9d4bc92de38f50112975a6d922dbcdda5d4c
refs/heads/master
2022-06-14T10:06:03.843702
2020-03-02T01:38:40
2020-03-02T01:38:40
242,755,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,964
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 26 01:25:29 2020 @author: user """ import os import time def duplicate(strPath , Data ): lisDir = os.listdir(strPath) dicAll_Data = dict() strData = "" if(type(Data) == dict): dicAll_Data = Data for strFile in lisDir : strFile_Name = strFile.r...
[ "david53133@gmail.com" ]
david53133@gmail.com
c9bd05b4601e4999b2f8e8388cc5a71f4d443296
83dec1c86682fee0bebf19b1c30c4051795b4a3d
/Utilities.py
f35987e7f1489ea6281e0b060f807d0072ca36cc
[]
no_license
hayridurmaz/FaceAuthentication
97b88248cf533a8a9bb4bf2f95da96240f35eaae
6e6b949e740de56e67c611052a419d12abaab056
refs/heads/master
2023-06-07T11:57:57.777695
2021-06-17T19:15:43
2021-06-17T19:15:43
322,927,037
0
0
null
null
null
null
UTF-8
Python
false
false
5,000
py
import logging import os import time import cv2 import matplotlib.pyplot as plt import numpy as np from deepface import DeepFace from keras_vggface.vggface import VGGFace import config dataset_path = config.recognizer_options['user_dataset'] database_path = config.recognizer_options['user_database'] resnet50_featur...
[ "hayri.durmaz@tedu.edu.tr" ]
hayri.durmaz@tedu.edu.tr
582e0a4f9404ffe497957148713488fb28333b04
49f23f530d0cda7aadbb27be9c5bdefaa794d27f
/server/common_models/user.py
a5b3f4d6f5e5d6819209dd9b15cdda3c1a15dacb
[ "MIT" ]
permissive
Soopro/totoro
198f3a51ae94d7466136ee766be98cb559c991f1
6be1af50496340ded9879a6450c8208ac9f97e72
refs/heads/master
2020-05-14T09:22:21.942621
2019-08-03T20:55:23
2019-08-03T20:55:23
181,738,167
0
1
MIT
2019-10-29T13:43:24
2019-04-16T17:42:16
Python
UTF-8
Python
false
false
2,223
py
# coding=utf-8 from __future__ import absolute_import from document import BaseDocument, ObjectId, INDEX_DESC from utils.misc import now class User(BaseDocument): STATUS_BEGINNER, STATUS_VIP, STATUS_BANNED = (0, 1, 2) MAX_QUERY = 120 structure = { 'login': unicode, 'password_hash': unic...
[ "redy.ru@gmail.com" ]
redy.ru@gmail.com
b2494838e2dd49d90b6e70323d72d2dcb16bfb95
0d97aede474efb01d893eba0180bc1cb5170687d
/traceml/setup.py
61d6ce0b266d06cf5c25160a9d0f3f4d5dc59fc3
[ "Apache-2.0" ]
permissive
jinheeson1008/tensorflow-lstm-regression
ae7bcd3e48a36cc8bde34c2bd3c2df4f6d24d4b3
f31fc1181a5696a25f5737398ee0715c24626248
refs/heads/master
2022-08-10T13:42:21.695155
2022-03-26T16:30:17
2022-03-26T16:30:25
79,639,036
0
0
Apache-2.0
2023-09-04T23:21:41
2017-01-21T10:26:51
Python
UTF-8
Python
false
false
2,716
py
#!/usr/bin/env python import os import sys from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand def read_readme(): if not os.path.exists("./README.md"): return "" with open("./README.md") as f: return f.read() class PyTest(TestCommand): def...
[ "ci@polyaxon.com" ]
ci@polyaxon.com