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
14aea44dfb3cac5b9c7cdb45d60535220558ea80
3f0beb3543f1fcad6b84b6194b0cd70612b1a109
/app/schemas/credit.py
d507a76338d9639bfa6b5f84228456630c3fa9ac
[]
no_license
Keith-Njagi/ecommerce_app_credit_management
3e1ec9300ca62d28e6113978ac295cc7012de5e1
176f63fb7e33235462391edbe122eb8ad27d782a
refs/heads/master
2022-12-10T14:55:53.268186
2020-09-08T17:35:26
2020-09-08T17:35:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
from . import ma from models.credit import CreditModel from models.salesman import SalesmanModel class CreditSchema(ma.SQLAlchemyAutoSchema): class Meta: model =CreditModel load_only = ('salesman',) dump_only = ('id', 'created', 'updated',) include_fk = True _links = ma.Hyp...
[ "kitgiana.keith@gmail.com" ]
kitgiana.keith@gmail.com
d914c63daf2fad0c1cedf4f0d70cdcc832c0e729
f37d490338236d3cf779918efa28599f04ebdbe4
/Inteligencia Artificial 1/Tarea 13/Programacion Genetica.py
439d9264fc9262d72f9b262f8c814be5fb1fc4a8
[]
no_license
sanemiliano/Artificial-Intelligence-Projects
a513a77bf1be53ea561ae931efd4b4fe7a95991c
b9fb0d3fa92d95514518f49bf96a81229b7b1595
refs/heads/master
2020-03-27T22:25:59.823400
2018-09-07T20:05:55
2018-09-07T20:05:55
147,230,669
0
0
null
null
null
null
UTF-8
Python
false
false
3,560
py
import numpy as np import copy as cp import random as rd class Node: def __init__(self): self.fitness = 0 self.Yc = [] def calc_fitness(self, Y): self.fitness = np.linalg.norm((self.Yc - Y)) def print(self): pass class Const(Node): def __init__(self, x, y): No...
[ "zeus@polispay.org" ]
zeus@polispay.org
8c5e78c2e0950d63c09a8ccf701ea6c4e2067240
b83ee9db2832b07faa2bd9afae043691922412c3
/Knapsack/dynamic_knapsack.py
a2e0c1e3a3cc828fe3e8a5be4f04ff03bb24ca26
[]
no_license
Prudkovskiy/Python
68996953471292a1da3495adf16ff3b9eadec4b0
adad850e3a5efa0e78f4329388c1de98fd8ee610
refs/heads/master
2021-05-13T18:40:55.942928
2018-05-18T07:42:30
2018-05-18T07:42:30
116,874,806
2
1
null
null
null
null
UTF-8
Python
false
false
4,071
py
""" задача о ранце методом динамического программирования """ from sys import stdin class knapsack: def __init__(self, max_weight=0): self.W = max_weight self.weight = [0] self.price = [0] # массив со всеми предметами, которые в конечном итоге вошли в рюкзак self.ans = [] ...
[ "nickolay.prud@gmail.com" ]
nickolay.prud@gmail.com
609618bd1fe9be3d32aa26f4ec5cb69297691451
a2d30e0320b9a15862d1a21659c511064750df02
/MyBlg/migrations/0002_auto_20170703_1632.py
d65369cef80443c613d4421897d5601a8c141c89
[]
no_license
wjanaszek/first_blog
0bdda4ed7e0e08930ede96534181a67ac329b9fa
a1f2b5392e17dc256fac20a0193a21e5eae9891a
refs/heads/master
2021-03-27T15:59:21.537108
2017-07-11T20:16:24
2017-07-11T20:16:24
96,134,760
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-07-03 16:32 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('MyBlg', '0001_initial'), ] operations = [ migr...
[ "trash.wjanaszek@gmail.com" ]
trash.wjanaszek@gmail.com
23394ba5e3d077a01662573c4197b02160b39db2
820867acf1db9a60649b115fe1ba480495b9add1
/Desafios/Desafio 108.py
9508d83bf78604c41e5683fbdb825d442fbdac41
[ "MIT" ]
permissive
blopah/python3-curso-em-video-gustavo-guanabara-exercicios
8486cfd889c1175ffd0b8961095bd17634ac0757
d86c613ea8bb335c4dd888a34bda456055e4d82e
refs/heads/master
2022-11-10T04:17:22.992631
2020-06-15T23:33:45
2020-06-15T23:33:45
272,562,814
2
0
null
null
null
null
UTF-8
Python
false
false
514
py
""" Problema: Adapte o código do desafio 107, criando uma função adicional chamada moeda() que consiga mostrar os valores como um valor monetário formatado. Resolução do problema: """ from ex108_modulo import moeda valor = float(input('Informe um valor: R$')) print(f'Aumento de 10%: {moeda.aumentar(valor, 10)}') prin...
[ "pablodplucenahh@gmail.com" ]
pablodplucenahh@gmail.com
417e4e7fceb9fbbc14196f5a7e374f689dcfecff
8ebb6c7abc58d1eeb8c7eaa6d6e27b625fc04696
/2020/python/day20-1.py
fa2e81a2c45364bcc81279d0b2bfb8f1a4341cc0
[]
no_license
davidcbc/aoc
3d26f24314e0072315e5047f17d78c4017950a24
58bc1b020317ff66e1d46ad6c3f89c2535684ca2
refs/heads/master
2023-02-05T18:56:10.527499
2020-12-23T20:25:06
2020-12-23T20:25:06
317,977,311
0
0
null
null
null
null
UTF-8
Python
false
false
4,462
py
import copy import math f = open(r"2020/python/day20-input.txt", "r") input = f.read().split("\n") BASE = 2 UP = 2 RIGHT = 3 DOWN = 4 LEFT = 5 def checkSeamonster(grid, x, y): seamonster = [list(" # "), list("# ## ## ###"), list(" # # # # # # "...
[ "davidcbc@gmail.com" ]
davidcbc@gmail.com
be4b3bc4b91e3948892eb0dfc5bd4d4bfbd7a81a
d3029a1d8a4892b04f21e7de6cfe578808b99efb
/test.py
0944203c228a25fc75e8328304c941b6f2da02f5
[]
no_license
johnpolakowski/File_Downloader
fae7c6240bbc9da26ef58ccd96885ec0b66b867c
a8a4b13bdbac7ccebfc5f4ef80aabb6bcc62657f
refs/heads/master
2023-06-15T18:09:52.033795
2021-07-16T06:47:19
2021-07-16T06:47:19
386,534,484
1
0
null
null
null
null
UTF-8
Python
false
false
2,465
py
WebDriverWait(driver, 30).until(EC.presence_of_element_located((By.ID, "recaptcha-anchor"))) ele = driver.find_element(By.ID, "recaptcha-anchor") #ActionChains(driver).move_to_element(ele).perform() ele.click() driver.switch_to.default_content() WebDriverWait(driver, 30).until(EC.presence_of_...
[ "poppy_ski@hotmail.com" ]
poppy_ski@hotmail.com
3906e639fd5010cbc85fb6417f0c25ecf4c4001b
1370ae668a0b5ed55b23d0c52316685a0e481379
/software/Train KBC Models/Bilinear Decomposed/bilinear - Kopie.py
0716288203f9058c1592741af70646dc061e7999
[]
no_license
kavchop/KGC-Thesis
0fe90bcc823f53ce0bab003edcf48be42ed068dd
ed27b543e52881302a7bbdcb41af9afab9053a8e
refs/heads/master
2021-01-11T18:26:11.011631
2017-01-20T09:29:15
2017-01-20T09:29:15
79,544,834
0
0
null
null
null
null
UTF-8
Python
false
false
15,128
py
''' Author of this implementation: Kavita Chopra (2016, version 1.0) RUN THE CODE: TRAINING: - "python bilinear.py" for training with non-diagonal Mr - "python bilinear.py diagonal" to train the bilinear diagonal model EVALUATION: - "python bilinear.py evaluate" for evaluation with non-diagonal Mr - "python bili...
[ "kavit.chopra@yahoo.com" ]
kavit.chopra@yahoo.com
5f16893b288023099588adfdbd4c49d0bf59bceb
33fff53a9b24e600848fc615769850b4590cecef
/pigprice/pigprice/middlewares.py
a55ae880c97b4f6611f8d54d19853307ca46cee7
[ "MIT" ]
permissive
wshoo/scrapy-pj
746b63697e6a4263df6afb15f67c33b929e187e0
c1cb279e02fd13930b446f021b85ed4be313c5fe
refs/heads/master
2022-11-25T16:26:32.319524
2019-12-25T05:44:13
2019-12-25T05:44:13
170,986,821
0
0
MIT
2022-11-22T03:26:03
2019-02-16T09:39:51
Python
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class PigpriceSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy...
[ "wsh_oo@live.com" ]
wsh_oo@live.com
2e9db7f19f244cd7fee24d13844d3b512eacad9a
8700c32358fea46addac456927f37920845c8da6
/ssir_iwae.py
db2bf8c5b2117c81d2936bb5acd7d147741647b3
[]
no_license
satyam-cyc/SeqIWAE
c1c2bdb208b2ce03a54f35a7c218fccf93554d71
4c9fb10d1e87f0ed625f7d547cf5d78218752834
refs/heads/master
2020-07-05T01:26:21.774755
2017-11-24T19:56:42
2017-11-24T19:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,708
py
# -*- coding: utf-8 -*- """ Created on Sun Aug 20 19:13:03 2017 @author: Chin-Wei Sequentialized Sampling Importance Resampling and IWAE training wrapper """ import numpy as np from utils import log_sum_exp_np def seq_iwae_update(train_func,eval_func,x,spls): # use external stochasticity """ Se...
[ "cw.huang427@gmail.com" ]
cw.huang427@gmail.com
ce5e6f8927e97a6ea173f1e91c3d7ee62877e31a
d30785d3b36051dddfbf0a94c41b0f1cba33b146
/first_django_app/manage.py
8cdb6c32d05cd6c541ca5d7eef6e1899646701dd
[]
no_license
jcchouinard/Django-tutorial
f227f5de4b5eeceb4b5fc3f628913ec3a1615c41
ae85e14c359a3babedf890625faff31249588ff1
refs/heads/main
2023-02-03T17:31:53.507380
2020-12-23T05:13:27
2020-12-23T05:13:27
323,791,827
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'first_django_app.settings') try: from django.core.management import execute_from_command_line ex...
[ "jcchouinard.mkt@gmail.com" ]
jcchouinard.mkt@gmail.com
6830bf43355e90891aa72f7a8937eceacff7dd87
ad14fb1e1d133668207da93fdedf17d5523dfae5
/lib/ipmi_client.py
85a734292322c92b78567340a464fff1a2be12b4
[ "Apache-2.0" ]
permissive
timlee66/openbmc-test-automation
8a95187e233d585c1a534adfb1623e88728e3c82
43caf70f136a69fe104caa43a2379cc7e0986598
refs/heads/master
2022-05-22T19:22:12.546763
2021-10-08T01:30:54
2021-10-08T01:32:25
229,914,924
0
0
Apache-2.0
2019-12-24T09:43:14
2019-12-24T09:43:13
null
UTF-8
Python
false
false
5,474
py
#!/usr/bin/env python r""" A python companion file for ipmi_client.robot. """ import collections import gen_print as gp import gen_cmd as gc from robot.libraries.BuiltIn import BuiltIn # Set default values for required IPMI options. ipmi_interface = 'lanplus' ipmi_cipher_suite = BuiltIn().get_variable_value("${IPMI...
[ "gkeishin@in.ibm.com" ]
gkeishin@in.ibm.com
9c45927602a0c2e02348329e4ac8932ab91a4026
da82e7bff86aeabcdf91cfd0ca3149e5752b780f
/v2mac.py
d846ca44346f16517dcf80e9021e9d8e52b60e08
[]
no_license
tymancjo/video_process
92f95b52c420753d5fe86080421eff584e22c9ce
4775d4c5a420ef9b45127a35836b9187a7000480
refs/heads/main
2023-05-28T09:23:11.043293
2021-06-07T17:45:27
2021-06-07T17:45:27
371,156,476
0
0
null
null
null
null
UTF-8
Python
false
false
10,067
py
import cv2 import copy import sys import time import csv import numpy as np import math def play_videoFile(filePath, data, vid_sync, data_sync, sample_shift=0): cap = cv2.VideoCapture(filePath) if not cap.isOpened(): print(f"Can't open file {filePath}") return v_length = int(cap.get(cv2...
[ "tomasz.tomanek@gmail.com" ]
tomasz.tomanek@gmail.com
9d9c54c167c1d1608999cca9cd3f8deb88c08f87
f7a718425de1447836b547f831a120937f1fcf40
/plumbum/util/datefmt.py
86b8b0bd0033ccb5a4c68ba1d8edc9352eb63e63
[ "BSD-3-Clause" ]
permissive
coyotevz/plumbum-old-1
ad8ce697ffb4cbd0a6f238f66a1c546800e47024
c0f769ca525298ab190592d0997575d917a4bed4
refs/heads/master
2021-01-20T10:50:32.516766
2016-11-18T04:20:32
2016-11-18T04:20:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
# -*- coding: utf-8 -*- import os import time from datetime import datetime # date/time utilities if os.name == 'nt': raise NotImplementedError("Not yet implemented for this platform") else: time_now, datetime_now = time.time, datetime.now
[ "augusto@rioplomo.com.ar" ]
augusto@rioplomo.com.ar
c517eec9d829fff97df7e35c813ed564afea1bb4
64615f146aba943d7eeb434f7f0ce6ea4f0435a7
/Img2json/estimator/opt.py
b63951f99789049e86a01e5a5a49f25cea0102a7
[]
no_license
jie311/Human-Auto-annotation-Tool
0eb3d6af35f0bea4d2ebcf0077acb4414dce79c9
d9f8e23f4c6f2e53fb29286b70758ec5f21decb6
refs/heads/master
2023-06-01T10:15:21.197269
2021-06-25T08:40:20
2021-06-25T08:40:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,899
py
import argparse parser = argparse.ArgumentParser(description='PyTorch AlphaPose Training') "----------------------------- General options -----------------------------" parser.add_argument('--expID', default='default', type=str, help='Experiment ID') parser.add_argument('--dataset', default...
[ "carolchenyx@gmail.com" ]
carolchenyx@gmail.com
908203b5cd69481a591c3a236d23ab58bfe761cd
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_321/ch130_2020_04_01_16_55_20_162558.py
b1a491a59ae05eb3b4d84e3ac5803ce5f576c87e
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
def monta_mala(l): i = 0 mala = [] while sum(mala) <= 23: if sum(mala) + l[0] > 23: break else: mala.append(l[i]) i +=1 return mala
[ "you@example.com" ]
you@example.com
cb9c8805b2401a47ffd0ff9c924fa33c3ef2548c
efcd916d9733ac4d2f4a162ac06d5b1356ec42d0
/model/octave_unet.py
b487709c95a6bbe1d0895c5fe80e3d434d268c48
[]
no_license
seandatasci/unet
d4d1b6c3016a1f673023c77c9e4f8ae6d0843e0f
3be1c69956abf9ddb3d6565436f85e92c6e4e486
refs/heads/master
2022-11-05T08:10:03.659948
2020-06-16T01:44:54
2020-06-16T01:44:54
272,579,214
0
0
null
2020-06-16T01:16:41
2020-06-16T01:16:40
null
UTF-8
Python
false
false
7,411
py
# model code all in this cell from __future__ import absolute_import from __future__ import division from __future__ import print_function import collections import math import numpy as np import tensorflow as tf from sklearn.utils import class_weight from tensorflow.keras import layers from tensorflow.keras.preproc...
[ "noreply@github.com" ]
seandatasci.noreply@github.com
21384b6912ea4b4605f00abd84ad1759212b43ff
c8f6ddd6e4ced85db81d1f95a07c9057bd494eae
/ch04_thermalHydraulics/python/geom_build.py
f244841c53395bba5cb5005f621bd8bfe0489d96
[ "LPPL-1.3c" ]
permissive
wcdawn/WilliamDawn-thesis
21c63a16c677107699fd024aeb0022d2e930d6a8
2f002a5df1773ff477f0f7423a22f517957d9844
refs/heads/master
2022-05-02T20:14:20.080382
2022-04-13T00:07:42
2022-04-13T00:07:42
169,178,811
0
0
null
null
null
null
UTF-8
Python
false
false
6,216
py
import numpy as np import matplotlib.pyplot as plt import matplotlib LW = 2 FN = "Times New Roman" FS = 16 plt.rc("lines", lw=LW) plt.rc("mathtext", fontset="stix") plt.rc("font", family=FN, size=FS) # plot wedge --> chunk --> hex f2f = 1 width = 0.25 height = 1.0 nHex = 3 plt.figure() ax = plt.gca() for i in ran...
[ "wcdawn@ncsu.edu" ]
wcdawn@ncsu.edu
567dc4756fdd77193ba0e7b938617bfbc0333d1a
74c05c49de443e9c304549e017ddb7fc5b5dfafb
/customuser_project/wsgi.py
58b0fa11b7edac62a12b544f8a8a36bca297497c
[ "MIT" ]
permissive
aliibsamohammed/customuser_project
187ec4c85b49bcd807738dba63cddd8f174f0248
f661f46447ac5144729fac5acf5406c3e87ccc46
refs/heads/main
2023-09-05T19:25:03.251279
2021-09-25T22:18:34
2021-09-25T22:18:34
409,338,441
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
""" WSGI config for customuser_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.conf import settings from django.core.wsgi import get_wsgi_appli...
[ "ibsamohammed@gmail.com" ]
ibsamohammed@gmail.com
8125f2b59f3c1c6cac4642a27e9d7f074dc09df9
0e31fd5b7fb3eb03bd8976f3f1741e0a8025c918
/company_index/middlewares.py
49ed499ae617bdb2a6770b41512c5a742f808d23
[]
no_license
shivvu/End-to-End-Deployment
9bfa107b2ac21dedc1fe73ba8af6e69cf89748fc
6f931a74ece8f3be5cf1229f1f7f4310653c6683
refs/heads/main
2023-02-07T08:03:14.313160
2020-12-19T16:57:55
2020-12-19T16:57:55
322,823,051
0
1
null
null
null
null
UTF-8
Python
false
false
3,658
py
# Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals # useful for handling different item types with a single interface from itemadapter import is_item, ItemAdapter class IdxcrawlingSpiderMiddleware...
[ "noreply@github.com" ]
shivvu.noreply@github.com
0b18446ffc3f619e218bbf4ee27d01ef5704d3cf
93f650962489a895749be7e385d5a55429662148
/manage.py
7c4bc54db099fd70dc33472fd34daa9dcaa3c358
[]
no_license
Jekrimo/django-user-dashboard
02029df2825f271cae7114ccfd1d2cbb1772de5e
0fcefad2b8ef81952270f2da5729e2db0cbd865c
refs/heads/master
2020-02-26T14:49:15.270862
2016-08-19T18:51:56
2016-08-19T18:51:56
65,822,026
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "thedashboard.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that...
[ "jekrimo@gmail.com" ]
jekrimo@gmail.com
b869872bf72cdc1084a31e866ffa6e18ef429fdc
1fb82cf0b1fa219ec98ebd58ae53e2edc6dafb1a
/build/exercise2/catkin_generated/pkg.develspace.context.pc.py
1e42272eda056104f01933099b4654afb9c1e315
[]
no_license
roberttovornik/FRI-RINS_TurtleBot
ffb877369eb595e1a9f07571c786b729c3526d82
f18ec20c00f390d20de5b01104ecd7bf83810d2c
refs/heads/master
2021-01-19T22:49:05.279753
2017-05-02T16:03:22
2017-05-02T16:03:22
88,873,770
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "exercise2" PROJECT_SPA...
[ "robert.tovornik@gmail.com" ]
robert.tovornik@gmail.com
add361736c36d51ddd27caa4b8b50f6f08de26c6
bed10dcbc66c0332cc2748be179e3f992e45c124
/model.py
24b218f6f670a65386e782de10787d542c01e4e6
[]
no_license
GZWQ/image-generation
fdbe9214965d41daa19bb8660ecf816fb37d1674
3e477ab67e97d608b502ef42f5100b7f33f9d0f8
refs/heads/master
2021-01-14T22:26:18.709388
2020-02-24T17:23:30
2020-02-24T17:23:30
242,780,290
0
0
null
null
null
null
UTF-8
Python
false
false
16,609
py
from keras.models import Model, Input, Sequential,model_from_json from keras import layers # from keras_contrib.layers.normalization import InstanceNormalization from keras_contrib.layers.normalization.instancenormalization import InstanceNormalization from keras.layers.advanced_activations import LeakyReLU import kera...
[ "wqingdaniel@gmail.com" ]
wqingdaniel@gmail.com
fe49affdfe86b67c957fb54ead648638e5c4d54b
ff826a0767913591ef1462fc7b6ada3e96427f08
/Pre_processing/csoText.py
b0564ea5bc565565378ca4a954216704e6242eed
[]
no_license
SoumyaBarikeri/ConferenceQuality
a99785f36d3c8b9738ea56e3f4be5909226cc7ac
19af39bca2e7619e7dbeb7cb98fd49ab66b698c9
refs/heads/master
2022-12-08T23:28:03.721953
2020-09-13T13:32:38
2020-09-13T13:32:38
295,153,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,089
py
""" This file fetches conference topics using Computer Science Ontology Classifier """ import classifier.classifier as CSO import json from nltk.stem import PorterStemmer import pandas as pd def stemwords(all_words): """ Function to get stem of all conference topics using Porter stemmer algorithm Paramet...
[ "noreply@github.com" ]
SoumyaBarikeri.noreply@github.com
883987a517479c143a4f47cd570555cb718d5ae8
4109e9a3ec14b9ff1670b65b686dbc10b485e1cf
/appi/migrations/0002_remove_skydevice_owner.py
6443ee60b9e6eededef9b32ebf2f8d30a2427d7f
[]
no_license
bloomsky/bloomsky-widget-id-generator
afc6bdefea0a6f15b53a54054c43c06a64eaeae8
084d71b6afd192b4645aca513b36a6302acef1b8
refs/heads/master
2021-01-23T10:44:46.882267
2017-06-01T19:12:36
2017-06-01T19:12:36
93,090,838
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-05-26 18:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('appi', '0001_initial'), ] operations = [ migrations.RemoveField( model_...
[ "weisun@wei79.local" ]
weisun@wei79.local
6c3c88c52957533c2d9b96c060ad47523130e927
253a92017383ea38d0a4e00097575a5a5fd81cc1
/pages/migrations/0002_page_order.py
1e849eaeb98e95c96e1d048659854fb77498938a
[]
no_license
crltsmrtnz/mboHupaWeb
755ed5042d9738e2725b7e8b2436874e0cb6ad24
94e358b6954ab97a2338a2ceff8e343ef062490d
refs/heads/master
2020-05-16T13:33:08.836312
2019-06-20T23:39:20
2019-06-20T23:39:20
183,076,913
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
# Generated by Django 2.0.2 on 2019-04-25 19:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pages', '0001_initial'), ] operations = [ migrations.AddField( model_name='page', name='order', field=mo...
[ "crltsmrtnz@gmail.com" ]
crltsmrtnz@gmail.com
1b5cfbe1f3042ab381911ffa943576eb5a6a5208
32904d4841d104143ba0f41cc3aeb749e470f546
/backend/django/apps/memos/migrations/0008_auto_20191025_2003.py
3fdde9fa6cac56f3d36a37dc33c06ac8382c74cb
[]
no_license
aurthurm/dispatrace-api-vuejs
20ec5deee015e69bce7a64dc2d89ccae8941b800
56d122318af27ff64755fc515345974631d3026f
refs/heads/master
2023-01-23T23:03:15.438339
2020-10-20T22:09:29
2020-10-20T22:09:29
219,028,985
0
1
null
2022-12-22T18:31:38
2019-11-01T17:08:35
Vue
UTF-8
Python
false
false
540
py
# Generated by Django 2.2.6 on 2019-10-25 18:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('memos', '0007_memoattachment_memocomment'), ] operations = [ migrations.AlterField( ...
[ "aurthurmusendame@gmail.com" ]
aurthurmusendame@gmail.com
5895131f82ef26ab807bad6166ae4dfbed390bcd
ec8702ca17e1e73202b2ab19a351092bde619112
/libs/models/mixins.py
9d65e05db560e3f9257522e655913121e25126ab
[]
no_license
mygoda/new_ball
fff0846529a22253fcab06a6ec6d04206899b6ea
b2f05f5887758a0a30b50d5049b2736149e52e5c
refs/heads/master
2021-01-09T19:03:56.411532
2016-07-11T00:03:44
2016-07-11T00:03:44
60,612,889
0
0
null
null
null
null
UTF-8
Python
false
false
1,144
py
# -*- coding: utf-8 -*- # __author__ = xutao from __future__ import division, unicode_literals, print_function from django.db.models import Q class QuerysetMixin(object): @classmethod def get_by_unique(cls, **kwargs): try: instance = cls.objects.get(**kwargs) except Exception, err...
[ "taoxu@163.com" ]
taoxu@163.com
cb0c7a44b43524123ce006d9b0d794b3060cda65
e50a4781388ef7682a935986f2abae6fa85f879a
/MM2021/com-train/run_one.py
f4ebf3a94dd4b23d87a18b8e242c39768125e81f
[]
no_license
wojxhr/CG-trans-optimization
2912156320db958e8aa6f797619acf59931be231
2b476b1291b972d22ec8e825eae21cbf4a597653
refs/heads/master
2023-08-24T23:05:31.526477
2021-10-22T03:01:29
2021-10-22T03:01:29
419,938,926
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
""" This demo aims to help player running system quickly by using the pypi library simple-emualtor https://pypi.org/project/simple-emulator/. """ from simple_emulator import SimpleEmulator, create_emulator # We provided some function of plotting to make you analyze result easily in utils.py from simple_emulator impor...
[ "391777866@qq.com" ]
391777866@qq.com
c900941111ee8983119ec1d8889a2c249f96f10e
012451630e60bf17f7e9f2dfe317d88678eb2f48
/simonsays.py
5926769a4f3a8bc4f7e1476dd6b4b3e4ebb02542
[]
no_license
arm15aig/Kattis_Python_Solutions
452ed66a2720c969038dc1a212157b545054ee22
12c3e849f113cf8b23bda63b47b3300f604dc243
refs/heads/master
2022-12-07T06:08:16.432878
2020-08-25T21:51:15
2020-08-25T21:51:15
290,331,156
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
x = input() for i in range(int(x)): myInput = input() command = myInput[11:] if "Simon says" in myInput: print(command)
[ "arm15aig@gmail.com" ]
arm15aig@gmail.com
33e6fb56b398cd6635d41be61972d9290f4fa7f1
cdd79cef15bdf6a0b9098e27028bbe38607bc288
/数論/Combination/mcomb.py
0f7e575c0fe0a8647ae6beff5f8fa66747094a11
[]
no_license
nord2sudjp/atcoder
ee35a3eb35717485dc62627172de24c9dac102fb
6b1cc5102a615492cc7ff8a33813bbb954641782
refs/heads/master
2023-08-25T11:27:14.205593
2021-09-27T05:43:04
2021-09-27T05:43:04
302,855,505
0
0
null
null
null
null
SHIFT_JIS
Python
false
false
654
py
# https://atcoder.jp/contests/abc145/submissions/10775904 def comb(n,r,mod): # nからr通りを選択する # modは素数であること if n<r:return 0 k=min(r,n-r) C=1 for i in range(1,k+1): C=(C*(n+1-i)*pow(i,mod-2,mod))%mod return C print(com(n+m,n,mod)) # def comb_cal(n): s=1 m=0 for i in rang...
[ "nord2sudjp@gmail.com" ]
nord2sudjp@gmail.com
234fe0703bcd32e0a8e3cea1e43969c845b3ac6e
ba0cbdae81c171bd4be7b12c0594de72bd6d625a
/MyToontown/Toontown2016/toontown/toonbase/ToontownStartDist.py
6718c47b2d8ad07f5cb8e4b83442d6bf516c3334
[]
no_license
sweep41/Toontown-2016
65985f198fa32a832e762fa9c59e59606d6a40a3
7732fb2c27001264e6dd652c057b3dc41f9c8a7d
refs/heads/master
2021-01-23T16:04:45.264205
2017-06-04T02:47:34
2017-06-04T02:47:34
93,279,679
0
0
null
null
null
null
UTF-8
Python
false
false
6,538
py
# This is the "main" module that will start a distribution copy of # Toontown 2016 # Replace some modules that do exec: import collections collections.namedtuple = lambda *x: tuple # This is included in the package by the prepare_client script. It contains the # PRC file data, (stripped) DC file, and time zo...
[ "sweep14@gmail.com" ]
sweep14@gmail.com
4625b7562e6935395144e1da64a15c0b078f999e
52b5773617a1b972a905de4d692540d26ff74926
/triangle.py
aabaa8b43b28d0f6063839f8844acbb0a8568919
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
318
py
# this function is meant to print a triangle def triangle(): # outer loop is for the rows --> 4 for i in range(0,4): # inner loop is for colums --> 4 for j in range(0, i+1): print("*",end= " ") print("\r") triangle()
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
f92210930c31e1edaf7d1513a0637aec82175039
4f3e02123d20044405638b1baa059c13fca9b1d7
/python iris.py
12410ba99fd00f3071596d49227b774c361835f0
[]
no_license
drb1001/data-fiddles
e5eea14149bf30dcdd8f4296fe0b08feb1c729bc
6d8b48e5b87bd5ff357bb555dd43c59fb3d4921f
refs/heads/master
2016-08-11T09:53:07.405255
2016-03-21T15:34:25
2016-03-21T15:34:25
54,401,207
0
0
null
null
null
null
UTF-8
Python
false
false
2,117
py
import pandas as pd import numpy as np #import matplotlib.pyplot as plt #import pylab as pyl from sklearn import cross_validation, datasets from sklearn import linear_model, svm, neighbors iris_dataset = datasets.load_iris() # print iris_dataset.data.shape # print iris_dataset.keys() iris_data = iris_dataset.data i...
[ "dbrown@podio.com" ]
dbrown@podio.com
1ea16f21550a63e6a23e2ef4a9f3e2cf5ea58db1
215dbe00272fbc53cc6239e972abce6f2b163003
/Day5_Exercises/exercise1-2.py
07a82c9a3d73661020c591f4f453df32fc92ff73
[]
no_license
kkt8282/IOT_Raspberry
29579f0793bbe56d9e85c9a6625e6caaba419d19
9a56a8974c0a6640d7616614e8a76417ced8931a
refs/heads/master
2022-12-14T01:41:40.677777
2020-08-31T01:44:53
2020-08-31T01:44:53
291,587,488
1
0
null
null
null
null
UTF-8
Python
false
false
679
py
import RPi.GPIO as GPIO from time import sleep LED_1 = 4 LED_2 = 5 LED_3 = 14 LED_4 = 15 LED = [LED_1, LED_2, LED_4, LED_3] def main(): GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(LED, GPIO.OUT, initial=False) print("main() program running...") try: while True: ...
[ "63182249+kkt8282@users.noreply.github.com" ]
63182249+kkt8282@users.noreply.github.com
3ece49f91d19e555e7e128083e0047a507248f9e
fd45d0fb3dedac5948486fa928083d4f4f863ebc
/whatistheplan/models/__init__.py
570015042da1184e500abb62c5004cc6d759cd0b
[ "MIT" ]
permissive
ccowmu/whatistheplan.com
b81d08124801bfa106c43d53db95601cfb3529ec
97d4662c9248fc72d9b556b4fef222befcc2df30
refs/heads/master
2020-04-15T23:54:02.504073
2018-11-02T19:02:41
2018-11-02T19:02:41
33,387,069
5
7
MIT
2018-10-30T17:08:58
2015-04-03T23:12:49
HTML
UTF-8
Python
false
false
199
py
"""Aggregate all database classes for easy importing""" from whatistheplan.models.userprofile import UserProfile from whatistheplan.models.game import Game from whatistheplan.models.team import Team
[ "dyladan@gmail.com" ]
dyladan@gmail.com
4302c2a92d3fd0e16720b5d0bb2c81e469aa422d
71e8bdddd84338bbb2d77934351d76251c2fd77d
/unique-paths.py
39eeaaf353b483ccb782eeba05930f71fcbd9851
[]
no_license
onestarshang/leetcode
3da20fbec1b42d3565eb95a64ea3f30c29f1e1eb
0a7aa09a2b95e4caca5b5123fb735ceb5c01e992
refs/heads/master
2021-01-09T06:00:06.018037
2016-12-17T16:17:49
2016-12-17T16:17:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
#coding: utf-8 ''' http://oj.leetcode.com/problems/unique-paths/ A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the ...
[ "irachex@gmail.com" ]
irachex@gmail.com
190ccccc1d21c2fef03056f73525f3e2d5d08a51
1d123feb5bee8cfcad2267bd2683cd5328a764d8
/src/LivestockCV/core/transform/rescale.py
10730d13260807f02474c184a4fea5f112a72265
[ "MIT" ]
permissive
peschelgroup/LivestockCV
cd7803f74b5c37c04ede6cf1fc6f6da043821174
e5746af75935d5000ba3ad26d09b6868fae76b76
refs/heads/main
2023-06-27T04:52:26.533031
2021-08-01T20:01:22
2021-08-01T20:01:22
379,750,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,289
py
# Rescale grayscale images to user defined range import os import numpy as np from LivestockCV.core import fatal_error from LivestockCV.core import print_image from LivestockCV.core import plot_image from LivestockCV.core import params def rescale(gray_img, min_value=0, max_value=255): """Rescale image. ...
[ "noreply@github.com" ]
peschelgroup.noreply@github.com
2e230cb8aa62731299b1f164e9a99323b26e1092
727d8e53595146fcb20a1fc9ede035027caa78e0
/fixAddPlants.py
811caca48f68155a4a71f49c7484616654f2a039
[]
no_license
yzyly1992/PWP-Lib-Crawler
b5de68c26e72ccf46bb89bfc5c68d0158d0e044e
7c14d1444a230c2cd4b33160afa2a57299735b7b
refs/heads/master
2021-05-23T15:16:16.497585
2020-10-09T00:50:55
2020-10-09T00:50:55
253,356,336
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
import os, re import json with open("plants.json", "r") as jsonFile: data = json.load(jsonFile) i = len(data) n = 0 while n < i: path = data[n]["path"] data[n]["mac"] = path.replace("\\", "/").replace("Y:", "/Volumes/Library") n += 1 with open("plants.json", "w") as f: json.dump(data, f)
[ "zyang03@risd.edu" ]
zyang03@risd.edu
1e23cc6f5ebb7e8346c498f65e57c1cb9222b3d2
f7aa42f7f1677a5db519449c6ffc03f46398f485
/homepage/migrations/0006_faculty_user.py
0ac1c599acd7ccb77dbd7fd36a654a614cd5037b
[ "MIT" ]
permissive
abmishra1/IntelligentFacultyPortal
7ee0c7397221f49f6007998d8c2fd24347b83fe1
4aae3a3024c10233acfa19f024fd723fb6ef1336
refs/heads/master
2020-07-15T13:29:54.978990
2018-05-18T18:51:43
2018-05-18T18:51:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-15 17:02 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
[ "nitinkedia7@gmail.com" ]
nitinkedia7@gmail.com
1f125389bc31c3efbfd5132b1e77e427614268ff
0b5b70b5353e887fb168350bb32ceb6cc23249fa
/homework/week04/sparta/__init__.py
e2dbdc125587bf3013e9e42fa83e6b40d59f28e3
[]
no_license
diligejy/sparta_d
2d8604a59899bb21cd97e44e13e3dd91bc9e5e77
55a01b61ad420302e53bab327daee2e919b02e73
refs/heads/main
2023-05-14T21:01:13.677335
2021-05-22T06:05:13
2021-05-22T06:05:13
358,761,190
0
0
null
2021-05-22T06:07:04
2021-04-17T01:49:23
HTML
UTF-8
Python
false
false
601
py
from flask import Flask from flask_migrate import Migrate from flask_sqlalchemy import SQLAlchemy import config db = SQLAlchemy() migrate = Migrate() def create_app(): app = Flask(__name__) app.config.from_object(config) # ORM db.init_app(app) migrate.init_app(app, db) from . import models ...
[ "sjy049@gmail.com" ]
sjy049@gmail.com
910aba7d092e6fe88237d6d7c73f25a5638d20a8
c70dfc0d74b34e41f7d2dbdbd6bfaca2f79af55b
/cyp/models/convnet.py
7e74e171c0c26477317c14467986b5411a787c77
[ "MIT" ]
permissive
jeangolay/pycrop-yield-prediction
a2c65fa3bd704d1d3251318a9afe39bfcd05cf10
1b36b673cc58b506ad4d3c8bd6b6917ac5a72d28
refs/heads/master
2021-02-18T06:58:31.844163
2019-11-25T13:45:55
2019-11-25T13:45:55
245,172,915
0
1
MIT
2020-03-05T13:39:21
2020-03-05T13:39:20
null
UTF-8
Python
false
false
7,994
py
import torch from torch import nn import torch.nn.functional as F from pathlib import Path from .base import ModelBase class ConvModel(ModelBase): """ A PyTorch replica of the CNN structured model from the original paper. Note that this class assumes feature_engineering was run with channels_first=True ...
[ "gabriel.tseng@mail.mcgill.ca" ]
gabriel.tseng@mail.mcgill.ca
9f944dbc67a1bb892749180712c64565d636b184
25bd603e5775558754bf32adbfbbc6c1d8d86db8
/comments/migrations/0001_initial.py
9f3652db9d54a856faabfcdf57101f469120b345
[]
no_license
yeimermolina/django-blog-project
ee75fa05412c8d1194c57cac2b8e8909d4493892
3ca64d3f4b8f80f91a4a2527ed781e9cdceebb2d
refs/heads/master
2021-01-19T09:20:31.212788
2017-04-10T00:44:11
2017-04-10T00:44:11
87,750,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2017-02-28 17:13 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('content...
[ "yeimer.molina@gmail.com" ]
yeimer.molina@gmail.com
e8828d6e1b94af027e4b77ca8d909c5b44902ee8
50a087382c8da4db28461644f8e4c61db7a3c230
/titanicapidata.py
adf49a50749f307cfcc432ed5266563698934369
[]
no_license
deep2555/Titanic-dataset-project
91b478df513447d2416dca7f2f947fe02cc9c890
25ba4824d6c246c79526ed456447df81168d6707
refs/heads/main
2023-05-31T05:11:02.503655
2021-06-16T15:53:34
2021-06-16T15:53:34
377,543,910
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
#import flask from flask import Flask , request, json,jsonify import requests import pickle import numpy as np app = Flask(__name__) loaded_model = pickle.load(open("titanic.sav", "rb")) @app.route("/", methods = ["POST"]) def titanic_predict(): user_input = request.json print(user_input) inp...
[ "noreply@github.com" ]
deep2555.noreply@github.com
a822fbeeb592b742c4ddbe11b82b3ead6703f4e6
26e2c68f929ecc8bb5c20c6b8cd200b66d99def5
/DjangoDopLEsson/products/migrations/0001_initial.py
0ce5c7a66193f21ead1baaf75f96d6d86c10e249
[]
no_license
kirigaikabuto/DjangoLessonsPart
ad19c1da0d1da27830c6fdf1b07353632bbc097d
4442518ae1f0a8641e066c9a63ff4e55e04d5fe5
refs/heads/master
2022-11-28T10:29:54.428001
2020-08-03T09:26:42
2020-08-03T09:26:42
273,497,052
0
0
null
2020-08-03T09:26:43
2020-06-19T13:11:15
Python
UTF-8
Python
false
false
590
py
# Generated by Django 3.0.7 on 2020-06-24 05:41 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(...
[ "ytleugazy@dar.kz" ]
ytleugazy@dar.kz
e782fadcca8915536908baee95741f6ecdf8ee5d
63d1f90e4f32cc179635b50597fb264d77a8149d
/ceaos/__init__.py
ee66221e89d5f6cc061a3f4472e5abad0e404b7b
[]
no_license
kxu11235/cea-os
6474fbfd0cd632d40693f472abf5c7f700ab9772
851639a609a4a238bbefedf191a8d0eaf567ed20
refs/heads/main
2023-06-01T07:39:30.098497
2021-06-09T16:43:47
2021-06-09T16:43:47
375,759,475
0
0
null
2021-06-10T16:15:44
2021-06-10T16:15:43
null
UTF-8
Python
false
false
71
py
# CEA-OS is an operating system for controlled environment agriculture
[ "nandan.t@live.com" ]
nandan.t@live.com
25f34ab887b47fdda71884e0831b7bf6e036da15
5c2ead245750a317ef4bdbfa6d0e17fd21f7aa91
/rango/tests.py
a6b3519ed7821ba749642478a189f769435dbe62
[]
no_license
PiotrusWatson/rango
90386bcbe2b51264dc4884a2a106c0e451717db5
d8d7bb937e84f7fc225a8a0b1dceee78f2908dd9
refs/heads/master
2021-01-12T00:38:16.318824
2017-02-10T12:52:35
2017-02-10T12:52:35
78,750,619
0
0
null
null
null
null
UTF-8
Python
false
false
1,885
py
from django.test import TestCase from rango.models import Category from django.core.urlresolvers import reverse def add_cat(name, views, likes): c = Category.objects.get_or_create(name=name)[0] c.views = views c.likes = likes c.save() return c class IndexViewTests(TestCase): def test_index_vie...
[ "piotruswatson@gmail.com" ]
piotruswatson@gmail.com
ece98bcf48efd5bae4412e46e743d79b5fdd7e83
33f56fd967f012edd86e5fed2d6992e2cc5c2a1f
/keras_97/keras-simple-model-0-97103-best-public-score.py
a5e71f2060cacfc2e34c67b15ae2263c6c05e228
[]
no_license
CornellDataScience/IntSys-Seedling
74571a69ef15dd79f0dd917161de027a11df14ef
b8296a8fca37167d333c263ea732ff9f850035bf
refs/heads/master
2022-01-10T15:39:58.253066
2019-05-15T02:14:11
2019-05-15T02:14:11
169,326,358
2
0
null
null
null
null
UTF-8
Python
false
false
7,756
py
import pandas as pd import numpy as np import os import imageio import csv from keras.utils import plot_model from keras.models import Model from keras.layers import Input from keras.layers import Dense from keras.layers import Flatten from keras.layers import Activation from keras.layers import Dropout from keras.lay...
[ "bjk224@cornell.edu" ]
bjk224@cornell.edu
132e4ee4c793bdc4161705a02085ff9af6bd4275
cdf4c78d609fc6cf39deaa74dae56d2ba33f027f
/basic_syntax/1_6input.py
5d81bcc6d037727e7b73cf9ba605a95a81b678af
[]
no_license
choyeaeun/Python_study
0b201b91e28b63a382bee1fc3c74ee3c2056844a
d0dab7aabb4579fa24dd64b42ca94d2be854264a
refs/heads/master
2020-08-07T16:37:14.534707
2019-10-11T15:51:03
2019-10-11T15:51:03
213,526,906
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
#사용자의 입력을 받는 함수 input print('what is your name?') a = input() print('my name is ', a) #input함수에서는 간단한 print기능이 포함되어 있음 mine = input('가위 바위 보 중에 하나를 내 보세요') print('mine:', mine)
[ "silbia629@gmail.com" ]
silbia629@gmail.com
89315f19c44ce6a4e4989a4db8b8892a9ebb7e53
d154b2c87c1ac29b008acbcfe7dbf1f904f72840
/FirstLab/venv/Scripts/pip3-script.py
8a1386c20815cc18abfa22301321e849233b9caf
[]
no_license
sophiacrumb/BDAS
4cb1ede2022f7ef49e182be2ecb7a21faedff1f5
02576e057c7835ff506eb68eb9fccdc952e078f1
refs/heads/main
2022-12-31T08:07:55.880154
2020-10-20T16:13:45
2020-10-20T16:13:45
303,101,692
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
#!D:\PycharmProjects\FirstLab\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys...
[ "sophiacrumb@yandex.ru" ]
sophiacrumb@yandex.ru
9dcddbcc8d5d3f81e9b43c1b674bb99bf74081e6
495943f075f6a641d456d66deebb208847cb6c50
/bases/bases.py
4b971bac31d64037ece100affafdb194b8cec092
[]
no_license
LukazDane/CS-1.3
377a6ef77c3db4a497f492ed73a3ba2487531b93
9cee1f71b9374a54a1fe336cd1f8db1a51275ef8
refs/heads/master
2022-07-04T00:26:48.498036
2020-05-11T02:37:00
2020-05-11T02:37:00
255,189,216
0
0
null
null
null
null
UTF-8
Python
false
false
4,209
py
import string import math # ##### https://en.wikipedia.org/wiki/List_of_Unicode_characters # Hint: Use these string constants to encode/decode hexadecimal digits and more # string.digits is '0123456789' # string.hexdigits is '0123456789abcdefABCDEF' # string.ascii_lowercase is 'abcdefghijklmnopqrstuvwxyz' # string.asc...
[ "deandrevidal@aol.com" ]
deandrevidal@aol.com
42c8a383b2d310a0e02a6e8acb97b3e392f78b79
2e72c5ab40eed0dd41ffb2c6cc902c019434cd55
/MainPage/findClosestBranch.py
8f31ae807402216c2ba1e687f7644f72902e2c54
[]
no_license
MateuszsuetaM/ussr
445c777df0656178d153ab0f5b43d4b052cb48ce
9e62714ef8f3d79f97bc07bc376d97cb6372de52
refs/heads/master
2021-09-03T11:27:23.959714
2018-01-08T18:11:22
2018-01-08T18:11:22
111,199,941
0
0
null
2017-11-25T13:22:07
2017-11-18T11:25:52
Python
UTF-8
Python
false
false
622
py
from math import cos, asin, sqrt from company import models def distance(lat1, lon1, lat2, lon2): p = 0.017453292519943295 a = 0.5 - cos((lat2-lat1)*p)/2 + cos(lat1*p)*cos(lat2*p) * (1-cos((lon2-lon1)*p)) / 2 return 12742 * asin(sqrt(a)) def getClosest(u_lat, u_lon): closestBranch = '' closestDist...
[ "ksazon@sigma.ug.edu.pl" ]
ksazon@sigma.ug.edu.pl
976ee0ae69a2b1866f4ac2bf56a9bc4c1732988a
d8e4c9182c83ef781e2b574cd639917ecd38a53a
/ralgraph/chart.py
07c1f0a5891c0850ea04238b64b8002c3a7563bf
[]
no_license
mirmik/ralgraph
b98fa39904b1e5cea4cfde9f4e6a81a3b7728999
a66da89ab85b86b7d68787b8b199267f12c40da7
refs/heads/master
2020-07-03T12:20:35.018998
2020-04-06T10:00:35
2020-04-06T10:00:35
201,902,647
0
0
null
null
null
null
UTF-8
Python
false
false
4,309
py
#!/usr/bin/python3 from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * import numpy import time import threading class ArrayChart: def __init__(self, plot=None): self.plot = plot self.x_chart_coords = [] self.y_chart_coords = [] self.autoscale = True self.xmin = float("inf...
[ "netricks@protonmail.com" ]
netricks@protonmail.com
a7da83c154c9480e68fc45b27de2fc75c7bd51ce
5bfd97b3ed5b173af6d97cbed91fe4cbeb9d5690
/901_recommendation/plots.py
6b573a9702b23a39ebbe973c8ec8bab6096177b4
[]
no_license
AndersonJo/python-lab
dce6c1e96313ce339153c3aaf13b052581113726
eafbeddc7a7706377478282252806de3a56cc5bb
refs/heads/master
2020-03-22T20:54:26.708450
2018-10-30T05:56:50
2018-10-30T05:56:50
140,641,201
0
0
null
null
null
null
UTF-8
Python
false
false
2,040
py
from random import uniform import pylab as p from data import critics def display_critics(name1, name2): """ plot the two critics' movie scores. @param name1 (str): the name of a critic @param name2 (str): the name of a critic """ movies1 = critics.get(name1, None) movies2 = critic...
[ "a141890@gmail.com" ]
a141890@gmail.com
175006eb5905eb05d3eff2e0c2859795a73c2c91
7e2d10ed5b62aa908f1facec1400c6b59314878e
/.venv/lib/python3.7/site-packages/mypy/checkexpr.py
45e302f6595b20685e9aa4c77e360424d06d5cde
[]
no_license
iphysresearch/watchlist
dfe0370ae80d1ab0d4333af445bec9eb80a2ddde
214a18d406e3b173cffa6eb2f5250d4553eda9f7
refs/heads/master
2020-04-11T20:19:16.424183
2019-01-14T17:36:09
2019-01-14T17:36:09
162,066,460
0
0
null
null
null
null
UTF-8
Python
false
false
175,805
py
"""Expression type checker. This file is conceptually part of TypeChecker.""" from collections import OrderedDict from contextlib import contextmanager from typing import ( cast, Dict, Set, List, Tuple, Callable, Union, Optional, Iterable, Sequence, Iterator ) MYPY = False if MYPY: from typing import Class...
[ "hewang@mail.bnu.edu.cn" ]
hewang@mail.bnu.edu.cn
ccecdaff747cdec374326dda1a311cbd51a5223a
9e4e40eafb302a560ce33f2c8418769fa14185d1
/section3/sentiment_analysis.py
0ebb649d7cd782b635beafc7bfaa8e394e758d86
[]
no_license
anantsrivastava30/TextMining
371bd46663e39702a0e38f8a6598e3e3030aca35
f13f001295ee2567a6b2e4c277774fdac6426a44
refs/heads/master
2021-05-06T03:10:50.061765
2018-02-09T07:40:02
2018-02-09T07:40:02
114,817,657
0
0
null
null
null
null
UTF-8
Python
false
false
7,214
py
# coding: utf-8 import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from sklearn.feature_extraction.text import CountVectorizer from sklearn.linear_model import LogisticRegression from sklearn.metrics import roc_auc_score from sklearn.svm import SVC from sklearn.feature_extracti...
[ "anantsrivastava30@gmail.com" ]
anantsrivastava30@gmail.com
3df046ae73258735aa27ee3942b82aec114a9ca8
e72b8ac4d15e37fca4a34c775de490371bf3a2e1
/plasmapy/utils/calculator/widget_helpers.py
1a10b2c87b53d06d6d14eea15d3f0d9c28b93ecb
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RAJAGOPALAN-GANGADHARAN/PlasmaPy
a4cd91cfcc31cfe6b69b6174d37bb094ddbf0052
3c1d6a72af2531a4603f227eabe74971a98da662
refs/heads/main
2023-01-08T05:12:02.952882
2022-03-19T18:00:35
2022-03-19T18:00:35
159,909,658
1
0
NOASSERTION
2018-12-01T04:42:14
2018-12-01T04:42:12
null
UTF-8
Python
false
false
18,149
py
""" Contains functions that create widgets and process properties for the calculator. """ __all__ = [] import abc import importlib import ipywidgets as widgets from inspect import signature from plasmapy.particles import Particle BLACK = (0, 0, 0) """RGB constant for black.""" DARK_RED = (255, 0, 0) """RGB Consta...
[ "noreply@github.com" ]
RAJAGOPALAN-GANGADHARAN.noreply@github.com
d857d210c85ab7e5b44aa427f2403019ebe176a1
f08d137b7821d79672c91e5f06967ffa1f90e278
/.history/Python/Main_py_20211021101357.py
24180ebf2cf62ee0838fe71a2cd46e81d5e858e6
[]
no_license
anhviet-key/hello-cac-ban
a39ffb1731a77dd171523ea145f5d8b62fccde7c
18411b51add7e3277d42869f8a50c67111337983
refs/heads/main
2023-08-23T09:02:01.074958
2021-10-27T07:48:47
2021-10-27T07:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
from Sub_py import emailProcess, print_Mess def main(): emails = ["hello.vi@gmail.com", "Package@yahoo.com", "Test@gmail.dev"] for email in emails: usemailProcess(email) if __name__ == "__main__": main()
[ "92666546+anhviet-key@users.noreply.github.com" ]
92666546+anhviet-key@users.noreply.github.com
85fe15a332034b335a9570daf22b21f4db86e628
6c7208a85a33accbae4408946a458558766787fd
/writeAbsence.py
26afee715eb56695b0e69e45fc9603bd29ac7090
[]
no_license
17Pixelz/Face_Reco
f3f409537bb8c196d299cb2104e0ac8d27799feb
40d477a847226619fa8f09ecf5dd4bd2c808d13c
refs/heads/main
2023-05-31T11:54:47.436625
2021-06-24T16:35:16
2021-06-24T16:35:16
376,830,855
0
0
null
null
null
null
UTF-8
Python
false
false
258
py
import csv def giveAbsenceFile(names): with open('absence.csv', mode='w') as absence: writer = csv.writer(absence, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL) for name in set(names): writer.writerow([name, 'P'])
[ "touamayoussef@gmail.com" ]
touamayoussef@gmail.com
596b45507c8239328799775cbfed3e1258342f5c
11f5ff0c46b1ed0d89a2b582bea6d91432563ff2
/conftest.py
f560e935abaee6394bf5fff41d6d6f7d26baa25d
[]
no_license
hfridland/test_items
829e76ba7cf66cd2d417a1033e7d47425f029e2a
f335c97dc1e26a706f05c6cd26e58804dce61da9
refs/heads/main
2023-05-22T10:49:16.537579
2021-06-05T18:45:17
2021-06-05T18:45:17
374,188,484
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
import pytest from selenium import webdriver def pytest_addoption(parser): parser.addoption('--language', action='store', default=None, help="Choose user language") @pytest.fixture(scope="function") def browser(request): browser = webdriver.Chrome() yield browser browser.quit() ...
[ "hfridland@shaw.ca" ]
hfridland@shaw.ca
4faf1c90487d459da70158af665f0ebc2c9cf364
d75fc0ae459066bfb15187d1c902e22000153dc4
/TestScript/tenderverificationONSupplierStatus.py
44e27edee4b8c97a036372329b6aa5c7f6dc4e37
[]
no_license
sureshkumarkadi/Project
875a05a752164ff9620286ab8261c7774acc4f27
4652edfa6ac47d6f44bd41e03314d96753e09d92
refs/heads/master
2020-03-25T19:52:23.124215
2018-08-09T05:28:08
2018-08-09T05:28:08
144,104,609
0
0
null
null
null
null
UTF-8
Python
false
false
3,308
py
#------------------------------------------------------------------------------- # Name: module2 # Purpose: # # Author: mathew.jacob # # Created: 25/08/2016 # Copyright: (c) mathew.jacob 2016 # Licence: <your licence> #-------------------------------------------------------------------------------...
[ "Suresh.Kumar@causeway.com" ]
Suresh.Kumar@causeway.com
0e4529c3d3b3619b12b70827cb8b534191dd1ce1
9804004f7518c825579a2a8b0cde8dd5a3ba82b2
/project_alva/project_alva/machine_learning/model/stats.py
625fa81bfdae90ed4616558eb7d9c409bb73ff9d
[]
no_license
encoder-90/ds_projects
df69b18f659c886e37fec8bff083da11d2d6dc3d
97d3a5c6c2441aea10a2487656fd2c972c4ccfa0
refs/heads/main
2023-08-13T00:49:33.424616
2021-09-27T06:07:46
2021-09-27T06:07:46
320,169,391
0
0
null
null
null
null
UTF-8
Python
false
false
6,593
py
import numpy as np import uuid import pygal from machine_learning.data import helper def transform_target_y(data): """ Transform the target column y to natural log. This scales the target and helps to stabilize the outcome by normally distributing the values. NOTE: It needs to transform back with exp...
[ "a.jirov@student.fontys.nl" ]
a.jirov@student.fontys.nl
a23916c417b2fe893c1d68ba20334ad5fc4aee29
15b4acc80b261325fdfc95f55852e8bf2bdbbb58
/Keras_tf.py
1ca06439b516cfcbd3c51dcb558640c67c4a0982
[]
no_license
ChristianMDahl/ClassificationGradesheetsMiniPics
8b551904fdac734a144ac3339ea7b410266ace6b
1fd03c1b80ccb996723382ae657081e368cd8b34
refs/heads/master
2021-07-09T16:58:55.267843
2017-10-07T15:34:35
2017-10-07T15:34:35
106,108,152
0
0
null
null
null
null
UTF-8
Python
false
false
4,303
py
#--------------------------------------------------------- # Classification of mini_pics from sweedish grading sheets #--------------------------------------------------------- import tensorflow as tf #Re_estimate = 1: New model is trained #Re_estimate = 0: Most recently trianed model is loaded ################## Re_e...
[ "christianmdahl@gmail.com" ]
christianmdahl@gmail.com
bc5eee51bb8fa035ca88cc586c8b806b2004d5e4
1cefaa5074569d972479fdc23b09d2cb70bc2332
/apps/product/models.py
7be7c81872b2e29b3673c58870fcbc1b78844f95
[]
no_license
SazidAhmed/Django-Rest-Store-Server
8cf5cfe8099686b6ef0952f72e29f69e9e995f9f
99f98b4522913296867fdab38f4e53ce3596f200
refs/heads/master
2023-04-11T16:24:55.974446
2021-04-29T15:09:41
2021-04-29T15:09:41
357,680,599
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
from io import BytesIO from PIL import Image from django.core.files import File from django.db import models class Category(models.Model): name = models.CharField(max_length=255) slug = models.SlugField() class Meta: ordering = ('name',) class Meta: verbose_name_plural = 'Categories'...
[ "sazidahmed.official@gmail.com" ]
sazidahmed.official@gmail.com
8f621fcf4d57992e0318f3582902bd71e2732e6d
fcbacd428f9cbf0e384534fea1ebc068efa7285a
/data.py
6700e4831b1b5bdc34e692d0fc5da333e279a696
[]
no_license
punkungkub/RoobotEvolution
f064b5fa58e0a2920ccc9b349521ed0a1a29a86c
8f4d1a40a3921b493cf963653eba07a5ed537b70
refs/heads/master
2022-11-27T01:44:50.513264
2020-08-04T06:48:11
2020-08-04T06:48:11
284,873,050
0
0
null
null
null
null
UTF-8
Python
false
false
1,566
py
import matplotlib.pyplot as plt import numpy as np import pickle, json import os,shutil from threading import Thread class data: def __init__(self): self.generation=[] self.fitness={} self.data={} def storage(self, gen, data): self.generation.append(gen) self.da...
[ "43475513+punkungkub@users.noreply.github.com" ]
43475513+punkungkub@users.noreply.github.com
f934db4460afcfe6a86fce63da946622c0bed8ad
981ac0fc0958ed4258e8adb4408980857d8d0cc1
/monitor/web_session.py
a4258028fbf0b035aafff6aada8783b9b6f5cd4e
[]
no_license
D3ee/YjMonitor
1dc8e19d464784610cc9db9450d069b3bad5fe65
8179f9d39aa5b60274da4b7e38e173e380265c42
refs/heads/master
2020-05-27T23:52:57.340370
2019-05-27T10:28:57
2019-05-27T10:28:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,156
py
import sys import asyncio import aiohttp import printer from exceptions import LogoutError, RspError from json_rsp_ctrl import Ctrl, JsonRspType, DEFAULT_CTRL, TMP_DEFAULT_CTRL sem = asyncio.Semaphore(2) class WebSession: def __init__(self): self.var_session = aiohttp.ClientSession(timeout=ai...
[ "yjqiang1@gmail.com" ]
yjqiang1@gmail.com
d00a26baca490f31f439effc72c908cdb5f1a988
f8bdc46409c9f5eaf3d85ef157260589462d941a
/demos/instance_occlsegm/instance_occlsegm_lib/contrib/instance_occlsegm/models/mask_rcnn/mask_rcnn_train_chain.py
dcac6d9a34651571c6619b60979f08467e428520
[ "MIT", "BSD-3-Clause" ]
permissive
start-jsk/jsk_apc
2e268f8b65e9d7f4f9cc4416dc8383fd0a7b9750
c4e349f45ef38457dc774e33f6902acf1a1540a6
refs/heads/master
2023-09-05T09:06:24.855510
2023-09-01T17:10:12
2023-09-01T17:10:12
25,620,908
36
25
NOASSERTION
2023-09-01T17:10:14
2014-10-23T05:28:31
Common Lisp
UTF-8
Python
false
false
9,218
py
# Modified works: # -------------------------------------------------------- # Copyright (c) 2017 - 2018 Kentaro Wada. # Licensed under The MIT License [see LICENSE for details] # -------------------------------------------------------- # This is modified work of FasterRCNNTrainChain: # -------------------------------...
[ "www.kentaro.wada@gmail.com" ]
www.kentaro.wada@gmail.com
9afaba937a03de22be796a6bd07f246a6dced59f
42b4211e959b797ba23089b70242ce7ba591c65b
/572_Subtree_of_Another_Tree.py
21c7cb567a7173cbf2f7797c287c716fa73fd23e
[]
no_license
shauryasrivatava/devsnest_dsa
7699de2f0707f27785137a72280b20ad5ddcd789
01274b1d2d623677a7512276599647ee5222bb6b
refs/heads/main
2023-05-04T05:05:32.237159
2021-05-18T18:46:36
2021-05-18T18:46:36
348,429,262
1
0
null
null
null
null
UTF-8
Python
false
false
772
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right def same(s,t): if s is None and t is None : return True if s is None or t is None: return False if s...
[ "noreply@github.com" ]
shauryasrivatava.noreply@github.com
e3d532d22641804ec9d82074ad11b3215ec161a3
4deaf8f4f1a91fc12c3a3d10bc8794fa62f54657
/switch.py
f6bd0e72d22502c54be4568db69b160e68abb5b5
[]
no_license
AdopaX/Manimouse
03554d81ef5a1a8576ec7041d361541dff0c5096
3b02fca16b93be98af093274e6249465b9ee2295
refs/heads/master
2021-06-14T21:35:03.308346
2017-01-29T17:27:14
2017-01-29T17:27:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,308
py
# All packages needed for the program are imported ahead import cv2 import numpy as np import pyautogui import time # Some global variables or others that need prior intialization are initalized here # colour ranges for feeding to the inRange funtions blue_range = np.array([[88,78,20],[128,255,255]]) yellow_range = ...
[ "noreply@github.com" ]
AdopaX.noreply@github.com
92f23dfc35fd5f746d7c4a087a4c054ae511a765
637d06abc4c533cabfed9518857c702b6d0558a6
/users/migrations/0001_initial.py
fbaefc5cbc447a45eaa28c11f2b2df3d9d6bbbaf
[]
no_license
nakusha/airbnb_django_backend
5756b2e02abb3304ca67ee387041a83813890119
2a60c9279d5a661be264e5568451d544a29962ca
refs/heads/master
2023-06-20T02:08:16.540289
2021-07-18T15:26:37
2021-07-18T15:26:37
367,626,436
0
0
null
null
null
null
UTF-8
Python
false
false
3,519
py
# Generated by Django 3.2.3 on 2021-06-16 07:25 import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_m...
[ "“runnaway@naver.com”" ]
“runnaway@naver.com”
96659a31eb97f9771b0d4e5698d71ee2d18d1006
b715012e5ba8c54ff6676aa4c7c7f3c7ed7ee32a
/gridworld.py
bf3fb97f8fcfb3f37474453ca2321ab8d1b56b8a
[]
no_license
chengshaozhe/sheep_policy
569adf80e129ed070e0866e6f53d1b61ddfcd76d
fcbfaaa2506e228036fe8606ca271555fc3f291a
refs/heads/master
2021-08-08T07:23:59.063663
2020-04-19T12:35:37
2020-04-19T12:35:37
158,331,454
1
1
null
null
null
null
UTF-8
Python
false
false
6,104
py
import numpy as np from viz import * from reward import * import random from collections import deque import os from PIL import Image class GridWorld(): def __init__(self, name='', nx=None, ny=None): self.name = name self.nx = nx self.ny = ny self.coordinates = tuple(it.product(ra...
[ "chengshaozhe@gmail.com" ]
chengshaozhe@gmail.com
6e38310be82e01e137cece99982ef936860d1f0b
9ee644fdb3b0a5ae7887ecb1f4a9013b3abbcb8b
/Python/Django/dojo_ninjas/dojo_ninjas/settings.py
f3e07d741cff65ec58b50ed4eae76aa6c0bf3c86
[]
no_license
avvarga/Lab206
0aa0bf7f1e0340466c5e120e7c1a8726f9385567
c55fae4044625355ec392f3de58442b2767f7916
refs/heads/master
2021-04-15T15:42:11.700351
2018-04-13T23:07:25
2018-04-13T23:07:25
126,499,170
0
0
null
null
null
null
UTF-8
Python
false
false
3,182
py
""" Django settings for dojo_ninjas project. Generated by 'django-admin startproject' using Django 1.10. 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/settings/ """ import ...
[ "avvarga@amazon.com" ]
avvarga@amazon.com
440ce5170b6b74c30529ffd3efbb1496ea483d6e
527344b91c7d06214888aa69605a05a3762caf47
/pipeline.py
a58865fb11a81ce6ffdcd44f8624f9adc804114d
[]
no_license
ljing2007/gbm-pipeline
bdecf57643eefb74bb6ec36ef58b388ef54450f5
9a8b390012b07300f8635a10ea806b070f1c3d40
refs/heads/master
2022-04-30T12:30:14.039639
2020-04-05T12:17:04
2020-04-05T12:17:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,400
py
import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from sklearn.metrics import accuracy_score from catboost import CatBoostClassifier, Pool, cv from catboost.datasets import titanic def build_titanic_dataset(): df_train, df_test = titanic() df_train.fillna(-999, inplac...
[ "goldandrabbit@foxmail.com" ]
goldandrabbit@foxmail.com
b6c14ecc4de8df6c97043617c7c8596c81f72f7a
36f0cb1f6d660ab3f6de972c2c43b79276399581
/prgrm1.py
9c26052c51df30bd4ab8ae5b41b9d00e0eece9b9
[]
no_license
alugurikeerthana/task1
ea16a813f7015d55b17f154f049b129c72afe87d
fe3c4a112c6832c2ffc1ac4c1b7e5566d97bceec
refs/heads/master
2020-03-19T13:13:39.361996
2018-06-08T05:05:39
2018-06-08T05:05:39
136,568,797
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
import numpy as np x = np.random.randint(low=10, high=30, size=6) print(x)
[ "noreply@github.com" ]
alugurikeerthana.noreply@github.com
d017df644bde5225b2ea4930d586dc593bd9fa99
d24f39c95eb2fc89851d90464eb0cdf3b2c6c60f
/Ondas Planas/movimento_sem_ateunacao.py
bccad25aaecfea2adbf04f2fe0a877cc2cb7416d
[]
no_license
marcos-moura97/eletromagnetism_python
d74c62a85df0e2b81e18555583ce4146fd106e0f
f44f7afc5fad8ffc58dd8be5ec7e074a37b69e41
refs/heads/master
2023-08-28T08:10:02.568516
2021-11-04T10:48:05
2021-11-04T10:48:05
299,422,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,681
py
import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation import math pi = math.pi #Famoso pi Emaxmais = 10 #Amplitude do campo incidente FimaisGraus = 0 #Fase Finais (graus) da amplitude do campo incidente Emaxmenos = 10 #Amplitude do campo refletido FimenosGraus =...
[ "noreply@github.com" ]
marcos-moura97.noreply@github.com
fe1157f372e8999831140b5c8835adac1ce983b2
bc572eca7a03aec83ee55300887a21cad3dbd160
/tools/Polygraphy/tests/comparator/test_postprocess.py
0cbba453125e5baa918d358612e41d35c9cb243d
[ "Apache-2.0", "BSD-3-Clause", "ISC", "BSD-2-Clause", "MIT" ]
permissive
wuqiangch/TensorRT
fba0029dc5c0b3b9ffa091e45f26d8d10d702393
d04182cd0086c70db4a8ad30e0d7675c4eb33782
refs/heads/master
2023-05-31T21:04:01.079351
2021-06-23T20:37:20
2021-06-25T19:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
# # Copyright (c) 2021, NVIDIA CORPORATION. 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 appl...
[ "rajeevsrao@users.noreply.github.com" ]
rajeevsrao@users.noreply.github.com
778001ad149d4c82f36a8f1efe334bf413d659b5
a739b289cbda3acc9ef69a379cb0d7068c18cf66
/Transformer_with_vision/model/transformer.py
9b58365a4b29c5209bc5e7bc12ed2050994278ea
[]
no_license
fhzh123/transformer_research
ac96d837cf287ab9b42dc044344cb70d9bb63724
a39ca029e3557b8c6eb90eb8ca5eb5964c49b965
refs/heads/main
2023-04-18T16:01:57.878040
2021-05-09T14:42:05
2021-05-09T14:42:05
352,910,961
0
0
null
null
null
null
UTF-8
Python
false
false
3,405
py
import torch from torch import nn from torch import Tensor from torch.nn import functional as F from einops import rearrange, reduce, repeat from einops.layers.torch import Rearrange, Reduce class MultiHeadAttention(nn.Module): def __init__(self, emb_size: int = 512, num_heads: int = 8, dropout: float = 0): ...
[ "fhzh@naver.com" ]
fhzh@naver.com
1a8fdc4014ea36359c165795b904676bd01011cd
2636b249a82b8bdeb02166aea94f3941dece962c
/manage.py
768c4e6fb3926f7578c87b80e90dcac45f7d286b
[]
no_license
van0509/muxueonline
87a2f542f5b9bf15d43cf49710bb92e9f0e65266
1dd02a0ecff114575b27463ad1aa5b555089430c
refs/heads/master
2020-03-27T07:52:39.566043
2018-09-06T12:55:59
2018-09-06T12:56:00
146,198,946
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'muxueonline.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "free001@vip.qq.com" ]
free001@vip.qq.com
2c1de13fdef7761a42417213fdc33376772cf25d
f06e3ade8249ccbee25ebad78dea2948c2286cdb
/marketplace/products/migrations/0002_auto_20190120_2126.py
2cf39d0da9236d189f3da9d07b2e8cdda8523a9f
[]
no_license
billangli/shopify-backend-challenge-2019
e5c22816f4c460ae13113fc1d0d4a8a50093c157
e33a7c3870adee61edcf9880128a96d934529e7b
refs/heads/master
2020-04-17T12:08:15.272777
2019-01-22T03:01:37
2019-01-22T03:01:37
166,569,083
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
# Generated by Django 2.1.5 on 2019-01-20 21:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0001_initial'), ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id',...
[ "bill.ang.li@hotmail.com" ]
bill.ang.li@hotmail.com
27fe093654f6b8ee9c997e2087efe318a09c1895
affaef08f7746dbe673dd6c2ebabb31b7c41d299
/python/cs381_GameDevPipeline/StumpysGrove/gfxMgr.py
d632a6da182cb2552b413f29281cdee98270c9d3
[]
no_license
jflorespadilla/SchoolProjects
066abe331ca75be8fff75abf7ca5a0a7811d369f
da1f7e1e7ad90902000c4d6920e8cb61a8d2bb19
refs/heads/master
2020-09-20T03:01:57.900266
2016-09-08T18:16:53
2016-09-08T18:16:53
67,721,967
0
0
null
null
null
null
UTF-8
Python
false
false
8,882
py
# Graphics manager import ogre.renderer.OGRE as ogre import math import utils # Manages graphics. Creates graphics, scene, scene nodes, renders scene class GfxMgr: def __init__(self, engine): self.engine = engine pass def init(self): self.createRoot() self.defineResources() ...
[ "jesus.florespadilla@yahoo.com" ]
jesus.florespadilla@yahoo.com
51d9224e7d85e7e8c277046b5010c9ddf16e3dd0
57068b73b78602a4a8ea1c2c677b2c9867d7f208
/examples-code/zmq/Request-Reply-Broker/rrworker.py
0ef890c37bb4e131882a7fa89f9bf8c7118ec597
[]
no_license
firewood1996/MELINDA
2f158d1942224b1cb7ef72d46a5f510229f54e87
a090cea086e6b2502ea4f910008f9daf50e464d6
refs/heads/master
2023-02-22T11:40:44.350351
2021-01-21T22:35:22
2021-01-21T22:35:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
964
py
# # Request-reply service in Python # Connects REP socket to tcp://localhost:5560 # import zmq import threading import time import random def worker_routine(url, id, context=None): """Worker routine""" context = context or zmq.Context.instance() # Socket to talk to dispatcher socket = context.sock...
[ "aluiziorocha@gmail.com" ]
aluiziorocha@gmail.com
865653721e38190f7bb6c4e6c6f1a383d99f2912
af24f5e44068ddc91e05ecdbafac2d01755fd2e9
/blog/migrations/0020_auto_20200628_1343.py
2777a5cec6aa72149d91a967dc170165469e8635
[]
no_license
IsraJC/my-first-blog
a34b666fe09ae091c54c00e6121a6bd528fd22e1
84bc92a6cde1aec527600040cd382cd1853c1574
refs/heads/master
2023-08-12T18:42:21.745988
2021-10-04T19:50:09
2021-10-04T19:50:09
269,368,823
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# Generated by Django 2.2.13 on 2020-06-28 12:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0019_auto_20200628_1343'), ] operations = [ migrations.AlterField( model_name='cv', name='number', ...
[ "israchanna@gmail.com" ]
israchanna@gmail.com
c9ccb921814b23fe474ca6b3e2c1613e8783603f
c2d1b262e0ffc2f61cb3fb36b2d0ae63f5e6d151
/src/hw/pwm/pwm_provider_pca9685.py
d91bf5a9176b983448f418528d29de0bccecf305
[ "BSD-3-Clause" ]
permissive
geoff-coppertop/train-turnout-control-python
d78bdb3ef7fc4d903197959ff7b1d846ed5e8ef5
dec330e0e9931ee43b59c97d300b82c37d35253b
refs/heads/master
2022-07-30T12:19:59.351399
2018-03-27T02:18:46
2018-03-27T02:25:40
121,705,692
0
0
null
null
null
null
UTF-8
Python
false
false
2,564
py
#!/usr/bin/env python # # -*- coding: utf-8 -*- #------------------------------------------------------------------------------- # pwm_provider_pca9685.py # # G. Thomas # 2018 #------------------------------------------------------------------------------- import logging from src.hw.pwm.pwm_provider import PWMProvid...
[ "geoffrey.thomas@garmin.com" ]
geoffrey.thomas@garmin.com
ebc1183cbaf4a2933e809513c7b5f6acf4717951
f9efe2ce2325ad3d5d3c5762f3c85e51a2612ea8
/expert_finding/data/io_aminer.py
26118e99e5876e001ee1f12a857a1ff36bc01e49
[]
no_license
elvesmrodrigues/Kcore_Expert_Finding
3e3347fa77b51d81999fcac12ac9a7324568763e
c03174640f62771492805fb6cbb08f3d2ba6f88f
refs/heads/main
2023-06-25T03:42:15.155785
2021-07-26T12:57:22
2021-07-26T12:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,136
py
import itertools import os import pkg_resources import json def load_papers(infname): papers = list() with open(infname, 'r', encoding='UTF-8') as f: for key, group in itertools.groupby(f, key=lambda l: l.strip(' \n\r') == ''): if not key: refs = [] authors =...
[ "653574281@qq.com" ]
653574281@qq.com
92c6ec1b0ac953e0a1245895ca861e3111037464
cfa1ef35dccc82950f4dde53a0e576fa56be05c5
/scripts/pysolc.py
070c3db1f95a65cf4da0d4fc9e636c4b88d99a9e
[ "Apache-2.0" ]
permissive
YakShavingCatHerder/securify
08bb0b12b30a8b46f5a6bc388d343169c955330e
51ba1240e60332b4a1e6ad02090da6fe57676354
refs/heads/master
2022-04-03T06:05:00.418130
2020-01-23T17:02:22
2020-01-23T17:02:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,052
py
""" Author: Tobias Kaiser Copyright 2018 ChainSecurity AG 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 agree...
[ "noreply@github.com" ]
YakShavingCatHerder.noreply@github.com
3e74debc23e55b4b8d6a39cd6b30e66149ba4444
986ce59a572a9e3d9f606c4fcbec256776cce47a
/src/utils/cognitoUtils.py
dee82673ac05f95a362c2f596929cfee88be472d
[]
no_license
fbambusi/ido-measures-api
ce92f8f6e058e455a17d9cc55ac7f958440a2bdb
73ba90a2800a7c086a694f170e24a35e4e41f938
refs/heads/master
2023-02-06T11:33:24.319122
2020-12-24T14:28:42
2020-12-24T14:28:42
324,167,416
0
0
null
null
null
null
UTF-8
Python
false
false
2,034
py
import os import json import boto3 from botocore.config import Config def get_client(): my_config = Config( region_name='eu-central-1', ) uip = ("a/a/"+os.environ.get("COGNITO_POOL", 'eu-central-1_sPMQnKBGz')).split("/")[-1] client = boto3.client('cognito-idp', config=my_config) return cl...
[ "fbambusi@github.com" ]
fbambusi@github.com
b53ae71c9ed4ce817b4e285d4827aaf89a7c7035
448c17f5a937f6f3d45a3b8da747348ec0b06e76
/tests/test_pinpoint.py
681518f7d8c06ea39ef8f2901d4525542ccda18b
[ "MIT" ]
permissive
surajitdb/pyscissor
a85f5d6c44c2e3b28d48ec61ed89b2dd98fc7c02
247e819d2d87c982df20ee42bce2b881e89d5f25
refs/heads/master
2023-01-12T02:25:53.564677
2020-11-18T12:15:50
2020-11-18T12:15:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
import unittest import numpy as np from pyscissor import pinpoint import pytest class test_scissor(unittest.TestCase): # generel + lat not reversed def test_generel_lnr(self): lats = np.array([24,23]) lons = np.array([88,89]) vals = np.array([[1,2],[3,4]]) t = pinpoin...
[ "nzahasan@gmail.com" ]
nzahasan@gmail.com
4db7df871d0e756cc3c77119d78e5b1511d56535
bea2621cfdd7e7bb9390339bb87e5692806a645f
/verticalShift.py
7ae1dd1b30c68ede9ee320b49068a5eefdfca7f5
[]
no_license
Artmann/data_augmentation
1afd0b2a93a268770ef31de3b98efff7d7bf5a65
f4c908613a2988f04ef1a45a7d21baa6e47305b7
refs/heads/main
2023-02-22T23:37:37.709027
2021-01-24T07:50:39
2021-01-24T07:50:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,366
py
# python program to demonstrate the vertical shift of the image with the height_shift_range argument # we import all our required libraries from numpy import expand_dims from keras.preprocessing.image import load_img from keras.preprocessing.image import img_to_array from keras.preprocessing.image import ImageDataGene...
[ "noreply@github.com" ]
Artmann.noreply@github.com
9ef454972e6ab905dfec2327debb7474b0fc91fc
eeebae33ee2da583b464bb675cb6c81119524635
/fsdet/modeling/postprocessing.py
8acf145378d611b6b3d701c952733f6f7e27efed
[ "Apache-2.0" ]
permissive
rakshitsakhuja/fsodet-run
1fe37c752ddc41b3b08cc6e706876edd0606372f
f663f701fb44915eb6de6e3bf8a9b5860db1f4c0
refs/heads/master
2023-04-10T23:08:58.718076
2021-04-25T09:33:58
2021-04-25T09:33:58
341,829,584
1
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from torch.nn import functional as F from fsdet.structures import Instances def detector_postprocess(results, output_height, output_width): """ Resize the output instances. The input images are often resized when entering an object de...
[ "masterkidster@gmail.com" ]
masterkidster@gmail.com
4de8e6f3f997c044235468a34eb39dc9ca07df91
df458ae26f8e1b59e4fc4273701f77cc2e340a3c
/tests/test_viewgroups.py
a7c869008bd24a94bbc80a387a23758393244f2e
[ "BSD-3-Clause" ]
permissive
radiac/django-fastview
64bcf3f07ed62a1863b5a402d1fedc998ed433f3
daf898f416c3f89efc3ef290f8158232d055af36
refs/heads/develop
2023-03-20T22:49:14.789026
2022-10-02T19:43:22
2022-10-02T19:43:22
230,815,383
13
1
NOASSERTION
2023-03-04T05:44:10
2019-12-29T23:26:56
Python
UTF-8
Python
false
false
1,637
py
""" Test viewgroup """ from fastview import permissions from fastview.viewgroups import ModelViewGroup from .app.models import Entry def test_modelviewgroup_permissions__permissions_set_on_subclass(): class TestPermission(permissions.Permission): pass test_permission = TestPermission() class En...
[ "git@radiac.net" ]
git@radiac.net
c93b3085e92eda3e230de1b7f13d0c1ee4cdba54
e187a8b23f47d7124b53682452658d9bfc2066d0
/CloudTest/CloudTest/node_ta/agent_quick_flaw_scan.py
b5b17408fff8833bfb8bd104320d745d1319442a
[]
no_license
PhelanWang/CloudProject
6f4f1e16f6f6c71b8071f8361ae2ecf5bdf82c2d
d103dbe2e0a81c6f957331f51a1c13b133aae94f
refs/heads/master
2022-07-06T21:22:35.299093
2019-04-18T13:25:59
2019-04-18T13:25:59
166,331,942
0
0
null
null
null
null
UTF-8
Python
false
false
5,677
py
# -*- coding: utf-8 -*- __author__ = 'root' def is_load_external(): return globals().has_key('AGENT_LOADER') # Execute this while run this agent file directly if not is_load_external(): # Import ctest package from lib.agent.ctest import SwitchAgent # Create SwitchAgent instance agent = SwitchAge...
[ "1825633959@qq.com" ]
1825633959@qq.com
b720b9c5a348255e3b970540d2f67bbf1a434b9c
0061ce5fa45763d99ca230c5a8989ab775ff62b0
/src/machine_learning_main.py
0ceaada39f19980993eadc0ae49dec9cbd8db8b0
[]
no_license
marianolongo/va-tp-deteccion
f1f9590d2a35586cbea18dc5b0d7587c15969b8c
840547e6ee223db9c49afa0e7ac026795d734e13
refs/heads/master
2022-12-21T13:33:25.407990
2020-09-25T04:38:28
2020-09-25T04:38:28
298,467,462
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from src.machine.utils.hu_moments_generation import generate_hu_moments_file from src.machine.utils.testing_model import load_and_test from src.machine.utils.training_model import train_model generate_hu_moments_file() model = train_model() load_and_test(model)
[ "mariano.longo@ing.austral.edu.ar" ]
mariano.longo@ing.austral.edu.ar
5a9dff2f0a91e131b60e46a368beace41b98b3dd
f0c9df58c012c7fcd64346cc5a3ac0275656156f
/BM3D_py/cpp2py_test/close_power_of_2_test.py
c16be25364ba84dcdf092a1eaef023b746667cfd
[ "MIT" ]
permissive
oleges1/denoising_project
48c32e419bd9172354b6bf30eae7fe47db37817d
c2b5048db3dd2bf3261d0cd2e8fec0588d765387
refs/heads/master
2023-01-02T08:23:54.705304
2020-10-22T14:35:19
2020-10-22T14:35:19
306,343,881
2
1
null
null
null
null
UTF-8
Python
false
false
508
py
import numpy as np def my_closest_power_of_2(M, max): M = np.where(max < M, max, M) while max > 1: M = np.where((max // 2 < M) * (M < max), max // 2, M) max //= 2 return M def closest_power_of_2(n): r = 1 while r * 2 <= n: r *= 2 return r if __name__ == '__main__': ...
[ "ya.hef@yandex.ru" ]
ya.hef@yandex.ru
6aa5681f125b8a73167c2dfdba8b7fdb9c678e06
2901489f227a97e25c0c65240628af40bc1c167d
/django_razorpay/src/migrations/0004_auto_20210803_0954.py
c11b15126b7c7287e82765af0b514b37634dbfcf
[]
no_license
P-1702/Payment-Gateway
5452c0ea4acd8fd4a0fcdf5a0ce557ca06eaa099
f9c1fa326a7851d231cdf8de3b73357abfd20b8e
refs/heads/master
2023-07-01T19:08:47.048874
2021-08-04T12:38:57
2021-08-04T12:38:57
392,681,334
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
# Generated by Django 3.1.7 on 2021-08-03 04:24 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('src', '0003_auto_20210803_0949'), ] operations = [ migrations.RenameModel( old_name='Payments', new_name='Payment', ...
[ "muprat172@gmail.com" ]
muprat172@gmail.com
5ffd36d869008d618bce87a0a1a4aa4f68b48187
d7c906197941a8c0f74674843da8b00fd3fdb06b
/api/application.py
4531500e225944ee507ecccc252e1ed518ddfbd8
[]
no_license
assarar/middleware
c5aebc49bf2f0060c89ab23edb7af2bd4571f9a8
281e18524fa2b0db57a2d7473e07dd37b8e85c9b
refs/heads/master
2023-02-16T04:28:01.508871
2019-02-08T07:09:44
2019-02-08T07:09:44
156,621,137
0
0
null
2023-02-02T04:29:48
2018-11-07T23:17:33
Python
UTF-8
Python
false
false
910
py
from flask import Flask from db import MysqlDatabase app = Flask(__name__) connector = MysqlDatabase(host='localhost', user='root', password='', database='sih') @app.route('/') def main(): return "Microservice (patient) en marche !" @app.route('/patients', methods=['GET']) def getPati...
[ "ouafae.assrar@gmail.com" ]
ouafae.assrar@gmail.com
565f68b1cd1ccd748262cc61ea4bcdfe3a049ade
42362ce3f8da59b0ba70a844243d1323221c084c
/umari.py
4229ba2d347f356b60df256af1f114bf5cd8e5a6
[]
no_license
Umaritfs/fb
3c741099ca013b28775f0078459ed45454c353da
c69dbbc930106cbfe1d5625b247831a77a14dc9c
refs/heads/master
2022-04-24T12:14:33.531320
2020-04-30T09:08:06
2020-04-30T09:08:06
260,159,938
0
0
null
null
null
null
UTF-8
Python
false
false
17,013
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,requests,mechanize from multiprocessing.pool import ThreadPool from requests.exceptions import ConnectionError from mechanize import Browser reload(sys) sys.setdefaultencoding('utf8') br = mechanize.Browse...
[ "noreply@github.com" ]
Umaritfs.noreply@github.com
a51b08bd33feac6916911115650f7cd6e8d8124f
194d3a2a704497ab4462cf29528df030cc8ddc54
/binarysearch.py
04cbc935c02205db3c05a96f4aa1ca346e00c2d6
[]
no_license
nitinps/PESU-IO-SUMMER
f3525d76f55cddb92111641fd1ca3dcad338fb1e
e197c6f95ebd3f3c68bde0715656c713903f7cdc
refs/heads/master
2020-05-31T15:17:13.064978
2019-07-07T17:34:49
2019-07-07T17:34:49
190,353,399
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
numbers=[] pos=-1 found=0 low=0 high=int(input("Enter length of list: ")) print("Enter numbers: ") for i in range(0,high): k=int(input()) numbers.append(k) x=int(input("Enter number you want to search: ")) while low<=high and found==0: mid=int((low+high)/2) if(numbers[mid]==x): pos=mid found...
[ "51399837+nitinps@users.noreply.github.com" ]
51399837+nitinps@users.noreply.github.com
10e8fdc24e2631260da50fd20f4deaaab12510ab
c1e0874f55d05ee990ed2d637c2910701b32d246
/soft_uni_fundamentals/Data Types and Variables/exercises/03_elevator.py
6b18bc3621dfad99d97435503cea446731f70608
[]
no_license
borislavstoychev/Soft_Uni
5d047bef402c50215e0abc825476326889ffd0be
ccc0b2fb18f8ad6809b475eb20e82a9e4eb4b0b0
refs/heads/master
2023-05-11T12:27:08.672058
2021-05-28T18:00:10
2021-05-28T18:00:10
277,556,731
3
2
null
2021-02-11T19:57:37
2020-07-06T13:58:23
Python
UTF-8
Python
false
false
119
py
n = int(input()) p = int(input()) if n % p == 0: courses = n//p else: courses = n // p + 1 print(courses)
[ "noreply@github.com" ]
borislavstoychev.noreply@github.com
a6d0047071d0b232286f98b5287c49a605e6a21e
320a98d428bf06eff6f3f209b1eadeb366a65482
/common/version.py
c4dd9de7ffd4c1b577a51386ff7b1cc74c444cd3
[]
no_license
Ryan--Yang/share
6fe8b21918206fed903bd7a315216b47e58f697e
4acc658f7c0a8f1b50f7b5c0b8884b96fe1e137d
refs/heads/master
2020-12-31T02:42:22.125477
2013-12-04T07:27:53
2013-12-24T01:54:38
14,791,494
0
2
null
null
null
null
UTF-8
Python
false
false
4,644
py
from util import * default_java_file = '/usr/lib/jvm/default-java' gcc_file = '/usr/bin/gcc' def handle_option(): global args parser = argparse.ArgumentParser(description = 'Set up the version of Java', formatter_class = argparse.RawTextHelpFormatter, ...
[ "yang.gu@intel.com" ]
yang.gu@intel.com
5175327d4e1008c88bb99408d5bb2c97b9319872
9a116b59c4f05e18a4899dd4aa544e9f73e4a680
/main.py
4c353f3f34d07ead92107133e104399fa1c1cef4
[ "MIT" ]
permissive
grostein/security_cam_storage_App_Engine
3734e11996a682ad07b0993dc479cd97ee665b8f
b4cceeeff1468068cb03b68efa6300d620c026a6
refs/heads/master
2021-01-10T10:58:37.406210
2015-12-30T10:57:28
2015-12-30T10:57:28
48,793,695
0
0
null
null
null
null
UTF-8
Python
false
false
2,963
py
import webapp2 from google.appengine.api import users from google.appengine.ext import ndb from modelli import * from datetime import datetime, timedelta from email import email import logging def sicurezza(self): user = users.get_current_user() if user: if user.email() == email: pass else: self.redirec...
[ "massimiliano@iviaggidellemeraviglie.com" ]
massimiliano@iviaggidellemeraviglie.com