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
79ea992e09ac27c13270a55465339b7a6ed9af03
40644ab8302eabcfe29fc665191a0e7373d2d36a
/final 0.0/modules/mouvements.py
aa4304e8d0f2f93f7a15047205ba3459e2c45f18
[]
no_license
katyushacccp/ISN_projet_final
3ee940aa725bc68e9a9506deac48960aea43d828
41278c58431b69238b2c955ee1088c36d1db203e
refs/heads/master
2020-12-24T19:04:33.560212
2016-05-30T20:25:20
2016-05-30T20:25:20
55,981,116
0
1
null
2016-05-30T20:25:20
2016-04-11T14:50:25
Python
UTF-8
Python
false
false
11,399
py
from random import * from modules.affichage import * from modules.recherche import * from time import * def start(): """Cette fonction sert à initialiser la variable globale 'compteur' qui va par la suite gérer le temps""" wFile("compteur","cub",0) def melangeur(cube,can,nombre): """Cette fonction se...
[ "lou-theo.laurent@laposte.net" ]
lou-theo.laurent@laposte.net
752dbda69d594e120006e5dafc97ceed904f7a19
ea13d23b9d9c7fa5b11c8f0780fbe2702ba604a3
/단계별/9_math_1/10250.py
59b9906024958adf1846c1a954e7bf31d5ccddc5
[]
no_license
boxtobox/aimicpc
51c2ab1b5b384be6eb9f4a6d4a88e0db05ff6875
25649d99d89fa31a3315a7b1c46413cb77de1ca6
refs/heads/master
2022-11-21T14:13:23.725494
2020-07-18T08:05:15
2020-07-18T08:05:15
258,359,511
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from sys import stdin from math import ceil N = int(stdin.readline()) for _ in range(N): H, W, N = map(int, stdin.readline().split()) w = ceil(N/H) if N % H: h = N % H else: h = H roomname = h * 100 + w print(roomname)
[ "grandnex@gmail.com" ]
grandnex@gmail.com
6ffa9e58676b1f6471c34d935594e1e7e506b321
3278b356a37bcfd689480f6a75b7890ef53f7821
/文字型/No.22.py
c1ed893aaaef1252ff6bb0b58c0a462773de8221
[]
no_license
kawasaki2254/Python_100problem_practice_problem
bb83fe3953f46178a0bb8870c315945bf3f1e18e
7ee39e965e2b32cf52345635834529f337aaca8c
refs/heads/main
2023-02-11T13:41:46.778199
2021-01-11T05:55:48
2021-01-11T05:55:48
326,548,979
1
0
null
null
null
null
UTF-8
Python
false
false
395
py
''' 問題22.2つの文字列を入力して、重複する部分だけ 出力するプログラムを作成してください。 ''' word1 = input('1つ目の文字列を入力してください > ') word2 = input('2つ目の文字列を入力してください > ') r = '' for i in word1: if i in word2 and not i in r: r += i print(f'重複する文字列 : {r}')
[ "kawasakitota2254@gmail.com" ]
kawasakitota2254@gmail.com
2f4374a7fc6382c63983c08d36985b27c3c49257
07455048558230658249786db958701010afa1aa
/src/config.py
f12924262c1d471a7ddd2c2136c341fc5b4489ec
[]
no_license
lohithmunakala/Group-Classification
73965201e4fce812fefcb8818f185ee948759b08
166a9ec91595a932d96e0a1da508bc9be574e06a
refs/heads/master
2023-01-24T18:38:49.777583
2020-11-19T12:11:05
2020-11-19T12:11:05
289,323,026
0
1
null
2020-10-30T08:23:40
2020-08-21T17:06:29
Jupyter Notebook
UTF-8
Python
false
false
1,044
py
import os #the path to where our data will be saved DATASET_PATH = "input" DATASET_PATH_COLAB = "/content/drive/My Drive/Group_Classification/input" #inititializing the class labels CLASSES = ["group of babies", "group of adults", "group of teenagers"] #defining size of train, test, validation sets TRAIN_SPLIT = 0...
[ "lohithmunakala@gmail.com" ]
lohithmunakala@gmail.com
cee01a1f512e64d11d177b39003a6d66c4c62798
f375899369ba86aed1da89101c31817168ffec40
/cinema/urls.py
f73d16e3686a88eb9e7b40b41d324fb2021b3100
[]
no_license
sheremilbekov/cinema
f596a7d1e41f03161a3ddf0c3594f39619c812df
d8baac5c7e25a90340a35e1e0b0cce093014f965
refs/heads/master
2023-03-30T10:19:20.654540
2021-04-07T12:10:54
2021-04-07T12:10:54
354,850,726
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
"""cinema URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "you@example.com" ]
you@example.com
8fc817688db6b26a0b9a26e87bf9538c291e886e
0d1eb0e64ac89839298caa8f8f496c66abeb2367
/browser.py
65405345b2f45f9ec3d16ea26db8fce13f46f123
[]
no_license
sho86741/zaim-viz
637285f7d4dc31647df6f08b4b842bc36c8f19c2
1be94f41438fdba9558e7a0250be10721faf618f
refs/heads/master
2022-07-05T01:35:57.931164
2020-05-23T14:55:36
2020-05-23T14:55:36
265,807,394
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
# coding: utf-8 from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By class Browser(object): def __init__(self, webdriver): self.driver = webdriver def __getat...
[ "sho86741@protonmail.com" ]
sho86741@protonmail.com
5b1b6d889aa3a32894887142d13c3972165aaa18
31c9363538f4379ff1643784dda025456059dda3
/passporteye/mrz/scripts.py
62752ca98aef98315eb11cc83ea14bc5c9500896
[ "MIT" ]
permissive
solvire/PassportEye
b3f95debd15527c1190aaea1aca913d500452305
1286be85ab72d058aa69a3912961bfbb36529c78
refs/heads/master
2021-06-26T23:19:04.456317
2017-09-15T21:17:27
2017-09-15T21:17:27
103,700,512
0
0
null
2017-09-15T20:54:34
2017-09-15T20:54:33
null
UTF-8
Python
false
false
6,402
py
''' PassportEye::MRZ: Machine-readable zone extraction and parsing. Command-line scripts Author: Konstantin Tretyakov License: MIT ''' import argparse, time, glob, pkg_resources, os, multiprocessing, logging, json, shutil from collections import Counter from skimage import io import passporteye from .image import read...
[ "kt@ut.ee" ]
kt@ut.ee
c3a87e73a1c9e46f95c2c5bbf037974632f09470
747f759311d404af31c0f80029e88098193f6269
/addons/esale_joomla/__terp__.py
0b9ba5da767aab77ff4bccd6f9b18701e5bdec38
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
62
py
/home/openerp/production/extra-addons/esale_joomla/__terp__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
16effac639ce13ca5ccf22f2cfad0658eac06638
547ba955855ff623a8ef6e80fcfaddebadf34bed
/Chapter08/B06246_08_14-slope.py
a5a8f6c01c4af2755f280d506db81016afd04122
[]
no_license
CodedQuen/QGIS-Python-Programming-Cookbook
94a36d265d0336d5bb36ac02d637ba17ee765b04
f84e0159f7c8ec81a29573a7fd2e03b046efce33
refs/heads/master
2022-05-28T05:04:35.053121
2020-05-05T09:44:50
2020-05-05T09:44:50
261,414,871
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
# Computing Road Slope using Elevation Data # https://github.com/GeospatialPython/Learn/raw/master/road.zip from PyQt4.QtCore import * from PyQt4.QtGui import * import processing dem = "/qgis_data/road/dem.asc" road = "/qgis_data/road/road.shp" slope = "/qgis_data/road/slope.tif" segRoad = "/qgis_data/roa...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
5f5aa4594437d785225bffd8a12312b3ccdfb9b4
99441588c7d6159064d9ce2b94d3743a37f85d33
/cmake-build-debug/read_CAN/catkin_generated/pkg.develspace.context.pc.py
2581bf96c93bf3ea493f4c25cd72ba5837837945
[]
no_license
YZT1997/robolab_project
2786f8983c4b02040da316cdd2c8f9bb73e2dd4c
a7edb588d3145356566e9dcc37b03f7429bcb7d6
refs/heads/master
2023-09-02T21:28:01.280464
2021-10-14T02:06:35
2021-10-14T02:06:35
369,128,037
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "read_CAN" PROJECT_SPACE_DIR = "/home/...
[ "yangzt_0943@163.com" ]
yangzt_0943@163.com
261e88ade9dce201fa6cf55c90a848ba3f2b34be
2a2e1a42a8d26040258b2d9a2b8f7d3b18a62024
/api/urls.py
819e588744d93a7c73ef7ece0e53597fdb27e164
[]
no_license
rashi-agrawal29/music-controller
1567a881fcd67ea3d688b9fae0b43a01d6df813d
1d2b947edb7aca78e1017f7265ca50ffe8eaed66
refs/heads/main
2023-06-24T17:49:25.524970
2021-07-27T11:08:08
2021-07-27T11:08:08
389,942,056
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from django.urls import path from .views import GetRoom, LeaveRoom, RoomView, CreateRoomView, JoinRoom, UpdateRoom, UserInRoom urlpatterns = [ path('room', RoomView.as_view()), path('create-room', CreateRoomView.as_view()), path('get-room', GetRoom.as_view()), path('join-room', JoinRoom.as_view()), ...
[ "rashiagrawal299@gmail.com" ]
rashiagrawal299@gmail.com
2ae484c93d1a05fcf1465498bc32931f6f58f9be
3135f95ab49c7ed9e6e93741748467cfd692f7d5
/quad_pid.py
dff43de662d268fb89541dd99d0d1d22e516a9c2
[]
no_license
Jaeyoung-Lim/mujocoquad
b674c45aa11a0ec7e5a8fcab2f03e534561cfc22
ca4fb25fc0dd105bf7dd20114b54b82c0da49318
refs/heads/master
2020-04-18T22:08:12.949718
2019-01-26T16:38:55
2019-01-26T16:38:55
167,785,118
0
0
null
2019-01-27T08:05:48
2019-01-27T08:05:48
null
UTF-8
Python
false
false
4,237
py
import gym import numpy as np from mujocoquad_gym.envs.mujocoquad_force import MujocoQuadForceEnv class Trajectory: R = 0.5 # trajectory radius w = 1.0 # trajectory angular speed (rad/s) class CtrlParam: # attitude kpz = 2. kpphi = 0.1 kptheta = 0.1 kppsi = 0.3 Kx_p = np.a...
[ "east0822@gmail.com" ]
east0822@gmail.com
b68987bce2f40abf5a5b3be0d046f49f02354bc8
650f9e246de38d0ceaee8726f27801f3337e24ce
/string-trainer/simple/csimple.py
7d3e49c4a22d4dd82a8951120a8f4e6961a58054
[ "MIT" ]
permissive
paulscottrobson/old-trainer-archive
57b6fbb5886e5fe526c37f40b7fb9c179176bce7
b3659d3f36b7443594202e0ae9439e80e493a22c
refs/heads/master
2021-01-20T02:46:44.751050
2017-04-26T07:26:34
2017-04-26T07:26:34
89,451,106
0
0
null
null
null
null
UTF-8
Python
false
false
5,861
py
# ***************************************************************************************** # # Simple compiler for TAB1 format # # ***************************************************************************************** import re,sys # ************************************************************************...
[ "paul@robsons.org.uk" ]
paul@robsons.org.uk
9e32c9c0aa9172a40b197d8db987c89b23d6b43b
eacf8153f3b981d54734d71275576ac33f03e921
/pegasus/tests/functional/test_authentication.py
97233a50e03bd54540753a01879da76abb4513e8
[]
no_license
enriquebits/bookmanizer
f9b43c18844dbcb32a5b560cbf5f3b539c3434c2
326b7a9ba8f2dcfce5afeedadebea6ca2ff24255
refs/heads/master
2016-09-06T12:17:39.208517
2015-05-25T02:14:57
2015-05-25T02:14:57
20,838,468
0
0
null
null
null
null
UTF-8
Python
false
false
3,332
py
# -*- coding: utf-8 -*- """ Integration tests for the :mod:`repoze.who`-powered authentication sub-system. As pegasus grows and the authentication method changes, only these tests should be updated. """ from __future__ import unicode_literals from nose.tools import eq_, ok_ from pegasus.tests import TestController ...
[ "enrique_empo@hotmail.com" ]
enrique_empo@hotmail.com
9620af649f65a0c0002935d9e24ea87dd7578b35
b0cdab54c5e81681125c01801148c287605ee8d0
/speciality/migrations/0005_auto_20181228_2150.py
ad4d5210ff776dbc55eeccf74f5266e8a064ed44
[]
no_license
lpd76/rdavid2
5528746749acc51d4d0f5efd77886929798e2569
18aa5120fe4ba0ea44f611dd52b008db52641f17
refs/heads/master
2020-04-13T20:47:58.141579
2019-01-17T16:51:31
2019-01-17T16:51:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
637
py
# Generated by Django 2.1.4 on 2018-12-28 21:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('speciality', '0004_auto_20181228_2140'), ] operations = [ migrations.AlterModelOptions( name='s...
[ "louisphilippe.david@gmail.com" ]
louisphilippe.david@gmail.com
d09084667dcf104c853d56b0ea17fabff94f75a9
32747097a4eae95a85c0e153a797c2689eb76052
/recipes/android/src/android/broadcast.py
ba3dfc97655e41f177a86cd2bda7c1ea5bd3e382
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
lbryio/lbry-android-sdk
fa973940c38c8eb7d81a0b4698fa4de353eaf58c
d9d81957647cb81f7227205cbb4ecba515556e74
refs/heads/master
2022-12-14T10:36:05.641392
2022-11-23T20:03:41
2022-11-23T20:03:41
241,861,403
3
4
MIT
2022-12-11T20:47:57
2020-02-20T10:57:08
C
UTF-8
Python
false
false
3,140
py
# ------------------------------------------------------------------- # Broadcast receiver bridge from jnius import autoclass, PythonJavaClass, java_method from android.config import JAVA_NAMESPACE, JNI_NAMESPACE class BroadcastReceiver(object): class Callback(PythonJavaClass): __javainterfaces__ = [JNI...
[ "akinwale@gmail.com" ]
akinwale@gmail.com
2e24e4d2a766d658e872865bd2ce68adc082c893
61734be18935dd5ecfd9103373188c6eb870673c
/shopping.py
100f67643120cd2b2c8c5bddf130a291d52088dd
[]
no_license
bojone/analytical-classification
751780f8aae21018be23440d2acaa6ba34554ba6
e9333fde0eb76fcdc25482209e6b80bc8a21929b
refs/heads/main
2023-06-24T22:25:33.036612
2021-07-29T07:24:00
2021-07-29T07:24:00
388,304,001
11
0
null
null
null
null
UTF-8
Python
false
false
3,744
py
#! -*- coding: utf-8 -*- # 测试“全连接+Softmax”解析解的效果 # 博客:https://kexue.fm/archives/8578 import numpy as np import pandas as pd from bert4keras.tokenizers import Tokenizer from bert4keras.models import build_transformer_model from bert4keras.snippets import sequence_padding from bert4keras.snippets import open from bert4k...
[ "noreply@github.com" ]
bojone.noreply@github.com
023d1d8dece7491ac60d165dac3295008bf0a004
6109a95a284891792c35d0d19906ab8d1697f9c7
/src/k8s-configuration/azext_k8s_configuration/vendored_sdks/v2021_05_01_preview/aio/operations/_operations.py
3c82397333fb155b013c9017f213f97b26d8e9e6
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
Tatsinnit/azure-cli-extensions
3e5a1752edced00d7c33660027d2c17fae074569
a1959b123d4c11149adae2728ab5791949889d54
refs/heads/master
2022-10-05T17:40:10.825889
2022-03-16T10:33:56
2022-03-16T10:33:56
250,102,909
0
0
MIT
2020-03-25T22:12:01
2020-03-25T22:12:01
null
UTF-8
Python
false
false
4,949
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" ]
Tatsinnit.noreply@github.com
393ef0ee8e6ca3b958d075bdb3bbd1e68260b9b2
41c660d5cd7b8dcc1a0c0abbc81b5c3e7e80fbd3
/raspy/handle_motion.py
d9c9a0df603ab4855b034242677008dcb4559284
[]
no_license
rconjaerts/nrt
8bb1406a12af5bb60a54e1c374e6e8ba1d78ad1a
016f723c944f095876ea96c739882b37bec98d3d
refs/heads/master
2020-12-26T18:03:00.274341
2014-07-01T14:15:22
2014-07-01T14:15:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
#!/usr/bin/python from __future__ import division from PIL import Image import numpy as np import sys import requests import json import time import blinker def handle_motion(img_path): print "handling motion" # We load it and calculate a single scalar value for the motion ('activity') # in this image ...
[ "tomjaspers@gmail.com" ]
tomjaspers@gmail.com
6a3039fdc7a6b0b344c3bf5b42fdec14cefec348
d76ed914106e5ec6c5f1a64b843fb27e43256893
/yugioh_cardDB/admin.py
3724c94ca4b77cb44dcc9bc0188d8d6b1de00014
[]
no_license
ss6987/yugioh_DB
7de17227bbeecfc295eef0bd02bb7583c4c30466
352f54f1302d80879c67f9cd05aae01818f4ee7a
refs/heads/master
2020-04-07T19:19:15.315196
2019-04-10T00:36:32
2019-04-10T00:36:32
157,318,534
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from django.contrib import admin from .models import * class PackAdmin(admin.ModelAdmin): readonly_fields = ["recording_card"] class ShopURLAdmin(admin.ModelAdmin): readonly_fields = ["card"] class PriceAdmin(admin.ModelAdmin): readonly_fields = ["shop_url"] admin.site.register(Card) admin.site.regi...
[ "angel.blossom.vivid@gmail.com" ]
angel.blossom.vivid@gmail.com
2e69bb3c653c7a6fe8fb3e43c5da74f7ad961e0b
0cbd649f9a2a31c0ff50b8a13b40bba17e58640d
/lesson6_step5.py
c085962592591136da570dfb53ce5fa9e03821f6
[]
no_license
Senkool/selenium_course
5b79d76fb9a50a64410668337a24f278ba9c05eb
a5e4dc098b8f1507f0a2c0f9643c3c56ccfd6979
refs/heads/master
2022-06-24T15:36:27.408102
2020-05-10T16:25:19
2020-05-10T16:25:19
262,828,053
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from selenium import webdriver import time try: browser = webdriver.Chrome() browser.get("http://suninjuly.github.io/huge_form.html") elements = browser.find_elements_by_css_selector("input") for element in elements: element.send_keys("ответ") button = browser.find_element_by_css_selector("...
[ "12denis1998@gmail.com" ]
12denis1998@gmail.com
1ebd1dd0aa7d1f4a4140c09684866a9a7eccdcb8
d685a23ff883f216f5ab8ea6ba257eb660e6a931
/laboratorios/lab01/codigo/rectangle.py
c50f4713939745bab2bd9d972bd8ca6c78d7b997
[]
no_license
varisti7/ST0245-001
2abde80a13d6139018e6e7ac9b99fd476f572c98
3582eb0a06f22af496d63458db55d8d47b797c79
refs/heads/master
2023-01-12T20:29:19.816894
2020-11-17T21:27:02
2020-11-17T21:27:02
283,341,706
0
1
null
null
null
null
UTF-8
Python
false
false
1,299
py
import time, string, random import matplotlib.pyplot as plt def rectangle(size2n): """ This agorithm recieves an integer as the number of rectangles of 2xn and calculates of how many ways it could be filled with 2x1 rectangles. """ if size2n == 1 or size2n == 2: # C1 return size2n else:...
[ "varisti6@gmail.com" ]
varisti6@gmail.com
10252106e1b1114e8e4adf56f12d670ac5aee1e0
397c9e2743c41cf591692c4fc37f43a9070119bd
/build/env/lib/python2.7/site-packages/SQLAlchemy-1.2.0b3-py2.7-linux-x86_64.egg/sqlalchemy/cutils.py
a62e8adc17fa043f78d6b8b32d3c703fd2682408
[ "Apache-2.0" ]
permissive
bopopescu/myhue
cf41238c782d12b3a1a0ee9ef70196359bb67894
5f566970a5a1fa5af9f01832c9e9808c47634bc7
refs/heads/master
2022-11-18T05:37:24.467150
2019-11-23T16:16:22
2019-11-23T16:16:22
282,390,507
0
0
Apache-2.0
2020-07-25T07:03:40
2020-07-25T07:03:39
null
UTF-8
Python
false
false
282
py
def __bootstrap__(): global __bootstrap__, __loader__, __file__ import sys, pkg_resources, imp __file__ = pkg_resources.resource_filename(__name__, 'cutils.so') __loader__ = None; del __bootstrap__, __loader__ imp.load_dynamic(__name__,__file__) __bootstrap__()
[ "352322399@qq.com" ]
352322399@qq.com
4e36d68ce3ba6c25adc4cbac052979ce95b8b4c2
4494d201fef442f6546919acd685561ba2bd0ec3
/lookup/views.py
0d074c1c3cde4853656fa056e992d3cdf480a210
[]
no_license
santoshikaruturi/djangoweather
de1d8bef593f6bb32f342f2867e345f67dd63c32
4fb465ff4167a99fb0dfea92212f055c66568994
refs/heads/master
2020-12-10T08:55:36.893164
2020-01-13T08:49:58
2020-01-13T08:49:58
233,549,908
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
#This is my views.py file from django.shortcuts import render # Create your views here. def home(request): return render(request,'home.html',{}) def about(request): return render(request,'about.html',{})
[ "karuturisantoshi9@gmail.com" ]
karuturisantoshi9@gmail.com
93c4453f26512207811cdba404053b9a07b2e9c1
b68887f55cfcd0225d732acfbfcc7f3724e49d5d
/pages/factories.py
a59431ddc5e91da1966fb1ba58c8d6ad49dcbfb0
[ "MIT" ]
permissive
rds0751/nhsuk-content-store
0ac7eb06f85cc97cd57e58a3f24e19db9991a8a2
7bd6a386e3583779ddba2347a4b3a80fdf75b368
refs/heads/master
2020-04-19T08:53:54.273378
2019-01-29T05:08:18
2019-01-29T05:08:18
168,092,530
0
0
null
2019-01-29T05:05:33
2019-01-29T05:05:33
null
UTF-8
Python
false
false
1,515
py
import factory from home.factories import HomePageFactory, ParentBasedFactory from . import models class ConditionsPageFactory(ParentBasedFactory, factory.django.DjangoModelFactory): title = 'Conditions' slug = 'conditions' path = '000100010002' depth = 3 _ParentFactory = HomePageFactory _u...
[ "marcofucci@gmail.com" ]
marcofucci@gmail.com
66a53d2b71a6f7420dc7a93f85b662fb08440da4
f6a24e544fe48cb13fa38fcde11ce9b57d119eba
/api.py
7e4075258107e12abd359e2ec3feba410554f86c
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
postsai/postsai
b8afeb44d87ff16cd0526ba593f70446751affc6
c2b8363c34ff28a8c54b04548ff1c72c8a98e2c3
refs/heads/master
2023-08-16T16:50:30.671405
2023-08-10T15:08:17
2023-08-10T15:08:17
52,112,371
5
5
NOASSERTION
2023-09-14T14:19:35
2016-02-19T19:49:22
Python
UTF-8
Python
false
false
1,985
py
#! /usr/bin/python3 # The MIT License (MIT) # Copyright (c) 2016-2021 Postsai # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights...
[ "nhnb@users.sourceforge.net" ]
nhnb@users.sourceforge.net
43fa9cc363b25fbbb658601647398ac8dbfe41aa
a25b26b3b27b59325915c10dfafd607faae4ed01
/pickfrombothsides.py
879435386092602b6015b9cf8eab00d3d4514243
[]
no_license
helplearnhome/Coding-Interview-in-Python
3e3d9f42b993b9ea8e86e25d8a8e36c1610c45f2
52a76689a5808a89ebb8399bf3e6d4922c4c190b
refs/heads/master
2023-07-17T06:30:09.207235
2021-09-08T03:28:33
2021-09-08T03:28:33
397,350,111
0
0
null
null
null
null
UTF-8
Python
false
false
1,823
py
# # Recursive def func(A,B,i,j,sum): if B == 0: # print(sum) return sum return max(func(A,B-1,i+1,j,sum+A[i]),func(A,B-1,i,j-1,sum+A[j])) class Solution: # @param A : list of integers # @param B : integer # @return an integer def solve(self, A, B): # print(B)...
[ "noreply@github.com" ]
helplearnhome.noreply@github.com
7222be1cddcf38ef35b6da54356de01d6646981a
fab3523d77e3641a7239818591a16a4ca29ba8c3
/pymanetsim/plot_plane.py
ceb365f916e8793a68f3d054cfd6821437a6d5da
[]
no_license
joninvski/pymanetsim
c26cbe2256add2fefdf3097264575ca9fe7be3ce
c19e8d2324dc5325a2ba31aa692fc674c658725e
refs/heads/master
2016-09-06T15:15:18.235956
2014-10-07T14:23:24
2014-10-07T14:23:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
721
py
import pdb import numpy as np import matplotlib.cm as cm import matplotlib.mlab as mlab import matplotlib.pyplot as plt def plot_plane(plane, all_nodes, name): x = [0]*plane.x_size y = [0]*plane.y_size X = np.meshgrid(x, y) #For each node for node in all_nodes.values(): #Get its heat val...
[ "trindade.joao@gmail.com" ]
trindade.joao@gmail.com
a3408f3cacbced284115c90a5f39637e7b80dc5c
269d6d6a0c2975030232c354a1ff65303de96ec1
/modules/dune_cvn.py
a99aee5d645c42d5689c0b4e53ba27a4a7320cbf
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
DUNE/dune-cvn
1cf44d5a7ab9ca663121a99eedb0285d122298d9
8402a529447d8601a8c16e9954e75fd0dfc2a9d7
refs/heads/master
2023-03-15T05:16:15.502690
2021-03-12T16:01:15
2021-03-12T16:01:15
258,130,863
1
2
null
null
null
null
UTF-8
Python
false
false
7,224
py
''' DUNE CVN model Inspired by https://github.com/titu1994/keras-squeeze-excite-network/blob/master/se_resnet.py References: - [Deep Residual Learning for Image Recognition](https://arxiv.org/abs/1512.03385) - [Squeeze-and-Excitation Networks](https://arxiv.org/abs/1709.01507) ''' __version__ = '1.0' __author...
[ "saul.alonso.monsalve@cern.ch" ]
saul.alonso.monsalve@cern.ch
14b05aaebd43d60f8b353474ac5f6a16ec15f2f2
607d5300e1c55cd194b581174f13965f73971eb6
/oss/testdata/python_examples/get_object.py
588f638b58d92c3c43dfbe1974e3bf2d0eae0d2b
[ "Apache-2.0" ]
permissive
aliyun-beta/aliyun-oss-go-sdk
a577a45c3ec445c0a8a2f73538077943f0bb537e
b9a019776ad68c252acb92a67a09be59162de4ab
refs/heads/master
2021-01-17T14:37:13.127610
2015-12-15T08:35:49
2015-12-15T08:35:49
46,700,470
3
1
null
null
null
null
UTF-8
Python
false
false
263
py
from oss.oss_api import * from oss import oss_xml_handler endpoint="hostlocal:9999" endpoint="oss-cn-hangzhou.aliyuncs.com:9999" id, secret = "ayahghai0juiSie", "quitie*ph3Lah{F" oss = OssAPI(endpoint, id, secret) res=oss.get_object("bucket-name","object/name")
[ "w@h12.me" ]
w@h12.me
4b246fb650a74fd88ecc1f77ebd88120fb7af169
53cc8792bad1090243ac2e58c05fc9d85a08a7c0
/motorController.py
dbfa6e2c2e6c2010d0f58ea3d0031076879000db
[]
no_license
intruedeep/intruedeep-firmware
179de0fca49967690e0e1f229db30733a9660d4f
a8dd0d7abad41b22ce697272288afde86906b63d
refs/heads/master
2021-01-10T10:21:38.375779
2016-04-28T16:07:41
2016-04-28T16:07:41
54,795,446
0
0
null
null
null
null
UTF-8
Python
false
false
5,475
py
import RPi.GPIO as GPIO import smbus import sys import motor_control import random; from time import sleep bus = smbus.SMBus(1) address = 0x30 turnTime = .00005; fireTIme = .5; Motor1A = 37 FireGPIO = 11 #If the gun is within offset ticks of its desination location, just stop there. offset = 5; homeOffset = 5; downP...
[ "kdunn13@vols.utk.edu" ]
kdunn13@vols.utk.edu
6acd9d44dc1191828b5807335b648d30c0e9194d
0eda43d797abfc69ad28000b3c3599af44049bdf
/setup.py
21f2ea356d1b8e4b3e0b98a7bd61d346e529cf0b
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
biomodels/BIOMD0000000048
d8d23b0491ac80e27692b6e115b9884ee46397d6
6d17577fdde45ed5c0ec8457eacb860458e30215
refs/heads/master
2021-01-18T14:19:32.446581
2014-10-16T05:18:50
2014-10-16T05:18:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from setuptools import setup, find_packages setup(name='BIOMD0000000048', version=20140916, description='BIOMD0000000048 from BioModels', url='http://www.ebi.ac.uk/biomodels-main/BIOMD0000000048', maintainer='Stanley Gu', maintainer_url='stanleygu@gmail.com', packages=find_packages(...
[ "stanleygu@gmail.com" ]
stanleygu@gmail.com
47f0abfaceb11e660d4f305e745db7fe9fee819f
da84fa23cc4cf2e81e50892085ac162508bff155
/nestris_ocr/capturing/linux/linux_mgr.py
6381209b8dd85f1880aca2b7eb9cbc653ec9f0cd
[]
no_license
alex-ong/NESTrisOCR
83ddaba55b100f0ee20e924731459e547e321887
488beeb30e596ccd0548152e241e1c6f772e717b
refs/heads/master
2023-01-10T08:02:41.702538
2021-07-07T06:33:39
2021-07-07T06:33:39
169,196,192
25
8
null
2022-12-27T15:37:40
2019-02-05T05:44:34
Python
UTF-8
Python
false
false
1,202
py
import Xlib import Xlib.display from Xlib import X class WindowMgr: """Encapsulates some calls for window management""" def __init__(self, hwnd=None): self.handle = hwnd def checkWindow(self, hwnd): """checks if a window still exists""" return hwnd def getWindows(self): ...
[ "the.onga@gmail.com" ]
the.onga@gmail.com
92342462dbbae240ef7cda2ffdb9248d3c5c9ee5
d9ebec1b75f31881ae7e05139a9ad7004dd92227
/api/recommender/models.py
55993431ad80a72aeec090a0f85ea6cc58322235
[]
no_license
Drobo07/eBackend
83efa41aac6dddc483b8a4061bbcb00fee9208b7
cf090d5d4b0c4d5bb8c50c511dbc0f3d90e1aca4
refs/heads/master
2020-12-21T15:08:18.811907
2019-05-02T17:18:49
2019-05-02T17:18:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
768
py
from django.db import models from django.contrib.postgres.fields import ArrayField from datetime import datetime from general.models import Publications # Create your models here. class BarcRequest(models.Model): title = models.CharField(max_length=128,null=False) abstract = models.TextField(max_length=1024,...
[ "dipeshkrj14@gmail.com" ]
dipeshkrj14@gmail.com
e0cf8c5298a8ee4e8a3b21eb3b1fe65504c3047e
204ec78fcebcea9e1e1da4905cf3fad0a514b01f
/test/unit/test_timeout.py
4990b87aad1b2d40888f75acc3481c349d3eb4e0
[ "Apache-2.0" ]
permissive
ARMmbed/pyOCD
659340bf8753aa8e15a72890b8bea64dff2c2f42
d4cdcf7e532cae17caad866839287bbe1e0d952b
refs/heads/master
2023-05-31T13:45:15.797588
2020-10-12T13:55:47
2020-10-12T13:55:47
190,203,829
3
1
Apache-2.0
2019-07-05T11:05:40
2019-06-04T13:09:56
Python
UTF-8
Python
false
false
1,942
py
# pyOCD debugger # Copyright (c) 2017-2019 Arm Limited # SPDX-License-Identifier: Apache-2.0 # # 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...
[ "flit@me.com" ]
flit@me.com
f7893075ad7f7f33d47f38004cf784a9fc9afb2d
ebe11743bb33a1bfe36cddf92551a1e08b3e565d
/advanced/Common.py
d01638f48bbc3fb6f7e1f69744c92fc1ace91f0e
[]
no_license
nick-cheatwood7/python-mondrian
671ca3aa0734fa283906181f81d1b29be3dccb1b
e5f98b6009eb41eacc90f5906218bb3f3e59452e
refs/heads/main
2023-03-13T10:30:36.799891
2021-02-22T07:55:29
2021-02-22T07:55:29
339,519,950
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
# Created 02/22/2021 by Nick Cheatwood # Contains any numbers or functions generic enough to warrant being outside of main file import random # Specify canvas width/height canvasWidth = 1024 canvasHeight = 768 # Specify splits # 'Generate a random integer between 120 and the width of the region * 1.5' # If the ran...
[ "nick.cheatwood@gmail.com" ]
nick.cheatwood@gmail.com
93f72136ac32eeb64dafcf570b2025f0c7a8aca7
a51b2cfd2fcfce0e800fba591efb675d7e83da61
/src/multi_gpu_train.py
6bb22be2ec00116833cd6539d7ba2be1e6fb2546
[]
no_license
yyht/tf-center-loss
a3c4164b9de151b970ec3efaf38f79609e1f8f34
5cdcb638f1cec355f1938bf3a646338596bc21ef
refs/heads/master
2020-05-05T08:05:36.618949
2018-08-05T04:29:33
2018-08-05T04:29:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,137
py
# auther : lxy # time : 2017.12.15 /09:56 #project: # tool: python2 #version: 0.1 #modify: #name: center loss #citations: https://github.com/ydwen/caffe-face ############################# import numpy as np import tensorflow as tf from read_tfrecord_v2 import read_single_tfrecord from net import * from Center_loss_cust...
[ "lixiaoyu283284@163.com" ]
lixiaoyu283284@163.com
a03f688cd3bb6ceef3f26b749170bc2c0ac710d7
82770c7bc5e2f27a48b8c370b0bab2ee41f24d86
/microblog/flask/venv/lib/python2.7/site-packages/billiard/forking.py
57fc9795e47d83e6c656232b9ddde88438c6ec12
[ "Apache-2.0" ]
permissive
johankaito/fufuka
77ddb841f27f6ce8036d7b38cb51dc62e85b2679
32a96ecf98ce305c2206c38443e58fdec88c788d
refs/heads/master
2022-07-20T00:51:55.922063
2015-08-21T20:56:48
2015-08-21T20:56:48
39,845,849
2
0
Apache-2.0
2022-06-29T23:30:11
2015-07-28T16:39:54
Python
UTF-8
Python
false
false
17,515
py
# # Module for starting a process object using os.fork() or CreateProcess() # # multiprocessing/forking.py # # Copyright (c) 2006-2008, R Oudkerk # Licensed to PSF under a Contributor Agreement. # from __future__ import absolute_import import os import sys import signal import warnings from pickle import load, HIGHE...
[ "john.g.keto@gmail.com" ]
john.g.keto@gmail.com
11065362a8ac77972c519aadeae585300bb5085d
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_25/models/active_directory_get_response.py
ee529854e041a3ff612ccf174315845d4e2c49ef
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
5,613
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.25 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
837640dec4290cdc6c2b69db42c87b60beb2a646
327a6d74d22fb06d76f5da814452e76aa8999692
/stanCode_projects/Photoshop/green_screen.py
ff846ff20b3d35e8ea5a12d8952923732dfd0a2b
[ "MIT" ]
permissive
siyuban/stanCode
6a5c2114a3bc949c1d6e5a70b987dcda74161874
5cca179a7542abdf1fe3a9e1da256945241249cc
refs/heads/main
2023-02-11T16:20:08.707138
2021-01-09T15:44:55
2021-01-09T15:44:55
324,043,306
0
0
null
null
null
null
UTF-8
Python
false
false
1,464
py
""" File: green_screen.py Name:萬思妤 ------------------------------- This file creates a new image that uses MillenniumFalcon.png as background and replace the green pixels in "ReyGreenScreen.png". """ from simpleimage import SimpleImage def combine(background_img, figure_img): """ :param background_img: Simpl...
[ "noreply@github.com" ]
siyuban.noreply@github.com
4a1c309a93de9647a0f1adc90e88ad9c8624b3be
2b8c88dfee5c5a784357515eafe8cd5f997c8774
/leetcode/dynamic_programming/code-84.py
1b9e7013a5652e79e6603e09d069daf7eb6aa134
[]
no_license
archenRen/learnpy
e060f3aa2f77c35fc1b12345720af6c8b528da57
934ef76b97297f746a722a48c76672c7bc744cd9
refs/heads/master
2022-04-28T20:25:59.114036
2020-05-03T02:16:03
2020-05-03T02:16:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
# This is a TLE solution. def largestRectangleArea2(heights: 'List[int]') -> int: n = len(heights) max_val = 0 for i in range(n): min_val = heights[i] max_val = max(max_val, min_val) for j in range(i-1, -1, -1): min_val = min(heights[j], min_val) max_val = m...
[ "wangdi03@ppdai.com" ]
wangdi03@ppdai.com
49da684394e0562e287537b0ace76cdd6969645c
ec649dc247e5229f78c2bcf51fdef1c57f3cdbff
/OCR/tesseract-invoice.py
0a8f8a6159e2642f490c1a13260c8f55f28faaf0
[]
no_license
dainv1989/machine-learning
0f1686a9bf921bfcf665a786c63ec68b189942a0
e44b14041f577ebe5d5ce785af45e4226e0d2756
refs/heads/master
2021-07-11T20:39:39.423568
2020-03-22T23:55:10
2020-03-22T23:55:10
93,155,384
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
import cv2 import re import pytesseract as pts from pytesseract import Output def show_textboxes(image): d = pts.image_to_data(image, output_type=Output.DICT) #print(d.keys()) n_boxes = len(d['text']) for i in range(n_boxes): if int(d['conf'][i]) > 60: (x, y, w, h) = (d['left'][i],...
[ "dainv1989@hotmail.com" ]
dainv1989@hotmail.com
8e19d867074a1f86ccc691db65d40f99ea7ffb2b
c989985588c9c3132cb3df4710a59fa8df7c7f2d
/user.py
3bf573c28689ca53aea39411c68c0e0d0a081ec0
[]
no_license
hsolmaz/amazonbrowsertest
3100886d08ba88f16efe33ef71db9dd4bf1b4566
54f0010ffcbcda89b2e85a5ab6f1d2724303a52e
refs/heads/master
2020-03-21T00:39:38.131878
2018-06-21T11:16:55
2018-06-21T11:16:55
137,903,641
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
# -*- coding: utf-8 -*- from selenium import webdriver from selenium.webdriver.common.keys import Keys import random import string import time char_set2 = string.ascii_lowercase + string.digits random_number = char_set2.split('0')[1] char_set = char_set2.split('0')[0] random_numbers = ''.join(random.sample(random_num...
[ "huseyin@hayalmahsulleri.com.tr" ]
huseyin@hayalmahsulleri.com.tr
2d8ac059bbfc47157c68170ee0adcfcc597a30df
d6c7a20e0286d389ba17aef2b22931bd5d294dd0
/postgres_demo.py
a722c97c42594c3b784794e756dfd057802fee71
[]
no_license
bashooff/databases_demo
d1ebfde67f418324f45cf11922ce4395f96f9028
281cd00254451519e989bd076ed70bf4fe3cacde
refs/heads/main
2023-04-05T22:02:20.629234
2021-05-05T08:51:35
2021-05-05T08:51:35
364,515,688
0
0
null
null
null
null
UTF-8
Python
false
false
1,743
py
import psycopg2 def create_table(): # Connect to a database conn = psycopg2.connect("dbname='database1' user='postgres' password='postgres1234' host='localhost' port='5432' ") # Create a cursor object cur = conn.cursor() # Write SQL query cur.execute("CREATE TABLE IF NOT EXISTS store (item T...
[ "bashooff@hotmail.com" ]
bashooff@hotmail.com
341107c12104363f5af83709a82a18422f87fb29
81246c8049ebf8d58e9614f4f062ec4dc0a2bd8b
/venv/Scripts/django-admin.py
62609559dbfa35dd7608610ad723d1334c72616d
[]
no_license
nikakuzina/django
cf68e43f9779c5ee19ebfc95c4173c31338c0bec
afb2c4fe6f6e72ecad9653e72758350989e794e7
refs/heads/main
2023-01-31T15:07:37.111973
2020-12-07T22:20:18
2020-12-07T22:20:18
319,457,660
0
1
null
null
null
null
UTF-8
Python
false
false
702
py
#!C:\Users\Admin\PycharmProjects\djangonika\venv\Scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admi...
[ "stasciobanu777@gmail.com" ]
stasciobanu777@gmail.com
0bd4bb83349048366f08e67ed891cd7688d8efe5
9de52a33dfa175b3f4994658ad6a2261f045c8b0
/难点积累/通过颜色特征直方图与滑动窗口比较图片相似性.py
c5f30321927b646fe0c3e45f26744c413506b9df
[]
no_license
infcnwangjie/opencv
64140cebc64cacc9fe078bb266ee6569ba62bc0f
ea18ef4e9c514f703ed8fdd83b0f5d74069e1d90
refs/heads/master
2022-12-14T23:01:21.642076
2020-11-04T08:01:54
2020-11-04T08:01:54
133,104,182
0
0
null
2022-12-08T11:40:53
2018-05-12T01:38:08
Python
UTF-8
Python
false
false
2,060
py
# -*- coding: utf-8 -*- import cv2 #https://baijiahao.baidu.com/s?id=1615404760897105428&wfr=spider&for=pc def color_similar_ratio(image1, image2): if image1 is None or image2 is None: return 0 img1 = cv2.cvtColor(image1, cv2.COLOR_BGR2HSV) img2 = cv2.cvtColor(image2, cv2.COLOR_BGR2HSV) hist1 = cv2.calcHist([img...
[ "wangjie_rj@163.com" ]
wangjie_rj@163.com
f158c6821e350e490fa25d9eda4fc880f01fe9d0
6e2dc82bcfbc420ce6fd8e890f9f254e8e594902
/www/cursivedata/migrations/0005_auto__add_field_pipeline_anim_loop.py
92063d7e04206acf824ce406bdbd7eabe0b2d325
[ "CC-BY-4.0" ]
permissive
mattvenn/cursivedata
8ea86bde4a58a5678b1116953d17f0ae3600daf6
43e43263bef6f01698166d87bcff00b246957277
refs/heads/master
2021-01-17T08:06:38.715586
2016-07-22T16:04:10
2016-07-22T16:04:10
5,599,674
1
0
null
null
null
null
UTF-8
Python
false
false
12,340
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Pipeline.anim_loop' db.add_column('cursivedata_pipeline',...
[ "matt@mattvenn.net" ]
matt@mattvenn.net
610ac8671393a3cc93c8ac2f5fb7cbe982e9e849
96090102d5e87f1771ba5a90f7b676f4ccb0afa6
/src/profiles/forms.py
ef4d8adbf95e2f2acf6f725493fe0bef6afcef2b
[]
no_license
rahulsayon/SocialWedding
b4b37ad69b89236784c6fb983ab27b4cd2e4266e
ab96b6a5d381936463065e75f74d0c8ffd3b1907
refs/heads/master
2022-12-18T15:08:39.380348
2020-09-27T14:49:40
2020-09-27T14:49:40
299,053,233
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
from django import forms from . models import Profile class ProfileModalForm(forms.ModelForm): class Meta: model = Profile fields = [ 'first_name','last_name','bio','avatar' ]
[ "rahulsayon95@gmail.com" ]
rahulsayon95@gmail.com
bd5146467d282b22af61c534fd0e9f2dd2af0c1e
eeee85ce45554dc328776fa5b6f24c894c86a098
/bikeshed/app/admin.py
034d9f6b95426c879ccfcfc4d05eaba3613feeea
[]
no_license
varavan/bikeshed-test
646b0fc4dcd452dd398c46fe75ad2154009f853e
39b93c340362e02ebf06290cd2c0b214696579c8
refs/heads/master
2021-01-11T18:54:58.106643
2017-01-22T18:12:48
2017-01-22T18:12:48
79,654,743
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
# coding=utf-8 from django.contrib import admin from .models import Brand admin.site.register(Brand)
[ "ivan.ruiz.delatorre@gmail.com" ]
ivan.ruiz.delatorre@gmail.com
ae8c74c7b7f7206875a2b5b26902c89d55155d71
d6362b0d78433efb7b6f0a59ed427bf58d5bad47
/python_basics/multiprocessing/other_tests/pool_map.py
ec8073e05d2559b0a26b9e75a30f10d1c6c6b3b5
[]
no_license
davidbp/python_tutorials
27c78791ad1ea041d543a8cd5b48a6f58bca700d
5a7bc14a967f18d6820b39b152fc8219c95d3f75
refs/heads/master
2023-07-13T11:26:21.374596
2023-07-01T21:19:55
2023-07-01T21:19:55
104,083,908
14
4
null
2022-06-21T22:37:29
2017-09-19T14:13:34
Jupyter Notebook
UTF-8
Python
false
false
526
py
from random import random from time import sleep from multiprocessing.pool import Pool def multi_run_wrapper(args): return task(*args) def task(identifier, id): value = random() print(f'Task {identifier} executing with {id}', flush=True) sleep(1) return value # protect the entry point if __name_...
[ "davidbuchaca@gmail.com" ]
davidbuchaca@gmail.com
d5b6777d7162805424e48a672f5d020c4bd445be
d7d22ea566bd8e97f7bfe956118ad3be4edb9d2f
/game/entity/actor.py
355a0a98d7f1aa4005adc119a411a9821d482da1
[]
no_license
philax/gourd_of_the_lings
c02ef1db5467306c7994b20280c7c140ea65280f
8bdf4c0c410e39e4ac531906aacbb98d5122c632
refs/heads/master
2021-01-10T05:35:45.802300
2015-12-17T22:35:22
2015-12-17T22:35:22
48,065,132
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
class Actor(object): def __init__(self, name, base_hp, base_dmg, inventory=[]): self.base_hp = base_hp self.hp = base_hp self.name = name # if(stats == None): # self.stats['HP'] = 10 # self.stats['STR'] = 5 # self.stats['AGI'] = 5 # self.stats['DEX'] = 5 ...
[ "plaks@turbine.com" ]
plaks@turbine.com
1ac9e3f7b26aa042692590d17c2b31da13a46806
3549dd941a47e359fa3ab17f2f2ab1968fb928e4
/dataset/mini_imagenet.py
977d67fbdfa3631520e6fc5a48353ed196f061d1
[]
no_license
Juncheng-Dong/FSL
74628d414a863091cfcc5627ed5dc2a54a7f2611
1273175c6cfc14a27dcc6d7e5b682f950b45b4ed
refs/heads/main
2023-08-01T03:49:01.978935
2021-09-14T15:48:33
2021-09-14T15:48:33
406,255,683
0
0
null
null
null
null
UTF-8
Python
false
false
8,283
py
import os import pickle from PIL import Image import numpy as np import torch from torch.utils.data import Dataset import torchvision.transforms as transforms class ImageNet(Dataset): def __init__(self, args, partition='train', pretrain=True, is_sample=False, k=4096, transform=None): supe...
[ "jd420@research-tarokhlab-10.oit.duke.edu" ]
jd420@research-tarokhlab-10.oit.duke.edu
4ab262e191693747daa93149c342a0572400a678
0255c635cd5aba99c7dafb3f34757fc4761ecbb7
/annotation_pipeline/mturk_backend/hit_results.py
b7381b2b864259150bd21a56e92d852280a9fcc7
[ "Apache-2.0", "MIT" ]
permissive
tomerwolgithub/Break
021a6ecfd780fbcd0556dbdc8dcd6a2f2fe16115
e7106929b9b7cca069e5d33c894d0eec10ef538f
refs/heads/master
2022-12-17T14:31:34.528576
2021-10-30T08:56:09
2021-10-30T08:56:09
233,827,307
46
13
MIT
2022-12-08T03:40:20
2020-01-14T11:35:00
JavaScript
UTF-8
Python
false
false
1,537
py
"""HIT results data structure""" import json class HITResults: def __init__(self, hit_id, assignment_id, worker_id, submit_time): self.hit_id = hit_id self.assignment_id = assignment_id self.worker_id = worker_id # submit_time is a datetime object which we convert to a string ...
[ "noreply@github.com" ]
tomerwolgithub.noreply@github.com
a4a14ef74a6feb9dfff1fce11de617aeefe4c012
8f4cb6b34e4a13b0d71756987aa07d22d1e5c399
/solutions/uri/1029/1029.py
aa872f44a910ef2e08cbb1dcaf8f16351f4eafd5
[ "MIT" ]
permissive
kaneki-ken01/playground
e688537439d4ef937cfeb3a0be54159c5d47d51b
1900da4a7b352b1228659631068ff365456408e1
refs/heads/main
2023-08-16T21:00:05.823664
2021-10-04T19:09:08
2021-10-04T19:09:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
fibs = [0] * 40 calls = [0] * 40 def fibonacci(n): global fibs, calls if n <= 1: fibs[n] = n calls[n] = 0 else: if fibs[n] != 0: return fibs[n] fibs[n] = fibonacci(n - 1) + fibonacci(n - 2) calls[n] = calls[n - 1] + calls[n - 2] + 2 return fibs[n] ...
[ "deniscostadsc@gmail.com" ]
deniscostadsc@gmail.com
6310e23a458f6e5fc6663a32b235b73bc2454352
0da6893c3d64c5653e33b1330e7ea02975e6138b
/Flame_Sensor_Publish.py
454917a337e2c4222609ddcdb705913bd80d80b5
[]
no_license
AdarshKBulusu/projectWildfire_Alert-Detection
6faf6a5b39846d1fd2cdbccf44868d2b23aba1b1
2a698a29899aae0953ec4feb95c9b964921038d2
refs/heads/master
2022-11-20T00:23:12.646675
2020-07-22T01:49:29
2020-07-22T01:49:29
281,527,148
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
import socket host = '10.0.0.251.' #127.0.0.1 port = 50008 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind((host, port)) s.listen(1) print("hello starting program") conn, addr = s.accept() print ("Connection from", addr) while True: data = conn.recv(1024) if not data: break print("Recieved:...
[ "noreply@github.com" ]
AdarshKBulusu.noreply@github.com
24bb1c93e94a9f3ea07ca4b69095ba78a63c236d
569c958cf7a13f61ebe1417caee671be5ba4adb4
/LFUcache-Python/LFUCache.py
a1c98614d68c3c1bb3abb707f57c2efb94946ea7
[]
no_license
Dechuan0629/LeetCodePractice
932c079aff4cc1ef01d3a57b2a3d70389c1c81e3
8e801a667617bc76854f02dbe2fcd068d448fa39
refs/heads/master
2022-12-26T02:37:00.247683
2022-12-15T09:29:17
2022-12-15T09:29:17
246,292,015
0
0
null
null
null
null
UTF-8
Python
false
false
2,401
py
import time class LFUCache: def __init__(self, capacity: int): self.capacity = capacity self.current_capacity = 0 self.cache = {} def get(self, key: int) -> int: try: ans = self.cache[str(key)][0] self.cache[str(key)][1]+=1 self.cache[str(key...
[ "610459802@qq.com" ]
610459802@qq.com
39d5e277eb935eee8876c1af0b0557edcf5f6b91
146012dda21ab72badad6daa8f98e6b26fedb128
/13day/9-名片系统.py
c647a413c352cb726036cb58e94329648c26b284
[]
no_license
fengshuai1/1805
41786c3561beca580ba82d9e9d4347571e38e198
8dc3e6605cc1d6f91685ae45bfebfc062f0aa489
refs/heads/master
2020-03-19T07:41:40.608389
2018-06-28T01:45:43
2018-06-28T01:45:43
136,140,329
0
0
null
null
null
null
UTF-8
Python
false
false
3,124
py
list = []#存放名字 print("名片管理系统".center(50,"*")) while True: print("1:添加名片".center(50," ")) print("2:查找名片".center(50," ")) print("3:修改名片".center(50," ")) print("4:删除名片".center(50," ")) print("5:打印名片".center(50," ")) num = int(input("请选择功能")) if num == 1: d = {}#空字典 while True...
[ "1329008013@qq.com" ]
1329008013@qq.com
7094d4bbe7a500eb46faa9fac35c316ada1389af
77fc5af96da1d461c86c7f9668b64b99ca04a1b6
/codes/horner.py
4458f960d38c57f60ba6940082b190afccdbd331
[]
no_license
rene-d/edupython
5b6bc8ddb5eb8ec896ee70fb961d4e689af1075a
1261d0c7aae17bb2d4ff3370860768b73ba4172d
refs/heads/master
2020-11-24T10:07:18.504472
2019-12-21T21:03:08
2019-12-21T21:03:08
228,099,675
0
0
null
null
null
null
UTF-8
Python
false
false
425
py
# Méthode de Hörner # https://edupython.tuxfamily.org/sources/view.php?code=horner # Créé par IANTE, le 12/07/2011 from lycee import * P=liste_demande('entrez les coefficients de P(x) par ordre des puissances croissantes') r=demande('Entrez une racine évidente') Q=[0]*(len(P)-1) v=0 for d in range(len(P)-2,-1,-1): ...
[ "rene.devichi@gmail.com" ]
rene.devichi@gmail.com
72dde4d0cca5ada32dd37e6e36d79b7dc6680cba
685e7dc080a383d12dd526a510a8f74c34ef2e71
/tests/nonci/test_compare_pretrained.py
cf57a0df969679003ebcb54d6d1f3d881dc8170d
[ "MIT" ]
permissive
18813055625/bert-for-tf2
f1b86351675861ebe710bb4f94e99b89a639f83a
e71d108f0bd8c5af0c4e0b8427b144e996c02fdb
refs/heads/master
2020-07-29T08:24:33.635201
2019-09-09T11:56:37
2019-09-09T11:56:37
209,729,589
0
1
MIT
2019-09-20T07:16:54
2019-09-20T07:16:53
null
UTF-8
Python
false
false
8,706
py
# coding=utf-8 # # created by kpe on 27.Mar.2019 at 15:37 # from __future__ import absolute_import, division, print_function import unittest import re import os import numpy as np import tensorflow as tf from tensorflow.python import keras from tensorflow.python.keras import backend as K import params from bert i...
[ "kpe.git@gmailbox.org" ]
kpe.git@gmailbox.org
889a37fe8215598757625f98d9e00660675b6457
991d762127850817be2da9fbbb6ba4601d1c1252
/test_trellis.py
30f974fdbe80962a1faaa2093d97f0f28a5025fb
[]
no_license
tomjoy/trellis
8699c264a1d3e287ae145488a172552a2a8c1c64
ce5e7dfc6cff6386a9ee216ed9be7436816c4512
refs/heads/master
2016-09-11T10:33:13.288062
2014-11-18T08:19:33
2014-11-18T08:19:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
42,364
py
from test_sets import * from peak import context from peak.events.activity import EventLoop, TwistedEventLoop, Time, NOT_YET from peak.events import trellis, stm, collections, activity from peak.util.decorators import rewrap, decorate as d from peak.util.extremes import Max import unittest, heapq, mocker, types, sys t...
[ "tomjoy002@gmail.com" ]
tomjoy002@gmail.com
8dfafbc28a614569c623e5f7c6693a7448952581
b48a447030cd1afd7c38f765eb21448ff87c7b2f
/app/app/test.py
c767945514566650545e409e3378eeeac378c435
[]
no_license
joshuagato/django_rest_framework_docker_setup
87bba4292d708bc33340c07eec08bf2b00917bb6
ea5f69654616993de91f4993a216a195b1f64657
refs/heads/master
2022-12-13T20:15:59.224836
2020-09-19T16:36:14
2020-09-19T16:36:14
295,513,713
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
from django.test import TestCase from .calc import add, subtract class CalcTests(TestCase): def test_add_numbers(self): """Test that two numbers are added together""" self.assertEqual(add(4, 6), 10) def test_subtract_numbers(self): """Test that values are subtracted and returned""" ...
[ "joshuagato37@gmail.com" ]
joshuagato37@gmail.com
ffd4ff39507434f06cbbc5a0767aeadf66cdf5a4
2bdedcda705f6dcf45a1e9a090377f892bcb58bb
/src/main/output/idea/party/issue/line_friend/group_lot_guy_lombok_kind/door/oauth.py
555d4e970019c6d7f81128a63b321c2efb7bdedb
[]
no_license
matkosoric/GenericNameTesting
860a22af1098dda9ea9e24a1fc681bb728aa2d69
03f4a38229c28bc6d83258e5a84fce4b189d5f00
refs/heads/master
2021-01-08T22:35:20.022350
2020-02-21T11:28:21
2020-02-21T11:28:21
242,123,053
1
0
null
null
null
null
UTF-8
Python
false
false
2,672
py
const request = require('request') const uuidv4 = require('uuid/v4') const { LimitReachedError } = require('./errors') const ITEMS_IN_REQUEST_LIMIT = 25 const REQUEST_CHAR_LIMIT = 5000 const CHAR_PER_HOUR_LIMIT = 2000000 // const subscriptionKey = process.env.TRANSLATOR_TEXT_KEY; // if (!subscriptionKey) { // throw...
[ "soric.matko@gmail.com" ]
soric.matko@gmail.com
265c1a982e59086f60095200d42064955cf9ed66
f7d22242393632528f866e4cb4d08ba83550f865
/Part 11 - XGBoost/xgboost.py
fda346b0b846cb6f0b57ae30026753a18634b205
[]
no_license
someshjaishwal/Machine-Learning
5ecc71685e4230f5a031b9368a89fcd34bf94568
3f66e282501a87131a364267486f4427bf3fab0b
refs/heads/master
2020-03-22T05:42:46.492676
2018-07-03T13:12:50
2018-07-03T13:12:50
139,585,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,855
py
# -*- coding: utf-8 -*- # extreme gradient boosting # basic libararies import numpy as np import pandas as pd import matplotlib.pyplot as plt # import dataset dataset = pd.read_csv('Churn_Modelling.csv') X = dataset.iloc[:,3:13].values y = dataset.iloc[:,13].values ### PART 1 - Preprocessing Dataset # encoding cat...
[ "noreply@github.com" ]
someshjaishwal.noreply@github.com
6751b2b46e1d04b8b4096859890d818f7342a742
60cc5a46e6b48716ee734526cdde74a993921a88
/pysignup/backends/memory.py
279145f454fe6d85579ee27a41d12d74b4d8db08
[]
no_license
pietvanzoen/signup
fc65e4a26301e7fd7dc28af328488464b733fff2
80c62cb1841b83f439b547add758ae9ccaddd00d
refs/heads/master
2021-01-16T19:31:06.049713
2013-10-08T20:22:18
2013-10-08T20:22:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
from collections import OrderedDict from . import base class MemoryStore(type): def __new__(cls, name, bases, namespace, **kwargs): result = type.__new__(cls, name, bases, namespace) result._store = OrderedDict() return result class MemoryModelMixin(metaclass=MemoryStore): @classmet...
[ "m@schmichael.com" ]
m@schmichael.com
f4ece548db005dd63655e9189b41b5c461dedea0
2ad4b5b73b050f01f4952bd95806f3ff316fbfa4
/Leetcode/python/sol_25(2).py
e13645131ecae05cbe6f2bafd5435c575cb5a201
[]
no_license
Clement25/Leetcode-Solution-and-Algorithm
5d44f4099b8fb7b81fa497cc08161e16e70285b0
c80fd1dee21209abcbaa1fb09412cd7f2de7b586
refs/heads/master
2021-09-08T15:01:44.661219
2020-11-06T07:05:16
2020-11-06T07:05:16
178,236,299
1
0
null
null
null
null
UTF-8
Python
false
false
1,490
py
def threesumclosest(nums, target): ''' type nums:List[int] type target:int rtype:int ''' mind = 100000 nums.sort() for i, v in enumerate(nums[:-2]): ntgt1 = target - v for j, u in enumerate(nums[i + 1:-1]): ntgt2 = ntgt1 - u if ntgt2 in nums[i + j ...
[ "35480362+Clement25@users.noreply.github.com" ]
35480362+Clement25@users.noreply.github.com
624bff574da212d7d85f10e9d8fb96838f062fbc
c638ed4efd02028c97c0d6fe84200c4e4484fdba
/CCC/triangleTimes.py
11a228073e63568a153a405bd609ebddd0c4ea4c
[]
no_license
oliver-ode/Algorithmic-Coding
3c08f783e2f8d07040b81610a8e175383716eaf3
dc4d4bfb538e04789ed731236e1a5a39978cad0a
refs/heads/master
2022-12-07T02:35:56.629521
2020-08-31T03:18:30
2020-08-31T03:18:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
345
py
angles = [] for i in range(3): angles.append(int(input())) if angles[0] == 60 and angles[1] == 60 and angles[2] == 60: print("Equilateral") elif sum(angles) == 180 and angles[0] == angles[1] or angles[1] == angles[2] or angles[0] == angles[2]: print("Isosceles") elif sum(angles) != 180: print("Error") e...
[ "oliverode@gmail.com" ]
oliverode@gmail.com
73583adcaea5d524cdb542a439f178769047ef38
480cbc014abecd36899915e814157fe7e0d4072f
/tools/tasks.py
3dc7ec6cf9c2c1af355e90ce242754ed7b321601
[ "Apache-2.0" ]
permissive
mattcarabine/sync_gateway
090c48f6a9646f40feda1a36ed10b8a33f7fc9f3
a8bc5099d3c7185de72829a10311c96c800c01c7
refs/heads/master
2021-01-18T20:07:25.023611
2016-05-20T17:55:36
2016-05-20T17:55:36
59,411,033
0
0
null
2016-05-22T12:26:34
2016-05-22T12:26:33
null
UTF-8
Python
false
false
34,404
py
#!/usr/bin/env python # -*- python -*- import os import sys import tempfile import time import subprocess import string import re import platform import glob import socket import threading import optparse import atexit import signal import urllib import shutil import urlparse class AltExitC(object): def __init__(s...
[ "tleyden@couchbase.com" ]
tleyden@couchbase.com
c441941156bd0808bc93eb34a0c6ef9a076dbaee
06164402e4a9c46a03d579175e588519dbd4048d
/experiments/experiments_gdsc/cross_validation/vb_nmf/linesearch_xval_vb.py
013c70a9a0481ff098be2e4b97b6fb3098dc6e91
[ "Apache-2.0" ]
permissive
XuanHeIIIS/BNMTF
19547e36466ecee8d45fb0002d305ee6b7ba6c23
34df0c3cebc5e67a5e39762b9305b75d73a2a0e0
refs/heads/master
2020-03-27T12:47:58.375964
2018-06-10T10:22:19
2018-06-10T10:22:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,825
py
""" Run the cross validation with line search for model selection using VB-NMF on the Sanger dataset. """ import sys, os project_location = os.path.dirname(__file__)+"/../../../../../" sys.path.append(project_location) import numpy, random from BNMTF.code.models.bnmf_vb_optimised import bnmf_vb_optimised from BNMTF.c...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
4eff0fd515d88525ed27929659bd4f5416c8a937
0181ec7a90e4e5955c88751f7ef7ab0dbbb21203
/parser.py
cc5701698b239f2659b835cfd3032656d4c417a0
[]
no_license
rizel/gyle
fa7d490fc587bddc0688bd02ff2cd25e4e4504b3
e32ad8c7ba8b5c011f25c837f0bb378d9db110bf
refs/heads/master
2023-06-13T08:11:22.627707
2021-07-11T22:56:33
2021-07-11T22:56:33
383,124,195
2
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
import json from pprint import pprint from configuration import OUTPUT_FILE, INTERESTING_JOB_TITLES from global_variables import * def parse_informational_data(): global skipped_employees, processed_employees global argyle_countries, argyle_languages, argyle_interesting_facts json_content = None with...
[ "rizelita@gmail.com" ]
rizelita@gmail.com
47b9a6bd6f7a0eeeea5383a97b107d05ed17e022
505506f12bf43f8693b95d4b19bc4e0aded8cab0
/agents/runner.py
b42ea639c0ed776070021f875e865efeb36b0840
[ "BSD-3-Clause" ]
permissive
Aubret/gym-minigrid
8be3fe596a0a071af4c504d215655114d4c7bc76
fc622913333da4564a7e3343920ce4415e47c5ab
refs/heads/master
2021-06-06T20:23:48.382545
2021-06-04T12:31:37
2021-06-04T12:31:37
169,751,153
0
0
null
2019-02-08T14:58:54
2019-02-08T14:58:53
null
UTF-8
Python
false
false
5,000
py
import numpy as np from baselines.a2c.utils import discount_with_dones from baselines.common.runners import AbstractEnvRunner #not use this class Runner(AbstractEnvRunner): """ We use this class to generate batches of experiences __init__: - Initialize the runner run(): - Make a mini batch of...
[ "lalumiere3@hotmail.fr" ]
lalumiere3@hotmail.fr
b335b27973d0716c0d68c2be7d60cf3fe2f5edf8
87270a041c6acb4d0a8926fef53d73259a59011c
/examen2CDI.py
5f995d46bcb6d230e3eb486016f13fb83485c10e
[]
no_license
marcazu/CDI-FIB
c83b16ccbcde5bc40833cdba6b3dcdabac07f6c3
c5df3c5279437d992877bd535d361bda312cecac
refs/heads/main
2023-01-06T10:58:25.281409
2020-11-15T18:38:08
2020-11-15T18:38:08
313,098,325
0
0
null
null
null
null
UTF-8
Python
false
false
7,023
py
# -*- coding: utf-8 -*- """ Created on Tue May 26 17:53:30 2020 @author: Marc """ import numpy as np from scipy import misc from math import sqrt,log2,log import matplotlib.pyplot as plt from PIL import Image import pywt "-----------------EXERCICI PREFIJO-----------------" def prefix_code(lst): output = [] ...
[ "95marc@gmail.com" ]
95marc@gmail.com
2cb62f842ce83e502bbe612b698ba73756afc2e2
a4571dd0b2ebb0f3c50a540355910d502796ea6a
/EX - 79.py
b45ee0bd62eb1934035ac3e1b7cbf14cd3fc653c
[]
no_license
Eduflutter/EXE_python
bf2f3d881e97e75a70505635b483fda642f5f6c7
acc38dabf3d8b694fbe674c54e283cf55a5578d8
refs/heads/master
2023-05-01T14:59:30.839428
2020-10-02T17:31:23
2020-10-02T17:31:23
366,124,391
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
''' Crie um progrma onde o usário possa digitar vários valores numéricos e cadrastre-os em uma lista.Caso o número já axista lá dentro, ele não será adicionado.No final, serão exibidos todos os valores únicos digitados, em ordem crescente. ''' print('\33c') print('\33[1;34m-\33[1;33m'*40) print(f'\33[1;32m{":":<0}\33[...
[ "eduoliveira3939@gmail.com" ]
eduoliveira3939@gmail.com
dda125c8083666e799a4bccbfac1e27a51202a18
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/ec_13284-2532/sdB_EC_13284-2532_lc.py
dfa44dd24cbfe5cc7255aa0893f9c5a3ba440b9b
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[202.803875,-25.791181], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_EC_13284-2532 /sdB_EC_13284-2532_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if _...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
d2fd857768b784b5d412fcfde44b925623531940
62d2d16c3042c4c3737f02a7b0a5a23961fc3bc3
/exers/notas.py
1b0fb4137568709465ba2b6ed78b072308c164be
[]
no_license
Jose-Humberto-07/pythonFaculdade
9e3d196a2b27ed34b182519db7f0e0b0a3ac6be2
e7a03cca421c8656b3169dfc8fe5ac5973e21176
refs/heads/main
2023-05-26T05:03:19.838093
2021-06-03T00:53:22
2021-06-03T00:53:22
369,333,671
0
0
null
null
null
null
UTF-8
Python
false
false
827
py
#funcao def media(ap1, ap2): m = (ap1 + ap2) / 2 return m nome = [] ap1 = [] ap2 = [] print("===============controle de notas=============") #=[0,1,2,3,4,5] for c in range(3): print("Qual o nome do ",(c+1),"° aluno? ") nome.append(input()) print("Qual a nota AP1 do " + nom...
[ "jhpnascimento96@gmail.com" ]
jhpnascimento96@gmail.com
225d48e80f10f03bb995d8fb1ba7892453a63f12
3a3529f566957d8d79afc7d1ebe533fba239ab7c
/forum/urls.py
3af8ed2a2bc3f64f573748ac7ea101fcff412b82
[]
no_license
zhufree/sample
9dc4f3aef86322487b9f252163d8b17937651ee7
ba765b5e0a91e53d179f3593c0578a31e2bddfd8
refs/heads/master
2021-10-28T18:49:27.091127
2021-10-21T02:06:35
2021-10-21T02:06:35
41,006,994
30
5
null
null
null
null
UTF-8
Python
false
false
266
py
__author__ = 'zhufree' from django.conf.urls import url from .views import * urlpatterns = [ # Examples: url(r'^$', index), url(r'^p/(?P<id>\d+)/$', single_post), url(r'^topic/(?P<id>\d+)/$', show_topic), url(r'^post/$', post), ]
[ "zhufree2013@gmail.com" ]
zhufree2013@gmail.com
94849937d8f7341ee3a6c4ea309d665c8ed58ae7
8d1351a226efbe70d4bffa7f185e74b9fe49827e
/app/registerData/registerConform.py
460e328c7178f6ce1647295140a13e2960b3f5b2
[]
no_license
heojoon/flaskdemo
3a0afb2594e736b4774ff4c6f6a3c4a4dad73489
9fc1fd317e37c35495a9fcf421cc78787ab31229
refs/heads/main
2023-04-05T05:46:47.244706
2021-04-17T13:04:03
2021-04-17T13:04:03
357,064,693
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# file name : registerConform.py # pwd : /project_name/app/registerData/registerConform.py from flask import Blueprint, request, render_template, flash, redirect, url_for from flask import current_app as app from app.module import forms registerData = Blueprint('registerData', __name__, url_prefix='/register') #@re...
[ "heojoon48@gmail.com" ]
heojoon48@gmail.com
b6797ce0808d55a048fdb5f8ef31e878e2ee688e
c637f95bb4fdd6fcf5e0ee2b8a7ea59f915ebc13
/Red Team/cobaltsrike-notif-beacon/telegram.py
6784631dfb91f0d412b586b7c97998db51fbdd83
[]
no_license
Crj0b/Pentest
e9bbfcc82122176ad0ae9c27961376b33fe76e94
a893c3cbd4d34dcb70cb12430dc33558208f3c2b
refs/heads/master
2023-03-17T10:45:31.035452
2019-06-30T18:23:19
2019-06-30T18:23:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
#! /usr/bin/env python3 import argparse import telepot import socket chat_id = 'xxx' #userID bot = telepot.Bot('xxxxxxxx') #token telegram parser = argparse.ArgumentParser(description='Beacon Info') parser.add_argument('--computername') parser.add_argument('--internalip') parser.add_argument('--username') args = pars...
[ "rahmat.hadi@tiket.com" ]
rahmat.hadi@tiket.com
d9bdb178ecc13cd0d02f628d51c3fc104d950945
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/puzzles/power_of_three.py
0c90784597ced25c72515a818f2ab265938bf1d4
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
862
py
# https://leetcode.com/problems/power-of-three/ """ Given an integer n, return true if it is a power of three. Otherwise, return false. An integer n is a power of three, if there exists an integer x such that n == 3x. Example 1: Input: n = 27 Output: true Example 2: Input: n = 0 Output: false Example 3: Input: n = ...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
6dd96a9c6db1009bb2305040395a722405b07ba1
e877a3761f4f6ceefc361eee30844e82ca4155b1
/testing/models.py
2a1cae72ade8df75fec16b47e780c9480994b4d6
[]
no_license
AlexSilva18/StatikA
a24b2d54b63b7038188310fe56adddb3dbba2a8b
7b5791ff1055d7e4fa25fc249930d5beb2b58a1e
refs/heads/master
2021-01-01T15:54:25.604198
2017-08-10T18:25:54
2017-08-10T18:25:54
97,729,746
0
1
null
2017-07-27T16:10:16
2017-07-19T15:02:14
HTML
UTF-8
Python
false
false
325
py
from django.db import models class Testing(models.Model): title = models.CharField(max_length=255) test_description = models.TextField(blank=True, default='') def __str__(self): return '{}: {}'.format(self.title, self.test_description) def get_absolute_url(self): return print("Hello...
[ "alex.rsilva18@gmail.com" ]
alex.rsilva18@gmail.com
799ae55b2b7a4557348b168f0a3fc74d923f5fd4
2cd0a84aefb8a7141d1c8da99845a8ada0cc009c
/tensorflow/python/ops/rnn_cell.py
9aa2314e5e65b02c0d4f7ee1661b77200ea50ef1
[ "Apache-2.0" ]
permissive
hholst80/tensorflow-old
d466cee96eac717524ab8e4ee85275ce28bb5d68
79df325975402e03df89747947ff5b7f18407c52
refs/heads/master
2022-12-20T22:07:40.427519
2016-05-13T09:57:24
2016-05-13T09:57:24
58,914,336
1
1
Apache-2.0
2022-12-09T21:52:14
2016-05-16T08:00:04
C++
UTF-8
Python
false
false
26,838
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "henrik.holst@frostbite.com" ]
henrik.holst@frostbite.com
86e15099b852b3ba1d7f58082cd64ac62fd06500
74b8a63615281a74a3646c9a03928bea60c3c6f3
/pymccrgb/tests/context.py
25bf269f3088eab6a0e29d1b098ee1e77eea81e9
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
lswsyx/pymccrgb
8d3df8200633b9b9918b8d7ec7ee84baa49750c6
dc8ad2e46cbe6ff8081c32fa11bce68f869baafa
refs/heads/master
2023-02-23T20:38:14.727935
2020-08-06T21:18:05
2020-08-06T21:18:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../.."))) import pymccrgb
[ "robertmsare@gmail.com" ]
robertmsare@gmail.com
88d6df365f47a253326935bb8fac400997ba4126
702339cb0a4d0a1f7f01705107d77a4950e6f91d
/Snakefile
be70350f3631faa16423080dcb37b1e6daa5c0c2
[ "MIT" ]
permissive
hans-vg/snakemake_guppy_basecall
a2c2ad9f9da779f8ce7556fcdf0700f7db7be37c
76c1a08e2c553a8976108397d292203a1796b81e
refs/heads/main
2023-08-05T09:45:00.360836
2021-09-08T22:39:18
2021-09-08T22:39:18
400,228,888
0
1
null
null
null
null
UTF-8
Python
false
false
3,052
import glob configfile: "config.yaml" inputdirectory=config["directory"] SAMPLES, = glob_wildcards(inputdirectory+"/{sample}.fast5", followlinks=True) print(SAMPLES) wildcard_constraints: sample="\w+\d+_\w+_\w+\d+_.+_\d" ##### target rules ##### rule all: input: expand("basecall/{sample}/sequencing...
[ "hvasquezgross@unr.edu" ]
hvasquezgross@unr.edu
360e98c144781868bcbc8c5a13d5f42085348077
066d05a826430a05fc1c333bd988ef702a8ed364
/lesson3/ex4.py
9835c43e2cca47438c789a51671c6be04f77085c
[]
no_license
se7entyse7en/learning-tensorflow
4a5693ea49cd5a88add241301b565d672f28a318
1377739d54998c773e90b30dd57f3a407e19e245
refs/heads/master
2021-01-12T15:26:34.812952
2016-11-10T22:02:25
2016-11-10T22:02:25
71,783,274
1
1
null
2019-05-11T23:24:10
2016-10-24T11:45:52
Jupyter Notebook
UTF-8
Python
false
false
853
py
import matplotlib.image as mpimg import matplotlib.pyplot as plt import numpy as np import tensorflow as tf filename = 'MarshOrchid.jpg' image = mpimg.imread(filename) x = tf.Variable(image, name='x') model = tf.initialize_all_variables() with tf.Session() as session: session.run(model) shape = tf.shape(x)...
[ "loumarvincaraig@gmail.com" ]
loumarvincaraig@gmail.com
9f59f49f87adf975eba07fe96fc5a30a73485cc8
fc678a0a5ede80f593a29ea8f43911236ed1b862
/77-Combinations.py
91ae53a9008ceabe92c1973817d59e67f8a8c2c3
[]
no_license
dq-code/leetcode
4be0b1b154f8467aa0c07e08b5e0b6bd93863e62
14dcf9029486283b5e4685d95ebfe9979ade03c3
refs/heads/master
2020-12-13T15:57:30.171516
2017-11-07T17:43:19
2017-11-07T17:43:19
35,846,262
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
class Solution(object): def combine(self, n, k): """ :type n: int :type k: int :rtype: List[List[int]] """ def helper(comb, start, k): if k == 0: res.append(comb) return for i in range(start, n + 1): ...
[ "qiandeng@Qians-iMac.local" ]
qiandeng@Qians-iMac.local
077349d5fcd423d4c28bef9cf4945a2d36546d58
0b36cff195d540e96f50f87c2b984235d958905c
/input_file_with_xy.py
112ea05be72c8c61be1a1e99aa0d8f2640760816
[]
no_license
JeanLouis1606/premiers_scripts_python
a41adea7b5c6d01c3d7538e2e3039e034bd15f4b
c0b348f736990900ff5596e295a350265ecf1741
refs/heads/master
2020-08-02T07:03:57.755530
2019-09-27T14:10:07
2019-09-27T14:10:07
211,271,144
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
with open("/usr/share/dict/words") as inputfile: for line in inputfile: if len(line)<15: if (line[0] == 'x' and line[1] == 'y'): line = line.strip() print(line)
[ "jeanlouisfuccellaro@MacBook-Pro-de-jl-2.local" ]
jeanlouisfuccellaro@MacBook-Pro-de-jl-2.local
bb9b8448866a42aee485331c76d2d094853127b4
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_231/ch22_2020_06_20_19_00_14_584797.py
bd79702d66dbec13e717be885a2a86143f73ec2b
[]
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
125
py
c= int(input('quantos cigarros vc fuma por dia?')) a= int(input('ha quantos anos?')) t= ((10*c*a*365)/1440) print(t)
[ "you@example.com" ]
you@example.com
ffed5598e099bdd416d547810817ad878dfc91b7
1ad482ad03c0241cc39067c47d5b046dd8371fa9
/core/migrations/0009_auto_20210319_2041.py
7333b546d4720a4839edcd38dc03bc34a4667bec
[]
no_license
momentum-team-7/django-habit-tracker-drehan7
aa421911434d0d548de232cb2f12f4ac11ddf509
471950de16de47fea0a020809e98d5f8abdaceb1
refs/heads/main
2023-03-31T11:33:00.586816
2021-03-27T18:55:27
2021-03-27T18:55:27
348,402,252
0
0
null
2021-03-22T15:49:06
2021-03-16T15:39:35
JavaScript
UTF-8
Python
false
false
506
py
# Generated by Django 3.1.7 on 2021-03-19 20:41 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20210319_2019'), ] operations = [ migrations.AlterField( ...
[ "d.rehan7@gmail.com" ]
d.rehan7@gmail.com
1ba71e9765761905566094b0343c991430cf2236
2bcbd13a1d91ada88ec490de767f7e4cb01d6232
/reading file.py
b48a01dd7da758360e07d7f6b2906043fae49ec3
[]
no_license
Naveen131298/hackertest
406484933418489940ebb305700f16d8f39aa685
5b5a34ba6f779b564279248ce73f3a2a58e89f57
refs/heads/master
2020-12-05T22:30:35.424802
2020-10-11T18:16:02
2020-10-11T18:16:02
232,261,603
0
1
null
2020-10-11T18:16:03
2020-01-07T06:50:13
Python
UTF-8
Python
false
false
215
py
import os import glob def read_pdf(path): for pdf_file in glob.glob(path + '/*.pdf'): print(pdf_file) pdf_location = os.path.join(os.getcwd()) read_pdf(pdf_location) print(os.path.join(os.getcwd()))
[ "naveenmurugan72@gmail.com" ]
naveenmurugan72@gmail.com
c8327228eb9f84c7971a01151d5d026d74f669aa
929d9121a74f3167e620bf4f2c9073f84e57d422
/mysite/mainapp/forms.py
b7cb0e2cd653d5d80b50e5bea1012688afae1a98
[]
no_license
zoriana-melnyk/HealthyEating
f7c91caa82830c112ca132fef6d172d867eb3868
4fea7ab1e7a5a8438c9d57288dd3c294a4a06bff
refs/heads/master
2023-04-21T07:54:56.288872
2021-05-11T22:29:24
2021-05-11T22:29:24
333,217,246
0
0
null
2021-05-11T22:29:25
2021-01-26T21:05:50
Python
UTF-8
Python
false
false
302
py
from django.forms import ModelForm from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User class CreateUserForm(UserCreationForm): class Meta: model = User fields = ['username', 'email', 'password1', 'password2']
[ "48826458+zoriana-melnyk@users.noreply.github.com" ]
48826458+zoriana-melnyk@users.noreply.github.com
0e9d83f11f89926b5b0ac3d2b057dcf7f4fed023
4817b6eea29d9d952ef91899efee23becd741757
/ryu/app/network_awareness3/shortest_forwarding.py
b60beb9a8db1ce446fdc203f2b65f082d326ae88
[ "Apache-2.0" ]
permissive
zspcchinu/Optimal-routing-using-RL-with-SDN
153eec7aae93e852278e02e4bac39a6fa9be4a8a
b7993c7f328ab6bafdcb6dab56f4ecd83ef0fe14
refs/heads/master
2022-06-17T21:26:41.293024
2020-05-17T03:42:16
2020-05-17T03:42:16
264,542,516
15
3
null
null
null
null
UTF-8
Python
false
false
14,357
py
from __future__ import absolute_import # Copyright (C) 2016 Li Cheng at Beijing University of Posts # and Telecommunications. www.muzixing.com # # 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 ...
[ "chithambaram.singaravelupoonkodi@sjsu.edu" ]
chithambaram.singaravelupoonkodi@sjsu.edu
566fdde94b7a27a1ac308ac870b09e58209d60fc
2827d7a837eb29c3cb07793ab6d3d5a753e18669
/alipay/aop/api/request/AlipayMarketingCampaignDiscountBudgetAppendRequest.py
3e1af80821fc15b93a0a4328c878c0180e7b136d
[ "Apache-2.0" ]
permissive
shaobenbin/alipay-sdk-python
22e809b8f5096bec57d2bb25414f64bdc87fa8b3
5232ad74dff2e8a6e0e7646ab3318feefa07a37d
refs/heads/master
2020-03-21T04:51:39.935692
2018-06-21T07:03:31
2018-06-21T07:03:31
138,131,022
0
0
null
2018-06-21T06:50:24
2018-06-21T06:50:24
null
UTF-8
Python
false
false
4,058
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.FileItem import FileItem from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.AlipayMarketingCampaignDiscountBudgetAppendModel import AlipayMarketingCampaignDiscountBudgetAppendModel class AlipayMarketingCampai...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
04543567fbdf013acee68970b2130008939f9517
29ff0f91f49117d214f6f776b59a2769ad5b38d5
/tests/test_adapters.py
e260ecfa2d316ea75354eb7e2626740e65f0aa78
[ "MIT" ]
permissive
caioraposo/uceasy
5f770595f99e847cff75a99f82cb78196857f981
921103f64c69c31aa6fc05fdf474c17a575a5525
refs/heads/master
2021-03-13T10:17:26.033997
2020-04-13T19:37:49
2020-04-13T19:37:49
246,669,260
0
0
MIT
2020-03-11T20:05:53
2020-03-11T20:05:53
null
UTF-8
Python
false
false
494
py
from uceasy.adapters import ADAPTERS def test_illumiprocessor_help(): cmd = ADAPTERS["illumiprocessor"](["--help"], capture_output=True) assert "usage: illumiprocessor" in cmd[0] def test_trinity_help(): cmd = ADAPTERS["trinity"](["--help"], capture_output=True) assert "usage: phyluce_assembly_assem...
[ "caioraposo@protonmail.com" ]
caioraposo@protonmail.com
f44f7184c5e26e6031fc36a3813d8d0f6e48eb80
8e2474e41b37a54774610fa7519d6000d8fb01d8
/application/migrations/0004_auto_20170417_2205.py
c3402c87417ffe72d634a2f5884ff0600c1a7637
[]
no_license
dezdem0na/make-an-appointment
446548b911b6f8960e6afee204a5be2f0a519329
1695f4544c668c84ba02b3723ff2925b74c2f8e3
refs/heads/master
2021-01-19T23:16:23.506988
2017-04-23T12:58:45
2017-04-23T12:58:45
88,956,076
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2017-04-17 19:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('application', '0003_auto_20170417_2204'), ] operations = [ migrations.AlterFi...
[ "natalie.reshetnikova@gmail.com" ]
natalie.reshetnikova@gmail.com
c39a87caae3620cf991bb70f79a8ef12cfc44fbe
7fda36e97edc2fbcf8ad2fc01ea070f881e756d2
/tuts100_exercise11.py
cb42f99394e09547e422659a6eb8794f6e8a0eee
[]
no_license
RashadGhzi/My-Repository
6b386521cea3b40ce0be065ca53b2bd633b36197
91f5897bdfb869a0d30f49693b87ed1244488e3d
refs/heads/main
2023-08-16T07:34:24.357667
2021-10-12T11:44:46
2021-10-12T11:44:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
import re str = '''Email: northamerica@tata.com email = rashadarsh78@gmail.com priya@yahoo.com email = meeting @2pm Website: www.northamerica.tata.com shubhamg199630@gmail.com harrygoodboy@gamil.com Directions: View map fass indian no. +91 5588-940010 harry bhai lekin indian no. ++91 5588-000000''' item = re.compile(...
[ "rashadarsh0@gmail.com" ]
rashadarsh0@gmail.com
ed3cb703c2428ed63dfa7f758269be8f2bb0a7af
885c1cab7931d010b6711af652c9a79e2f7490c2
/MyDjangoProjects/mydjangosite/mydjangosite/wsgi.py
a5dfbab0db7f5cb9860a1848e33e3de5a5df1a1b
[]
no_license
shreyash14s/Manjo
3f1c11f7234cd12783c5e60a05cbf3f5ae9ca21d
b0ea4e3ef31d7853a8288e06a84bf556c4908d63
refs/heads/master
2021-01-17T21:56:38.905412
2015-08-15T17:45:39
2015-08-15T17:45:39
40,665,170
0
1
null
2015-08-13T15:05:27
2015-08-13T15:05:27
null
UTF-8
Python
false
false
401
py
""" WSGI config for mydjangosite project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "sanjay.india96@gmail.com" ]
sanjay.india96@gmail.com
47a5f7dac1c21ccd1fd6d4200b4a2068c776886a
a28946f264ebb2648b6e31f709d5bdf845bf0b50
/lyrics.py
dd21c6cbdc825e9feddcc055895f4296128f90e2
[ "MIT" ]
permissive
py-paulo/lyrics
e6be77132a353000b939941ea751c19534b0068e
9bc1596fa9acc423aedace747ddb2e2339258331
refs/heads/master
2023-04-07T10:21:22.899483
2021-04-08T10:39:39
2021-04-08T10:39:39
354,976,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
import urllib.request from bs4 import BeautifulSoup uri_base = 'http://www.google.com/search?q=' artist = 'Milton Nascimento' music = 'Clube da Esquina n 2' query_quote = ('%s %s letra' % (artist, music)).replace(' ', '+') req = urllib.request.Request(uri_base+query_quote, headers={ 'accept': 'text/html,applic...
[ "paulo.rb.beserra@gmail.com" ]
paulo.rb.beserra@gmail.com
c9580567614da5bed9f9c744137f3d463eb77515
dac7d0abff54dbeb9e6587f17866a34b5e7f3948
/Cobbity/compare.py
ec3b6cf07d175832a7fb04e914de1c0c894bf84c
[]
no_license
KipCrossing/EMI_Field
5665aba5ff5fbf4a4d42fc9b3efc9aa3b3f51eea
e52142648388a25d26f682986c586cd1827e31e0
refs/heads/master
2020-05-22T12:37:42.892290
2019-09-12T01:27:24
2019-09-12T01:27:24
186,342,788
0
0
null
null
null
null
UTF-8
Python
false
false
1,487
py
import pandas as pd df_OpenEM = pd.read_csv("~/Cobbity/Output/Smooth_C2_OpenEM.xyz", header=None, delimiter=r"\s+") df_DUALEM = pd.read_csv("~/Cobbity/Output/Smooth_C2_DUALEM.xyz", header=None, delimiter=r"\s+") print(df_OpenEM.head()) print(df_DUALEM.head()) New_OpenEM_readings = [] New_OpenEM_lon = [] New_OpenEM_la...
[ "kip.crossing@gmail.com" ]
kip.crossing@gmail.com
f2a5384d6168682cc2ed2c5a6b873ece4666dcf3
417c3cceaa1e010c7747db4e9ea4ffabfff92732
/learning_user/basic_app/views.py
dcdc631b7e9fae41fb151a10f7f520363b17169b
[]
no_license
ibukun-brain/django-deployment-example
ef54c2a26153026c68986fc41d53725fdb52743a
b984426f7108a40f15ba5cc3dbdd86f3b93fa298
refs/heads/master
2023-05-31T21:21:55.624611
2021-07-04T05:29:44
2021-07-04T05:29:44
382,760,477
0
1
null
null
null
null
UTF-8
Python
false
false
2,341
py
from django.shortcuts import render from basic_app.forms import UserInfoForm, UserProfileInfoForm from django.contrib.auth import authenticate, login, logout from django.http import HttpResponseRedirect, HttpResponse from django.urls import reverse from django.contrib.auth.decorators import login_required # Create you...
[ "ibukunolaifa1984@gmail.com" ]
ibukunolaifa1984@gmail.com
8c093d5bdd4b85a2f36c0adbc7b3a65e995fff87
ecf96ce18d8c1bfc20b667f2bd2050dbf4286fb7
/weights.py
0729d7f47c0b1130a2ba5b4be4d84b925acf9bcb
[]
no_license
wiktoraleksanderkaczor/PyNN
900ab16df0dedec9591193c6527e595c47d36bf0
9cd594be39f6e62ab095595cdf956282b2bf88fc
refs/heads/master
2021-08-19T11:39:11.097391
2021-06-11T01:02:20
2021-06-11T01:02:20
158,038,948
2
0
null
null
null
null
UTF-8
Python
false
false
1,530
py
# Module: weights.py # Definition of some useful weight initialization functions. import numpy as np np.random.seed(123) def random_init(num_prev_neurons, precision): """ Initializes the weights using a random number generated from a seed. Args: num_prev_neurons (int): The number ...
[ "wiktoraleksanderkaczor@gmail.com" ]
wiktoraleksanderkaczor@gmail.com
97a1c88e30cf7f7e198ab1dfadc80c3db447a9ba
1a324f9aefc9cc6f858effea02501f0885611c28
/search_engine_demo/googlesearch/urls.py
5b1087f1554c44a6d214a1fd5274cc1b42dc6ba4
[]
no_license
AmamiRena/py
72c55180209b1c18a5484fa37f4b4d6abac746f9
0f9f3b05fed09b2fff329a103426dde718f798cf
refs/heads/master
2021-10-25T17:30:19.419609
2021-10-22T01:26:08
2021-10-22T01:26:08
143,627,993
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.urls import path from .views import * urlpatterns = [ path('', index), path('search', SearchView.as_view(), name="google-search-view") ]
[ "mayuzumi159@gmail.com" ]
mayuzumi159@gmail.com