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
44931ba564f7deaf02d0a94267264fb6b8edf874
87f4634d4a5a3287871765f77cabd2dcc37284a3
/setup.py
7c0f5314842f8a754ee3727381e78c8e3a2a20d6
[]
no_license
yangyushi/yaggie
2792a8ca61b4093ff2d80c5493f9f6d9e47ddc50
1cb928a014e8393e5852d20a4b8df76f9206f28b
refs/heads/master
2021-03-24T13:19:37.060445
2019-08-28T13:37:07
2019-08-28T13:37:07
117,542,208
1
0
null
null
null
null
UTF-8
Python
false
false
335
py
from distutils.core import setup setup(name='yaggie', version='0.1', packages=['yaggie', 'yaggie.engine', 'yaggie.engine.colloids', 'yaggie.engine.mytrack'], py_modules=['yaggie.analysis', 'yaggie.render', 'yaggie.uti...
[ "yangyushi1992@icloud.com" ]
yangyushi1992@icloud.com
c1a6112f2cab90786e3b5cd0ded693d7946074e3
14ac1cd2a1e1d5366ef06e26fadc3d34ff5d5fad
/apps/news/forms.py
3c43fc6e77f7b85acd06118b3639b0741797dfa8
[]
no_license
wangdawei0515/django_project
1c5b2384eaab112cf65da032ed3d5fccd7e27c70
7834237a8c19b4b854e8450e2d64458a17584d36
refs/heads/master
2020-03-24T02:50:46.708396
2018-07-29T14:31:21
2018-07-29T14:31:21
140,164,573
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
#encoding: utf-8 from django import forms from apps.forms import FormMixin class AddCommentForm(forms.Form,FormMixin): # 在表单中,CharField和TextField唯一的区别 # 就是在表单渲染成模板的时候会有区别。 # CharField会被渲染成Input标签 # TextField会被渲染成Textarea content = forms.CharField() news_id = forms.IntegerField()
[ "wangdawei_@outlook.com" ]
wangdawei_@outlook.com
7b758e318532e9262ef0816f41982476f0035b5c
265a903707573862c5f786dff014c276d2560407
/exercise54.py
16c0b6cc017a726cbfbcb2308293522706142d34
[]
no_license
kailichama/dev-sprint1
877a4855dfee8c2eb65e97a859b5139cbef42e7f
56086d8b96ca44f4bd254b13dc4543e05fd83d4d
refs/heads/master
2021-01-15T21:43:56.323504
2013-05-01T15:54:24
2013-05-01T15:54:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
# This is where Exercise 5.4 goes # Name: Kelly Chiang def is_triangle(a, b, c): if a + b < c: print "no" if a + c < b: print "no" if b + c < a: print "no" else: print "yes" is_triangle(29, 11, 12) is_triangle(10, 11, 12)
[ "chiang.kellymimi@gmail.com" ]
chiang.kellymimi@gmail.com
6497fdc892b607d8e24d743723cfcec4d261b1f9
259cc507d97bfeff84d21de3a0ab56640676a9eb
/venv1/Lib/site-packages/tensorflow/contrib/gan/python/eval/python/sliced_wasserstein_impl.py
7b2c9927975fe036db777a8f6ded43cb2aa7ca72
[ "MIT", "Apache-2.0" ]
permissive
Soum-Soum/Tensorflow_Face_Finder
c3ef71b6f718f6720b80f8760d28b6ca6e11e6d2
fec6c15d2df7012608511ad87f4b55731bf99478
refs/heads/master
2020-03-22T20:31:39.606644
2018-07-12T13:47:56
2018-07-12T13:47:56
140,607,068
0
0
null
null
null
null
UTF-8
Python
false
false
11,341
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "pes.carceller@gmail.com" ]
pes.carceller@gmail.com
be63af58864e0d9a3c0117f2cb0652068ab7729d
7fdef65f58dbe5ce5a0a660e3f7db9a7a215c17e
/ldif/torch/sif_test.py
0c4f6be9a869f522ade976a6eb9591dab6439862
[ "Apache-2.0" ]
permissive
hpp340/ldif
e7c73fbc6b6bcbded6192418eff1a5e5b88b545e
ed5bcaa10bf1614f148b94d6b9bdad248b8ccf48
refs/heads/master
2022-11-27T19:44:47.923034
2020-08-08T01:08:21
2020-08-08T01:08:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,814
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "kgenova@princeton.edu" ]
kgenova@princeton.edu
124795f3a26f9782d34d258bac83edde79ca6dab
76c70ae75cef1ec0e97859e52fbae406d9e6c9db
/ESOP/settings.py
447a2e66883792a24e7eefd677acc81a9368ab06
[]
no_license
Abhinavjha07/ESOP
57ff9eca47baff8bd74d73c29dcd9f7d8a1f6ef7
1894c07dee0a6abb8570e35037858cebf87eeaef
refs/heads/master
2022-12-11T01:23:32.176067
2020-01-21T05:41:36
2020-01-21T05:41:36
182,563,392
0
0
null
null
null
null
UTF-8
Python
false
false
3,248
py
""" Django settings for ESOP project. Generated by 'django-admin startproject' using Django 2.1.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ imp...
[ "jhaabhinav1998@gmail.com" ]
jhaabhinav1998@gmail.com
75af3c206ddd4f8e25574cabd71067f19214176c
4170ed62059b6898cc8914e7f23744234fc2f637
/CD zum Buch "Einstieg in Python"/Programmbeispiele/GUI/gui_check.py
5f2ffb98025c0f74ac7ab1c38d5a0295e3aeec43
[]
no_license
Kirchenprogrammierer/Cheats
9633debd31ab1df78dc639d1aef90d3ac4c1f069
0b71c150f48ad1f16d7b47a8532b1f94d26e148e
refs/heads/master
2021-05-08T10:42:39.927811
2018-02-01T17:29:11
2018-02-01T17:29:11
119,858,392
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
import tkinter def ende(): main.destroy() def anzeigen(): lb["text"] = "Zimmer " + du.get() + " " + mb.get() main = tkinter.Tk() # Anzeigelabel lb = tkinter.Label(main, text = "Zimmer ", width=40) lb.pack() # Widget-Variablen du = tkinter.StringVar() du.set("ohne Dusche") mb = tkinter.Stri...
[ "noreply@github.com" ]
Kirchenprogrammierer.noreply@github.com
ef84877ff5bc598bf1ca12ec0dd579f441b351b3
328a69af8c40cad52274edfda118cc8d3926e74f
/tests/conftest.py
8784801df4b408468d64b1f8422f4cdce7b0f508
[ "MIT" ]
permissive
hydrogen602/settlersPy
49c1ed6b41660606bdab7e6c24889ab72fa56c97
5a1df6162d35b6ae9eeefd11c9a0a9ba7a19019c
refs/heads/master
2022-12-01T23:46:17.633117
2020-08-15T14:57:17
2020-08-15T14:57:17
247,985,767
0
0
null
null
null
null
UTF-8
Python
false
false
2,224
py
# content of conftest.py # https://docs.pytest.org/en/latest/example/simple.html from typing import Dict, Tuple import pytest # store history of failures per test class name and per index in parametrize (if parametrize used) _test_failed_incremental: Dict[str, Dict[Tuple[int, ...], str]] = {} def pytest_runtest_ma...
[ "32135041+hydrogen602@users.noreply.github.com" ]
32135041+hydrogen602@users.noreply.github.com
d2ef8b0ff9076684e5a93e502c80273ff56384c2
c5fe83f61f96a5997a46799005f87a7eb2e75582
/versione_senza_encoder/system_conf.py
07e169c398fc69eacd05a4f37afd66fcda8780a0
[]
no_license
Elena-Umili/RL-Planning-Robots
0d4c7e43b4b721ce2378a0ecf81c311707a390b0
523ac1da5bd7e03048c35053436729be9e92455c
refs/heads/master
2023-04-06T16:28:45.537739
2021-04-01T09:23:11
2021-04-01T09:23:11
329,588,877
1
0
null
null
null
null
UTF-8
Python
false
false
271
py
##################### ACROBOT STATE_SIZE = 3 INPUT_SIZE = STATE_SIZE ACTION_SIZE = 3 CODE_SIZE = 200 DISCRETE_CODES = False REW_THRE = 2000 WINDOW = 20 MODELS_DIR = "models/acrobot/" Q_HIDDEN_NODES = 256 BATCH_SIZE = 64 MARGIN = 1 / CODE_SIZE PREDICT_CERTAINTY = False
[ "ema.antonioni@gmail.com" ]
ema.antonioni@gmail.com
d932abbee00bae52a08077fa165348144d5dab19
92bce619c4fccc60601ab613b6b87e6eb336c9c8
/Python/contrast.py
323b30409248e5a0fb4249d55212c7f3551ab1c2
[]
no_license
nealbayya/Dehaze
152373f6b44a099bb4dadb5259050fe96f16af28
a13ae01a26864e4b944154f2177b1604a644bdba
refs/heads/master
2020-06-18T11:25:07.677255
2019-07-10T22:45:57
2019-07-10T22:45:57
196,284,750
2
0
null
null
null
null
UTF-8
Python
false
false
725
py
import numpy as np import cv2 as cv img = cv.imread('rocks0.jpg', 1) #img = cv.blur(input, (3, 3)) print(img.shape) nimg = np.zeros((img.shape[0], img.shape[1], 3)) T = 20 a = 7 b = 7 h, w, d = img.shape for i in range(h): for j in range(w): avg = np.mean(img[max(0, i-a):min(h, i+a), max(0, j-b):min(w, j+...
[ "gtangg12@gmail.com" ]
gtangg12@gmail.com
5e190cb9273f15764a6e53b5d5f884e17dd9e3b8
9a995cd9312fd343ce9ba44f2d091ff791f76236
/Solver.py
ffab89eaa321a935688e561d554cad1d62b1a929
[]
no_license
sytan98/Sudoku-Generator-Solver
8da9d012b9a3b9e8938b150e1e5bfce66121e7ef
9472355799ab13f17b5cbe3d47afb6cf8c5c9381
refs/heads/master
2021-05-17T13:07:21.107194
2020-03-31T06:00:11
2020-03-31T06:00:11
250,791,052
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
def backtrack(sudokuobj): #base cases if sudokuobj.check_grid(): print("solved") return True #horizontal wise needs to be unique for idx, i in enumerate(sudokuobj.flatlist): if i == 0: for j in range(1,10): row = idx//9 column = idx%9 ...
[ "tan.siyu@dhs.sg" ]
tan.siyu@dhs.sg
d780ebeb1d6e59ceaf5520b60be0ebd357fe4938
970f3b8a80cb941cb72e7ebfbf2199ac75b0f5dc
/app.py
b6a6f937b53946f9fe75aeefee64ade6e5d46ce1
[]
no_license
vincenth520/tusou-python
22c4f00681bf3aed1154dc4e1268c1312a5a567c
c4ab8eedbfa01b3a8b7c83c2b6cc7e3d76085ffd
refs/heads/master
2021-01-19T13:15:27.640132
2017-08-20T04:07:18
2017-08-20T04:07:18
100,837,163
0
0
null
null
null
null
UTF-8
Python
false
false
4,062
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2016-04-07 16:46:00 # @Author : Vincent H (1091986039@qq.com) # @Link : http://luvial.cn # @Version : $Id$ import os,random,json,threading,zipfile,base64,urllib.parse from flask import Flask from flask import request,redirect,url_for,send_from_directory,ma...
[ "1091986039@qq.com" ]
1091986039@qq.com
a414e93bf6a93d7ea9d9d9fafad47934f70567b8
271c7959a39f3d7ff63dddf285004fd5badee4d9
/venv/Lib/site-packages/ncclient/devices/h3c.py
17e98b5a38712d3469fac56fcd86aaac22fcbffa
[ "MIT" ]
permissive
natemellendorf/configpy
b6b01ea4db1f2b9109fd4ddb860e9977316ed964
750da5eaef33cede9f3ef532453d63e507f34a2c
refs/heads/master
2022-12-11T05:22:54.289720
2019-07-22T05:26:09
2019-07-22T05:26:09
176,197,442
4
1
MIT
2022-12-08T02:48:51
2019-03-18T03:24:12
Python
UTF-8
Python
false
false
1,936
py
""" Handler for Huawei device specific information. Note that for proper import, the classname has to be: "<Devicename>DeviceHandler" ...where <Devicename> is something like "Default", "Huawei", etc. All device-specific handlers derive from the DefaultDeviceHandler, which implements the generic information need...
[ "nate.mellendorf@gmail.com" ]
nate.mellendorf@gmail.com
0ba626c1cb0e67582804291760036684180e9aac
3faeae950e361eb818830ad210f30a6232e5d7f1
/wepppy/_scripts/lt_runs_low.py
efdeb5b5aecc5bf4b8561c6458f160bf05309335
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
rogerlew/wepppy
401e6cee524073209a4445c680b43ea0c6102dfc
1af4548d725b918b73ee022f2572a63b5194cce0
refs/heads/master
2023-07-21T12:56:26.979112
2023-07-13T23:26:22
2023-07-13T23:26:22
125,935,882
10
6
NOASSERTION
2023-03-07T20:42:52
2018-03-20T00:01:27
HTML
UTF-8
Python
false
false
46,439
py
import os import shutil from os.path import exists as _exists from pprint import pprint from time import time from time import sleep import wepppy from wepppy.nodb import * from os.path import join as _join from wepppy.wepp.out import TotalWatSed from wepppy.export import arc_export from osgeo import gdal, osr gdal....
[ "rogerlew@gmail.com" ]
rogerlew@gmail.com
f1a703e8a9a0d640da215f4b818d4aa7dc419291
a424323a34a2fc5700d690829752d3e30032a1e6
/routelanta/swagger_client/api/running_races_api.py
36fb88060b123482bbc68d58707be9943f0ffc92
[]
no_license
jackrager/jackrager.github.io
884747803fa44063372efdbf46e36e979474d2fe
50b9b62ca7a7fae6744796c1aa032f16cfad5898
refs/heads/master
2023-03-09T22:08:53.059755
2023-02-20T22:30:23
2023-02-20T22:30:23
228,740,344
0
0
null
null
null
null
UTF-8
Python
false
false
8,501
py
# coding: utf-8 """ Strava API v3 The [Swagger Playground](https://developers.strava.com/playground) is the easiest way to familiarize yourself with the Strava API by submitting HTTP requests and observing the responses before you write any client code. It will show what a response will look like with differe...
[ "noreply@github.com" ]
jackrager.noreply@github.com
165f0ac619c8d4cf21a08ce53f6979e0046631a8
cb42eef9aba4fc1a0dc808aae00e73cd5b44d7c0
/webapp/urls.py
d551ca7b6274835ff783a112707d1685d2c7fcf0
[]
no_license
xintao222/talkcode
9ad997533699698933a3339e2c644be3d827942f
28533b00036b6c0931f44aa63988679f601db502
refs/heads/master
2021-01-22T00:19:32.823257
2011-03-23T22:59:08
2011-03-23T22:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
from django.conf import settings from django.conf.urls.defaults import * from django.contrib.auth.views import login, logout from django.views.generic.simple import direct_to_template from talkcode.views import register, index from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r...
[ "disbeat@gmail.com" ]
disbeat@gmail.com
0c0edac82221a10cdd16bca3b52020df36b734b2
c8dea2ed440fd3f937d96a468ec4e5f1f4fd9de4
/Part Seven/Exp1.py
02fc04a3cdf3ebc560b99cf80d88e84448da205f
[]
no_license
chnlmy/python
1def0414d46f447af61219830598cb26fda7dcab
b1981de93dc8a69c4b93eea782412d4415842121
refs/heads/master
2023-06-20T02:20:41.760800
2020-11-20T08:00:16
2020-11-20T08:00:16
293,464,684
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
linenum = 0 file = open("/Users/liumingyi/github/python/Part Seven/latex.log", 'r') for line in file.readlines(): if len(line) == 1: continue else: linenum = linenum + 1 file.close() print("共{:}行".format(linenum))
[ "chnlmy@gmail.com" ]
chnlmy@gmail.com
1ac0b215a67ef3e113fd1ccf8e1ac0319a3d6200
d3e299214d97149bcb2e10393e9c9ec1a63497b7
/Barnet.py
7d5f07b0a02e734a9779596a67c18194d1170985
[]
no_license
M00-M00/BoroughScrape
68bd9a5729bfaab96a66c89fe9fdee0cf2066c36
36f1ff82547bd9afc56d09e6b9adbee55f7af3e7
refs/heads/master
2023-05-12T03:02:32.275844
2021-06-08T11:25:05
2021-06-08T11:25:05
291,691,221
0
0
null
2020-09-01T19:02:59
2020-08-31T11:01:24
Python
UTF-8
Python
false
false
507
py
import requests from bs4 import BeautifulSoup as bs import csv from Scraper2 import Scraper import json import argparse parser = argparse.ArgumentParser() parser.add_argument('-S', '--Start_Data', help='delimited list input', type=str) parser.add_argument('-E', '--End_Data', type=str) args = parser.parse_args() a = ...
[ "edimchenko@gmail.com" ]
edimchenko@gmail.com
4465a47f36c248e586fd89f8135164aa44745ffb
a2c5591e2c3f362d1cf1cdea0cac492330c43bad
/printre.py
14241c616e1dd6bcf9a7964c655f43a342de354e
[]
no_license
sowmiyavelu17/geet
7b62c975e49f2f7c199882de3db33e71f060b1c4
9f6aaf35712d6da980d8428af8401b8188bae703
refs/heads/master
2020-07-02T04:50:26.525866
2019-08-09T10:53:06
2019-08-09T10:53:06
201,420,814
0
0
null
null
null
null
UTF-8
Python
false
false
90
py
counter = test_str.count('e') print ("Count of e in GeeksforGeeks is : "+ str(counter))
[ "noreply@github.com" ]
sowmiyavelu17.noreply@github.com
119b52b10b3fa591bba1e1f716e73d8db86a9d0b
41c0f6d4dac27558138924c3122a3ca790fd2dea
/set1/test_challenge7.py
409b4bdb27ad783df6f03ff6da8f3d5d47823b51
[]
no_license
kevinmel2000/cryptopals
541f1b20e21461586fe45a8467cdd5fd9cdc828e
0756cd5d2152425b085e81043e3474d6fbb4f0a2
refs/heads/master
2020-03-26T21:01:39.744070
2016-06-07T09:54:48
2016-06-07T09:54:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
''' Challenge 7: AES in ECB mode ''' from set1.challenge7 import * import unittest class Challenge7TestCase(unittest.TestCase): def test_aes_ecb_decrypt(self): from base64 import b64decode ciphertext = b64decode(file('data/data_7.txt').read().replace('\n', '')) key = "YELLOW SUBMARINE" ...
[ "muhammad.abrari@gmail.com" ]
muhammad.abrari@gmail.com
68333b91ab1080bd3102141d3e24622cadc72097
858dfa9bcec66eae9fe4a4008b5c7bf575767efc
/src/metrics/divergences.py
4e0daefa0d69fffab72750702533ffb2b4bea987
[]
no_license
Danial-Alh/TextGenerationEvaluator
766f06f687d8ad5f4e5060aca99425f9cc6820ae
fbad8e35859d9252cd22a8cb04bc42304c2560dd
refs/heads/master
2023-06-24T02:43:58.398691
2020-08-20T19:55:18
2020-08-20T19:55:18
160,636,771
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
# from scipy.special import logsumexp import numpy as np from scipy.misc import logsumexp def logmeanexp(inp): # log(mean(exp(x))) l = inp.shape[0] assert inp.shape == (l,) return logsumexp(inp - np.log(l)) def log1pexp(inp): # log(1 + exp(x)) return np.logaddexp(0., inp) def lndiff(nllp_f...
[ "danial.alihosseini@gmail.com" ]
danial.alihosseini@gmail.com
71d2dd398ee838fa80d1528cb2d96542fb693907
1c596a3d21b0346a46751cbe89cb15cb3cd1177f
/Session1/hw_3.py
0f37040195171df07055acaca280fa3dac097672
[]
no_license
minhphuong1804/truongminhphuong-fundamentals-c4e25
e4449687dd0d6c8484d87100186e1fddf1b877cf
ec630be8ce531308667aa84f35148d11d1d10766
refs/heads/master
2020-04-17T07:44:15.647436
2019-01-18T12:21:03
2019-01-18T12:21:03
166,381,885
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
n = int(input("Enter the temperature in Celcius?")) r = float(n) degree = (r*9/5) + 32 print(n, "(C)", "=", degree, "(F)")
[ "minhphuongtruong1804@gmail.com" ]
minhphuongtruong1804@gmail.com
2ab3fb3795eb30b0dc859566175874912f1f9e7b
c34559f130c5c9eaa8027f768bfe90ef9521a271
/tests/supportkit_tests.py
aab82ca0f44998d95e9cc722b8464bbe3b8d230d
[]
no_license
lemieux/supportkit-python
2675408de6ab7fa79136cf4c63f6d9453cc8120e
7b4b3d29e6a51a3d1a4be64d03811329f5ab505f
refs/heads/master
2021-01-10T08:39:44.440765
2015-10-07T21:19:53
2015-10-07T21:19:53
43,841,977
0
0
null
null
null
null
UTF-8
Python
false
false
159
py
from nose.tools import * import supportkit def setup(): print "SETUP!" def teardown(): print "TEAR DOWN!" def test_basic(): print "I RAN!"
[ "marc@marcantoinelemieux.com" ]
marc@marcantoinelemieux.com
f83ded7bf3caf726e79346e44ecd420f736fa43e
10465a8e4771b221fb1f4a92b804f8f2cf031edf
/server/app/service/job_runner.py
82938c4f7cceab7a81d085557060f64e12a16aef
[ "MIT" ]
permissive
raspihats/EvePnP
fd51ba35ebef2838e87108b617b873254863adc3
2961d759554c38609f0f431c012ea8d38016f347
refs/heads/master
2023-01-24T21:17:42.789363
2019-06-18T11:46:57
2019-06-18T11:46:57
164,684,352
0
0
MIT
2023-01-14T00:16:23
2019-01-08T15:59:56
Python
UTF-8
Python
false
false
9,741
py
import gevent from ..dao import axis_dao, head_dao, feeders_dao, packages_dao from .controllers import controllers_service from .actuators import actuators_service class DictKeysToObjectProps(object): def __init__(self, config): self._config = dict(config) def __getattr__(self, attribute): re...
[ "florin.costa83@gmail.com" ]
florin.costa83@gmail.com
0021af907a58a0843f7c18e83c58a1abb80bf758
83a765b6cfc99b65b4fb317d55f34ce426996fd7
/chp4/bot_v_bot.py
57651c8678c57d719f5c834f4f2e6b10172fd325
[]
no_license
Guyuena/dlgo-deep-learning-and-chess
c9e67ee5ad1675a029fee06cafd64d3cd7ead14f
b051c46d1dda74587000cb228357b175d72f3ee2
refs/heads/main
2023-06-09T15:11:03.125581
2021-07-02T02:37:43
2021-07-02T02:37:43
378,629,721
1
0
null
null
null
null
UTF-8
Python
false
false
937
py
from __future__ import print_function # tag::bot_vs_bot[] from dlgo.agent.navie import RandomBot from dlgo import goboard as goboard from dlgo import gotypes from dlgo.utils import print_board, print_move import time """":argument 机器自对弈脚本 """ def main(): board_size = 9 game = goboard.GameState.new_game(b...
[ "428106418@qq.com" ]
428106418@qq.com
daa0b55e0254d92e20fabdcca8849457341bf5a5
c4422e4e0a5ddf0f3f56d47bb898d5aeff400c79
/miprint.py
5db1f8985609d47de4d9269ecbfad52a9741dbea
[]
no_license
Antoniorg-12/Curso2021
e4bda0e2e7c23427529512f6afbe13a1f5df4a9d
9e68e0b229ddb2eed1e8ea340c7c3c079a94a7a1
refs/heads/main
2023-03-09T05:09:33.483630
2021-02-27T12:44:52
2021-02-27T12:44:52
342,662,006
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
def hola_mundo(): print("hola desde un modulo")
[ "antoniorg.uma@gmail.com" ]
antoniorg.uma@gmail.com
37359538a19f04c13b9e9e200eef0fa7be950791
fd451cb1a829c72ea51a93168eba81a475f983a1
/python/class2.py
d6084276f55b907ea10df3e39e7c64d63f4e80e6
[]
no_license
shapigou123/Programming
e9fd63f509fb2b45ba9792b13092da6aa8abe935
64215eb0f333b583690e32cd9fcce02236713603
refs/heads/master
2021-06-26T02:33:56.623872
2017-09-07T07:12:11
2017-09-07T07:12:11
94,725,535
1
0
null
null
null
null
UTF-8
Python
false
false
2,988
py
#coding=utf-8 ''' class Person(object): def __init__(self, name, gender): self.name = name self.gender = gender class Student(Person): def __init__(self, name, gender, score): super(Student, self).__init__(name, gender) self.score = score def __str__(self): retur...
[ "563594467@qq.com" ]
563594467@qq.com
6ef0f3542476b9b7cd97d7170c181e4a05c7decb
000ed48cae44f7191dba018d7fdd3aa2b1317cb2
/compute/K_clean.py
8ef724d292c30db2bab3ab97d99e36cf02b5159e
[]
no_license
Jinzewang/cqHouseAnalyze
7d80c0ed99cd5e1e0eafa047f7b97265250287f3
d177af6facb6a35bee28a52bd8cb2d420b5edf4d
refs/heads/master
2023-07-17T07:00:19.410059
2021-09-01T08:59:18
2021-09-01T08:59:18
404,224,430
1
2
null
null
null
null
UTF-8
Python
false
false
2,312
py
import pandas as pd import numpy as np import pymysql conn = pymysql.connect(host='10.20.220.203', user='root', passwd='sx2626', port=3306, db='python', charset='utf8') cursot = conn.cursor() # 重庆各区二手房装修情况与单价间关系 cursot.execute("select count(a),sum(UnitPrice),area,Decoration from data_K GROUP BY area,Decoration;") data...
[ "1348754914@qq.com" ]
1348754914@qq.com
5db01072a7b1cfb52cc6a3b3c2a3401cc35537e6
a5103b7d5066138ac1a9aabc273361491a5031cd
/course5/week1/rnn_utils.py
eafeffe54a31969af6913bbe0cbfc4a64948fa29
[]
no_license
mckjzhangxk/deepAI
0fa2f261c7899b850a4ec432b5a387e8c5f13e83
24e60f24b6e442db22507adddd6bf3e2c343c013
refs/heads/master
2022-12-13T18:00:12.839041
2021-06-18T03:01:10
2021-06-18T03:01:10
144,862,423
1
1
null
2022-12-07T23:31:01
2018-08-15T14:19:10
Jupyter Notebook
UTF-8
Python
false
false
3,663
py
import numpy as np def _initial_parameters(n_x,n_a,n_y): params={} params['Waa'] = np.random.randn(n_a,n_a) params['Wax'] = np.random.randn(n_a,n_x) params['ba'] = np.random.randn(n_a,1) params['Wya'] = np.random.randn(n_y,n_a) params['by'] = np.random.randn(n_y,1) return params def _initia...
[ "mckj_zhangxk@163.com" ]
mckj_zhangxk@163.com
e2690fdaa4d677a52afa36499234099fce9dcb9f
e3ac7c428aa5b60e021a9440262320ff80f5be88
/Ui/welcomescreen.py
12640c6e51d951c0941192071407924a8f52cfc2
[]
no_license
turamant/PyQt5-PhoneBook
b3423f978d2a368e6a997889095d13c5cb47a875
522490439889d91a40a651574339e80af6b6db1d
refs/heads/main
2023-07-11T00:50:10.109781
2021-08-10T14:24:54
2021-08-10T14:24:54
391,993,150
0
0
null
null
null
null
UTF-8
Python
false
false
5,599
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'welcomescreen.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore...
[ "tur1amant@gmail.com" ]
tur1amant@gmail.com
b6e77796d885e1ff2b153035ca5ccf756ae11b66
c506e2707708f6b1d1c8b6a4761b3952cdf33c12
/backend/www/test/upload_contacts_test.py
1abc56c42b13ef091d47cfb8ba1b890375b3c5f1
[ "Apache-2.0" ]
permissive
xuantan/viewfinder
69e17d50228dd34fa34d79eea1c841cc80a869ff
992209086d01be0ef6506f325cf89b84d374f969
refs/heads/master
2021-08-26T00:58:18.180445
2021-08-10T03:06:48
2021-08-10T03:06:48
19,481,298
0
0
null
null
null
null
UTF-8
Python
false
false
14,824
py
# Copyright 2013 Viewfinder Inc. All Rights Reserved. """Test upload_contacts service method. """ __authors__ = ['mike@emailscrubbed.com (Mike Purtell)'] import json import mock from copy import deepcopy from viewfinder.backend.base import util from viewfinder.backend.www.test import service_base_test from viewfind...
[ "bdarnell@squareup.com" ]
bdarnell@squareup.com
85dfc959dee627d18e987008e72ca57b20a778f5
ff4ac7422819d18dd8792b2b1dd92354f493bb23
/assignments/autograder/autograde.py
cf78e62715fd25ea7a2d7cdd3fa2ca0045af3e7b
[ "MIT" ]
permissive
fyjgreatlion/cs-for-psych
0b40cc0b5736632c2b3375c5092e6d7b74815418
647642f364d92bcdbc2320a4f527d2a0eba12ba9
refs/heads/master
2023-06-30T13:01:22.555967
2021-07-26T02:33:36
2021-07-26T02:33:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
from grader import autograde, commit_and_push from glob import glob import typer app = typer.Typer() @app.command() def run(path: str, summarize: bool=False, commit: bool=False, push: bool=False, root=None, grader=None, public=None, private=None): grades = autograde(path, plot_it=summarize, root=root, grading_rep...
[ "jeremy.r.manning@dartmouth.edu" ]
jeremy.r.manning@dartmouth.edu
d26b48204806352ba4722be9cf5fc9324a9c0d14
54a0b86d4c3f731487ad4470fb365907970472e6
/P1/studentparameters/Project1_Parameters_ad.py
abd32ecc8b79a7a3387eba925bcaeff4e5091637
[]
no_license
samiurrahman98/ece458-computer-security
26aa46e174b0bf77f748e6451dd2e0e4183feebd
cf79430b98e3679ffcd687a0c96b5e979187e1e3
refs/heads/master
2022-11-25T01:26:36.874094
2020-07-31T21:24:53
2020-07-31T21:24:53
280,979,038
0
0
null
null
null
null
UTF-8
Python
false
false
1,771
py
# Select the file name that matches your first two letters of your last name on Learn # Read those parameters as your ECE458 project 1 parameters # p,q,g are DSA domain parameters, sk_i (secret keys) are used in each signature and verification p=16158504202402426253991131950366800551482053399193655122805051657629706040...
[ "S72RAHMA@uwaterloo.ca" ]
S72RAHMA@uwaterloo.ca
33280c23ce326b75e21f7c1e6b655ba9c1896cde
9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4
/Bernd Klein (520) ile Python/p_20404a.py
bc54c21d16cad7c304cceedabad9a88e4a32d34d
[]
no_license
mnihatyavas/Python-uygulamalar
694091545a24f50a40a2ef63a3d96354a57c8859
688e0dbde24b5605e045c8ec2a9c772ab5f0f244
refs/heads/master
2020-08-23T19:12:42.897039
2020-04-24T22:45:22
2020-04-24T22:45:22
216,670,169
0
0
null
null
null
null
ISO-8859-9
Python
false
false
683
py
# coding:iso-8859-9 Türkçe # p_20404a.py: İnternet ip adresleriyle iletişim kontrolü örneği. import os, re # threading/ipsiz kontrol... alınanPaketler = re.compile (r"(\d) alındı") durum = ("cevapsız", "canlı fakat kayıp", "canlı") for sonek in range (20,30): ip = "192.168.178." + str (sonek) kontrol...
[ "noreply@github.com" ]
mnihatyavas.noreply@github.com
a924d5f770bc699d0607786b29a0763d26011f25
333abfacec09f1118c19fd07d340228a314b5ec3
/ch2/ex_2.1-4_arbitrary_numerical_system_addition.py
36b6035af17c1923087118d7170a6e5819a5234a
[]
no_license
olehb/ita3
18331d4ee298e60b70884bf25b24653e9c959ad4
23c412c647de0e89efba049c39f7d38375ff574b
refs/heads/master
2023-05-29T08:30:13.039062
2015-05-08T16:03:03
2015-05-08T16:03:03
15,146,847
0
0
null
2023-05-17T05:18:52
2013-12-12T20:39:51
Python
UTF-8
Python
false
false
250
py
#!/usr/bin/env python3 base = 10 n = 4 n2 = (2, 2, 2, 2) n1 = (0, 0, 3, 0) result = [] r = 0 for i in range(n-1, -1, -1): v = n1[i] + n2[i] + r r = v // base result.append(v % base) if r>0: result.append(r) result.reverse() print(result)
[ "oleh.boiko@gmail.com" ]
oleh.boiko@gmail.com
156c46403266268d942b197c55ec383227d63858
290d6fd35fd5433ef03bfcc1ec14108a1e8e10ed
/unittest1_task_perf.py
ed6c3d3fbd2180982107da0bcf232d07b551b8e8
[]
no_license
PlumpMath/pyos
3103e2c878f579aa10c32f8a3c3430b4d11de209
c5b6e3fdb8e4d4615a5d098130a6e34c92217c65
refs/heads/master
2021-01-20T09:54:24.953803
2014-01-29T10:42:58
2014-01-29T10:42:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,899
py
#!/usr/bin/python2 # Perf and Unit tests # # Test what happens with large numbers of tasks # Simon Ryan 2014 from pyos9 import * import sys,random,time,threading mode = sys.argv[1:2] and sys.argv[1] or None num = sys.argv[2:3] and sys.argv[2] or None if not (mode and num): print('usage: %s [pyos|threads] numberof...
[ "simon@smartblackbox.com" ]
simon@smartblackbox.com
fd6a2813514485429915c41e2b4f71e9b6aaa8a9
e5217df72e21f2fe75bccd0fdd914432b6cce68e
/ds18b20_2.py
18e103335f5f05cfeef2150c3c1a800510c5d664
[]
no_license
tarjanyij/Python
02411272758eb21be63a4bad07b3fce666718e08
f3f4dbd961497001a88af00ffc9cb86772237da8
refs/heads/main
2023-04-03T20:10:09.577825
2021-04-08T19:37:20
2021-04-08T19:37:20
304,701,453
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
import os import sys from time import sleep from w1thermsensor import W1ThermSensor def ds18b20_read_sensor(): data ={} for sensor in W1ThermSensor.get_available_sensors(): #print("sor: %s Sensor %s has temperature %.2f" % (i,sensor.id, sensor.get_temperature())) data.update({sensor.id : s...
[ "tarjanyi.jozsef@freemail.hu" ]
tarjanyi.jozsef@freemail.hu
4db2e0c7af5d155f9cb641317fcba67abd59aea2
fc36930722e170fa80b2f4195a15d686d138dc03
/files_project/app.py
58b803277ebe7f4911d9ad5f03b9c4db510932ea
[]
no_license
mayank4519/python_projects
d781ef3f81c1c6b3357351472019b8205c172897
4d0a84b9fae98cd194b6b73cbd83f6e2cc8b1ea4
refs/heads/master
2022-12-02T23:14:59.972893
2020-08-13T18:15:07
2020-08-13T18:15:07
266,676,174
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
my_file = open('data.txt', 'r') file_content = my_file.read() my_file.close() print(file_content) #write into file user_name = input("enter name") my_file_writing = open('data.txt', 'w') my_file_writing.write(user_name) my_file_writing.close()
[ "mayankjn.jain1993@gmail.com" ]
mayankjn.jain1993@gmail.com
f0d53247787de483a8157978732687647973de62
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/cirq_new/cirq_program/startCirq_Class651.py
dd0dd8db9096c5bbae3a183ddb1975f869ce8a2d
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
2,289
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 5/15/20 4:49 PM # @File : grover.py # qubit number=4 # total number=24 import cirq import cirq.google as cg from typing import Optional import sys from math import log2 import numpy as np #thatsNoCode def make_circuit(n: int, input_qubit): c = cirq.Ci...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
6b482961ceb846d151075be3e5574ce30b958fbb
9c3c83007c5bf0f36635b0045b2aad7f8a11ac11
/novice/03-02/variablerules.py
04efe613839917730bde3cf315a1c00a8a16bb91
[ "MIT" ]
permissive
septiannurtrir/praxis-academy
bc58f9484db36b36c202bf90fdfd359482b72770
1ef7f959c372ae991d74ccd373123142c2fbc542
refs/heads/master
2021-06-21T17:04:58.379408
2019-09-13T16:46:08
2019-09-13T16:46:08
203,007,994
1
0
MIT
2021-03-20T01:43:24
2019-08-18T13:38:23
Python
UTF-8
Python
false
false
481
py
from flask import Flask app = Flask(__name__) @app.route('/user/<username>') def show_user_profile(username): # show the user profile for that user return 'User %s' % escape(username) @app.route('/post/<int:post_id>') def show_post(post_id): #show the post with the given id, the id is an integer retur...
[ "septiannurtrir@gmail.com" ]
septiannurtrir@gmail.com
733b3c00a643028efa8182beee51f32d547342d9
4363b7428a09543a9e6c2a3e1009e98be8a2ab43
/models/__init__.py
013c5a42bc95a280f8f21f6eafe38928848e8752
[]
no_license
DelfimRocha/E-learning
2284cf75da979af5c8d260599255870ff7fc021d
c05c48725850ecfa80bac6a5a2a2e93a8699629f
refs/heads/main
2023-07-15T13:28:57.877641
2021-09-01T08:44:12
2021-09-01T08:44:12
401,990,124
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
from . import courses from . import program from . import instructor from . import student from . import enrolment
[ "dalfimrocha@yahoo.com" ]
dalfimrocha@yahoo.com
f6e2e1219bb19b1ec4f59e29fe4b3593536497ff
804fcf4a3cfba431be701b214cc383a930e08ff3
/pracCsv/solution.py
fd3a6ce93cc43238d9e366f48713febe8cd45a95
[]
no_license
showkat2203/APIwithPython
ea7f70a885480ddae1880af5520425682fe283f1
c2b6f6cf4a2e4d61a94bd11132daeafa7c86d1f7
refs/heads/master
2023-06-14T11:45:40.625423
2021-07-11T15:46:18
2021-07-11T15:46:18
106,168,570
0
0
null
null
null
null
UTF-8
Python
false
false
853
py
import csv import json row_count = -1 result = "" fileName = 'test.csv' fields = "" with open(fileName, 'r') as inputFile: csvReader = csv.reader(inputFile) fields = next(csvReader) resList = [] for row in csvReader: cnt = 0 resDict = {} for i in row: if fields[cn...
[ "showkat@alemcloud.com" ]
showkat@alemcloud.com
01a4792e02f8e7a6911af7ab76554e70e0471d8b
694d57c3e512ce916269411b51adef23532420cd
/leetcode/215kth_largest_element.py
58f31f67f601ead30791f3de73429cab51b47b5f
[]
no_license
clovery410/mycode
5541c3a99962d7949832a0859f18819f118edfba
e12025e754547d18d5bb50a9dbe5e725fd03fd9c
refs/heads/master
2021-05-16T02:46:47.996748
2017-05-10T23:43:50
2017-05-10T23:43:50
39,235,141
1
1
null
null
null
null
UTF-8
Python
false
false
1,139
py
from random import randint class Solution(object): def partition(self, start, end, p, nums): pivot = nums[p] nums[p], nums[start] = nums[start], nums[p] i = j = k = start while j <= end: if nums[j] == pivot: nums[i], nums[j] = nums[j], nums[i] ...
[ "seasoul410@gmail.com" ]
seasoul410@gmail.com
e5122630508b4ef675f2ef514d43e70e1a838257
47d80dcfdbcea8a8527be73de6e57e1379be2c8b
/Django/quotes/Recipe/urls.py
6354142d8f67a162ba971a6e187cb7e5da0b1afd
[]
no_license
tleysen/Webtech-4
a23d1f2094e070a04aca1be4bb4ed38908104d0d
8eee67e772fce1190b0681e106271c502a99b46a
refs/heads/master
2021-01-23T16:12:56.765708
2017-09-07T12:20:46
2017-09-07T12:20:46
102,732,058
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
"""quotes URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "thomasleysen@MacBook-Air-van-Thomas.local" ]
thomasleysen@MacBook-Air-van-Thomas.local
411a798533ad2659caf537d88c31d8b5872d0645
8b61c079a068f7f888e9a2683b95ca81b403a681
/program/pizaid/ioserver.py
0069f77acbdfa9c4bc81e583104e06a8b4117a93
[ "BSD-2-Clause" ]
permissive
Pizaid/Pizaid-LCDPanel
69faef0fe401a3fd943301ca7202853152152179
e66b6d33afb9da273a823bfeb2f3bbb9d3d3faab
refs/heads/master
2016-09-05T11:20:22.764960
2014-08-09T12:30:37
2014-08-09T12:30:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,261
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: set fileencoding=utf-8 : # # Author: Makoto Shimazu <makoto.shimaz@gmail.com> # URL: https://github.com/Pizaid # License: 2-Clause BSD License # Created: 2014-07-30 # import threading from utils import getch, tprint from lcdcontroller import get_lcdcontroll...
[ "makoto.shimaz@gmail.com" ]
makoto.shimaz@gmail.com
9c1f3e860dc2261ed09a22aa123382a828211c1a
490186e345bdc0e2db1a3cb9a53f5e3e784a0d35
/tutorials/blitz/neural_networks.py
c5a889d3d723f19f486722be161ebe60260365cf
[]
no_license
zephan-spencer/learning-nas
8bf2b6b50df14eb838fd2589fbef2ff7228febb2
1ca5fa6ee05542142b13599c4e9541c9aa0ede4e
refs/heads/main
2023-04-19T04:44:19.261960
2021-05-01T22:52:06
2021-05-01T22:52:06
363,273,188
0
0
null
null
null
null
UTF-8
Python
false
false
2,430
py
# Taken from a pytorch.org tutorial import torch import torch.nn as nn import torch.nn.functional as F class Net(nn.Module): def __init__(self): super(Net, self).__init__() # 1 input image channel, 6 output channels, 5x5 square convolution # kernel self.conv1 = nn.Conv2d(1, 6, 5) ...
[ "number45zephan@gmail.com" ]
number45zephan@gmail.com
3996a1c41e99afd8b6eabfd0864dad2c2f4c7187
13e1fb78955c03a75cf483725f4811abd1b51ac4
/compiler/tests/03_wire_test.py
61e21985e7422f475fa91e656c3f095e1c483963
[ "BSD-3-Clause" ]
permissive
ucb-cs250/OpenRAM
d7a88695ac6820d03b4b365245a1c4962cdc546d
3c5e13f95c925a204cabf052525c3de07638168f
refs/heads/master
2023-01-23T15:09:35.183103
2020-10-12T16:05:07
2020-10-12T16:05:07
318,904,763
0
0
BSD-3-Clause
2020-12-05T22:47:14
2020-12-05T22:47:13
null
UTF-8
Python
false
false
2,212
py
#!/usr/bin/env python3 # See LICENSE for licensing information. # # Copyright (c) 2016-2019 Regents of the University of California and The Board # of Regents for the Oklahoma Agricultural and Mechanical College # (acting for and on behalf of Oklahoma State University) # All rights reserved. # import unittest from test...
[ "mrg@ucsc.edu" ]
mrg@ucsc.edu
6127db8c4201697208fcbd427c8f2ff605b318ec
ea9aa0e93a7f264511ef10b5ccb90f65d958900f
/3rd_practice/blog/models.py
c0eca233fb31aebd733abc8ef197a867e51945e6
[]
no_license
wayhome25/django_travel_blog_2
01cf4591e0aa69fb5a3144e0739bd43ce4bebc9c
13e5d7ad2851febafb9a57e1fc93bb29c916c4c7
refs/heads/master
2020-06-01T08:58:24.492163
2017-08-26T13:19:45
2017-08-26T15:04:18
94,069,137
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
from django.core.urlresolvers import reverse from django.conf import settings from django.db import models class Post(models.Model): title = models.CharField(max_length=100) content = models.TextField() photo = models.ImageField() is_public = models.BooleanField(default=False) created_at = models.D...
[ "siwabada@gmail.com" ]
siwabada@gmail.com
1ca2692d8354900cb36bdd5e40c951da55534123
3b562b977e337d09aa97a6b1289f2b3338aa9a68
/extras.py
d45e205c5841b876f3e76a53542af8a4213e84ca
[]
no_license
Kolimar/AdivinaPalabra
0bad2a957da1aa9f2443215f892dad52a93709f7
769741d6a183e7981c8b262def75138ba02a45e0
refs/heads/master
2020-04-25T08:16:33.521653
2019-02-26T05:26:14
2019-02-26T05:26:14
172,641,940
0
0
null
null
null
null
UTF-8
Python
false
false
7,025
py
import pygame from pygame.locals import * from configuracion import * def ShowDireccion(direccion): if direccion == [-1,-1]: return "Abajo - izquierda" if direccion == [-1,0]: return "Abajo" if direccion == [-1,1]: return "Abajo - derecha" if direccion == [0,-1]: ...
[ "noreply@github.com" ]
Kolimar.noreply@github.com
e31378c2345f786daf6d340cfcfcacf070cdc24a
5656b4c420b284d2c0443138e02246ecc0484c9c
/api/socialmedia/Posts/models/post_model.py
f7606be465f83ad2dcc837e5b62a1af63a722854
[]
no_license
Pbasnal/flask-twitterclone
94e3b52f74b9bf957cd0797034372687918d0d38
1d7d2da28448ab710848aa760e2899c3a65ee150
refs/heads/master
2023-04-30T15:35:42.768869
2021-05-25T14:33:01
2021-05-25T14:56:43
370,718,561
0
0
null
null
null
null
UTF-8
Python
false
false
353
py
from flask_mongoengine.wtf import model_form from api.models.MongoEngine import dbcontext from logging_setup.logger import ApiLogger class Post(dbcontext.Document): content = dbcontext.StringField(required=True) sentiments = dbcontext.DictField() created_by = dbcontext.StringField(max_length=50) creat...
[ "pankajbasnal17@gmail.com" ]
pankajbasnal17@gmail.com
b1bb1dfa462be18d9be81098971bfbdf1023cb30
7ce761781e7f5b57b2469adce459a71b4758694d
/env/lib/python2.7/site-packages/graphlab/toolkits/_internal/search/_search.py
0870866d1721ce31a94ab4442179cea4425399d7
[]
no_license
hophamtenquang/RecSys
c4fa18d1ba262670a284b2fba2ca97b882ef0f4c
535472844a046cadd9230302da647a54afff95e8
refs/heads/master
2021-01-19T17:00:32.924064
2017-08-30T10:31:32
2017-08-30T10:31:32
101,031,687
2
1
null
null
null
null
UTF-8
Python
false
false
7,660
py
import sys as _sys import graphlab as _gl import graphlab.connect.main as glconnect from graphlab.toolkits._internal_utils import _raise_error_if_not_sframe from graphlab.toolkits._model import SDKModel as _SDKModel from graphlab.toolkits._main import ToolkitError as _ToolkitError from graphlab.toolkits._internal_util...
[ "hophamtenquang@gmail.com" ]
hophamtenquang@gmail.com
4df58b827efdb8b9e33d0f96ef24b7287e582d7b
55668bc4e19fd9aa3caa4395add2fe73741eb844
/206/main.py
29930f8e53ae428345565b5f0a0b9b54dc5cbd5c
[ "MIT" ]
permissive
pauvrepetit/leetcode
cb8674e10b0dc6beb29e9b64a49bede857b889fd
2fda37371f1c5afcab80214580e8e5fd72b48a3b
refs/heads/master
2023-08-30T07:39:08.982036
2023-08-25T08:52:57
2023-08-25T08:52:57
151,678,677
0
0
null
null
null
null
UTF-8
Python
false
false
905
py
# # @lc app=leetcode.cn id=206 lang=python3 # # [206] 反转链表 # from typing import Optional # @lc code=start # Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def rev(self, head: Optional[ListNode], prev: Opt...
[ "hu__ao@outlook.com" ]
hu__ao@outlook.com
2651fa548b6cced6e67fddac0af3a0c00d304481
e3eb265f16c0cb41e2d7cbe17ea2523803812247
/py-scoring/src/ai/h2o/sparkling/ml/__init__.py
2b8785f3ffa0d4d0b155c8cc6bf2f109f14bc6cf
[ "Apache-2.0" ]
permissive
joscani/sparkling-water
973cea0c96c8cab1505ed452c78ef2615d4efe2a
71a0cdb763c3b2f8f4cd8cb9a4c3d1874df05089
refs/heads/master
2023-07-11T03:35:28.186554
2021-08-18T16:23:21
2021-08-18T16:23:21
257,917,903
0
0
Apache-2.0
2020-04-22T13:59:54
2020-04-22T13:59:53
null
UTF-8
Python
false
false
1,349
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "noreply@github.com" ]
joscani.noreply@github.com
29acead529edc72fe4dc197e2a785872c12c51e0
3cedc2e0867a53ed2f36e01624f369693d1a050d
/rnn/rnn88_females_original.py
f4f2cc56c161654c5daaec73a43be8329ccc3589
[]
no_license
lkpiel/mastersthesis
a471d8c6a5881e13599b22965dd3f437c83fc967
71c723b435b347d2805e159b6e10828f89541e98
refs/heads/master
2023-02-20T11:57:45.266361
2018-05-06T11:17:43
2018-05-06T11:17:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,742
py
#! /usr/bin/python3 import sys print(sys.version) import sys import pandas import numpy as np from keras.preprocessing.sequence import pad_sequences from keras.models import Sequential, load_model from keras.layers import Dense, Input, Dropout, Average, Merge, Layer, Conv2D, MaxPooling2D, GlobalAveragePooling2D, Glob...
[ "leo.piel@pipedrive.com" ]
leo.piel@pipedrive.com
531ffd783fb26e6eb32629fb492934c669fbac42
46e01962d3eef258562b4b5e0204368a80eb2101
/resources/site-packages/dns/rdtypes/ANY/EUI48.py
aa260e205d08298646a600c4789522285c6fd6d8
[ "WTFPL" ]
permissive
elgatito/script.elementum.burst
fb4fe3f10f722822373e2739a9308130482d1734
e37adca9634f644890673dee236a9c215c6744c1
refs/heads/master
2023-08-26T20:30:59.300868
2023-07-27T11:23:44
2023-07-27T11:23:44
111,373,790
108
181
WTFPL
2023-08-28T11:57:32
2017-11-20T06:59:52
Python
UTF-8
Python
false
false
1,124
py
# Copyright (C) 2015 Red Hat, Inc. # Author: Petr Spacek <pspacek@redhat.com> # # Permission to use, copy, modify, and distribute this software and its # documentation for any purpose with or without fee is hereby granted, # provided that the above copyright notice and this permission notice # appear in all copies. # #...
[ "denis.kuzmenok@gmail.com" ]
denis.kuzmenok@gmail.com
98e494f9969bfbe0e38927f5f5a9e9da3f675862
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/tjMNAEgkNvM5eyEqJ_9.py
009b0a6620c65bbe7a418ed56973cde1d60c4685
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
901
py
""" You are given two inputs: 1. An array of abbreviations. 2. An array of words. Write a function that returns `True` if each abbreviation **uniquely identifies** a word, and `False` otherwise. ### Examples unique_abbrev(["ho", "h", "ha"], ["house", "hope", "happy"]) ➞ False // "ho" and "h" are ambi...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
30e71e9ab69110f4a8e98185c665f48bca3aaf81
bdc294f477244b9fff34b8e1bff968057a600a45
/app/Trading.py
34dde6d3fbf2311e83e95e16a4092cefaaea954e
[ "MIT" ]
permissive
PaulGG-Code/BinanceBot
e3cd1157d96880a2217955e98e6608bb98b93e20
2c4e3a06f2957226086702a2eec47e29799a7d7e
refs/heads/main
2023-02-25T00:36:13.405857
2021-02-01T22:00:11
2021-02-01T22:00:11
335,093,869
3
1
null
null
null
null
UTF-8
Python
false
false
21,412
py
# -*- coding: UTF-8 -*- # Define Python imports import os import sys import time import config import threading import math import logging import logging.handlers # Define Custom imports from Database import Database from Orders import Orders formater_str = '%(asctime)s,%(msecs)d %(levelname)s %(name)s: %(message)...
[ "noreply@github.com" ]
PaulGG-Code.noreply@github.com
bdd26c536928ecc4169204488d28c7ea79fac6d1
6e0d8d91dd22e2275cd713822679d5cabbc9331a
/thespian/system/__init__.py
2c69b0574347c752e0c9daedb76632e6daa45a22
[ "MIT" ]
permissive
kquick/Thespian
711712eb0a9ad3370f1013c8393cc461b9541dfe
dfc6d3e865c05f929328b85e98671a5c8fc3a54a
refs/heads/master
2023-05-26T15:51:57.959690
2023-05-22T15:08:00
2023-05-22T15:08:00
78,292,621
203
32
MIT
2021-06-22T14:42:09
2017-01-07T17:18:27
Python
UTF-8
Python
false
false
636
py
# This module contains the various ActorSystemBase implementations # upon which the ActorSystem operates. from thespian.actors import ActorAddress, ActorSystemMessage, PoisonMessage from thespian.system.addressManager import * from thespian.system.messages.status import * from thespian.system.messages.convention impor...
[ "kquick@godaddy.com" ]
kquick@godaddy.com
a47ce249f69c56724d0d6a2002329249502be5d7
1774936282e03a2e12c589314f2f865181a2de07
/learning_templates/basic_app/templatetags/my_extras.py
9dcc56005020c5da817fd1b1c2b7a692569d5c45
[]
no_license
kimman8/django_deployment-example
458ee1318d71d01a90842bdccd01ffb5aeb745b4
54b417d96c52de37670d31de4ca0fc1bd43e75d4
refs/heads/master
2022-12-23T15:26:49.989409
2020-10-01T22:30:55
2020-10-01T22:30:55
300,247,654
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
from django import template register = template.Library() @register.filter(name='cut') def cut(value, arg): """ This cuts out all value of arg from the string """ return value.replace(arg,'') # register.filter('cut',cut)
[ "KIM@KIM-YUENs-iMac.local" ]
KIM@KIM-YUENs-iMac.local
312229298bb7c940f89122dd2cd79fc030c302c7
0ca3795da1d3d88ae7d77ea2ab44ce3c95bb49ed
/blog/apps/user/apps.py
2cb53f03d9978c31a79f9c9a826368829b8184c4
[]
no_license
DmitriyKhalturin/django-blog
e1a5c1c66a52a141cb034e0957e6001dc31f118c
e30368d75d4d675613a93f4e3e186a5e7811018d
refs/heads/develop
2023-07-31T22:41:22.381474
2020-08-04T19:41:04
2020-08-04T19:55:43
281,173,512
0
0
null
2021-09-22T19:44:13
2020-07-20T16:46:24
Python
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class UserConfig(AppConfig): name = 'blog.apps.user'
[ "dmitry.halturin.86@gmail.com" ]
dmitry.halturin.86@gmail.com
ad992d9f127c3b1b9a1220f553dd8f520df52a66
4dad1ae37b41ae6c96f3345dee1d9d1cbdf42b7b
/searchElementRotatedSorted/main.py
e99e851deefba668b9178d0eb38496366e6b3341
[]
no_license
RoaRobinson97/python
011f9dcdd4414d312780e9f11e1143404161d9e7
449ecccecb445a3d49bd3820a855dade1d759ddb
refs/heads/master
2023-01-29T22:53:45.122752
2020-12-07T16:10:41
2020-12-07T16:10:41
295,473,491
0
0
null
null
null
null
UTF-8
Python
false
false
1,494
py
# Python Program to search an element # in a sorted and pivoted array # Searches an element key in a pivoted # sorted array arrp[] of size n def pivotedBinarySearch(arr, n, key): pivot = findPivot(arr, 0, n - 1); # If we didn't find a pivot, # then array is not rotated at all if pivot == -1: ...
[ "roa.robinson97@gmail.com" ]
roa.robinson97@gmail.com
43bd61d034275b4e72d5fd73ddf6e07f646548ed
85f68b427bf9c4b8b5c3f8a70dccc217226e9706
/gam_app/old_migrations/0012_auto_20180619_1641.py
7de987d6f30f3cd7be49de7d4ff093f9f154c292
[]
no_license
benrogboe/GAM
ffb87e76a87aa7eaf0d0d33d4df7ddc571399e49
fbec7cb967252578d4669c5ff91a9b0b9cdfd9d5
refs/heads/master
2020-03-30T05:08:38.811097
2018-09-28T18:55:24
2018-09-28T18:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
# Generated by Django 2.0.1 on 2018-06-19 16:41 import ckeditor.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('gam_app', '0011_auto_20180619_1527'), ] operations = [ migrations.AlterField( ...
[ "apjanco@gmail.com" ]
apjanco@gmail.com
78bb3e33b198664933fcf0bc38618fc403aed04b
2393a8fabee3d39bf1623e26c0313e3351caf814
/python/study/IO/示例代码/nonblocking/nonblocking-client.py
bb4e00884ca6c2f8d4878a852bc366caf746f668
[]
no_license
shidg/note
5d3aaff9d1c6cf87b89513b7712638c9b808653c
d46aceaed64e3e2f854149f71f18fa92d650dc37
refs/heads/master
2023-05-26T16:14:51.715966
2023-05-19T02:08:36
2023-05-19T02:08:36
27,533,612
8
0
null
null
null
null
UTF-8
Python
false
false
335
py
#!/usr/local/bin/python3 # -*- coding: utf-8 -*-# ''' author: -- shidegang -- Created Time: 2019-08-28 10:43:17 ''' import socket sk = socket.socket() server_addr = ('127.0.0.1',9000) sk.connect(server_addr) while True: sk.sendall('hello'.encode(encoding='utf8')) data = sk.recv(1024) print(data.decode(en...
[ "shidg@feezu.cn" ]
shidg@feezu.cn
7e3af968048a42172de4897609638c92a4942170
bb1fe15070832a508e4fbde929212414f4c10e78
/felipe.py - Organizar/aula45.py
b30ab173614fd6f05f8b8b5121103ed4407e3874
[]
no_license
structuredworldcapital/Lab-de-Estudos
5cfd62414e4811b8170d8349563444f547811b3f
c97421549e8fe8196c321fd453b40ed3fab32cdf
refs/heads/master
2022-07-25T16:50:56.956945
2020-05-04T17:23:09
2020-05-04T17:23:09
261,243,167
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
1,011
py
from random import randint itens = ('Pedra', 'Papel', 'Tesoura') print('''Suas opcaoes: [ 0 ] PEDRA [ 1 ] PAPEL [ 2 ] TESOURA''') jogador = int(input('Qual é a sua jogada?')) print('-=' * 11) print('Computador jogou {}'.format(itens[jogador])) print('Jogador jogou {}'.fomrat(itens[jogador])) print('-=' * 11)...
[ "giancarlo.s.graziano@gmail.com" ]
giancarlo.s.graziano@gmail.com
ddf8e310ace1ebb6773c14c882d812f973ffa1af
4b4828d3c98d76d7bf38f90a015945acc408ddc5
/PythonAI/Source/W2D3/src/bmi_web.py
441f43d452b0cdebf5e3e9a87e8c79e84ae2551b
[]
no_license
Huh-jae-won/Study
cb5d32728e8dcded492e7edb054b500c91ec607c
e4dbc3fef69bb273b62b866fb5ef2a7250222f10
refs/heads/main
2023-06-20T13:06:26.691899
2021-07-11T07:43:41
2021-07-11T07:43:41
362,759,927
0
0
null
null
null
null
UTF-8
Python
false
false
2,199
py
""" # URL : http://localhost:8080/cgi-bin/bmi_web.py """ # 모듈 로딩 --------------------------------------------------- import cgi, sys, codecs, os import joblib # WEB 인코딩 설정 --------------------------------------------- sys.stdout=codecs.getwriter('utf-8')(sys.stdout.detach()) # 함수 선언 ----------------------------------...
[ "dfr9034@naver.com" ]
dfr9034@naver.com
3bd3772edc7f9f005f3716bbebdb9186090e3414
8fc36ac61daf5f24e4b3cec32996173eb1b554ec
/fuxi_kubernetes/handlers/retry.py
a5678923881ee0ed49db334321e31ec282723362
[ "Apache-2.0" ]
permissive
vklonghml/fuxi-kubernetes
8c1928658f1508efec1288193bed027c058950ff
899fac8f9a885397b764cec988ee07e608569c81
refs/heads/master
2020-05-27T08:01:41.469905
2017-03-02T02:08:07
2017-03-02T02:08:07
82,534,295
0
2
null
null
null
null
UTF-8
Python
false
false
3,289
py
# Copyright (c) 2016 Mirantis, 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 requir...
[ "vklonghml@gmail.com" ]
vklonghml@gmail.com
ce62fce4822d0977d18f15b3bae8d32747436bd3
57f6805e4fa5aeb781af2434f41bbafd35ad6023
/SentinelTime/time_series.py
51ab51746fd19e95c98cd35a4776956858c24335
[ "MIT" ]
permissive
marlinmm/SentinelTime
4c87b0b0c38f92769614ebd6b6e2f85128242864
5732f23d508582c6b33bce68967331abe8c5cf9c
refs/heads/master
2023-04-14T03:40:09.464249
2021-03-20T11:42:59
2021-03-20T11:42:59
291,967,885
2
0
null
null
null
null
UTF-8
Python
false
false
18,049
py
from SentinelTime.data_preprocessing import * from SentinelTime.mask_stack import * import rasterio.mask import matplotlib.pyplot as plt import pandas as pd def extract_dates(directory, allowed_orbits=None): """ Extracts dates from list of preprocessed S-1 GRD files (need to be in standard pyroSAR exported na...
[ "marlinmueller.mm@gmail.com" ]
marlinmueller.mm@gmail.com
c6b2e8b66b536d2ec8d0b0b20ddef5ee4cfd6e91
51a57371bca60654001445f75d1c17007a1de04d
/part5.py
8874a60440882e00226e2d4f8d322c87567c39ce
[]
no_license
rahuljain1310/State-Estimation
674c263e6526092f5577174ed5ca8fb4e3718eca
625709dd5d1ee659853ea93ee4c50def0d811a11
refs/heads/main
2023-03-26T03:06:50.529939
2021-03-24T10:32:43
2021-03-24T10:32:43
350,550,564
3
0
null
null
null
null
UTF-8
Python
false
false
1,694
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # File : part5.py # Author : Rahul Jain # Email : rahuljain13101999@gmail.com # Date : 23/03/2021 import json import numpy as np from math import sin, cos, pi from filter import KalmanFilter from model import AirPlaneModel from config import A, B, C, R from matplotl...
[ "ee1170476@iitd.ac.in" ]
ee1170476@iitd.ac.in
2c3045452e184a876d836e4523e0d1bc7d1c826e
b28753c509a011a13c9e4068cbf295808f4f158e
/app/firestore_services.py
a5d65186c94060cb5445934b15199d85a7b4ccd5
[]
no_license
abecerra0521/flask
a62bf9520be44927412df141079f8c418fb65fd4
8e696c9ceb664c29a297df4745e81a9732a03907
refs/heads/master
2020-05-21T11:37:37.865189
2019-05-22T15:56:06
2019-05-22T15:56:06
186,030,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
import firebase_admin from firebase_admin import credentials from firebase_admin import firestore credential_app = credentials.ApplicationDefault() firebase_admin.initialize_app(credential_app, { 'projectId': 'todo-list-flask', }) db = firestore.client() def get_users(): return db.collection('users').get() ...
[ "abecerra.aabg@gmail.com" ]
abecerra.aabg@gmail.com
9b857faea34313ff6868b7fa5be397c40a4184e6
89eeace71191fc929c2d93b7fe876ac7db441200
/site_scons/site_tools/lib_rc/__init__.py
7af9a109593330bb56823ceeecd2a948aa4c6847
[]
no_license
janbraiins/lib-rc
2b8e2092c23bbe03cfff2121fc22fb38cc715c85
d5b6b909ca5f9f3d1fbf7404a48e3f3745ba2696
refs/heads/master
2022-12-26T18:43:17.007003
2017-08-19T09:27:32
2017-08-19T09:27:32
296,148,439
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
"""Scons Tool for building external sources against lib-rc. The tool assumes the build configuration is available through construction environment variable 'CONFIG'. The following configuration elements are required: - LIB_RC_DIR - top level directory that contains the source tree Copyright (c) 20...
[ "jan.capek@braiins.cz" ]
jan.capek@braiins.cz
17712dbfabbed2c84ca874770c52e2749ece99e5
0b8503f8fe659284edaf58ed88e0d80b08995206
/security/apache/TestPenetration_Home.py
d8ecf592421287a49865bc4e667808785d945ca2
[]
no_license
ahopgood/Python
bfd2f12efadfde94f8f569ce0bbf9018c39bbc5d
7cbfe64aa39b1cb969a09cac0040bd77b6980309
refs/heads/master
2021-01-18T21:24:48.831454
2016-05-23T20:28:04
2016-05-23T20:28:04
47,199,532
0
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
__author__ = 'Alexander Hopgood' from apache import checkStaticPage class test_Penetration_Home(): #Scaffolding class for testing liveness of a domain with multiple sub domains def domain(self, domain, subdomains): resultDict = dict() outputStr = "Checks for domain ["+domain+"]:" for nam...
[ "alex.hopgood@gmail.com" ]
alex.hopgood@gmail.com
c4ae49b5ef3dff9cda6859483ab61b793df6c6e4
90e6860b5370b742f01c0664ac84f14dc1272155
/src/ziggurat/config/StandardConfigurator.py
fdce59892f864b753760a8508b5a30a278cc7f28
[]
no_license
sernst/Ziggurat
e63f876b8f2cb3f78c7a7a4dcf79af810a540722
4ae09bbd9c467b2ad740e117ed00354c04951e22
refs/heads/master
2021-01-17T07:20:17.138440
2016-05-27T14:27:43
2016-05-27T14:27:43
9,278,283
6
1
null
null
null
null
UTF-8
Python
false
false
5,944
py
# StandardConfigurator.py # (C)2013 # Scott Ernst from __future__ import print_function, absolute_import, unicode_literals, division import re from pyaid.string.StringUtils import StringUtils from pyramid.config import Configurator from pyaid.file.FileUtils import FileUtils #________________________________________...
[ "swernst@gmail.com" ]
swernst@gmail.com
d2441a8e7cd1131ccb87e1debc5c49e33fc62f90
2031771d8c226806a0b35c3579af990dd0747e64
/pyobjc-framework-SearchKit/setup.py
cfce0b4f572de3e7d3cb839fb83d76b5f34634ee
[ "MIT" ]
permissive
GreatFruitOmsk/pyobjc-mirror
a146b5363a5e39181f09761087fd854127c07c86
4f4cf0e4416ea67240633077e5665f5ed9724140
refs/heads/master
2018-12-22T12:38:52.382389
2018-11-12T09:54:18
2018-11-12T09:54:18
109,211,701
2
0
null
null
null
null
UTF-8
Python
false
false
495
py
''' Deprecated wrappers for the "SearchKit" framework on macOS. Use the CoreServices package instead. ''' from pyobjc_setup import setup VERSION="5.1.1" setup( name='pyobjc-framework-SearchKit', description = "Wrappers for the framework SearchKit on macOS", min_os_level='10.5', packages = [ "SearchKi...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
75a03e1852de81c664b2d63a255fcd114b89401d
c25b974f8c124c3eb3701684ab6d3546368ba99a
/biplane_kine/smoothing/kf_filtering_helpers.py
63790043b47b8c5c2e7062b6347e3487a7466b32
[ "MIT" ]
permissive
klevis-a/process-vicon-biplane
9530ea47b93260a361b318f04dcb1a2dbc7b2492
f140589b4705f0d6411b80b8e2699add68d08662
refs/heads/master
2023-07-05T13:08:10.879630
2021-08-03T23:55:46
2021-08-03T23:55:46
287,614,920
1
0
null
null
null
null
UTF-8
Python
false
false
15,832
py
import numpy as np import itertools import distutils.util from operator import itemgetter from typing import Tuple, Union, Dict, Any, Sequence from scipy.signal import butter, sosfiltfilt from biplane_kine.smoothing.kalman_filtering import (LinearKF1DSimdKalman, FilterStep, StateMeans, CovarianceVec, ...
[ "klevis.aliaj@utah.edu" ]
klevis.aliaj@utah.edu
dd722e77341a10ff56977e18b26a3b12366106a6
7729ddbb2e4eb03469cd19f2ac6b5670b831923b
/src/seraing/urban/dataimport/__init__.py
626639e80ca9ee026c47dbf2d06065f7a7893534
[]
no_license
IMIO/seraing.urban.dataimport_22
5cd7bb6e09debeb72145af107b99997ba54f96a3
db2f3c596572159692fa6cb11050111d1cb0fca5
refs/heads/master
2021-05-05T17:01:27.788747
2017-09-12T13:45:01
2017-09-12T13:45:01
103,239,753
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
# -*- coding: utf-8 -*- """Init and utils.""" from zope.i18nmessageid import MessageFactory _ = MessageFactory('seraing.urban.dataimport') def initialize(context): """Initializer called when used as a Zope 2 product."""
[ "julien.jaumotte@imio.be" ]
julien.jaumotte@imio.be
7ff3f503b6109c982a1c88f57ebeb4903c7ad1a8
47c0c375f85d13802c52fac358a6434a9ec24387
/pencil sketch/cv2.py
d3dbc3620edc17c2074460b870a8e0e29f144e62
[]
no_license
hemant5668/computer-vision
d4f8211b35897fee8a7e8b41a7ae7176581e458e
0afd4127e064fa955edee08bff8f73642baa3a00
refs/heads/master
2020-12-17T22:14:44.618814
2020-08-09T09:35:13
2020-08-09T09:35:13
235,297,212
3
0
null
null
null
null
UTF-8
Python
false
false
915
py
# coding: utf-8 # In[1]: import cv2 import numpy as np # In[36]: #sketch generating function def sketch(img): #converting to gray gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) #remove noice gray_blur=cv2.GaussianBlur(gray,(5,5),0) #seperate edges canny=cv2.Canny(gray_blur,-10,50) ...
[ "noreply@github.com" ]
hemant5668.noreply@github.com
3e9fbcc82ac9735647bbbf58624023d9b3049086
7f368b275cd18a5b7b2eb22b822223252914c8ef
/tensorflow_gan/python/tpu/cross_replica_ops.py
7ab35260b93b8be210c6cb4f9caf314cc746b313
[ "Apache-2.0" ]
permissive
nivedwho/gan
176c624800378d9dfa9f74211c362b62953cc7f1
723ce1e3627778b979f048d817f834f253611ff4
refs/heads/master
2023-08-01T08:07:34.299917
2021-09-14T04:10:38
2021-09-14T04:11:37
396,680,181
0
0
Apache-2.0
2021-08-16T07:44:33
2021-08-16T07:44:33
null
UTF-8
Python
false
false
3,128
py
# coding=utf-8 # Copyright 2021 The TensorFlow GAN Authors. # # 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 applicabl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
ddf3cb7cd88608065d779da0fa8b72337e5b9206
7e91bb1bb499139f00b2f1d3fc4769945f727260
/math/triangle_quest.py
fdb24f4d8d38c299f05fce89b29474d191897c10
[]
no_license
neeraj1909/python-hackerrank
46867ee40d1fd647b049e78be02156c1b962b11b
6004f5f14878f131bf9f3441af9f5f4ec7c3a2a5
refs/heads/master
2021-08-19T14:43:12.460929
2017-11-26T17:43:49
2017-11-26T17:43:49
108,431,843
0
0
null
null
null
null
UTF-8
Python
false
false
139
py
for i in range(1,int(input())): #More than 2 lines will result in 0 score. Do not leave a blank line also print(i*(pow(10, i) - 1)//9)
[ "neeraj1909@gmail.com" ]
neeraj1909@gmail.com
d9befda86b06264640487d776569c49952aa341a
7513ddce2c659687216d79f9790d05a44c8f47b5
/pyportfolio/utils.py
9b3a1104f21fadeca279316989e9950f9f54b852
[ "MIT", "Python-2.0" ]
permissive
0xKD/pyportfolio
02a7a23e593ae80ff0abc6f0df057f51e8d0cde5
caa721431f2ca4c0bb25d570751ce9d6d99afcee
refs/heads/main
2023-03-28T22:10:21.965727
2021-04-09T04:51:50
2021-04-09T04:51:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import logging logging.basicConfig() logger = logging.getLogger('pyportfolio') logger.setLevel(logging.INFO) # Filter Utils def and_filter(filters): return lambda x: all(f(x) for f in filters) def or_filter(filters): return lambda x: any(f(x) for f in filters) def filter_dict(mydict, keys): return {key:...
[ "19279785+kaushiksk@users.noreply.github.com" ]
19279785+kaushiksk@users.noreply.github.com
c48eddd65d99df02570dcee5cae5f93fb26f50e7
3552acf30ba11692df7f138d3ba6686fce07cddd
/assignment4/main_task2.py
4db759bc8163c20837de092d78ac0d8e9820fd41
[ "Apache-2.0" ]
permissive
gnayoaixgnaw/Big_Data_Analytics
07ac247b204122d0c44a841947a231898f86b876
4866bbb3de203304edbf107b833539b28be9b35a
refs/heads/main
2023-03-05T23:55:24.191846
2021-02-17T20:41:50
2021-02-17T20:41:50
325,404,711
1
0
null
null
null
null
UTF-8
Python
false
false
8,686
py
import sys import re import numpy as np from operator import add from numpy import dot from numpy.linalg import norm from pyspark import SparkContext from pyspark.sql import functions as func from sklearn.metrics import f1_score from sklearn.metrics import confusion_matrix def buildArray(listOfIndices): returnVal...
[ "noreply@github.com" ]
gnayoaixgnaw.noreply@github.com
21a03c5b4c4fdf5f65f8f33de569e2d41869d67b
325fde42058b2b82f8a4020048ff910cfdf737d7
/src/account/azext_account/vendored_sdks/subscription/operations/_subscription_operation_operations.py
ff4eaf571ec7c44d355033680ae253d44a157678
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
ebencarek/azure-cli-extensions
46b0d18fe536fe5884b00d7ffa30f54c7d6887d1
42491b284e38f8853712a5af01836f83b04a1aa8
refs/heads/master
2023-04-12T00:28:44.828652
2021-03-30T22:34:13
2021-03-30T22:34:13
261,621,934
2
5
MIT
2020-10-09T18:21:52
2020-05-06T01:25:58
Python
UTF-8
Python
false
false
4,364
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 ...
[ "noreply@github.com" ]
ebencarek.noreply@github.com
a697246864c5f020df2a2b5b60c9e4a429c0d160
7f53c41182a6d9c5da0c58a15716f01725ac0316
/2019_2_19_public_test/test.py
e79247064e8a5dfa2e00c40dbbe822ef17f75f3b
[]
no_license
1286211699/2019_1_23_pub_test
f6b7ee089e78ad673c56b3cd4ccee9b2154581f6
3aed7f4941353d48bf3407e9d30ac85c83b0ed7b
refs/heads/master
2022-12-19T14:41:15.264627
2019-03-21T09:46:08
2019-03-21T09:46:08
167,125,649
1
0
null
2022-12-08T01:33:30
2019-01-23T05:54:52
HTML
UTF-8
Python
false
false
666
py
import _thread import time # 为线程定义一个函数 def print_time( threadName, delay): count = 0 while count < 5: time.sleep(delay) count += 1 print ("%s: %s" % ( threadName, time.ctime(time.time()) )) # 创建两个线程 #但是这个模块我们不推荐,因为底层封装的时候它的主线程不会等待子线程的结束! #官方以及我们推荐再封装Threading,所以在这里大家了解下 try: ...
[ "1286211699@qq.com" ]
1286211699@qq.com
00f569ae77237d2d80518fa93f5d1e27c4d3b867
f9632d4a822f6525a007598a1f67757ac9891749
/rakuten/playground/extract_category.py
7b023d96f6665916c58bdc27b25ebb3531856c12
[]
no_license
rpryzant/marketing
ab055a5ae02ed287cb5a763d3e937efa72d057df
9f463da0a2e7c9c48951e793d95534963cd19721
refs/heads/master
2021-09-07T01:20:31.720381
2018-02-14T22:13:40
2018-02-14T22:13:40
116,716,301
1
0
null
null
null
null
UTF-8
Python
false
false
2,074
py
""" extracts a category from the data """ import map_reduce from collections import defaultdict # make parent dicts genre_tsv = '/Volumes/datasets/rakuten_dump/merchandize_data/genres/genres_with_english.tsv' id_to_pid = {} for l in open(genre_tsv): l = l.strip() try: [id, ja_name, pid, en_name] = l...
[ "rapigan@gmail.com" ]
rapigan@gmail.com
d37c132d0eab9fae1f0a71da0763c2b6382dab48
b86c1eee6a67adab6d5daf58ff1f6cd3fadda387
/newBackend/backendapi/migrations/0009_auto_20210520_0222.py
df7a0918cde06011b2af03596de0fdd87667ffd9
[]
no_license
patrick-simon045/FINAL-YEAR-PROJECT
d5d24e1224d978dabd88928226bfc6f5b188e21a
b5d01e8cfaf52595454cdab85c6b56d340210dfa
refs/heads/master
2023-06-25T19:28:52.246179
2021-07-07T18:21:59
2021-07-07T18:21:59
383,879,042
1
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 3.0 on 2021-05-20 01:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('backendapi', '0008_auto_20210520_0220'), ] operations = [ migrations.AlterUniqueTogether( name='lecture_course', unique_togeth...
[ "77192100+patrick-simon045@users.noreply.github.com" ]
77192100+patrick-simon045@users.noreply.github.com
c4b0fa6a10dd0233f06a512fb6746c6c4f0b86d7
b17fda8e3a9f360cbab8e8ed0ecd66b03787250a
/.venv/lib/python2.7/site-packages/planemo/templates.py
caa25724a0252f54837ada1ffbff3f78b82341b4
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
maumauleon/galaxy-irri-dev
7a4b824c90474da0a2f3a3b858777c5089b9d5cb
063bf0dca5d465466aefa77edaf47df12c4ff932
refs/heads/master
2022-11-16T03:10:18.067196
2017-08-23T03:31:01
2017-08-23T03:31:01
98,497,124
1
2
NOASSERTION
2022-11-01T17:00:32
2017-07-27T05:25:40
Python
UTF-8
Python
false
false
478
py
try: from jinja2 import Template except ImportError: Template = None NO_JINJA2_MESSAGE = ("This functionality requires Jinja2 but this library is " "unavailable. Install with `pip install jinja2`.") def render(template_str, **kwds): """ Use jinja2 to render a template """ if ...
[ "v.juanillas@irri.org" ]
v.juanillas@irri.org
47d15cbb5b377278a0596f903530d487f4f3cc6c
1b512092052c8fe7f6919ee870431ac7b3a65f66
/pal/examples/MixedHalidesBE2/run_simple_misokg.py
77cd6d71fbb4de358efaf37a34fd2962c948ae5b
[]
no_license
ClancyLab/PAL
d7b9dd1caeb62d363041b8e4c7f402d6edbf741e
cb0ef048de37014922b943ae6b5eaffd3d43da63
refs/heads/master
2022-02-25T05:31:20.590421
2019-10-14T19:47:10
2019-10-14T19:47:10
210,862,362
1
0
null
null
null
null
UTF-8
Python
false
false
7,151
py
from pal.opt import Optimizer import pal.utils.strings as pal_strings from pal.constants.solvents import solvents from pal.kernels.matern import maternKernel52 as mk52 # from pal.objectives.binding_energy import get_binding_energy as BE from pal.acquisition.misokg import getNextSample_misokg from pal.stats.MLE import M...
[ "hherbol@gmail.com" ]
hherbol@gmail.com
311e9dd78efad9b732440d9f4fae507fa27b1498
f810888add2af1d8c30cf9920ee6c9becd687c60
/Beginner/repeat.py
fc6cec1d130fccbc18daa1548b2df28ad7f07ba4
[]
no_license
deepa045/python-programming
2a4cc7d42131cc302b3573fe9d866dc62ca480ea
373aeccbc5e1509f093f78e273052263ee0317fe
refs/heads/master
2021-09-13T13:29:33.862035
2018-04-30T17:56:36
2018-04-30T17:56:36
125,207,636
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
string,val=raw_input().split() for num in range(int(val)): print string
[ "noreply@github.com" ]
deepa045.noreply@github.com
79ceb1608e1615bbf1de6d05391d801f4773fff5
c8693ab1ea11ed82d7a52b6582f2b6e8caa60417
/Python/client.py
65e80e2be46fb58e5c2fa07365b6efe467bffdb6
[]
no_license
ValentinModan/AttackOnPython
0b75b2a9d358fa7880b39458c2e0d99899dfec53
ab029fb46077510913f9c9c50db464275809db8f
refs/heads/master
2020-04-04T21:00:07.359565
2019-02-26T19:30:58
2019-02-26T19:30:58
156,268,799
2
2
null
null
null
null
UTF-8
Python
false
false
1,163
py
from bluetooth import * import sys import json import time if sys.version < '3': input = raw_input addr = "A4:50:46:1F:BE:90" if len(sys.argv) < 2: print("no device specified. Searching all nearby bluetooth devices for") print("the SampleServer service") else: addr = sys.argv[1] print("Searchin...
[ "aiordache22@gmail.com" ]
aiordache22@gmail.com
299c27d535669cc4de79dbbd0196b49da9b5ae69
a428ca9108f899de7f69503126272a830102e06c
/app.py
139faa37075b7cbcfa55b596c517bd906a5ca73b
[]
no_license
Hammadali1/detection-fyp
5c4eefd503f52a22baaaec350fa51c1ee92e79d1
572948f3be70ef4082dab2964b0d86b128163adc
refs/heads/master
2021-06-20T01:25:30.627043
2019-07-07T15:40:25
2019-07-07T15:40:25
193,284,974
0
0
null
2021-03-20T01:12:54
2019-06-22T22:35:36
Python
UTF-8
Python
false
false
166
py
from flask import Flask app = Flask(__name__) @app.route("/") def retrieve(): return "yahoo" if __name__ == "__main__": app.run()
[ "noreply@github.com" ]
Hammadali1.noreply@github.com
1caac16e5225167efc86a074ade91bb7bb01268c
e051dbc70bbb656892946c3dadea75a859fb1af4
/skin-generation/xacro-skin-generator-triangle-1.py
ae94c387251fd48860fcad34b10a67d95c0e516b
[]
no_license
matejhof/nao-mirror-self-recog
d5d2d83edd5d088d534e8ac05577f159e02e564c
cdd5433ed68f4c488373363c7d76668101c3a7ae
refs/heads/master
2020-06-26T02:26:58.243911
2019-09-28T20:18:59
2019-09-28T20:18:59
199,496,349
1
0
null
null
null
null
UTF-8
Python
false
false
3,114
py
# This version creates sub-links connected to casing with fixed joints, with coordinate # transformations applied to these sub-links # Status: does not work, contact plugin does not register collisions in sub-links import numpy as np from placeSensors import * VERTICES = [ "coordinates/torso.txt", "coordinate...
[ "outravoj@fel.cvut.cz" ]
outravoj@fel.cvut.cz
d903e132f3f76958023738b2b7dbc6b604ca5f7d
47bd6a35f8d911d73b3b335ba9f82881b7507efb
/Automatic_download_bounce.py
4a46d6deb77527cab25f1c40d1308e0f25b60745
[]
no_license
nandini4189/Pthon-Scripts
144f5ad670aac7b5aed5030c7eee9c94a405b50d
8f55bfde98192ec6a042dda3badfa1ef2791c6b7
refs/heads/main
2023-08-22T01:43:50.225468
2021-10-13T05:45:32
2021-10-13T05:45:32
416,604,816
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
import requests import json import io import codecs import pandas as pd # api-endpoint URL = "https://api.sendgrid.com/api/bounces.get.json?api_user=graghavendra&api_key=Diversio3413&date=1" # sending get request and saving the response as response object r = requests.get(url = URL) # extracting...
[ "noreply@github.com" ]
nandini4189.noreply@github.com
efeee94769b83f842bac96bd9d32030c907b7472
14be69d424c8f30cab70231d5509df50ccaa2f04
/tensorflow/python/training/basic_session_run_hooks.py
99f057e8371aa6d1d5420e5622a79426783ded4b
[ "Apache-2.0" ]
permissive
siemanko/tensorflow
739847a1b7d44e6d9291da63be0daf3ae8f2d17c
66e0faf5f2391d8e1b3acf69afbfa0adf609596d
refs/heads/master
2021-07-08T09:00:56.875610
2017-10-05T18:16:17
2017-10-05T18:16:17
105,937,165
0
1
null
2017-10-05T20:29:58
2017-10-05T20:29:58
null
UTF-8
Python
false
false
28,652
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
b661a1cfef36f0ddc1bcdb83973c0be2589e1ab1
28b76b454aca0f46ec28d292c44cd58932d4f924
/blogging/migrations/0007_auto_20180417_1727.py
41a39954d34313eebebd708e84c05289f4f69952
[]
no_license
U-Divya/Django-Mysite
56a1906abf259c41e806f2e6291754c7cb6cfc1a
740f87903169e997f16095486516f58305c97b22
refs/heads/master
2020-03-15T16:27:08.505545
2018-06-08T16:14:40
2018-06-08T16:14:40
132,234,837
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-04-17 11:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blogging', '0006_auto_20180417_1724'), ] operations = [ migra...
[ "noreply@github.com" ]
U-Divya.noreply@github.com
4f991df0912048ead0e186019f6a15facdca9fcc
b490698632d8a92a9d89072c033458c4d8316fd8
/mysite/urls.py
4421deb0fc1c511eb3e56d4069302a5584cfa285
[]
no_license
kuldeepbista/travelblogs
dec6b764400db88d6c1823969a911b5078ac91a4
c972caa8d312ba454eb2577cae33f33660cf8ccb
refs/heads/master
2020-05-20T19:23:14.716956
2019-05-09T07:09:57
2019-05-09T07:09:57
185,720,559
0
0
null
null
null
null
UTF-8
Python
false
false
834
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "kuldeep@Kuldeeps-MacBook-Pro.local" ]
kuldeep@Kuldeeps-MacBook-Pro.local
411674aed64bba22b2f24cc9fdb1d0237b8dad90
10f047c7631b3aad90c7410c567c588993bfa647
/PythonDispersal/src/testingTheequations/startColsTest.py
9ad2d596bce5622a28b77d6736df337f57bb8ada
[]
no_license
ruthubc/ruthubc
ee5bc4aa2b3509986e8471f049b320e1b93ce1d5
efa8a29fcff863a2419319b3d156b293a398c3a9
refs/heads/master
2021-01-24T08:05:40.590243
2017-08-30T01:37:56
2017-08-30T01:37:56
34,295,740
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
''' Created on Jun 29, 2015 @author: user ''' from core.StartColsClass import StartCols cols = StartCols(126, 1, ad_fd = 0.6) cols.make_col_list() col_list = cols.col_list print "col_list", col_list
[ "Amber22Ruby" ]
Amber22Ruby
cc212e89de838c5d797940d26049945d6c484869
b21b1c9272a42c7c2a74ce871de90e0fe27798d0
/rename.py
b252208f83c0697272e284511ba2742392aa8f8d
[]
no_license
rafiahmad16/object-detection-yolo-project
387e47d3099f45ec6da56d9c95f79b0dd6c8f6dc
8ea7e83377596ecb7bd1884cdf60414c4c3b5e9f
refs/heads/master
2021-09-13T04:53:51.168185
2018-04-25T06:15:00
2018-04-25T06:15:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
import os from shutil import copyfile imdir = 'v_images' if not os.path.isdir(imdir): os.mkdir(imdir) folders = [folder for folder in os.listdir('.') if 'video_images' in folder] number = 2007 for imfile in os.scandir('video_images'): filename = imfile.name extention = filename.split('.') if extention[1] == 'j...
[ "rafi01010010@Rafis-MacBook-Air.local" ]
rafi01010010@Rafis-MacBook-Air.local
4d2056fec89cacb509ef5c0f41cce953a3b61ea2
6e2caad49f10db5ef560549618c884d2dd8f229c
/bili/osPro.py
9934d02cb624c8d5db7b6b5b1196a5e7cef5475e
[]
no_license
iwen1992/python-learning
a6d9e022f8e7f7fadbc23390d13566881f6df689
8f306b86b8e733826a0d5d0e74f04a72891e922a
refs/heads/master
2023-03-14T01:19:10.857037
2021-03-04T09:44:43
2021-03-04T09:44:43
330,402,840
1
1
null
null
null
null
UTF-8
Python
false
false
532
py
import os import time #1、os.name系统的名字window-nt #2、environ环境变量 #3、sep 分隔符 pathsep 路径分隔符 linesep 换行分割分 print(os.linesep) #二、文件和目录操作 os.mkdir('stddemo')#当前目录下创建stddemo os.rmdir('stddemo')#删除目录 print(os.getcwd())#打印当前目录 #三、path模块 #os.path.isabs(path)判断path是否为绝对路径 #os.path.getsize(file) 拿到文件的大小 file = os.getcwd()+'\osPro.py...
[ "3066420900@qq.com" ]
3066420900@qq.com
19bbf36ff2037e3a684c244330eb212bbee1e7c9
abf440dd253331e90e6b5bb3d1486eb240c98cde
/cgan/embeddings/glove_loader.py
c080a9c2d5df468fe56d7ad15c7d77e5fd2a082d
[]
no_license
MdeBoer95/Emoji-Generator
cd7638ebbab4833db2122cf4ebf4e48b0b9d0770
6960eb5764838d3971b1dfcf9c7d82995ef81577
refs/heads/master
2023-06-01T08:24:51.969005
2020-07-14T17:29:06
2020-07-14T17:29:06
268,293,400
1
0
null
2023-05-01T21:44:04
2020-05-31T14:09:34
Python
UTF-8
Python
false
false
3,888
py
import numpy as np """ def download_glove(data_dir_path, to_file_path): if not os.path.exists(to_file_path): if not os.path.exists(data_dir_path): os.makedirs(data_dir_path) glove_zip = data_dir_path + '/glove.6B.zip' if not os.path.exists(glove_zip): print('glove ...
[ "marceldeboer@web.de" ]
marceldeboer@web.de
b9d54800be181bc7335ae1361aa6a0240c3e5a88
639d6fb7f3be808dddf226d2feb520960a8ee656
/lstm_helper_kit/lstm_keras_model_class.py
67a020af72bb480d6acbd632180ffe267c522be8
[ "MIT" ]
permissive
Treesbark/lstm_helper_kit
5d2173412c0035dda1772150f579b1b412553f38
ff95585557985f0aeba27d93159c0cd11e44ad00
refs/heads/master
2023-01-07T23:53:55.501840
2019-09-28T10:50:46
2019-09-28T10:50:46
170,912,718
0
0
MIT
2022-12-26T20:47:06
2019-02-15T18:49:47
Python
UTF-8
Python
false
false
11,464
py
# -*- coding: utf-8 -*- """Main module.""" # Importing the libraries import matplotlib.pyplot as plt import os import math import numpy as np import datetime as dt from numpy import newaxis from sklearn.preprocessing import MinMaxScaler from keras.layers import Dense, Activation, Dropout, LSTM from keras.models impo...
[ "shea.hartley@gmail.com" ]
shea.hartley@gmail.com
6f41487d395ae9b4cdd0b9f9e9a9e493d9089af4
83bd62b9ef3d8aa7cbc892b1546704afe5bc5ee8
/film/migrations/0010_film_review.py
05bd82d4279e7f5426034e2d230c792bc1768216
[]
no_license
baraa65/movies-search
fca843a04af2398898313cb38f547d4b5b083c02
bf43193ce2d3786fd449f085170f4f83f8482b8b
refs/heads/master
2023-07-17T08:40:32.315088
2021-09-01T20:59:29
2021-09-01T20:59:29
383,206,405
0
1
null
null
null
null
UTF-8
Python
false
false
559
py
# Generated by Django 3.2 on 2021-07-05 10:37 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('film', '0009_auto_20210705_1332'), ] operations = ...
[ "baraash75@gmail.com" ]
baraash75@gmail.com