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
1ab8391bef4404b01e0e4f62f2d16c3f90e315ce
6782974234d68d27af841882e7799824ae69d764
/MLE/adaptive_attention/main.py
859c7b62421fc4e24fddae4fe090bf3e4db63fdb
[]
no_license
Veason-silverbullet/image-captioning
2236bb44dcbba15a10e54a41b072176cbd6d7d37
0b11a4318fa47d7f154840b0b7cafeb688d9cc39
refs/heads/master
2022-11-18T04:45:14.930250
2020-07-21T03:37:46
2020-07-21T03:37:46
281,280,519
3
0
null
null
null
null
UTF-8
Python
false
false
11,004
py
import sys sys.path.append('../../') import os import time import re from tqdm import tqdm import shutil import numpy as np import torch import torch.nn as nn from torch.utils.data import DataLoader import torch.optim as optim from torch.optim import lr_scheduler from tensorboardX import SummaryWriter from config impor...
[ "cszhmm@gmail.com" ]
cszhmm@gmail.com
83e2a8ef0312147b674048cf68598dd2c9516713
a312875503897cca08e4ef7d55a2787372e1c90e
/N14.py
75c0bd79ca3be18f31d7f60341e42633e3f630fe
[]
no_license
eagleliujun/leetcode
3138fb48ab1486609422c028f5a2845b96bfa4f7
26904c7a1f53ec1a30f5e9fcd1a41e6717c08015
refs/heads/master
2020-11-25T08:28:07.662625
2020-08-05T14:21:24
2020-08-05T14:21:24
228,376,179
2
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
"""Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: ["flower","flow","flight"] Output: "fl" Example 2: Input: ["dog","racecar","car"] Output: "" Explanation: There is no common prefix among the input str...
[ "eagleliujun@hotmail.com" ]
eagleliujun@hotmail.com
a6256c9b5837cca69a8b8c95003b3e2521477bcd
210ecd63113ce90c5f09bc2b09db3e80ff98117a
/AbletonLive9_RemoteScripts/LiveControl_2_0/LC2Modulator.py
764d6d49f7649a6e5881ede73c976d2d050d3616
[]
no_license
ajasver/MidiScripts
86a765b8568657633305541c46ccc1fd1ea34501
f727a2e63c95a9c5e980a0738deb0049363ba536
refs/heads/master
2021-01-13T02:03:55.078132
2015-07-16T18:27:30
2015-07-16T18:27:30
38,516,112
4
1
null
null
null
null
UTF-8
Python
false
false
9,938
py
#Embedded file name: /Applications/Ableton Live 9 Suite.app/Contents/App-Resources/MIDI Remote Scripts/LiveControl_2_0/LC2Modulator.py from _Generic.Devices import * from _Framework.ControlSurfaceComponent import ControlSurfaceComponent from _Framework.DeviceComponent import DeviceComponent from _Framework.InputControl...
[ "admin@scoopler.com" ]
admin@scoopler.com
3e8a63c52b3b1e5f7f95f95c7d6c0095318cbf70
91582ab800528e108f0c35c72d4244aa64e9118e
/climbStairs.py
b20a57b01db9df23525c9db1e6f6f267f53f59bd
[]
no_license
abhie19/code-repo
9bd79f6acca08a8df1c169849c13fe57db320f9f
0114d62a33d616162fcaa12f2a51e422a3020e21
refs/heads/master
2021-05-22T00:25:31.615152
2020-10-02T02:18:35
2020-10-02T02:18:35
252,882,669
0
0
null
null
null
null
UTF-8
Python
false
false
478
py
class Solution: def climbStairs(self, n: int) -> int: # it is a DP problem coz the bigger problem can be disintegrated into # subproblems which can then be summed to get final answer. # Also can be memoized to store solutions to subproblems dp = [0]*(n+1) #if n == 1: return ...
[ "noreply@github.com" ]
abhie19.noreply@github.com
72301ec7c64df86bd3500a01d59262d2037866dd
e59f696a96f216cdeea8d638f05b75bb0c26ef55
/4 Python_Programs/1 Problems on numbers/10_EvenFactors/Demo.py
2f5e56dcd12e00dd9d0888a7d45b09e65f1ca07a
[]
no_license
Aditya-A-Pardeshi/Coding-Hands-On
6858686bdf8f4f1088f6cc2fc0035a53c4875d81
0d72d45e92cb0698129636412f7bf5a8d865fd2f
refs/heads/main
2023-05-29T05:35:34.052868
2021-06-14T18:52:57
2021-06-14T18:52:57
376,928,262
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
''' Write a program which accept number from user and print even factors of that number Input : 24 Output: 2 4 6 8 12 ''' def PrintEvenFactors(no): if(no<0): no = -no; for i in range(2,int(no/2)+1): if(no%i == 0): print("{} ".format(i),end = " "); def main(): no = int(...
[ "adityapardeshi0078@gmail.com" ]
adityapardeshi0078@gmail.com
4da322ad7373ffcc99ec58259c8b3e4c2ab58673
59166105545cdd87626d15bf42e60a9ee1ef2413
/dbpedia/models/historic_place.py
792b569a8a3a2806daf5872b1931f2b92b0c12fe
[]
no_license
mosoriob/dbpedia_api_client
8c594fc115ce75235315e890d55fbf6bd555fa85
8d6f0d04a3a30a82ce0e9277e4c9ce00ecd0c0cc
refs/heads/master
2022-11-20T01:42:33.481024
2020-05-12T23:22:54
2020-05-12T23:22:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
411,588
py
# coding: utf-8 """ DBpedia This is the API of the DBpedia Ontology # noqa: E501 The version of the OpenAPI document: v0.0.1 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from dbpedia.configuration import Configuration class HistoricPlace(obj...
[ "maxiosorio@gmail.com" ]
maxiosorio@gmail.com
cd813461f75d2ec81029558f3fa70704af1a5a43
85fadecbc65e351263a71349c2db08190ef3d3c9
/app/main/views.py
370a5cca1349f3a4fe25faf8759e5e6e40e52b39
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
sling254/Newscatch
05b1bb1509e386a6565d18ef2336734a010930f9
09398011b638c886e5c5c0a0f486567ce8a2d5a2
refs/heads/main
2023-08-20T13:00:38.565196
2021-10-31T15:25:12
2021-10-31T15:25:12
422,541,237
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
from flask import render_template, url_for from . import main from ..request import get_news_source, get_articles @main.route('/') def index(): """ a function to view the home page """ technology = get_news_source('technology') sports = get_news_source('sports') business = get_news_source('...
[ "mwanikidenis7@gmail.com" ]
mwanikidenis7@gmail.com
09e8a321b6c2eef2de63530249fbe6c99e850863
729693cbd591f860ff61e2d8821fc653f379ceec
/models/base_model.py
932741fbea65979162285440b74228ce3e16410d
[]
no_license
aDENTinTIME/AirBnB_clone
f34c41f7f99af2d09b8c303e0d95c360a8eb876f
b5b0faca9d61b96d5798702dad480b634b3ed9cf
refs/heads/master
2020-03-21T06:42:08.343497
2018-06-25T04:28:46
2018-06-25T04:28:46
138,236,144
0
1
null
2018-06-22T00:40:05
2018-06-22T00:40:04
null
UTF-8
Python
false
false
1,729
py
#!/usr/bin/python3 """BaseModel module""" import uuid import datetime import models class BaseModel: """class BaseModel""" def __init__(self, *args, **kwargs): """__init__ method for BaseModel class Args: args (tuple): arguments kwargs (dict): key word arguments ...
[ "ocontreras.sf@gmail.com" ]
ocontreras.sf@gmail.com
7bf1d8084275a48c88c45504dc88dc8e8eb3552f
2319f749a5238bd346ae0598a07c8f708914802b
/views.py
e919a8b0b2cadc41fccc4a02a845b9b1edb8dbea
[]
no_license
Chaitra1817/Travel_Tourism
90eccf060d659a8c8d8ff0349c9853a84973f5c1
ed04c5ed179c259a04534c2f40555e804055ca63
refs/heads/master
2022-12-27T19:02:50.967476
2020-10-16T11:24:02
2020-10-16T11:24:02
304,605,525
1
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.shortcuts import render from .models import Destination # Create your views here. def index(request): dests=Destination.objects.all() return render(request, "index.html", {'dests': dests})
[ "chaitrabhatgng@gmail.com" ]
chaitrabhatgng@gmail.com
160ebbfc65032d9c6f4dfd838997fb797f897dd0
bfd2cde7fc57ac220691630126a576dc9abad2a6
/main.py
ce92a3943da28d598a10a543f7cf9d770cc7938f
[]
no_license
km-aero/eng-54-pyodbc-connect
dfe4e5beaf519c5867286f4d338a7e58820c2bb7
c0c220d99d4e6281233d086ae89a3da57583e3ac
refs/heads/master
2021-03-15T02:35:43.321892
2020-03-13T11:42:30
2020-03-13T11:42:30
246,817,561
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
import pyodbc from dp_products_oop import * # db_object = NWProducts().read_all() # db_object # x = 'Dragon' # db_object = NWProducts().create_one('ProductName', x) other_object = NWProducts().read_one('ProductID' ,80) print(other_object)
[ "kevin.monteiro96@gmail.com" ]
kevin.monteiro96@gmail.com
6ec25503afb267289ed6ad50d644b27640bf0d26
eeb78834f8f8f7ccb4e8f7a98eb2eb4145dc6c80
/225_Implement_Stack_using_Queues.py
bca1d25c8f4b5f1e8d57ea857726bba8e458624e
[]
no_license
manphis/LeetCode
12b451b9e96f5643e9484a127fc930d8a5f75412
a9e81f91bb4e3e4e6370f2593653142c04024785
refs/heads/master
2020-04-07T19:15:13.536291
2019-07-19T03:05:46
2019-07-19T03:05:46
158,641,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
''' Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. top() -- Get the top element. empty() -- Return whether the stack is empty. ''' class MyStack: def __init__(self): """ Initialize your data struc...
[ "eason_chen@quantatw.com" ]
eason_chen@quantatw.com
0cf13f4ee9f33df9b74112f2d6e98d73271aa12e
b9f4cc9d6a769318a4d945c868b2883b87d7fec0
/data/1516_data/Uncertainty4VerificationModels-master/PHEME/model/analysis/calibration/calibration_plots_PHEME.py
8aee4450d246f92b97d59c25c1831d0b7193ffe1
[]
no_license
zzunebye/Capstone-code-data
b2dcd2ad4a0429d78dd584d9c2c5439fb0e14425
75a40649c3ab3b551546cd5deb7093d6cbcf01e0
refs/heads/main
2023-04-17T22:29:54.166818
2021-05-04T15:45:37
2021-05-04T15:45:37
342,014,393
0
0
null
null
null
null
UTF-8
Python
false
false
10,486
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt import pickle import os import random random.seed(364) from sklearn.calibration import calibration_curve from sklearn.preprocessing import MinMaxScaler from cal_methods import cal_probs, HistogramBinning #%% # load eval ...
[ "bhang96@gmail.com" ]
bhang96@gmail.com
edd1730b7bcc1a62ad822813df6d6f37c4d1de87
029ac36e7252b9398da0fff462da4a6b32fdbf9b
/usdacm/templatetags/custom_filters.py
37a5a844e03d2119593d6ad7362eac2f07e5be3f
[]
no_license
lauralondo/USDACM-web
73477612fb983f9094e2d3777fcab569b03065a3
8e2fbdb9642875b5cc34a2fb3863bf9d7a53ae10
refs/heads/master
2021-01-10T20:29:11.829363
2014-05-20T15:57:05
2014-05-20T15:57:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
# custom_filters.py # USD ACM # Laura Londo # 20 May 2014 ''' This document provides custom template filters that can be used within the Django template language tags to perform various tasks. ''' from django import template register = template.Library() """ Filter - returns a list containing range made f...
[ "lauralondo@sandiego.edu" ]
lauralondo@sandiego.edu
0af258f665b55591b45499c6c802b90726deb6d8
d1fec359b3c3dc68c483b927de51c43935552c10
/unoconv-0.8.2
fa5c3a177406682d0952c651a55b35ab8509fba9
[]
no_license
XVTSolutions/dotnet-aws-docker
7ce1951ce43fee3fa93c715479371547978dc31e
964cc1fb5b8b38d325d3c37c42dd8db3a5958c1d
refs/heads/master
2020-03-30T00:05:35.726109
2019-09-27T03:35:40
2019-09-27T03:35:40
150,504,875
0
0
null
2019-09-27T03:34:54
2018-09-27T00:14:01
Python
UTF-8
Python
false
false
69,415
2
#!/usr/bin/env python3 ### This program is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by ### the Free Software Foundation; version 2 only ### ### This program is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY;...
[ "steve.kieu@xvt.com.au" ]
steve.kieu@xvt.com.au
9b6e87777212e93821e9296860eef76c187aa685
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/298/82997/submittedfiles/testes.py
526e6017d8abd2de623bff22ac68e85aeb35505c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
n = int(input('Digite um numero inteiro positivo entre 1 e 100: ')) while (n<1) and (n>100): print('Entrada inválida.') n = int(input('Digite um numero inteiro positivo entre 1 e 100: ')) if n in range (1,100): kn = float(((n + 2)/10)*2) print('%.4f' % kn) #-----------------------------------------...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8de70c60deee7ad8b0db06b18e25e20a74949c6d
8c7386925a89d93745692a4826842b049406df02
/ganglr/migrations/0002_auto__add_field_poster_provider__add_field_poster_user_social_auth__ch.py
e9df9367df3268ebebbdfe843b5fbf713389941b
[]
no_license
RickyCook/ganglr
025c74162b802512f24b6249271bcbbc2dd68cf8
908fbf12a45509736fc729ff1639e3aa39af905b
refs/heads/master
2020-06-03T14:03:46.312119
2013-10-25T14:15:42
2013-10-25T14:16:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,660
py
# -*- coding: utf-8 -*- import 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 'Poster.provider' db.add_column(u'ganglr_poster', 'provider', self.gf('...
[ "mail@fuzzibear.com" ]
mail@fuzzibear.com
720295f16c4deee47d594d603c601236d1adc9a2
57b233b378aa4814e3bc2dd1cde82e40110b7e31
/wsgi.py
947fa588c839e46f8d139c2c34dcf2b01222c630
[]
no_license
WRLC/alma-fines
b2bf8a4517a5992bd75695900d84bdafa9190915
4a7fa2072b6ad8b08781e2cec1984adc1289d63f
refs/heads/master
2023-08-05T08:52:40.122441
2023-07-27T17:37:43
2023-07-27T17:37:43
152,097,169
0
0
null
2023-07-27T17:37:45
2018-10-08T14:50:32
Python
UTF-8
Python
false
false
68
py
from fines_app import app if __name__ == "__main__": app.run()
[ "ihardy@wrlc.org" ]
ihardy@wrlc.org
6cb2b30df0e9b3bd421bbd6b8a21650fedf942a9
a5c3d8d1aa4228298f86c5b01ad38a315d5763c6
/todo.py
9348df4c08e40f5e89c55b66178bb6041cb873f8
[]
no_license
Harshilgupta95/WorkIndia_Todo_API
504c6b5431bff160bfc5e26e1aea28bfa7b4fbdb
4dddea8a761c24fd63585c11156ae2867518c345
refs/heads/master
2022-11-25T17:32:41.294567
2020-07-21T06:36:50
2020-07-21T06:36:50
281,315,836
0
0
null
null
null
null
UTF-8
Python
false
false
4,106
py
import os from flask import Flask,request,jsonify,make_response from flask_sqlalchemy import SQLAlchemy from werkzeug.security import generate_password_hash,check_password_hash import jwt import datetime from functools import wraps app=Flask(__name__) app.config['SECRET_KEY']='mysecretkey' basedir=os.path....
[ "noreply@github.com" ]
Harshilgupta95.noreply@github.com
733d0d11ebb7252ed0ecdc46df7ff9df4f18545b
d39222e23ecfdd64b82312282164c3eec7a76317
/venv/bin/easy_install
42c85ee04b74edd39eef299fb7099f989d84697f
[]
no_license
simaung/webscraping-python
a0cbfe15fd8bb585ee0764f9ea58d0eeffafed01
7f36d754a27e49a553eb9e7e35ee34ef19f94207
refs/heads/master
2020-06-02T11:19:17.927861
2019-06-20T08:00:19
2019-06-20T08:00:19
191,135,537
0
0
null
null
null
null
UTF-8
Python
false
false
281
#!/home/aliya-azka/learning/python/web_scrapping/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ddhr00@gmail.com" ]
ddhr00@gmail.com
e466264db5fee3fa97443be6ce730552716341bf
20be89b6039d2c7ac5cd7fceb4dc6c47ab7799d2
/openfda/tests/test_api.py
11ccd36333b118af8cb23eb2f9f2f2d3585d7ee2
[ "CC0-1.0" ]
permissive
beckyconning/openfda
385b37083ffe411d191b2175d6df4b859de75b5c
9d02fcc2e5b04861472d12de4fb843146f1c2b87
refs/heads/master
2020-08-01T09:07:28.743175
2018-09-24T18:04:08
2018-09-24T18:04:08
210,944,296
0
0
NOASSERTION
2019-09-25T21:32:48
2019-09-25T21:32:48
null
UTF-8
Python
false
false
1,911
py
#!/usr/bin/env python ''' Quick API tests to run against a new index build. These test certain "quasi-invariants" about the index data: e.g. we should have more reports for etanecerpt than for naltrexone. They are by no means a complete test of the full system. Before pushing out a new index, the `refresh_test_resp...
[ "hans@iodine.com" ]
hans@iodine.com
be0076e454280e9970e678b3f673a8ad4f30cfd4
4b66194e4d23261a8544444453f2a6560d683a1e
/training/unseen_speakers/train2.py
274f36766fce2cab35dff6a81fba76886985bc82
[]
no_license
lightning830/multimodal_with_lipnet
01d7d054837332629be2dbd827a2dceaf247a819
db7e7dfda56a18ba31984ef2562ff4c513d05cb6
refs/heads/master
2023-06-21T11:33:49.800938
2021-07-29T15:09:31
2021-07-29T15:09:31
378,707,000
0
0
null
null
null
null
UTF-8
Python
false
false
4,531
py
from tensorflow.keras.optimizers import Adam from tensorflow.keras.callbacks import TensorBoard, CSVLogger, ModelCheckpoint from lipnet.lipreading.generators import BasicGenerator2 from lipnet.lipreading.callbacks import Statistics, Visualize from lipnet.lipreading.curriculums import Curriculum from lipnet.core.decoder...
[ "nobukazuaoki830@gmail.com" ]
nobukazuaoki830@gmail.com
4030f63098bbbd19a41102250c7f615bf1a647c3
dd87194dee537c2291cf0c0de809e2b1bf81b5b2
/test/test_v1_job.py
2a33786b9e31d281aa3aff1f99a840af636abb55
[ "Apache-2.0" ]
permissive
Arvinhub/client-python
3ea52640ab02e4bf5677d0fd54fdb4503ecb7768
d67df30f635231d68dc4c20b9b7e234c616c1e6a
refs/heads/master
2023-08-31T03:25:57.823810
2016-11-02T22:44:36
2016-11-02T22:44:36
73,865,578
1
0
Apache-2.0
2018-10-10T12:16:45
2016-11-15T23:47:17
Python
UTF-8
Python
false
false
1,310
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: unversioned Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Licens...
[ "mehdy@google.com" ]
mehdy@google.com
c253fd4223b3a4b95c0a137d34bc1de491943caa
276f79d1f8449a16c3efec94884c0e0d8a9a7c65
/firsttest_1.py
d2dcc41573570b1b91fa7b9c13ff01163f5ce068
[]
no_license
GurutheKing/airflowsample
effcec27c72103fbde07669ea83a8d2852da4589
b7f4e4822f9d7cbb74a9d7401fb124cec1f5a7ac
refs/heads/master
2020-09-06T11:09:10.942458
2019-11-13T06:31:45
2019-11-13T06:31:45
220,408,104
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
from airflow import DAG from airflow.operators.bash_operator import BashOperator from datetime import datetime, timedelta # default arguments contains the owner info, email details etc... default_args = { 'owner':'guru', 'depends_on_past': False, 'start_date': datetime(2018, 10, 1), 'email': ['airflow@e...
[ "gururajan.s@outlook.com" ]
gururajan.s@outlook.com
3e351ccb89a05853454531618b5ea0802dea8108
876735f69ce5392f5737a8210758ac59f785611d
/buildtool/buildtool/actionlib_build.py
7a04c7ac24602a5c5d95c78f0e505f672ea63f73
[]
no_license
rospypi/ros_stubs
4a2a6c396952247af86c3bde7ee6dbcbc2bd9125
f2fdd6db767e2d2bacb6840cfa20e52419fdebd8
refs/heads/master
2023-08-05T01:23:58.787524
2021-10-06T14:36:06
2021-10-06T14:36:06
362,744,235
5
0
null
2021-10-06T14:36:07
2021-04-29T08:25:44
Python
UTF-8
Python
false
false
2,286
py
import pathlib from typing import List, Literal, Tuple, cast from .build_action import BuildAction from .context import BuilderContext ACTIONLIB_EXTENSION = ".action" def parse_actionlib(contents: str) -> Tuple[str, str, str]: parts: List[List[str]] = [[]] for line in contents.splitlines(): if line....
[ "noreply@github.com" ]
rospypi.noreply@github.com
6fe83533c4985956254a959f901bbfd8e7e686f8
b63e42047081bc2be186d506bc08417cd13d547c
/rice/deps/prompt_toolkit/document.py
2a9d1d79373438880647ed777ae41e7a1f6f0e56
[ "MIT" ]
permissive
Arrendi/rice
dbd999aa632b4dacae10c6edd18c3eb31fd3ffde
5bebd14556127613c9af4ac3fc1f95063110077d
refs/heads/master
2021-08-28T15:25:49.239846
2017-12-12T15:56:51
2017-12-12T15:56:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,209
py
""" The `Document` that implements all the text operations/querying. """ from __future__ import unicode_literals import bisect import re import six import string import weakref from six.moves import range, map from .selection import SelectionType, SelectionState, PasteMode from .clipboard import ClipboardData __all_...
[ "randy.cs.lai@gmail.com" ]
randy.cs.lai@gmail.com
1f8e23f737414ef87007e5bbc13d447974c86a2d
bdd89a2423ef3f3cdc0a3957ab09b7050b5ae166
/BelBook/upmedia/migrations/0001_initial.py
486c14d320ee71e025adce20e0ec2f778dbf857e
[]
no_license
NTN-code/Test-Django
45dcb2f6290c555c5058ad9e3d47008d3c4c7cc8
b1875d1cfa3e90acf2274d1e0cb825d590ab8aa1
refs/heads/main
2023-06-25T08:06:22.884418
2021-08-02T12:52:34
2021-08-02T12:52:34
389,719,176
0
0
null
null
null
null
UTF-8
Python
false
false
695
py
# Generated by Django 3.2.5 on 2021-08-02 12:16 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UploadFileModel', fields=[ ('id', models.Bi...
[ "tk2007m@mail.ru" ]
tk2007m@mail.ru
d293100fa7e1cde54f6b600b96e29dc25c393caf
198a0a577521b8676da0489733db07eaa6cdfcbf
/virtual/bin/email_validator
50f11a1d8a83958769c8ae70391464f1478011e6
[ "MIT" ]
permissive
Emmanuel-otieno/Qoutes
c605ec8a38d6ecd2d13df5ad11989f1c8a23886f
b3bb7baa307b62e36dcb340b813a631b03e13146
refs/heads/main
2023-01-28T18:12:42.657196
2020-12-14T09:26:29
2020-12-14T09:26:29
311,092,914
0
0
null
null
null
null
UTF-8
Python
false
false
251
#!/home/moringa/Desktop/Blogs/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from email_validator import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sakoemmanuel4@gmail.com" ]
sakoemmanuel4@gmail.com
5a14e7fcc8bfaa14b74e1dfeeb274a6d884eae01
b23f38f59caf00bc76490c7b640e4e3e8b6534c6
/helpers/filters.py
7b6c4efb7a3cf92a577bfad2873a9c96bdd18788
[ "Apache-2.0" ]
permissive
krisnadiwangga01/Musik-Saya
3b3bb30ac2d49c3d77a18850a1693644c16567a0
d45d1dc84fc88d2e25f18f41f3a4469209ebb174
refs/heads/main
2023-08-17T14:37:21.828769
2021-09-16T14:46:08
2021-09-16T14:46:08
410,494,702
0
0
Apache-2.0
2021-09-26T08:28:23
2021-09-26T08:28:22
null
UTF-8
Python
false
false
388
py
from typing import Union, List from pyrogram import filters from config import COMMAND_PREFIXES other_filters = filters.group & ~ filters.edited & ~ filters.via_bot & ~ filters.forwarded other_filters2 = filters.private & ~ filters.edited & ~ filters.via_bot & ~ filters.forwarded def command(commands: Union[str, L...
[ "noreply@github.com" ]
krisnadiwangga01.noreply@github.com
dc1ea5f6ed66097ce3db157b69aeb58d176b9ffa
fd9ea3bf0d048fe40e635cde7414aa2a27e73b2a
/src/agvs_simk/agvs_gazebo/catkin_generated/pkg.develspace.context.pc.py
823f0ad578843f75220e5e8c193c6e21857d652f
[ "BSD-2-Clause" ]
permissive
shydhryw/catkin_ws
30428cec9290b85fe9412bb2e85d37594e3fa39b
35a0d2cd089b71e2b11c72b3dc7256bb1d948c0d
refs/heads/master
2020-04-15T17:13:45.339758
2019-01-09T13:18:51
2019-01-09T13:18:51
164,776,213
0
0
null
null
null
null
UTF-8
Python
false
false
372
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 = "agvs_gazebo" PROJECT_SPACE_DIR = "/ho...
[ "shydhryw@qq.com" ]
shydhryw@qq.com
2fc607b69c5dbed60af5eb7d27d9096cdf6f5f97
adac901a1c98684bd40d0ffb2863f551f49faa15
/Array/tuples.py
4836b7278e18ce1fcf2d28593f3c6d484bc2b16e
[]
no_license
Singharat/BasicPython
017e9bbd70838d393082ee072669a6bafd786323
f3baafce85c52ba95397f23ab04d0082d97e45b7
refs/heads/master
2022-04-27T01:06:19.415454
2020-04-26T08:02:28
2020-04-26T08:02:28
258,975,696
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
# ต่างกับ List ที่ไม่สามารถเปลี่ยนค่า,ลบค่า ได้ แต่สามารถเพิ่มค่าได้ # ใช้แค่ () ธรรมดา , List ใช้ [] number = (1, 2, 3, 4, 5) mixed = (10, 20, [5, 4, 3], True, 'Max') print(number[2]) print(mixed[1]) print(mixed[2]) # ไปที่ 2 แล้วเข้าไปที่อันดับที่ 1 print(mixed[2][1]) # ลองเปลี่ยนค่า มันจะเปลี่ยนไม่ได้ number[2] =...
[ "singharat.coe@gmail.com" ]
singharat.coe@gmail.com
4ea930272b37c2387815e006e06d224faf0e0aa8
b118e154cf1b120e4a6b0a0f6434f1d85e08b869
/waketime.py
b10b8adcae0ac4a1d4d540b76a89312c7d0ecfbc
[ "MIT" ]
permissive
dleicht/waketime
6c9deeae9256163faa06abc6d83c583d9d31feab
ec165aa0185a955f67be27738e83a3f04a9bb3b0
refs/heads/master
2023-08-13T12:10:34.035532
2021-10-02T15:20:41
2021-10-02T15:20:41
285,099,028
1
1
null
null
null
null
UTF-8
Python
false
false
6,292
py
# WakeTime App v1.1 - AUG 2020 by D.Leicht # https://github.com/dleicht/waketime import rumps, syslog from uptime import uptime from subprocess import check_output from datetime import datetime class WakeTimeApp(rumps.App): rumps.debug_mode(False) # turn on command line logging information for development - defa...
[ "noreply@github.com" ]
dleicht.noreply@github.com
ef62696f3603d462a78c252f553fda1cd4e1a002
c26bd34544d6fcdb72587b97cb532ae3db41e040
/passing/cutThruAll/C1.py
3a7931127485422d489f4480c0ccfacdb49a12f2
[ "WTFPL" ]
permissive
RubenRubens/cq-testing
ca242f9027223d41dfd35fcf908b4c0ed49a592d
558631a56b5751ef529f33d0aea4fe62ed8d5549
refs/heads/master
2023-04-22T19:45:16.902436
2021-05-11T12:05:39
2021-05-11T12:05:39
328,657,793
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
# issue 355 import cadquery as cq sphere_r = 10. result = (cq.Workplane("XY").sphere(sphere_r) .workplane(centerOption="ProjectedOrigin").circle(sphere_r / 2.).cutThruAll() .workplane(centerOption="ProjectedOrigin").transformed(rotate=(90, 0, 0)) .circle(sphere_r / 2.).cutThruAll(...
[ "a28144415@gmail.com" ]
a28144415@gmail.com
9e7c2bcddff622777890630a880abba20a2ceb93
9152c6f5b692694c4cb95725319fc8dd21d30455
/office365/runtime/client_value_object.py
6d76794e0d56308f5fb685632d48f2ac654b41b2
[ "MIT" ]
permissive
VISIN9/Office365-REST-Python-Client
cf3de86a6bdd2461ff5814dbfa02d4d4185917d5
91c07d427a76197f6eb143c6253bdc832cbb889d
refs/heads/master
2021-05-25T08:43:35.530546
2020-04-06T20:24:53
2020-04-06T20:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from office365.runtime.odata.json_light_format import JsonLightFormat from office365.runtime.odata.odata_metadata_level import ODataMetadataLevel class ClientValueObject(object): """Base client value object""" def map_json(self, json): for key, val in json.items(): # if hasattr(type(self)...
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
d05df46c24584a0606f87bc9ab42b077f297ee35
ea0a54a16085e14a563297a0bb0fe22b0f3b7dad
/accounts/forms.py
b777c1e2ed5bfaffb54b6b857943ef7386836ff1
[]
no_license
kaisam11/AniComTy
ff5465c0500936c0edacc511270031c2abc3702b
67a328c047437f72cb47713424a64c0e1ffcb5c0
refs/heads/main
2023-04-02T01:32:15.908116
2021-03-22T10:34:05
2021-03-22T10:34:05
336,819,948
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserCreationForm class UserCreateForm(UserCreationForm): class Meta: fields = ('username','email','password1','password2') model = get_user_model() def __init__(self,*args,**kwargs): ...
[ "hrithiksinha17@gmail.com" ]
hrithiksinha17@gmail.com
8f36fdec70dd294bf764bb26576797c341ef9de3
399394059dd8083fbf7b0f2ed9b082780d72962c
/djangocalendar/cal/utils.py
cf5f3a7327f1efc829fc6675137aa3bee7ab5520
[]
no_license
rubybui/djangocalendartodo
ce9169bc894f2499d3995245cb804b0d74b8034d
ec6aafe52a1fe1cb5d04fb11d580647d466bdb65
refs/heads/main
2023-06-09T22:23:42.567660
2021-07-01T13:20:07
2021-07-01T13:20:07
382,038,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# cal/utils.py from datetime import datetime, timedelta from calendar import HTMLCalendar from .models import Event class Calendar(HTMLCalendar): def __init__(self, year=None, month=None): self.year = year self.month = month super(Calendar, self).__init__() # formats a day as a td # filter events by day def...
[ "bui00002@rangers.uwp.edu" ]
bui00002@rangers.uwp.edu
663a74a9cfe581c92ddc8809226d4370eed9176e
6d743394582df824d96230137418088969f3aad6
/test_MultiplexMarkovChain.py
6e7e8f8d4c9a8f155e8c838db407c11fe48e03ee
[ "BSD-3-Clause" ]
permissive
vkrmsv/MultiplexMarkovChain
37e4f04140b0147d317fbe7e86aa0c76c65d75e5
3bc3e866affb5a391a34af77cb4573b642352275
refs/heads/master
2021-01-18T20:30:37.504658
2016-02-11T05:34:25
2016-02-11T05:34:25
35,698,344
3
6
null
null
null
null
UTF-8
Python
false
false
3,456
py
""" Test cases for testing the class MultiplexMarkovChain and the class MarkovChain. """ import MultiplexMarkovChain import unittest import time import numpy as np class TestMarkovChain(unittest.TestCase): def get_counts(self): counts = [10, 10, 20, 20] return counts def setUp(self): ...
[ "vikram@ms.physics.ucdavis.edu" ]
vikram@ms.physics.ucdavis.edu
bf04c95bf07c98a8ce4d8742044d06a723616acc
ff97ae8a042788d431e39342fd9d85a78160dc7a
/SecondTask/battle.py
7131ba87936ef14c26b6036bb3c2806f6c7bebf8
[]
no_license
tanyaamiheeva/Simple_Console_Game
db1a614597673078134b1a0a80a1d997919b2336
bfce338e21b6030eb2ab3fc8ab076d0dbf448ace
refs/heads/master
2023-01-28T23:56:33.682944
2020-12-09T17:04:27
2020-12-09T17:04:27
252,198,417
0
0
null
null
null
null
UTF-8
Python
false
false
1,671
py
from armies import Army, HumanSquad, SpecialHumanSquad, CentaursSquad, CyclopsSquad, DragonSquad from service import Side import random def create_default_army(main_army: Army): if main_army.side == Side.Demigods: default_army = Army(Side.Monsters) else: default_army = Army(Side.Demigods) ...
[ "Mikheeva.TA@phystech.edu" ]
Mikheeva.TA@phystech.edu
679bf585c688354e4b896a76b7473cdfcc72fb40
3bc1967b6a843e06599e3d7075019b1b0a4d59a2
/src/samplics/categorical/tabulation.py
be31555c7af82e50a45296c85d77943401b8f6a3
[ "MIT" ]
permissive
kthyng/samplics
e02d36f16f21c5349d973cedd79798c043f31656
5a544f24a66e73fc439f0ee03b2d0a29915713d7
refs/heads/main
2023-02-21T11:34:24.845088
2021-01-18T20:26:45
2021-01-18T20:26:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,689
py
"""Cross-tabulation module The module implements the cross-tabulation analysis. """ from typing import Any, Dict, List, Optional, Union, Tuple import itertools import numpy as np import pandas as pd from patsy import dmatrix from scipy.stats import chi2, f from samplics.utils.basic_functions import set_variabl...
[ "msdiallo@quantifyafrica.org" ]
msdiallo@quantifyafrica.org
51c25a8903d2b3434d08c0cfafd25f9634a17f08
2e27b05415352ec73beccca5a370e2e1866625d1
/lection4/task1_encode.py
1cea411c7a5acf4200101d0786ee8ca334425bb1
[]
no_license
gleb-lobastov/algorithms
0a1e2e57149ff24ace9c0ff2f2cdfbd3666d9948
7432e2cc0c509c90e231491602063305ea57621c
refs/heads/master
2020-05-29T08:51:20.090907
2016-11-05T23:34:50
2016-11-05T23:34:50
70,075,757
0
0
null
null
null
null
UTF-8
Python
false
false
3,781
py
""" По данной непустой строке s длины не более 10^4, состоящей из строчных букв латинского алфавита, постройте оптимальный беспрефиксный код. В первой строке выведите количество различных букв k, встречающихся в строке, и размер получившейся закодированной строки. В следующих k строках запишите коды букв в формате "let...
[ "0000reg@gmail.com" ]
0000reg@gmail.com
33c90b514e4791c02073aa6be9e909a04e670f77
b59e7549b6e290012a478d66a1591ac7791f34cd
/PythonWorkspace/basic_practice/23_practice_pass2.py
a275f618d4f981f92702fe719974ec87918ac02f
[]
no_license
ajc212-plt/MyCoding
d03a651772074ddd8ec15d91baf2a2782a6e0e22
dbbfb45b6894143b6019208d59ad17815a945317
refs/heads/master
2023-03-12T22:24:53.067463
2021-02-25T15:00:11
2021-02-25T15:00:11
327,207,235
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
class Unit: def __init__(self): print("Unit 생성자") class Flyable: def __init__(self): print("Flyable 생성자") class FlyableUnit(Flyable, Unit): #두개 이상의 부모 클래스를 다중 상속을 받을때는 맨 처음 받는 클래스만 #상속이 된다. def __init__(self): #super().__init__() Unit.__ini...
[ "ajc212@naver.com" ]
ajc212@naver.com
1c345f9f054da786bb4b108d6e9fe03934792328
0f47b8b3775e1730f92141128491b0bbfe3d89e0
/data_structure/graph/shortest_path/floydwarshall.py
e74f989ab56a38084b43fe4e47c8b53dce6094b5
[]
no_license
hongmin0907/CS
1d75c38da98c6174ea19de163c850d0f3bac22e3
697e8e1a5bde56a7588381a12f74bbb0e3aee3e8
refs/heads/master
2020-06-23T20:10:22.051477
2019-07-15T00:20:09
2019-07-15T00:20:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,194
py
from copy import deepcopy class ShortestPath: def __init__(self, A, path): #2차원 배열 A self.A=A #2차원 배열 path self.path=path def print_shortest_path(self, source, dest): print(source, end=" ") self.__print_sp(source, dest) print(dest, end=" ") def __p...
[ "ythwork83@gmail.com" ]
ythwork83@gmail.com
7580db354e832980cb68e6afb7c9c89485dede71
b0cdbad299f6174bfdb0fba173dbcf3889b82209
/Modules/datetime/d1.py
29a423c96933b4d0b2a03754743aa30a42bb5be7
[]
no_license
deesaw/PythonD-06
a33e676f1e0cfc13b4ea645c8b60547b198239ac
3c6f065d7be2e3e10cafb6cef79d6cae9d55a7fa
refs/heads/master
2023-03-18T08:24:42.030935
2021-03-02T14:15:09
2021-03-02T14:15:09
343,797,605
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import datetime bday=(datetime.date(2000,7,26)) print(bday) print('Year : ',bday.year) print('Month : ',bday.month) print('Date : ',bday.day) t = datetime.time(9, 25, 39,10) print( t ) print( 'hour :', t.hour ) print( 'minute:', t.minute ) print( 'second:', t.second ) print( 'microsecond:', t.microsecond )
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
96180e29079c4ff6042a8ed8e4eab57e46a393b6
721e20fb2a3747ce257c772e03eb938a639e2261
/src/api/response.py
adffcdfccdeb63d8df94a46b2144ba62a3aaaf54
[ "MIT" ]
permissive
jsmuniz/wishlist
f5c5f31c893319374ded0e51bffb405a68ae92ec
9ba4d3d8877e1838588aaf80bdd7a1ec7dd0400d
refs/heads/main
2022-12-13T18:35:59.335696
2020-09-17T01:09:21
2020-09-17T01:09:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
from enum import Enum, unique class Response(): def __init__(self, status_code, message, data, details): self.status_code = status_code self.message = message self.data = data self.details = details @unique class ResponseMessages(Enum): SUCCESS="The request was successfull" ...
[ "noreply@github.com" ]
jsmuniz.noreply@github.com
f91cd4e7fce475120da08bc7ea5d6fda64201a69
fb2da7ce33ed0f1010deff8a970b55b659ce7062
/lessnoise_specs.py
2b82cffe9908edd874cd5f9f9f6fb364917f9131
[ "MIT" ]
permissive
pymir3/pymir3
c4f590f8bd4d0fad02433a8784616c5d21fecf4b
c1bcca66a5ef1ff0ebd6373e3820e72dee6b0b70
refs/heads/master
2021-01-17T03:26:57.964485
2017-08-15T15:50:03
2017-08-15T15:50:03
21,573,888
13
3
null
null
null
null
UTF-8
Python
false
false
1,058
py
import glob import remove_random_noise as rrn import os filename, file_extension = os.path.splitext('/path/to/somefile.ext') if __name__ == "__main__": wavdir = "./links/" wavs = sorted(glob.glob(wavdir + "*.wav")) pngdir = "./pngs/" #print wavs for f in wavs: nome, ext = os.path.splitext(...
[ "julianofoleiss@utfpr.edu.br" ]
julianofoleiss@utfpr.edu.br
c31a3b25afcc327402ecbc9b444aa0d0d9529bb8
f488c92e011acde64593918bc616dcb16f96a9fd
/testChild.py
e6a7541c96b5cab8ffe76f8151aa477275968ccf
[]
no_license
tahirUJ/test_repo
bf70f243ca74bd0fc5ef4a7de4887e3db7017974
977f22a671a5ec96563317a39bb903ccce056f99
refs/heads/master
2023-04-17T10:27:31.330474
2021-04-24T20:55:41
2021-04-24T20:55:41
360,905,268
0
0
null
2021-04-24T14:59:11
2021-04-23T14:08:26
Jupyter Notebook
UTF-8
Python
false
false
51
py
# testing child code print ("inside child branch")
[ "noreply@github.com" ]
tahirUJ.noreply@github.com
f9c16d5cbb4915c77273f21e84b090339c97ed72
ef94cddf90ac74d674598ac22b105bb58c1303da
/pruebas_automaticas/test_unitarios.py
c5896867e0c756d046ed0b4cbe4aece6c61c452f
[]
no_license
IvanLpJc/python-course
559f22bc6fe822c5ed2ef18f991f982098baf200
d5345267c3b21d58db97fd69bed75996d01d7df7
refs/heads/main
2023-06-18T19:52:41.014667
2021-07-20T11:57:18
2021-07-20T11:57:18
385,641,723
0
0
null
null
null
null
UTF-8
Python
false
false
585
py
# Sirve para crear pruebas dentro del propio código def multiplicar(numero1, numero2): return numero1*numero1 resultado = multiplicar(2,4) print(resultado) import unittest class pruebas(unittest.TestCase): # Definimos una clase para las pruebas que recibe TestCase # Definimos métodos para las pruebas ...
[ "malverano78@gmail.com" ]
malverano78@gmail.com
659570d79bb491ef6bb02fa8c63ffc36b3a727e2
dccb2807de13176a85b8bb5bf979c77c1e2bb178
/chat/admin.py
86477e250e073410ec966168d0e972ab2805fcc1
[]
no_license
mike-egg123/SmallTermBackend
95442ff9a4bb7f2042bfec0801a41cc4f23a7a1a
ebd4448f89f3edc4fa4f09e43903ec6200101a98
refs/heads/master
2022-12-05T10:08:11.607502
2020-08-20T09:30:40
2020-08-20T09:30:40
286,938,426
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Message) #注册Message表
[ "qrn20000312@163.com" ]
qrn20000312@163.com
03b97a3a1d820090f253309478f0a6e4735b3909
756543fa0c042122395202291b7da3bba90c1392
/AccessGithubRepo_komplett.py
bfa79ff17354b49855931ab6b3f68b0d3cc0d9f0
[]
no_license
bvbgh/aimloss
df7f35305470e7ee71be878e461ec0815b7ca17a
697ee3e45b9b3d6eb2f07578d1ae9c522f17141c
refs/heads/master
2021-01-23T22:23:21.431330
2018-04-20T13:21:46
2018-04-20T13:21:46
83,125,678
0
0
null
2018-04-20T13:08:41
2017-02-25T10:58:33
R
UTF-8
Python
false
false
6,187
py
# Test output # python 3, load libraries # speicherproblem gelöst ja # iteration über ganzes Jahr # irgendwann in 2014 wurde repository erst in repo abgekürzt # anfang 2011-2012 wieder repo statt repository import json, gzip, urllib, time, os #tmp_data_before = set(os.listdir('C:\\Users\\Benedikt\\AppData\\Loc...
[ "bvonbronk@gmail.com" ]
bvonbronk@gmail.com
b4cf81d8c5b0af70a4d15e32d9b106218c7954de
453593a22e75f9e0497562d2741ffc1088dc8252
/main.py
31a67d916c68a2ded8d6422f7d2f3c59fbd388f2
[]
no_license
bibekbistey/Database
a4ef86f5d3f512d76cf7a7576d80bcda0692e90d
8eb6d92f9d27ea7d2542d3185b1ab86cd6113ab1
refs/heads/master
2023-07-16T02:00:20.855924
2021-08-16T05:29:21
2021-08-16T05:29:21
396,633,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,275
py
from tkinter import * import sqlite3 root=Tk() root.title("Creating database") #Database con=sqlite3.connect("contact.db") #Create cursor c=con.cursor() #create table '''c.execute("""CREATE TABLE contacts( first_name text last_name text city text phone_nu...
[ "bistabibek9@gmail.com" ]
bistabibek9@gmail.com
ab47d2ef2c79d655f1aa78de9a9e668397a78405
32984b41f0dac3f0a3f5e167b50b204092c4a64f
/CODE/example_batch.py
d7662c5cbfa0f29b8df4c5dd4c943ce3a6b6da23
[ "Apache-2.0" ]
permissive
RParedesPalacios/PassiveAggressive-MaxOut
4c04b715061dde7a3e9199b9d84dbf9dcf74d3aa
08fd2ee494ebe3ff68baa3976c17bd9e23010b5a
refs/heads/master
2021-04-25T18:58:06.884496
2018-02-14T15:20:41
2018-02-14T15:20:41
121,525,357
0
0
null
2018-02-14T15:18:11
2018-02-14T15:18:11
null
UTF-8
Python
false
false
3,094
py
import cPickle, gzip import time import sys from PassiveAggressiveMaxOut import * from utils import zscore_data np.random.seed(0) if len(sys.argv) < 2: raise Exception("python example.py dataset {hidden_units pieces C_0 C_1 alpha version={0=PAMO-I, 1=PAMO-II}}") ds = sys.argv[1] if len(sys.argv) == 8: pr...
[ "jjorge@dsic.upv.es" ]
jjorge@dsic.upv.es
cb5a74a8c0b74da0c9257cc4d0a6a36ac3d0f1e1
da218343aa224536707f7fa0d33592da602ecab1
/algorithms/memetic/armijo_based_nsma.py
ef40b468107e21d58ba17c735bcffc3257c29f87
[ "Apache-2.0" ]
permissive
pierlumanzu/limited_memory_method_for_MOO
ef72b6b8665d6b57f6671fc19b863d11543cdfef
dce4b9b20c602f9865bd99f05c5dc9b74c7681a2
refs/heads/main
2023-04-06T17:02:14.976455
2023-03-23T08:04:11
2023-03-23T08:04:11
588,524,907
5
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
from nsma.algorithms.memetic.nsma import NSMA from algorithms.gradient_based.armijo_based_fmopg import ArmijoBasedFMOPG class ArmijoBasedNSMA(NSMA): def __init__(self, max_iter: int, max_time: float, max_f_evals: int, verbose: bool, ...
[ "mansueto@webgol.dinfo.unifi.it" ]
mansueto@webgol.dinfo.unifi.it
8ee6eeee2ef21e2a0b407094b476d12713359a5a
a94d3bd556bae047cad4c27b8c322b472a5f9b6d
/Code/Day 12/SVM.py
9b7b9e58f394539fa59a3ad8e272c3f12ab569cb
[]
no_license
agarwalmayank32/100DaysOfML
fc8dc20b1a0dcf9dc5996074d3f3fb00617fc1d8
ec76b501a89ab38850765d08a3a8dc4d35fb8c0a
refs/heads/master
2020-03-22T18:31:34.246809
2018-07-28T01:27:05
2018-07-28T01:27:05
140,465,313
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
# Importing Libraries from sklearn.model_selection import train_test_split from sklearn.datasets import load_breast_cancer from sklearn.metrics import accuracy_score from sklearn.metrics import confusion_matrix from sklearn.preprocessing import StandardScaler from sklearn.svm import SVC # Load dataset data = load_brea...
[ "agarwal.mayank32@gmail.com" ]
agarwal.mayank32@gmail.com
386494842d287ea6d6dfa1a2affa37e918c30a55
1a937b899af949d23e667782a7360b9de1634456
/SoftUni/Advanced Tree Structures - II/homework/sweep_and_prune.py
3f531c9cb5c36afd49d3a4e1d23949822687a1c9
[]
no_license
stanislavkozlovski/data_structures_feb_2016
c498df6ea7cb65d135057a300e0d7e6106713722
adedac3349df249fe056bc10c11b0b51c49e24bb
refs/heads/master
2021-07-06T17:37:18.117104
2017-09-30T19:01:51
2017-09-30T19:01:51
75,526,414
2
2
null
null
null
null
UTF-8
Python
false
false
2,930
py
OBJECT_WIDTH, OBJECT_HEIGHT = 10, 10 class BoundableObject: def __init__(self, name, x1, y1): self.name = name self.x1 = x1 self.x2 = x1 + OBJECT_WIDTH self.y1 = y1 self.y2 = y1 + OBJECT_HEIGHT def __repr__(self): return '{x1} {x2}'.format(x1=self.x1, x2=self.x...
[ "familyguyuser192@windowslive.com" ]
familyguyuser192@windowslive.com
0b18d31e37a9a870fa7e623cf5f3ad32ba0b51e3
f3c5a3c4f555218e25347e425928a7c152d61567
/users/migrations/0002_auto_20190130_0449.py
f2186eac4fd6f85bc2f9c3c515531ff50b4222f0
[ "MIT" ]
permissive
erfanMhi/School-Of-AI-Rasht-Chapter-Website
3c9243acbcf3df8bee5280f4437fbfb2fedbd9a2
d24c61ec491c11adae0c361ed577798d4bee3e7e
refs/heads/master
2020-04-13T03:16:06.422011
2019-01-30T09:43:29
2019-01-30T09:43:29
162,926,363
2
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 2.1.5 on 2019-01-30 01:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='userregistration', name='date_joined', ...
[ "mhi.erfan1@gmail.com" ]
mhi.erfan1@gmail.com
3c29657252da73c1f48751d8189f5ff110f3a866
c9259ef22ee42aa6d35e7f7448900a5fb3ee4563
/cardapioh/apps/accounts/views.py
2106d04685ad0150ea00f9f96c27842c5a4614f8
[ "MIT" ]
permissive
beatsolu/cardapioh-api
6c178beebd14e085a6c2c934062d3e703522e367
117c6415f7d076c00e045e33ac88c4a1f32ab526
refs/heads/main
2023-06-04T05:14:53.009291
2020-11-25T23:22:18
2020-11-25T23:22:18
379,691,114
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from rest_framework.viewsets import ModelViewSet from .models import User from .serializers import UserModelSerializer class UserModelViewSet(ModelViewSet): queryset = User.objects.order_by('id') serializer_class = UserModelSerializer
[ "hugo.brilhante@beatsolu.com" ]
hugo.brilhante@beatsolu.com
83f9a2486cced43d68b973c0fb1bef3bf55fb871
95c76c9321016d245f3f5dbf7bddc5664ec8a127
/features_script/Traindf.py
5cfbb0395dc134c99bfc8ab83857a32a743175fd
[]
no_license
1417404001/didi---Tech
44d856d01f8c6b5add35938a93c7321fdd58f5fe
29f4d4e1df63cb97bca9cf74392bf9f1766705cf
refs/heads/master
2020-06-09T20:01:31.971748
2018-07-23T01:02:08
2018-07-23T01:02:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,231
py
# -*- coding: utf-8 -*- """ Created on Fri May 20 13:37:25 2016 @author: 21644336 """ from collections import defaultdict import pandas as pd from multiprocessing import Pool import numpy as np pool = Pool(4) #oder frame = [] order_number = defaultdict(lambda: defaultdict(int)) miss = 0 made = 1 co...
[ "duxuhao88@gmail.com" ]
duxuhao88@gmail.com
b3a7a4adaa392025a25cf664830c918410279748
6be6b748eecc088f358f3c0e2199b739f33efb04
/node_modules/execSync/build/config.gypi
916b81eb9c20a6d9105662c88a046a496b19dd83
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
thibautpalier/redux-paginator
6ae5a130a5df1aaa92cf76b44af980361f361d35
94f47d27077f080cc8f20727dd7e767b5b463864
refs/heads/master
2021-01-19T04:02:55.555904
2017-03-31T13:29:30
2017-03-31T13:29:30
84,424,867
0
0
null
null
null
null
UTF-8
Python
false
false
4,398
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "force_dynami...
[ "thibaultpalier@gmail.com" ]
thibaultpalier@gmail.com
f5275fbd7998e3eb7f374fabefb4bf9f3651e462
cb28bc28bc4b6dbd67955ac7e818edd54f3194c0
/vulcanforge/command/util.py
360cb3dfabb28664ada6a0035a4fda0289160542
[ "LicenseRef-scancode-other-permissive" ]
permissive
vulcan-collaboration/vulcanforge
ac5160146edbe490476c7d153bbcdb8db0a4932f
a5ed73858f64b2d2296c55d174b4af79f8f81d41
refs/heads/master
2021-01-23T12:45:33.556142
2018-07-13T12:21:23
2018-07-13T12:21:23
93,196,321
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
import IPython import tg from base import Command from vulcanforge.common.util.model import pymongo_db_collection class VulcanForgeShellCommand(Command): min_args = 0 max_args = 1 summary = "Start an interactive iPython shell with VF goodies preloaded" parser = Command.standard_parser(verbose=Tr...
[ "wgaggioli@gmail.com" ]
wgaggioli@gmail.com
d08e40f7ff3615dc89daa8f76b4160f2df48e74c
176df2b72319894cb1a81d272dd17a6441a968be
/One sting for two different stings.py
d5658c667165403f6943bdc029c49f0556e9033b
[]
no_license
abhilash43/Assignment-5
276fcd941aa8920f97ab5ea694ae52d70716e0b7
fa5523e51865aae036a49646a628f096e50c478e
refs/heads/master
2022-11-21T00:04:00.170641
2020-07-03T03:57:16
2020-07-03T03:57:16
276,802,026
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
#One sting for two different stings.py def chars_mix_up(a, b): new_a = b[:2] + a[2:] new_b = a[:2] + b[2:] return new_a + ' ' + new_b print(chars_mix_up('def', 'uvw'))
[ "noreply@github.com" ]
abhilash43.noreply@github.com
ec73b69b9dcf30ec94a2bc2b6087d59c2e4f6167
8a064480709e9144f67cb5aec799b4a13719b3ec
/amazon_paapi/sdk/models/product_advertising_api_client_exception.py
c58001e1af67581796c341e3a1301f2cc3eb56bb
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "Apache-2.0" ]
permissive
YPCrumble/python-amazon-paapi
352312601ebf2a16efe79d270303d600e92a6627
4aa9c7597123580eed24bf1ec9bacee0fedeb8a0
refs/heads/master
2022-11-03T01:32:29.324826
2022-09-22T18:38:57
2022-09-22T18:38:57
246,726,325
0
0
MIT
2020-03-12T02:33:49
2020-03-12T02:33:48
null
UTF-8
Python
false
false
3,789
py
# coding: utf-8 """ Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/LICENSE-2.0 ...
[ "agutrot93@gmail.com" ]
agutrot93@gmail.com
1f42eca5a222e75608db6ca8df2df6720e3f92ae
e58b7bacd4a7c5a9cb35b035dfded8388b0368c1
/tutorial/accounts/migrations/0012_auto_20180429_1048.py
504cdec156f339fac15fab6b26d9b0036fcd95cf
[]
no_license
Sathishvp7/DjangoPython
4eecc034a9e36bdfb1a6ba0d040bd772f4296f2a
a20fcc4bf9076d0c7e7adabed80ff96eb2c8081d
refs/heads/master
2020-03-19T08:27:27.043483
2018-06-05T16:33:25
2018-06-05T16:33:25
135,930,491
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-04-29 05:18 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0011_auto_20180428_2013'), ] operations = [ mig...
[ "38830335+Sathishvp7@users.noreply.github.com" ]
38830335+Sathishvp7@users.noreply.github.com
f57b32c717098ae227dacdc38ec1fe0806158bec
7ed3bf4a2647bb5fe0abbb667a7d557364f3d4a6
/0924/_sesion_/hacia_atras.py
d412327fedf0f4199fee4cf0fcdaffd742dfee96
[]
no_license
calvar122/EXUAGO2021-VPE-L1
497f3dd5fed51099f4305d6b0247fd1550a32614
0ed2fb4281f44bfc13c5fa1d3dcfe1de3b35aee4
refs/heads/main
2023-08-25T00:03:39.643136
2021-10-22T20:51:53
2021-10-22T20:51:53
407,392,438
0
0
null
2021-09-17T03:30:18
2021-09-17T03:30:18
null
UTF-8
Python
false
false
287
py
#!/usr/bin/env python3 # c-basic-offset: 4; tab-width: 8; indent-tabs-mode: nil # vi: set shiftwidth=4 tabstop=8 expandtab: # :indentSize=4:tabSize=8:noTabs=true: # # SPDX-License-Identifier: GPL-3.0-or-later for x in range(30,2): # for (x=30; x<2; x++) print(x) print("Ya acabe")
[ "miguel.bernal@iteso.mx" ]
miguel.bernal@iteso.mx
6a9cc515474517aeb1fd8839cf4f33405cb94cf5
fab298a55b6ef0cf9007f9d1e65bf225cc92da9c
/IntelliTrack.RFIDUDPReader/tools/gdal-1.8.0/swig/python/samples/ogr2ogr.py
c94d6958e3e7910a6964e11d0ee353e2453db712
[ "LicenseRef-scancode-info-zip-2005-02", "LicenseRef-scancode-warranty-disclaimer", "MIT", "LicenseRef-scancode-public-domain" ]
permissive
diegowald/intellitrack
7fe5a22d7d3e5624f79dd7d9d0a1dc60887b7b0c
fa3397a373f296dba9518b1a8762c1b947f02eb5
refs/heads/master
2016-09-06T08:48:03.155393
2013-01-14T15:31:40
2013-01-14T15:31:40
7,606,666
1
0
null
null
null
null
UTF-8
Python
false
false
53,541
py
#!/usr/bin/env python #/****************************************************************************** # * $Id: ogr2ogr.py 21368 2011-01-01 18:38:35Z rouault $ # * # * Project: OpenGIS Simple Features Reference Implementation # * Purpose: Python port of a simple client for translating between formats. # * Author: E...
[ "diego.wald@gmail.com" ]
diego.wald@gmail.com
9b20afc2b087b1ff731f260d03f62b9815f18674
eed19be0953fa0f9ecc9aea493fbccfc4feb1d7a
/penv/bin/pip
aab42617ecdaa6d4f25462c524c637bed8c3824d
[]
no_license
risqiromadhoni/scraphubla
ae05a9f9b97a17a46ca3b418414aea41d058d35b
bfa06750ffa17e2c58c987d51f12988f9101b9b0
refs/heads/master
2022-06-03T07:30:00.771838
2019-11-27T08:53:12
2019-11-27T08:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/rounin/Application/python/scraphubla/penv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "risqir57@gmail.com" ]
risqir57@gmail.com
916b2214d7289e3bab87d1c5528138855a31f18b
bb4a4504a7051484173c8e9933b06fdf1384c2f7
/src/domains/gridworld.py
741c5d993fd11f0e71bb0c8eab0b548e7fbf9560
[]
no_license
uncobruce/PathBench2D
dd4794a5b19ee95ad7555d512d0e36063e2c6330
57c6397fe990de3088aa99da1602f9872b90d0b8
refs/heads/master
2023-01-09T17:16:35.200009
2020-08-05T20:45:28
2020-08-05T20:45:28
274,780,888
1
0
null
null
null
null
UTF-8
Python
false
false
15,598
py
import numpy as np from scipy.sparse import csr_matrix from scipy.sparse.csgraph import dijkstra import logging from astar.astar2 import main as astar #from astar_python.astar import Astar log = logging.getLogger(__name__) class gridworld: """A class for making gridworlds""" def __init__(self, image, targetx...
[ "bruce.hsueh7@gmail.com" ]
bruce.hsueh7@gmail.com
ae8b468b6e2c0284d225e200c007a588de3466f7
1c05859f6eb84dd12823279da4896c2c753cb90f
/src/TC70_LL/TC70_LL_ModuleFunctions.py
f05f4b4bff80817f708cf52945f94b4322feb14b
[]
no_license
zlhope/UIAutomatorFramework
323dbf3fc2fd1180c198bfad2947eadc930d1618
de6800772aefd15eab55e8a6d0272092e1ad76d8
refs/heads/master
2020-05-09T20:31:01.633648
2016-08-30T03:59:44
2016-08-30T03:59:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,497
py
# ---------------------------------------------------------------------------------------------------------------------- # Name Of File: TC75_ModuleFunctions.py # # Author: Ashish Kumar ...
[ "ashishkumar.riku@gmail.com" ]
ashishkumar.riku@gmail.com
4b9bf327874fb716a5ef0c14b6c733148ed3e614
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/FXJSMM/YW_FXJSMM_SZSJ_307.py
94a0758207761f5b78d6a48514fdeaef3d006e5d
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,002
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
41fab65078d3fb5f668f2cb47c7cc24fb333394f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03371/s845988695.py
4818cf4f4ba7277bd6347d6792e793a348563d0c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
A,B,C,X,Y=map(int,input().split()) ans=0 if C*2<=A+B: mi=min(X,Y) ans=mi*C*2 if Y<=X: ans+=min(A*(X-mi),2*C*(X-mi)) else: ans+=min(B*(Y-mi),2*C*(Y-mi)) else: ans=A*X+B*Y print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
cb03689df98cce2aeec0d424a2ee39025ac09c42
cc3d7bd252c225bf588a8e663b2214b8ccc3b399
/report/make_report.py
cd623d6d4f3915b774a17d563e74329b25cd9405
[]
no_license
stestagg/dict_index
c1ca8cac3389b5f2d22882a159ab8ea68439e4a5
41d06d705e28e8c52c3a9c76349c2aadfd984dff
refs/heads/master
2022-11-27T12:14:58.791348
2020-08-01T18:11:52
2020-08-01T18:11:52
278,656,935
0
0
null
null
null
null
UTF-8
Python
false
false
4,737
py
import textwrap from pathlib import Path from datetime import datetime import json import click import dateformat from jinja2 import Environment, FileSystemLoader, select_autoescape, Markup from pygments import highlight from pygments.lexers import PythonLexer from pygments.formatters import HtmlFormatter JINJA_ENV ...
[ "stestagg@gmail.com" ]
stestagg@gmail.com
db5070829dea803a8d0fe731ef188d0f5e28d946
440f69b421e9d9b78b0cf0b3b68d1cde25ff1cbc
/mysite/polls/urls.py
61016f06a157ec33c5d573eb13ce062930df9956
[]
no_license
mizuno66/django_tutorial
32e9e109d58a1af1617caa80552ba6f3757c1d38
a0b22d9eb282a7872a0c3a5c6e88e76401f0ee3f
refs/heads/master
2020-03-17T14:14:57.196379
2018-06-12T12:04:04
2018-06-12T12:04:04
133,664,887
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
from django.urls import path from . import views app_name = 'polls' urlpatterns = [ #/polls/ path('', views.IndexView.as_view(), name='index'), #/polls/[Integer]/ path('<int:pk>/', views.DetailView.as_view(), name='detail'), #/polls/[Integer]/results/ path('<int:pk>/results/', views.ResultsView...
[ "kouta126@hotmail.co.jp" ]
kouta126@hotmail.co.jp
e3d72dcb67b7c3981d26691b7181d72ccf66814e
7807d8d9d109a3e272fffed91bf841201da39256
/trans_ALDS1_1_B/HARU55_ALDS1_1_B_kotonoha.py
2d3f4f61cfadb439b240ad350d2e8f32c35c3b9d
[]
no_license
y-akinobu/AOJ_to_Kotonoha
0e8df43393964fcdd5df06c75545091bd6c0c2e2
5a694a55a3d85e3fbc4a07b57edc4374556db9a1
refs/heads/main
2023-02-05T15:33:16.581177
2020-12-30T16:14:44
2020-12-30T16:14:44
325,524,216
0
1
null
null
null
null
UTF-8
Python
false
false
552
py
# map(整数,入力された文字列を空白で分割した列)を展開し順にNとMとする N, M = map(int, input().split()) # 真の間、繰り返す while True : # NがMより小さいとき、 if N < M : # NとMを入れ替える N, M = M, N # NをMで割った余りをaとする a = N % M # aが0のとき、 if a == 0 : # 繰り返すのを中断する break # () else :[#Else [#Block [#MultiAssignment left: [# [#Name 'N'][#Name ...
[ "sx2_vn_yuka@outlook.jp" ]
sx2_vn_yuka@outlook.jp
4dcdb26c10e58b82f1f053c5d85bc00fb8aac8c0
c48533e1cd41b175d2eeb93bb747a6e61a9800c8
/Python Ray Tracer/SphereObject.py
8aca46cc9c0f1baa104057c391f384e43410a874
[]
no_license
benloisch/pythonRayTracer
96d2852dbbee2522f962b762a15a60ce7973af73
814d19372cf6d3c9977a8102ddc37483c824f008
refs/heads/master
2020-04-10T21:57:22.549550
2016-09-28T02:09:39
2016-09-28T02:09:39
60,929,701
1
0
null
null
null
null
UTF-8
Python
false
false
13,054
py
import ColorObject import Vector import math import TraceRay class Sphere: """Sphere object class""" def __init__(self): """assign sphere attributes""" self.radius = 0 self.xOrigin = 0 self.yOrigin = 0 self.zOrigin = 0 self.quadFormA = 0 self.quadFormB = ...
[ "ben.loisch@gmail.com" ]
ben.loisch@gmail.com
83f1171d037004b3bb89090ff8cfc57c0411d54c
7426644d9b399e21a80bd905bcc2768bd6c45f00
/pong_games/single_player/main.py
6503e1b851a68e3b77d31fbabea9260546a7ec0a
[]
no_license
creativekids11/Python-pong-games
09041aa5a0e6705507f01aa0dbe5c7c4cf5797fd
22fc523368addcc0f01aefb697d366adfd86ad47
refs/heads/master
2022-12-12T11:27:32.401269
2020-09-06T06:16:15
2020-09-06T06:16:15
293,215,578
2
0
null
null
null
null
UTF-8
Python
false
false
2,645
py
import pygame import random import sys x = 500 y = 500 sbreite = 100 shoehe = 15 sx = 200 sy = 450 bx = int(x/2) by = int(y/2) brad = 15 speed = 0 bxspeed = 1 byspeed = 2 leben = 3 score=0 pygame.init() screen = pygame.display.set_mode((x, y)) pygame.display.set_caption('Single Play...
[ "noreply@github.com" ]
creativekids11.noreply@github.com
c81342fbcc9501fdf9e5eea9e2be65361ab8b9eb
d36b74f3e6298886b907836c6550aa788b4b08bc
/quotedSearch/urls.py
ef0a667f64f3e63bdbba78d169b0d7ba9b21cfaa
[]
no_license
elmehi/quotedserver
fb7382812a5892f4d7340aa57a5774a446daacb2
b6f0d53a3aeb890df105528b4b1a82a812c8069d
refs/heads/master
2016-09-12T16:44:28.807396
2016-05-12T16:52:42
2016-05-12T16:52:42
56,090,951
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
"""quotedSearch URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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') Clas...
[ "ehirsch@princeton.edu" ]
ehirsch@princeton.edu
d5d84cbd848d293ddd2a7b09e2f431d0b2663ca8
f526fc7898d5035f54a5a9b9bdc57243fa0f9231
/test.py
e769c56426f38446f4ed3e289446a6988846cd2a
[]
no_license
Ren-Yaqian/project_Forest-fire-detection
fba5f558f37300e47710965a54712d353b7bc5f5
710aedf4f805f6744862991e92389239346c2478
refs/heads/main
2023-07-17T15:57:07.952120
2021-09-04T13:54:27
2021-09-04T13:54:27
403,066,215
1
0
null
null
null
null
UTF-8
Python
false
false
16,532
py
import argparse import json import os from pathlib import Path from threading import Thread import numpy as np import torch import yaml from tqdm import tqdm from models.experimental import attempt_load from utils.datasets import create_dataloader from utils.general import coco80_to_coco91_class, check_dataset, check...
[ "noreply@github.com" ]
Ren-Yaqian.noreply@github.com
f1f2e1a338622c590db31f99bc9f4f017ae282be
9473a745ee5bdcaddc2bb1295f4f1dd517898c88
/MiraHacks/urls.py
2c256915e5125195576bde427379604e7f97ead2
[]
no_license
softbutterfly/hackathon-miraflores
5c3df8d622cb836f0cda3693851b5bf035ae6f15
b8515e2dfa2ff63e154a4cd607bb198bf44bbcc0
refs/heads/master
2021-01-17T06:37:58.748126
2015-05-17T21:37:49
2015-05-17T21:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
"""MiraHacks URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/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-b...
[ "martin.vuelta@gmail.com" ]
martin.vuelta@gmail.com
6018d9863598d59203a2113eca524d883dce5e75
4c72bfe0ccd779d9b27f80506b107fca43051edc
/tracking/bustersAgents.py
0fc72e0c40cc078f2e8d8d0867f86d1c7a142799
[]
no_license
kathanm/pacman-tracking
5ec29e2c6535c73f14bd208cac35aeb616c6adb0
195c5421e918a534d8839d75abb72e218c9e6428
refs/heads/master
2020-04-28T19:14:00.895863
2019-03-16T03:14:57
2019-03-16T03:14:57
175,504,960
0
0
null
null
null
null
UTF-8
Python
false
false
7,522
py
# bustersAgents.py # ---------------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkel...
[ "kathan.master@yahoo.com" ]
kathan.master@yahoo.com
9ff1ac2f4124ce7a91f9c15aa0aa3dc277cf2784
1edde4bbf6d1ce0d21869faa5ff91f53fe8e1873
/deprecated/scaling_functions.py
01d4e6720eb8454243a53034a00cb733ac88e11b
[]
no_license
IvanKostyuk94/SuperResolution
210e5fc59cfbbb380bb8fb456a3648d7f145d689
c43b217f403ff7b689944beb3f9c6ea7a5a2c815
refs/heads/master
2022-11-13T10:34:51.516361
2022-11-09T17:29:38
2022-11-09T17:29:38
237,400,687
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
import numpy as np def scale(data, epsilon=1e-9): return np.log(data + epsilon) / 25 + 1 def unscale(data, epsilon=1e-9): return np.exp(25 * (data - 1)) - epsilon def scale_2(data, epsilon=1e-9): return np.log(data + epsilon) / 25 def unscale_2(data, epsilon=1e-9): return np.exp(25 * (data)) - e...
[ "kostyuk@hotmail.de" ]
kostyuk@hotmail.de
949e4fa6244a928ca045e13cfe05dc966c7d92ea
a6cd2b48d668f959e1d2b77b66bf6ba1524c495d
/setup.py
5262af0bb469a812b1a68badc1a1aea94e13e694
[ "BSD-2-Clause" ]
permissive
giorgil/django-authtools
a098cd6a7f6c8103a5eb756e01cdc8a618997eb3
bd0db4b5e34144b7f449e038ff0b3ecd1049d45f
refs/heads/master
2021-01-14T11:11:55.870927
2014-08-16T20:16:04
2014-08-16T20:16:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
#!/usr/bin/env python from setuptools import setup, find_packages import os from authtools.version import get_version __doc__ = ("Custom user model app for Django featuring email as username and" " class-based views for authentication.") def read(fname): return open(os.path.join(os.path.dirname(__fil...
[ "rocky@fusionbox.com" ]
rocky@fusionbox.com
034382876083d5cd278cf9d4c823ebddae9079c1
e697bcf8ab945523645cd2812c6c6ba4a048e193
/keras_tuner/errors.py
ee5c3a41c8a38ab1991e95a1c3918ba293efb390
[ "Apache-2.0" ]
permissive
keras-team/keras-tuner
fc3d3ee9132c38efea05911c6b98805e088e7c53
09107722b61ad2a3ead007120f0fd55f8446937b
refs/heads/master
2023-08-24T13:09:19.454447
2023-08-10T21:20:25
2023-08-10T21:20:25
190,658,443
2,968
423
Apache-2.0
2023-09-13T21:57:30
2019-06-06T22:38:21
Python
UTF-8
Python
false
false
2,935
py
# Copyright 2019 The KerasTuner 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ "noreply@github.com" ]
keras-team.noreply@github.com
985b5b09e8f351dd02b22f61ac1168123172ee04
eccbf3955263e65ee15cf742e368811ad50708aa
/stockMarket/models.py
03d61efe85b6fbcfba59a0567fb67451db30a035
[]
no_license
yinliren/MusicX
cab19e92efdd6647554965f07c3c8da8662eb112
628650aaecc791bacef448a3cebb3f8634e97dd2
refs/heads/master
2020-03-29T15:23:28.565566
2018-09-24T06:17:50
2018-09-24T06:17:50
150,060,881
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
from django.db import models # Create your models here. class stock(models.Model): ticker = models.CharField(max_length=10) open = models.FloatField() close = models.FloatField() volume = models.IntegerField() def __str__(self): return self.ticker
[ "yinliren@g.ucla.edu" ]
yinliren@g.ucla.edu
04ae437e0973bf482e71ebf5563db2e45951c6c9
9c32890a188dfcd949883c10c8db112aed5321d6
/learner/wsgi.py
1f2d5f930764af173595a367e93da2297a089d37
[]
no_license
gitanjali1077/learner
dcb11d92b84bac0a9254a2409570261a03503945
fef0c5554b100216210ba8f3777bad69a9219d4f
refs/heads/master
2022-12-12T08:24:55.268350
2018-03-02T04:34:43
2018-03-02T04:34:43
122,777,081
1
0
null
2022-11-22T02:15:06
2018-02-24T20:28:20
CSS
UTF-8
Python
false
false
484
py
""" WSGI config for learner 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.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Djang...
[ "gitanjali1077@gmail.com" ]
gitanjali1077@gmail.com
54977808535c5298c17d557d44c5c0709cb6c8f4
8287bdcefb82abf6c11d6b79ec711484e20d75ce
/credential_test.py
9454bb1def099f18017b955702580421190c2671
[ "MIT" ]
permissive
thuojose/PASSWORD-LOCKER
ad91816f071ab251558778202634a6bb8fe532ae
45ac176a651877dbd84a951060a1b9101f3a36e6
refs/heads/master
2023-07-18T10:52:42.834056
2021-09-06T06:24:04
2021-09-06T06:24:04
402,691,324
0
0
null
null
null
null
UTF-8
Python
false
false
4,098
py
import unittest from credential import Credential class TestCredential(unittest.TestCase): ''' Test class that defines test cases for the credential class behaviours Arg: unittest.TestCase:Test case class that helps in creating test cases ''' def setUp(self): ''' setUp...
[ "joseph.thuo@student.moringaschool.com" ]
joseph.thuo@student.moringaschool.com
3b9def96deeca8b6e90263b21231afc05ba88527
c36ab54a03e6dd076b373488ce3402fa1dcba8c2
/build_image.py
78304c437df5c3b0bfe1072083ec447f6a2bdf47
[]
no_license
ZhuMon/Chat_Robot
646a92d186cf5a55ec0d7e48bad69bc0d6a8d600
af9237c30f9f2a8535b82421bdda68ce6ef73ffa
refs/heads/master
2023-01-12T05:21:40.729064
2021-12-14T17:34:44
2021-12-14T17:34:44
158,410,088
0
0
null
2022-12-27T15:33:59
2018-11-20T15:20:44
Python
UTF-8
Python
false
false
2,651
py
from PIL import Image import pyimgur import image_pb2 import sys import os import psycopg2 DATABASE_URL = os.environ['DATABASE_URL'] conn = psycopg2.connect(DATABASE_URL, sslmode='require') def rebuild_list(imagelist): graph = [["_","_","_"], ["_","_","_"], ["_","_","_"]] for i in ra...
[ "richardlin0212@gmail.com" ]
richardlin0212@gmail.com
9dd5997ee3a2295d4e8d75c47186a3e8484dbbce
9b9d594ca209eadc666fc93225275eb077c22d9a
/utils/convolution.py
459ad4356ab6c0534de48cc434c02e532e71a613
[ "MIT" ]
permissive
lykzsm/Pytorch-Medical-Classification
815e775f7e698f93fb7508029ec26019b0520932
86c1215612f6d6483ccb5cd061925ba755120f35
refs/heads/main
2023-08-25T06:15:10.100065
2021-09-20T05:56:26
2021-09-20T05:56:26
383,827,630
0
0
MIT
2021-07-07T14:31:53
2021-07-07T14:31:52
null
UTF-8
Python
false
false
2,517
py
import torch.nn as nn import torch.nn.functional as F PADDING_MODES = { 'reflect': 'Reflection', 'replicate': 'Replication', 'constant': 'Zero', } class ConvolutionalBlock(nn.Module): def __init__( self, in_channels, out_channels, dilation, ...
[ "elliszkn@163.com" ]
elliszkn@163.com
ece8fb7aff6bbde1e0d3361c3542d8356fb61f6f
77584b104c2a18c724183ea6c448dfed08872795
/hw3/preprocessing.py
93539deef5b12e89246664ed66eabde2f6876642
[]
no_license
chaoweihuang/Machine-Learning-NTU-2016
b55bc82d19ad3abf49e45abbe9e01a4c5077a0de
df3156921ffa81c1796e38525e41a1c6c1e14bfa
refs/heads/master
2021-03-24T09:11:08.120381
2016-12-08T12:25:43
2016-12-08T12:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
import pickle import numpy as np def get_data(f): data = pickle.load(open(f, 'rb')) X, y = [], [] for cls in range(10): for x in data[cls]: x = np.asarray(x) X.append(x.reshape(3,32,32)[[1,2,0]]) y.append([cls]) X = np.asarray(X) y = np.asarray(y) ...
[ "no.12586269025@gmail.com" ]
no.12586269025@gmail.com
13d318734094eb4b13970206c2b9e1d8fba78867
3a4de2139c50f4e8bbe866b33bca213b4591ce48
/solution/ls_loss_test.py
2fdb8df427fb56dea228e9349daa4be1e63f6028
[]
no_license
ak110/kaggle_salt
476f9206ff89e3b072b9dcf955c50c53b7e6abb5
dd5d66b83454aef1f8196c6c93c45cca79f262d2
refs/heads/master
2021-10-24T05:11:59.129766
2019-03-22T07:21:22
2019-03-22T07:21:22
164,656,040
0
0
null
null
null
null
UTF-8
Python
false
false
9,075
py
#!/usr/bin/env python3 """late submit用ベースライン。""" import argparse import pathlib import numpy as np import sklearn.externals.joblib as joblib import _data import _evaluation import pytoolkit as tk MODEL_NAME = pathlib.Path(__file__).stem MODELS_DIR = pathlib.Path(f'models/{MODEL_NAME}') CACHE_DIR = pathlib.Path('cach...
[ "mark@aur.ll.to" ]
mark@aur.ll.to
dbfcd2556629b14f6b8aa64c1e4b332b97316590
34c6671f2359d22cf9f749842901357b15ec7f05
/PY-UDP/UDP-P-Parallel-4.py
4940b4e754fb5b9b0fe3034ec4f3c94e8ccf32b3
[]
no_license
MAONGITHUB/Car-Singlechip-Project
eb9d2b4122fefc05de8a0093a8fda28d062fd76e
f9c66c9f08280ad8d96cc652ce5cb1c66bedd2df
refs/heads/master
2021-01-19T21:08:23.840702
2017-04-18T10:40:14
2017-04-18T10:40:14
88,611,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import socket import win32api import pythoncom import pyHook #按键监听库 import threading #多线程 global temp clientname = '192.168.199.130' clientport = 1111 serverport = 8080 buffsize = 2 #发送端设置初始化 clientSocket =socket.socket(socket.AF_INET,socket.SOCK_DGRAM) #接收端设置初始化 serverSocket = socket.socket(socket.AF_INET,socket.S...
[ "38825779@qq.com" ]
38825779@qq.com
fac5b55a87534ff92d73a28c5052ff27d4408ecb
8a9c71ae9fa06a1809451c02a58bdc9952d16346
/12.plots_psiblast_svm/1.only_features_sets/sets_features.py
d660950ce3fa53278bdc0937064a441ade5e7b8c
[]
no_license
DorinesRosario/project_pp
f483e14d5c354afb2eb901b2e6ac93192b7ef51d
aefc13e7ad2f787a0cc221855142f4a4d8eaea30
refs/heads/master
2021-01-17T15:41:50.561922
2016-03-20T19:46:04
2016-03-20T19:46:04
53,053,239
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
""" import sys datasets = sys.argv[1] features_s = sys.argv[2] """ dataset = open ('psi_blast_set6.svm', 'r').readlines() features = open ('psi_blast_set6.features', 'w+') for lines in dataset: #print lines[0:2] features.write(lines[0:2]) features.write('\n')
[ "dorines.sr@gmail.com" ]
dorines.sr@gmail.com
5b4e22907203363322e5ef15e69a36a4326441ea
f55878c41c7238c0e5f8d63d80fa4f4c12988c6d
/xray/backends/netCDF4_.py
53ae82e6dee46d196f281defaa76253094fa7444
[ "Apache-2.0" ]
permissive
takluyver/xray
7576e4271434f7c4845db302ad68cd782e96b9bc
80c30ae343a2171c541da0387fed3926004030a7
refs/heads/master
2023-06-19T18:51:36.678029
2014-05-03T04:49:18
2014-05-03T04:49:18
19,414,277
0
0
null
null
null
null
UTF-8
Python
false
false
4,885
py
from collections import OrderedDict import warnings import numpy as np from common import AbstractWritableDataStore import xray from xray.conventions import encode_cf_variable from xray.utils import FrozenOrderedDict, NDArrayMixin, as_array_or_item from xray import indexing class NetCDF4ArrayWrapper(NDArrayMixin): ...
[ "shoyer@climate.com" ]
shoyer@climate.com
2e5687cb564d70dedb6d9aff75cd055326e3624a
eac8a6ee0065627de15efe4e4f829c1489675879
/tests/test_problem42.py
2dc276f17d182c59cdbb11a50ecaaac1eb2676d3
[ "MIT" ]
permissive
ishaansharma/blind-75-python
ff8163ae9f2757a3e69895b468531ac5ad0eaf05
b92ef3449eb0143c760ddd339897a3f0a2972830
refs/heads/master
2023-03-16T11:29:14.620223
2020-03-09T00:57:39
2020-03-09T00:57:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import unittest from problems.problem42 import solution class Test(unittest.TestCase): def test(self): self.assertEqual(solution([1, 2, 3, 1]), 4) self.assertEqual(solution([2, 7, 9, 3, 1]), 12)
[ "nolan@nolanwright.dev" ]
nolan@nolanwright.dev
f366d33c8537ec7bfe387f2b46c5512c22cc562c
17f2fc9f6a718cb5c207ae178fd2fd094c25bec1
/splitgd.py
6cc8684addd59d46b440d90a3fab75712a5234ed
[]
no_license
tomasspangelo/Deep-Reinforcement-Learning-for-Peg-Solitaire
63b4a0fa12528f4355681ad6224b29360036fb81
a6f0d24f1a11f13cf8a36bf0060e02bc10a1e1a9
refs/heads/main
2023-04-14T05:14:05.125633
2021-04-28T12:31:15
2021-04-28T12:31:15
362,460,646
0
0
null
null
null
null
UTF-8
Python
false
false
6,038
py
import math import tensorflow as tf import numpy as np # ************** Split Gradient Descent (SplitGD) ********************************** # This "exposes" the gradients during gradient descent by breaking the call to "fit" into two calls: tape.gradient # and optimizer.apply_gradients. This enables intermediate modi...
[ "tomas@spangelo.com" ]
tomas@spangelo.com
080dbad14c665408d62fcce60d6eaed4597e64fb
9cf32d5e80a0843ac519cf008b272b00e78848d7
/projet/app/api/v1/book.py
549b58f257a4fd1f0874d9b8f2f3e40d42f9419b
[]
no_license
weisiwen/Flask_Api
dd7cb56001a4f142ee70de1db68a7aa88b1cae2e
65b027d51fa97133b354a7991570e195e8bc3bd3
refs/heads/master
2020-03-23T02:09:02.635647
2018-07-19T15:01:57
2018-07-19T15:01:57
140,958,822
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from flask import Blueprint from app.libs.redprint import Redprint api = Redprint('book') @api.route('',methods=['GET']) def get_book(): return 'get book' @api.route('',methods=['POST']) def create_book(): return 'create book'
[ "893719089@qq.com" ]
893719089@qq.com
c2e7a3635a169a4ef23dc7d1f19b2115f10e4343
98d832289b7437247ce03ea54ad3cb7b95451159
/rapid7vmconsole/models/page_of_malware_kit.py
de3e4edf91c9ca04d24174f07f8ada5772a2f904
[ "MIT" ]
permissive
rmehilli-r7/vm-console-client-python
7f02f13345dce4f4d4d85e18da7146daeefbceb9
069041c1c7b53c6b3d8bfdd81b974141bfca3c0c
refs/heads/master
2020-03-23T11:20:33.364442
2018-08-10T20:06:37
2018-08-10T20:06:37
141,498,444
0
0
MIT
2018-08-08T19:58:45
2018-07-18T23:00:41
Python
UTF-8
Python
false
false
52,997
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
7e23ddf115d5ed2d24c73fb7144f196d75b02cdf
92237641f61e9b35ff6af6294153a75074757bec
/Machine Learning/수업 자료/2주차_데이터 과학을 통한 자연어 처리와 통계학습/제06~09일차_정형.비정형 데이터 처리 및 결합 분석/xmlEx02.py
3fecb052979d01243b6104879395476414339d15
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
1,323
py
# xmlEx02.py from xml.etree.ElementTree import Element from xml.etree.ElementTree import SubElement from xml.etree.ElementTree import ElementTree mydict = {'kim': ('김철수', 30, '남자', '강남구 역삼동'), 'park': ('박영희', 40, '여자', '서초구 방배동')} print(mydict) members = Element('members') for key, mytuple in mydict.items(): mya...
[ "taepd1@gmail.com" ]
taepd1@gmail.com
defbc1e8c5b80358d1052f28b63039bfe19736cb
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week02/2/singupshimo_20200705174400.py
f313fce698976cdecb0c1b05b71f97b906756419
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
56
py
from selenium import webdriver import time try: bro
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
3b8ecac8a7808d1034b945969abbf338027fe441
eda5fc4418bbd9441fc1806c7a73520b637926bf
/deep-go-wrap/deepgo/__init__.py
492b2c21e5861a1eae027bad446f5aeeba4fe960
[ "MIT" ]
permissive
YumJelly/RES_GO
6d19dd389f2ddc1d8a507a379e0b23ae4e1fe9f2
417801744dce538729f8722c4da694cf086cfda9
refs/heads/master
2022-09-11T18:59:16.538704
2020-05-28T05:51:22
2020-05-28T05:51:22
267,284,200
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
import bot_deepcl import cubes import analyze_board import players import utils import state
[ "yumjelly@ai.csie.ndhu.edu.tw" ]
yumjelly@ai.csie.ndhu.edu.tw
fb2e55899c63168ca2c1f2ae0bba25b913465b7c
3d6e9c5baea27f27a69b4e1bfa582cef3bc13d65
/same_category_recommend/log_generator.py
dc1a42e058d84422366d6d2e32ee296d80a5f210
[]
no_license
duanzhenchun/recommend
656b3f79f88b61220f5f701d434ce8219c474cf3
8f18aeab6f52021b9883c070d75a4a51cc77b777
refs/heads/master
2020-04-27T11:38:12.508762
2018-08-27T02:39:39
2018-08-27T02:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
import random """ 点击 1 播放 2 点赞 3 收藏 4 付费观看 5 站外分享 6 评论 7 """ albet_num = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "...
[ "823232162@qq.com" ]
823232162@qq.com
a7bd74fe3278f55a0480a6d159d5e05636a1388a
37e8854a1b8e84500e661ca7e38272248f1bdf49
/NeuralNetwork/optimizations.py
ba017f649629e4beaabd497ebd921b3ff85a6310
[]
no_license
MattyChoi/MachineLearningMethods
6ef77d55ed9c3715d4e58309101e00e1bb0cb959
f7092242f0bd5147105d0139002ce55740f358ed
refs/heads/main
2023-02-27T06:51:44.073735
2021-02-01T22:26:28
2021-02-01T22:26:28
334,524,887
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
import numpy as np # famous gradient descent funciton to update the weights def grad_descent(weights, grads, step_size = 0.01): # find the number of layers excluding the input layer # (this would be layers_dims - 1) layers = len(weights)//2 for l in range(1, layers + 1): weights["W" + str(l)] ...
[ "choix709@umn.edu" ]
choix709@umn.edu
15aea398da20579632b3b0bb8d0ed2cfa6d04bd8
a0b8d47e87d33b5d7518d01278fb3556cfd941a6
/build/rosserial/rosserial_embeddedlinux/catkin_generated/pkg.develspace.context.pc.py
d1555c7942e3a90de41735d48624748b20ca23f5
[]
no_license
dhhan120/capstone_2_Cgroup
66c22ebb64e7d077a1729e39854897bcff2affc9
71382bc36a77c3bb783bc81e151f6c377de9205d
refs/heads/master
2020-11-25T17:51:29.295490
2019-12-19T08:51:53
2019-12-19T08:51:53
228,779,538
0
0
null
null
null
null
UTF-8
Python
false
false
383
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 = "rosserial_embeddedlinux" PROJECT_SPAC...
[ "dhhan218@kaist.ac.kr" ]
dhhan218@kaist.ac.kr