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
f8337cceff2742fc8e0488c9ed9833cc0cb05521
a36eb4685fd050c8e1ecb4a333470724bd76df60
/Leetcode/Jul20/050720/AntPlank/test.py
c4254221c68a019d0bd254ce37bb1ae5ea5e8bcb
[]
no_license
phibzy/Contests
c9cff976909234cfafc51db9d9dde01c26123168
24aac4c81f34916945be03ed0b7c916dae4dbbb4
refs/heads/master
2023-01-20T06:23:06.837937
2020-11-30T06:54:58
2020-11-30T06:54:58
265,750,701
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
#!/usr/bin/python3 """ Test Cases: """ import unittest from antPlank import Solution class testPlank(unittest.TestCase): a = Solution() def testAllRight(self): self.assertEqual(self.a.getLastMoment(7, [], [0,1,2,3,4,5,6,7]), 7) def testAllLeft(self): self.assertEqual(self.a.getLa...
[ "phibzy@gmail.com" ]
phibzy@gmail.com
b85823bf3f7b7fc4e483208651b3b7da6c0b3437
981532f898e67ce17507fe9d9ae081384df3bf5f
/datacommons/test/stat_vars_test.py
b4f409d295cc304e47f1c7ce564ae793eb17937a
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
tjann/api-python
cdeb5b8335dcaa1ad8638ed51217cda769376d11
e44151c9c35c7fcc4bc2e688d36e0a46980fd86f
refs/heads/master
2021-01-07T00:23:34.901376
2020-11-14T00:06:13
2020-11-14T00:06:13
241,524,474
0
0
Apache-2.0
2020-02-19T03:33:17
2020-02-19T03:33:17
null
UTF-8
Python
false
false
12,877
py
# Copyright 2020 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "noreply@github.com" ]
tjann.noreply@github.com
4717038c84c1c01cbc9e34d3d74d2868e09bf421
70d171dd22d9ae613327d0dfba2315d97ffb6939
/app/core/migrations/0003_ingredient.py
e603b97d07b0aebf2b2257554b4e08d89704a4cc
[ "MIT" ]
permissive
syamcode/recipe-app-api
f4e4db5c3a3bcebb406cb325bfb58a66653f0b05
57e313585df70a35de234f6181a5875434b2ffdc
refs/heads/master
2020-07-07T20:12:34.524748
2019-09-13T23:06:16
2019-09-13T23:06:16
203,464,774
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# Generated by Django 2.2.4 on 2019-09-11 04:13 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('core', '0002_tag'), ] operations = [ migrations.CreateModel( n...
[ "syamcode@gmail.com" ]
syamcode@gmail.com
58d4ba551376243f65ebf57907a539de63520c05
b30429ced22829a80b68f93efa33a1c47a5036d1
/annotator/migrations/0007_auto_20190424_1459.py
11f975ed5e9c1479777cfa3dddefb4ee642efd2d
[]
no_license
sunatthegilddotcom/Intelligent-Annotator
a522d07941ad79866a6453054121a412c2b4dbb0
93f12cdc5f09b6cfc87c8d2fae4f3adf9673234f
refs/heads/master
2022-01-19T19:47:53.221394
2019-05-04T13:36:46
2019-05-04T13:36:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
671
py
# Generated by Django 2.1.7 on 2019-04-24 06:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('annotator', '0006_auto_20190424_1226'), ] operations = [ migrations.RemoveField( model_name='unlabeleddata', name='e1_end', ...
[ "976508106@qq.com" ]
976508106@qq.com
2cb1c735b9eef7af8cc6c86d68ed47beaba9f612
de22baf37c1211d7d08b809a08be3e7a562970e3
/algorithms/F1to50/ValidSudoku.py
5963e00017c00855d73551611bc93313ec42af34
[]
no_license
freefly0706/leetcode_python
a940b40e469a5b38784abf7d40c5343c82ef6586
2788fcbcf692e03236cf45e0c6210f8f4c416596
refs/heads/master
2021-01-16T17:52:59.064002
2018-03-02T02:39:55
2018-03-02T02:39:55
100,020,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
# -*- coding:utf-8 -*- class Solution(object): def isValidSudoku(self, board): """ :type board: List[List[str]] :rtype: bool """ n = len(board) round = 1 grid = [[False for i in range(n)] for i in range(3)] for i in range(n): row = [False] ...
[ "1741093834@qq.com" ]
1741093834@qq.com
93ac5c9fca596f3b01d69b676da1ea2bc27f262c
220529721e151c6cc088ebecf4d3c19fd4716df3
/HackerRank/Interview Preparation Kit/Recursion And Backtracking/FibonacciNumbers.py
685ca7a8259d1bde5b9f8cd83489c2e1b93859a6
[ "MIT" ]
permissive
jahid-coder/competitive-programming
baa2311796e3ffad3ded4789e43f4f37b95673ef
e7878de2445019c916404238180959dc9308ed4a
refs/heads/master
2023-08-26T10:13:57.816451
2021-10-18T04:26:32
2021-10-18T04:26:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
def fibonacci(n): if(n is 0 or n is 1) : return n else : return fibonacci(n-1)+fibonacci(n-2) n = int(input()) print(fibonacci(n))
[ "thedevelopersanjeev@gmail.com" ]
thedevelopersanjeev@gmail.com
0f98315c678f4277a75f80aaeafbe5e930da2a88
4d65ecebf65391df2f43ca55d70d8c2d9684ccfd
/lightning_modules/GNN/Models/interaction_multistep_gnn.py
3123f5036360eaf2629a464f635c7b172218a0ce
[]
no_license
murnanedaniel/end-to-end
bd23ac75cae7796cde58658e9e0451835d46e11b
c455d5208b616ae1ac0312f60f827a6c92d233d1
refs/heads/master
2023-06-20T10:15:03.602547
2021-07-21T23:05:20
2021-07-21T23:05:20
285,630,925
0
0
null
null
null
null
UTF-8
Python
false
false
8,526
py
import sys import pytorch_lightning as pl from pytorch_lightning import LightningModule from pytorch_lightning.callbacks import Callback import torch.nn as nn from torch.nn import Linear import torch.nn.functional as F import torch from torch_scatter import scatter_add from torch_geometric.nn.conv import Mes...
[ "murnanedaniel@hotmail.com" ]
murnanedaniel@hotmail.com
f927c4a2620a629025c33537233ce96b06dcb58f
b8f240cb47cfebb47f0af043eaf63b80a805434a
/implement_table/shared/insurance/models.py
4ca6c6de375f05531f07c1fc5f12068b04ccf156
[]
no_license
merylb/implement_table
97c55fdb45e0d2104a066c4bdf6b39692f0ed902
aadc11c867d3f8d89d2fa32ccc8b8f1d2dac51fd
refs/heads/master
2021-09-05T06:13:29.983519
2018-01-24T17:29:46
2018-01-24T17:29:46
113,853,134
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
from mongoengine.fields import FloatField, EmbeddedDocumentListField, ReferenceField, StringField, BooleanField, \ EmailField, ListField from mongoengine.document import EmbeddedDocument from implement_table.core.classes import BDocument from implement_table.shared.convention.models import Convention class Organ...
[ "m.labied@vivaceconsulting.ma" ]
m.labied@vivaceconsulting.ma
1d10ff7135088afa90175be8163062d01867eefd
80a9c86dea3359a9d24529499bba5f7a04f52416
/class/classmy2.py
30b589bdd5ad3a3623bc8bce7cd526b178e8f018
[]
no_license
StarsSkys/python_class
4bdae29ef9b355abe8d256f3dcd3342d199a1315
065c3954951cb9d4bb9014b094bc74ee7da14c52
refs/heads/master
2020-08-18T13:22:08.011076
2019-10-17T13:04:01
2019-10-17T13:04:01
215,793,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#类的基本操作例子 class User(): """一个表示用户的简单类。""" def __init__(self, first_name, last_name, username, email, location): """初始化用户。""" self.first_name = first_name.title() #实例属性,在类中self.属性名 self.last_name = last_name.title() self.username = username self.email = email self...
[ "864822381@qq.com" ]
864822381@qq.com
800575f2be3eb0266842357718d5d8ab7a32dc18
5b347e39860e5af9a2120b82100c71ba9d253f72
/src/SQL_border_crossing_statistics.py
ae531d3e09a066d5e3ce55d7ad77f98a7aced006
[ "MIT" ]
permissive
bolor23erdene/border-crossing-analysis
ffd8d02b9ab48a4f677cce59d4fafa612d3dffd6
b7de26cc69c63e1715442b1a8a6e5a99063bbbf5
refs/heads/master
2022-01-04T15:04:09.882552
2020-02-04T06:52:49
2020-02-04T06:52:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,021
py
"""This script performs the same operation as in border_crossing_statistics, except it uses SQL.""" import csv import sqlalchemy as db from utils import convert_date_to_sql, convert_date_back_to_original_format, \ parse_args def main(): """Using the specified border crossing entry data (input file), ...
[ "sonofhotmale@gmail.com" ]
sonofhotmale@gmail.com
29e0b24e50ed7dcdc03ec061e44e67025bd5c68a
fb97818d65e20b625508384aab47dcb7ab2c02a2
/posefinder/my_position.py
9c7e8d13f8f7558b4318e30711e483d8efe56239
[ "Apache-2.0" ]
permissive
zehranrgi/hand_track-pose_estimation
28619cbc2d81a09fdf2c50fb6933983df273a172
f8c52fea6da7222342a0063f9f2d5a209bad698a
refs/heads/main
2023-06-27T10:47:15.366393
2021-07-31T21:40:54
2021-07-31T21:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,461
py
import cv2 import mediapipe as mp import time # cap = cv2.VideoCapture("/home/zehranrgi/Documents/Projects/hand_tracking/position/zoom_0.mp4") cap = cv2.VideoCapture("/home/zehranrgi/Videos/zoom_0.mp4") mpPosition = mp.solutions.pose pose = mpPosition.Pose() mpDraw = mp.solutions.drawing_utils #FOR FRAME RATE ...
[ "noreply@github.com" ]
zehranrgi.noreply@github.com
1ce14504f16c3b356c9fcaa5a18dd1984fc960e9
2c5b10c8d4d3bb0cc355098f2159441edce4310c
/hw3/reducer.py
110ade6ed5a4f3d1d8614b6e3bed12e2a84a8b09
[ "MIT" ]
permissive
mrgsv/made_bigdata
e2624a9f404e2a72d5a01ca17d7e9bdf7a67d91d
5d219be86129b4ba64878d5abfc993d554d765b2
refs/heads/main
2023-06-06T05:08:48.489699
2021-06-26T13:14:39
2021-06-26T13:14:39
349,197,241
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
#! /usr/bin/python3 import sys current_year_tag = None year_tag_count = 0 for line in sys.stdin: year_tag, counts = line.rsplit("\t", 1) counts = int(counts) if year_tag == current_year_tag: year_tag_count += counts else: if current_year_tag: print(current_year_tag, year_t...
[ "margasovarsenij@gmail.com" ]
margasovarsenij@gmail.com
54cb08721221bc79d4e2996113fd84edbcbc3a1f
545aedc0e425f0eb7cb5d35ae18f771da915757f
/tester2.py
4c6da9ac82f615dffed41c063220b87aa073bd3d
[]
no_license
Geniussh/HARD_Hack
947d8c250f4af8adb197fe4cf79641667a0aaba5
bc0e7ba0d153669735527c379c99a3a28c90c528
refs/heads/master
2020-04-17T16:11:03.908340
2019-01-20T15:12:16
2019-01-20T15:12:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
56
py
from tester1 import Tester1 print(Tester1.tester1(1, 2))
[ "noreply@github.com" ]
Geniussh.noreply@github.com
4fa85d0dc5849a81b8efb186fdbcd9856726b7cc
a4c4409748d2b1f4985890c50c4fd79b5905c7fd
/src/somang/S_TrafficLight.py
3f02994050bf5319100dc8a9c86a4a71c5e14e86
[]
no_license
EndlessLoops/Turtlebot3-1
11718e9a88c065f422ec4c8633a013085dfd5001
f3eb67e2d83374223994df622a86a6fd2f24e7db
refs/heads/main
2023-01-04T00:11:45.170975
2020-10-30T09:31:54
2020-10-30T09:31:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,232
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # 한글 주석쓰려면 이거 해야함 import rospy import cv2 import numpy as np from cv_bridge import CvBridge from sensor_msgs.msg import CompressedImage class Light: def __init__(self,frame): self.cam_img = frame self.green_lower=np.array([50,80,80],np.uint8) self.green_upper=np...
[ "akfls_thakd@naver.com" ]
akfls_thakd@naver.com
26e63d280008291df5eaf2259ca0e1f0bf42c840
1792af43b0d3e3896dd4b8269ab152a899a88113
/deadshot/config/__init__.py
d0e5d37c1b86712706cb10ddb91ec0ecaa757f3a
[]
no_license
wax8280/deadshot
3c2066014971140032b7762c7f5314dfa2f0647b
a3154f83124b1171c920154d85bb39edbf17a4ea
refs/heads/master
2021-01-21T06:38:37.071994
2017-03-24T08:28:12
2017-03-24T08:28:12
83,261,617
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
# !/usr/bin/env python # coding: utf-8 import yaml config = yaml.load(open('./deadshot/config.yml', 'r'))
[ "wax8280@163.com" ]
wax8280@163.com
88181d49242a84e85aa17f9e8c5e203a41cbf39f
2ce0c37ac7d9beeac23db688f97a1f502b92d13a
/products/migrations/0001_initial.py
8c3c7cb80e517b9df5e5a887ea84aba26a843734
[]
no_license
AmrElsayedEG/inventory-system
0cdb0634b33117b13bfcae8642f979448d831369
d4bc483612c3b721918d75f24ab0d7fa29b78ce3
refs/heads/main
2023-08-20T22:32:25.113740
2021-10-04T08:55:44
2021-10-04T08:55:44
413,344,692
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
# Generated by Django 3.2 on 2021-09-02 12:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('merchants', '0001_initial'), ] operations = [ migrations.CreateModel( name='C...
[ "elsayed.amr50@gmail.com" ]
elsayed.amr50@gmail.com
08dde62354b5ebb4becafcb7178e2993c7d045d1
f087cb23faddac6c0deb59f543e963612ea271ba
/srm_test.py
76ca1b282c8a9e4a712e78cd17bc30c9eb24cd50
[ "BSD-2-Clause" ]
permissive
ka-petrov/LibSRM
8f311b8805d72a07ff96ff0ffd6cdfa9f5072537
7db2df68147ea07c93be0973fb04da7e4bbdaa11
refs/heads/master
2023-01-08T07:16:29.025936
2020-11-05T17:07:17
2020-11-05T17:07:17
97,029,265
2
3
null
null
null
null
UTF-8
Python
false
false
436
py
import matplotlib.pyplot as plt from skimage import io, img_as_ubyte from skimage.exposure import equalize_hist from pysrm import srm if __name__ == '__main__': img = img_as_ubyte(equalize_hist(io.imread('test.tif'))) avg_out, lbl_out = srm.segment(img, q=10) f, ax = plt.subplots(2, 2) ax = ax.ravel()...
[ "petroff.cat@gmail.com" ]
petroff.cat@gmail.com
17db822015120732281d4104084abc3c1655202b
e1f5cf7055e54f24f4bea5b1232f337fcbcae63c
/operators/solution/operators_even_odd.py
f3f801e876e0c2dfea17daa14392451f26302dde
[ "MIT" ]
permissive
revirevy/book-python
fcd64d44840b68e528422de785383f9d4a81fb98
9da7bfd43117f33530e708e889c26152dc8c7a25
refs/heads/master
2020-04-01T05:13:50.394724
2018-10-13T14:58:19
2018-10-13T14:58:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
number = input('Podaj liczbę: ') if int(number) % 2 == 0: print('Even') else: print('Odd')
[ "matt@astrotech.io" ]
matt@astrotech.io
ae5444777050fe5c3dc19a0c48d1e8a96a90b956
c37cb658a5c5fb3dc1aafa959c86866dc1ed9e39
/10-30/进度条.py
a4b0b400bf0ee768f6c82a8548eb608d9f5b0d70
[]
no_license
Dragonet-D/python3-study
6fe7a7f049dd8067593c865e58d125e12b1de55a
b057d75a2421798d27e2d15e0eee35d9eb8dbf27
refs/heads/master
2021-10-10T21:18:30.319066
2021-10-01T07:52:27
2021-10-01T07:52:27
98,364,215
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
import sys,time for i in range(20): sys.stdout.write('#') sys.stdout.flush() time.sleep(0.1)
[ "Dragonet-D@163.com" ]
Dragonet-D@163.com
2a547c4ff9dedc29a1110bc0dcfbffbb45e21485
d3db86788b4594144179623b22fe7c4dd053e00b
/zhihu_zhuanlan.py
3bda47f280cc433426adaa1624470af3af220dd4
[]
no_license
TonyCCCC/First_test
1fbe222ebe1d4cfe5cfc23879021f7424545c460
0a1c464bc248dc6e74020e3ba9bb3d24eb142298
refs/heads/master
2020-03-27T17:38:10.646041
2018-09-18T03:35:29
2018-09-18T03:35:29
146,863,224
0
0
null
null
null
null
UTF-8
Python
false
false
1,843
py
import requests from bs4 import BeautifulSoup from lxml import etree class getIndex: def get(self): headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0' } url = 'http://www.zhihu.com/api/v4/columns/crossin/articles?limit=10&...
[ "42052811+TonyCCCC@users.noreply.github.com" ]
42052811+TonyCCCC@users.noreply.github.com
5072ea5d23fdff3d70a3bb7c00566d5eafeb2462
d552a3c92155d82ad146cd99ea9b8b4a3b65eab7
/openstack/tests/unit/accelerator/v2/test_device.py
22b17b336ec7b59cf89ffb03febaf3e54fa4d5c5
[ "Apache-2.0" ]
permissive
jlyheden/openstacksdk
600201d4fbf23fd8a4fa9a53b398b29811446051
7e0dcaaa4a69b17b97e746ce8de104689c60becc
refs/heads/master
2022-11-30T19:15:16.113961
2020-06-07T18:02:22
2020-06-07T18:02:23
270,694,856
0
0
Apache-2.0
2020-06-08T14:15:36
2020-06-08T14:15:35
null
UTF-8
Python
false
false
2,029
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "mordred@inaugust.com" ]
mordred@inaugust.com
acee2230f346b81691e84117dae7502b306289d8
2a6da3a51304f37952400fbf8ffdadca805028e3
/model.py
d05e9b3e53c8460d80cc10de553085c225fc4178
[]
no_license
JonTChrome/SDC_BehavioralCloning
3123d0dec8654bbc0fbeeac3d7b95c9c567761f3
0825696b372d5c771621f5034e643f5af8673acd
refs/heads/master
2021-05-14T11:54:51.069084
2018-01-05T14:43:37
2018-01-05T14:43:37
116,394,579
0
0
null
null
null
null
UTF-8
Python
false
false
1,897
py
import csv import cv2 import numpy as np from keras.models import Sequential from keras.layers import Flatten, Dense, Lambda from keras.layers.convolutional import Convolution2D, Cropping2D from keras.layers.pooling import MaxPooling2D lines = [] images = [] measurements = [] with open('./data/driving_log.csv') as cs...
[ "jtracy9@ford.com" ]
jtracy9@ford.com
ed28ecbe4b263d453c4bfa10eb82c7ecadb6e1c2
e837f326361d997407e48b32504447889106a016
/test.py
b81189c887727fff0ec2cc07d583a61114b461bc
[]
no_license
juanengml/api-gt-services
4723ee89c34ec87048a768b3b52c622b199430a7
d8bef2d5a688032ce750803f15bf5464b096b9de
refs/heads/master
2023-07-04T15:34:05.332969
2021-08-14T16:39:03
2021-08-14T16:39:03
395,791,872
1
0
null
null
null
null
UTF-8
Python
false
false
342
py
from time import sleep from requests import get endpoint = "https://api-gt-services.juanengml.repl.co" list_endpoints = ["/api/v1/coffe/ativos","/api/v1/food/ativos", "/api/v1/address/ativos","/api/v1/blood/ativos"] while True: for endpt in list_endpoints: url = endpoint + endpt print(url) r = get(url).json(...
[ "37448831+juanengml@users.noreply.github.com" ]
37448831+juanengml@users.noreply.github.com
262f911284f7e2e19c33f1635b19882c10bbde34
a132817e35f57166c77df847763db19887ff7984
/examples/sample_plugins/toyplugins.py
710ed45ec1bdb9743c263af4da7f0d092b406b42
[ "MIT" ]
permissive
ryankeleti/pybtex
9787a1c4032318d251b0958d267e6493a154aa69
0b0e0d39f0f4aedd1588c6d08a55a1ad59521ad3
refs/heads/master
2020-09-10T01:32:13.914789
2019-11-14T05:11:57
2019-11-14T05:11:57
221,616,271
0
0
MIT
2019-11-14T05:07:33
2019-11-14T05:07:32
null
UTF-8
Python
false
false
2,018
py
# Copyright (c) 2006-2019 Andrey Golovigin # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publi...
[ "ag@sologoc.com" ]
ag@sologoc.com
d5a7272af68287027f53c865feafe95b269c8f1c
09d93f4e60263a9c1a13830f4ba79bd46eb2a546
/steps/step44.py
2c02c1eee4b2acfdf470bb1530a98cf8987477d2
[]
no_license
koi-7/deep_learning_from_scratch_3
a37d6eadfd7b7ddb2371b2d2bbfd1ebab93c738a
8869df0f0c0310822151dce7bb1604bce1f5dc4a
refs/heads/master
2022-12-08T20:26:39.562080
2020-09-07T09:29:18
2020-09-07T09:29:18
291,399,523
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
#!/usr/bin/python3 # coding: utf-8 if '__file__' in globals(): import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import numpy as np from dezero import Variable import dezero.functions as F import dezero.layers as L # データセット np.random.seed(0) x = np.random.rand(100, 1) y = np.si...
[ "kkoiwa.1720+git@gmail.com" ]
kkoiwa.1720+git@gmail.com
0780be161c5032f929cffb4b9d4136455f39b935
add0e545ad2ed20a1d9e3096f2a159f15f03f045
/csdn/linkexample.py
9c0b05d78230cdfd40e7d69f38b9629ca2c863c3
[]
no_license
wingsthy/data_structure
c058a374ae669e7625bbeafdf6ad0825809ea261
ffcdad14e52056b5c39210d646c06f77ba51ae5a
refs/heads/master
2020-04-15T09:56:35.551680
2019-01-30T14:10:14
2019-01-30T14:10:14
164,572,898
0
0
null
null
null
null
UTF-8
Python
false
false
5,766
py
#!/usr/bin/env python #-*- coding: utf-8 -*- class Node(object): def __init__(self, value=None, next=None): # 这里我们 root 节点默认都是 None,所以都给了默认值 self.value = value self.next = next def __str__(self): """方便你打出来调试,复杂的代码可能需要断点调试""" return '<Node: value: {}, next={}>'.format(self.val...
[ "wingsthy@163.com" ]
wingsthy@163.com
1b9e6effd428d243ba00d7a5188336d87022f590
e1ad3c03db822be64c14236e4e7b9d1ef601e820
/Algoritmos Traduzidos/Python/Algoritmos traduzidos[Diogo]/ex3.py
eed9fbb72241035a74fc9f950d736e5020aa6c00
[]
no_license
portugol/decode
7a0f107db201bb528f249c4b76744372bc0da44d
8e49d61af48b5a6b444e42bec9345b0c576887af
refs/heads/master
2021-01-06T20:41:52.739487
2013-07-02T22:49:26
2013-07-02T22:49:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
a=input('Digite o numero de três casas:') d=0 d=int(a)/10%10 print('Algarismo na casa das dezenas:',int(d))
[ "tiago.mdt@gmail.com" ]
tiago.mdt@gmail.com
5e76891c6fd61b4b76cbc83b35b90119affe864e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_188/ch43_2019_04_16_13_18_38_414865.py
9d7a9dc016757aa22b66c02a79763c38cff18db9
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
def sequencia_collatz(n): contador = -1 while n!= 1: if n % 2 == 0: n /= 2 else: n = (3*n) + 1 contador += 1 return contador numero = 1000 maior = 0 while numero > 0: teste = sequencia_collatz(numero) if teste > maior: maior = teste re...
[ "you@example.com" ]
you@example.com
9f1b7837d52566b3b15773c7c481b18f2e0285b7
ad7329edb9f527e605270c7a6b83686d995e3774
/util.py
53dd5f09f25c8b0124f53acc043157883280eb46
[ "MIT" ]
permissive
Khoross/mtgatracker
2f2202f2b1540224c08be9fe5a05a0de9ae5dadb
6b71eae13b03fadcaad59f4e1f4f4983872c45c7
refs/heads/master
2020-04-01T17:47:04.510562
2018-10-14T23:55:47
2018-10-14T23:55:47
153,450,040
0
0
NOASSERTION
2018-10-17T12:04:57
2018-10-17T12:04:57
null
UTF-8
Python
false
false
9,350
py
""" util.py generally stuff that is useful but just hasn't quite found a home elswhere in the project yet. Anything here is subject to being moved at random! """ import json import os import sys import time from tailer import Tailer import app.models.set as set from mtga.set_data import all_mtga_cards depth = {"dep...
[ "hawkins.spencer@gmail.com" ]
hawkins.spencer@gmail.com
225d3c41f8775d4f67ace94f237c4f9fb1b3dee2
15097e3428df1193b25d8476f49b3f98e9d31e2a
/funs/pass_by_ref.py
3921c27fdb913da28f256b3c07cfbc8363f91dc9
[]
no_license
srikanthpragada/PYTHON_28_JAN_2019_DEMO
4c19d5116726d7e2b254a50aabe56ccfc0864c3c
12cba58f76029ec035e2a7c7a6c075528597714b
refs/heads/master
2020-04-20T04:24:13.066635
2019-03-01T02:28:04
2019-03-01T02:28:04
168,626,247
0
1
null
null
null
null
UTF-8
Python
false
false
95
py
def prepend(lst,value): lst.insert(0,value) nums = [1,2,3] prepend(nums,0) print(nums)
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
eeaca050f85a8469d941da81394dbfc600b85fc2
1b42b04a27c33bfa704f4f108c9986cd558d7545
/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/tests/test_pair.py
48473f08b608acc7577818b210bc9c2b80ae0831
[]
no_license
Nandan307/trex_stl_lib
addbe9e42cc69a84fba59b385b108f4f22165534
8b3a204308475bff79a6bb7dd1419bbf18c10ffd
refs/heads/master
2021-01-25T00:33:17.552192
2018-02-28T14:41:56
2018-02-28T14:41:56
123,301,115
0
3
null
null
null
null
UTF-8
Python
false
false
1,266
py
# Copyright (C) PyZMQ Developers # Distributed under the terms of the Modified BSD License. import zmq from zmq.tests import BaseZMQTestCase, have_gevent, GreenTest x = b' ' class TestPair(BaseZMQTestCase): def test_basic(self): s1, s2 = self.create_bound_pair(zmq.PAIR, zmq.PAIR) msg1 = b'me...
[ "nakulkar@nakulkar.bos.csb" ]
nakulkar@nakulkar.bos.csb
767aced29017929d835b699cfc0fd937a9b8de7c
b3cd67ffa56b92c588fb17d70c2155a04f528028
/main_app/urls.py
b6e8981e1bcd0bb805bd27f313ab40981b16b801
[]
no_license
mohsenifarm/dogcollector
7e773139e3479b66172bf64f6adf992bff749338
5e44dee7d8cb1b3ab376f435511ab7c8d01f8d64
refs/heads/master
2020-06-04T23:32:46.966111
2019-06-16T20:25:30
2019-06-16T20:25:30
192,233,590
0
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
from django.urls import path,include from . import views urlpatterns = [ path('', views.home, name='home'), path('about/', views.about, name='about'), path('dogs/', views.index_dogs, name='index'), path('dogs/<int:dog_id>/',views.detail,name='detail'), path('dogs/create/', views.DogCreate.as_view()...
[ "MJ@Mohammads-MacBook-Pro.local" ]
MJ@Mohammads-MacBook-Pro.local
4a30a8be7eb3355e7a0894a55bba9d3ebda5c8b2
ef434ebcffccb9f2182ff69f91d7520c9334c22a
/parseXML.py
d736647d5ab80d35c7efc667abd9c92860f7aae0
[]
no_license
mnechita/bda
a22e7aeeb39c4cc8353f407bc04990fa0a90f17d
72d904466bccd07d24e5229da2bb08ad13094163
refs/heads/master
2020-03-19T21:46:30.795366
2018-06-12T05:58:55
2018-06-12T05:58:55
136,949,591
0
0
null
null
null
null
UTF-8
Python
false
false
6,115
py
import json import os import os.path as op import re from gzip import GzipFile from bs4 import BeautifulSoup DATA_FOLDER = 'data' def getallfiles(path): return [op.join(dp, fn) for dp, dn, fns in os.walk(path) for fn in fns if fn.endswith('gz')] def process_front(front): to_return = {} jm = front.fin...
[ "mihai.nechita95@yahoo.com" ]
mihai.nechita95@yahoo.com
95055415eb7f9d2a9e5370e8511d3e55418643f9
a5e0ad3a8745e90e79e516e5cb799bad00e42319
/etc/pip_install/setup.py
25388a67a6a7455ae0927b5852fea02ae73363bb
[ "Apache-2.0" ]
permissive
asoriano-stratio/incubator-toree
621df8807bd045e56c1a6b3a7270bf9b16b1156c
3f1279dfc287ba36fc08c36a67b21bbba3291a81
refs/heads/master
2021-06-06T20:42:42.330846
2016-10-08T11:14:43
2016-10-08T11:14:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
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...
[ "cstubbs@us.ibm.com" ]
cstubbs@us.ibm.com
3165e50dd296edb0a5d28b024e1c4e2ee1969e43
7a2d2cfbe99a13920e55e462bd40627e34d18f23
/openbb_terminal/cryptocurrency/overview/sdk_helpers.py
ccec6062d9340aec34117974ad16ac948ae80aba
[ "MIT" ]
permissive
conrad-strughold/GamestonkTerminal
b9ada627929dbc1be379f19c69b34e24764efcff
c9aa674d979a7c7fd7f251410ceaa1c8a4ef2e6e
refs/heads/main
2023-06-24T02:59:45.096493
2023-05-16T15:15:20
2023-05-16T15:15:20
342,313,838
0
0
null
null
null
null
UTF-8
Python
false
false
2,042
py
"""Crypto OV SDK Helper Functions.""" __docformat__ = "numpy" import pandas as pd from openbb_terminal.cryptocurrency.dataframe_helpers import ( lambda_long_number_format_with_type_check, ) from openbb_terminal.cryptocurrency.overview import coinpaprika_model, pycoingecko_model def globe(source: str = "CoinGeck...
[ "noreply@github.com" ]
conrad-strughold.noreply@github.com
d07db74f35b7ef761cad3644f2da9781116fef0f
3f4ecfae04ea4d7f8c16efff47b10ed58be92de0
/back_end/api/data_access/__init__.py
19db99b3aa3df13912702c2dc30f99a7bc2a82c8
[]
no_license
Esteban108/cripto_test
f6f0c6e99980c0852a9269876937619d84c30265
ec4123001740fcb58963fb38059ea39f77ebe326
refs/heads/master
2022-12-09T20:40:00.964753
2020-03-06T16:07:28
2020-03-06T16:07:28
236,856,843
0
0
null
2022-12-08T03:33:53
2020-01-28T22:30:28
CSS
UTF-8
Python
false
false
322
py
from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker from ..config import DB_URI Base = declarative_base() metadata = Base.metadata engine = create_engine(DB_URI) SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine...
[ "estebangaudenti1@gmail.com" ]
estebangaudenti1@gmail.com
f1905277edc4ede3808ba32c2600771cc11cb93f
210691d0d62955bb1cb45e4221718418545c37f8
/t/test_wc.py
12001d56bf64f7578b338f0d5b81beb4c5fabe16
[]
no_license
szabgab/pytools
d0445e1fc612592beb5706cb7af617ed2fb56df8
c0cd51768a1a728b55c7d78fbba35c2aeda53d7c
refs/heads/master
2021-01-18T18:25:15.914492
2012-11-15T07:51:26
2012-11-15T07:51:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
import unittest #import sys #sys.path.append('bin') #import wc class TestWC(unittest.TestCase): def setUp(self): pass # create temporary file def test_wc(self): self.assertTrue(True) if __name__ == '__main__': unittest.main()
[ "gabor@szabgab.com" ]
gabor@szabgab.com
e5b8b5cddd77544e0ac30428f62d1745371724dc
ef1604c1201332bded6484f3e0b76ca029274b99
/bossmode.py
793a90acba95260ac707a107c7d05e4c9f77b95e
[]
no_license
Lukc/sample_data
8eadbb394e9da2c3532ae2e09df60a2c5139125b
6f3e8763467fad8e31d7eddedf5131698cbc50e2
refs/heads/master
2021-01-10T19:36:49.356182
2014-03-20T15:35:10
2014-03-20T15:35:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,316
py
# -*- encoding: utf-8 -*- from pytouhou.game.enemy import Callback current_card = -1 # TODO: # - Screen cleaning. # - Lives counting. # - Hitpoints counting. # - Scoring. # - Spellcards data. # - Many other things. class Spell(object): def __init__(self, spellcard, code, life, timeout, end_of_life =...
[ "lukc@upyum.com" ]
lukc@upyum.com
bafcfb78e38c42cf6c23be6f509de455a905319b
f7e64890f56e1cb171edaff4a27927cbeaa3b6d4
/Part 1/secret_num.py
7922bd0fb5012e05cc7c8d01c528a0e38049404b
[]
no_license
mezla/6001x
e9ed127d3d55980fc28ee490fa99965912474c83
e6b7ce7499b3deb4176e3813d24d96aaa60da21e
refs/heads/master
2020-07-03T16:58:19.920705
2016-11-19T23:05:14
2016-11-19T23:05:14
74,240,549
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
print 'Please think of a number between 0 and 100!' epsilon = 1 step = 1 low = 0 high = 100 ans = (high+low)/2 while abs(ans**2-100) >= epsilon: print 'Is your secret number ' + str(ans) + '?' info = str(raw_input('Enter \'h\' to indicate the guess is too high. Enter \'l\' to indicate the guess is t...
[ "mezla42@gmail.com" ]
mezla42@gmail.com
604d1bfdf1304afd809fc455d249728bea4fcbd1
cac95416584e4bd3556b14c58abee8d157c80ba0
/public/baiduspider/_spider.py
b1ea8666058e2f19d29bcd92f2a1e1824984d2a6
[ "MIT" ]
permissive
gdtool/Aggregate-search
21204872b3f7ed32c5e39b240bb290c0d639b69d
a8014bc7ccc7152833ee70405244d20ec9d8be5c
refs/heads/main
2023-07-19T20:49:39.643211
2021-08-18T20:06:27
2021-08-18T20:06:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,697
py
from baiduspider.util import convert_time import re from typing import Union import requests import os from datetime import datetime, timedelta import math class BaseSpider(object): def __init__(self) -> None: """所有爬虫的基类 此类包括了常用的util和自定义方法,继承自`object`。 """ super().__init__() ...
[ "l834159672@gmail.com" ]
l834159672@gmail.com
4fd5872538497ddefc32a9afbb191cc29aaefc25
9cbacb28ae219c3b16e0ba0e5fc9e14a7f36e4c6
/paper-code/tensorflow_src/models/task/task_chatter.py
3c8bc4ac778984da4cb57f12b2ce7f7af574b9f4
[ "Apache-2.0" ]
permissive
hquzhuguofeng/nlp-paper-1
7be27a30d304d789d9f6b45bef0803ff90e31aa2
e710574c95b671e848f4e3b6ad1d275a4adbf1fb
refs/heads/master
2023-08-27T07:47:54.575198
2021-10-22T12:28:22
2021-10-22T12:28:22
420,844,157
2
0
null
null
null
null
UTF-8
Python
false
false
5,215
py
import os import sys import time import tensorflow as tf import model.model as task from common.kb import load_kb sys.path.append(sys.path[0][:-10]) from model.chatter import Chatter import common.data_utils as _data from common.common import CmdParser import config.get_config as _config from common.pre_treat import p...
[ "1210212670@qq.com" ]
1210212670@qq.com
af1c86ddc948a92b244825c1fb31352a733dbef1
03374e5500835c395cfcc8fdfaebc7d33f8e425d
/dex/section/item_annotation_item.py
0dbb25853987599311b088e9f68865f78efd9a97
[]
no_license
WanQingGit/dexfactory
dbb4b886ef0b35c64d6fee888c01177ef1b599b0
ca41780d8b4765364944930cac8032f9126d5619
refs/heads/master
2023-01-29T06:20:20.251344
2020-12-06T16:19:44
2020-12-06T16:19:44
306,493,512
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
# -- coding: utf-8 -- from base import * """ annotation_item中的visibility的描述映射 """ annotation_item_visibility_desc_map = { 0x00: 'VISIBILITY_BUILD', 0x01: 'VISIBILITY_RUNTIME', 0x02: 'VISIBILITY_SYSTEM', } class AnnotationItemItem(BaseItem): """ section子结构: annotation_item ...
[ "1109162935@qq.com" ]
1109162935@qq.com
b06b74f1887da1b761e0b20410ca23b7696ec341
feab20def7ca9752c1ea410a5d439167f2fcadfb
/manage.py
0fadf1e2b050b0f1b7391d0f438b00551bb855c5
[]
no_license
loganeb/mope-reviews
94dd15d10cde794144d1d26053c88513384715e9
f29ed1dd818829ac1f20349e26bdb1ccdda55b6e
refs/heads/master
2020-04-21T15:32:15.711376
2019-03-21T20:14:29
2019-03-21T20:14:29
169,672,579
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mope.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are you...
[ "logan.bynes@gmail.com" ]
logan.bynes@gmail.com
6c7fd73a3bbfeecbede7350da9bf01e4d2c64628
fd6e7c8469f2ec0c551dee16c31711a1e6ead1c1
/tests/test_04_title.py
6743c2aa55c809ea5aa6c7ad863191aedcccae95
[]
no_license
maxsnegir/yandex_api_example
8856de7381d3a5920d08b055f6cf81dae9062c96
7974faae3cb4ee17f00890c73999d2752edb3aff
refs/heads/main
2023-02-19T05:55:14.388989
2021-01-18T07:17:28
2021-01-18T07:17:28
330,584,769
0
0
null
null
null
null
UTF-8
Python
false
false
15,377
py
import pytest from .common import create_users_api, auth_client, create_genre, create_categories, create_titles class Test04TitleAPI: @pytest.mark.django_db(transaction=True) def test_01_title_not_auth(self, client): response = client.get('/api/v1/titles/') assert response.status_code != 404...
[ "goshasnegir@icloud.com" ]
goshasnegir@icloud.com
80c7edc2b12e2b709d6b9590b782ee3cad5da629
2d9f4c6186e1c1f23c87ed39f1018fca4fd32d78
/feature_selection/__init__.py
538f18a206ebd756d2c878f47d081bce9764f6a1
[]
permissive
gonzalesMK/MetaHeuristic
b9c485cc44c217ebb807d6298e9092e99aecdb37
101664ffd3fd65f1d8ea689b6d263518ce176886
refs/heads/master
2022-03-12T00:53:29.791560
2022-02-17T22:00:02
2022-02-17T22:00:02
98,462,704
13
2
BSD-3-Clause
2019-10-16T19:06:04
2017-07-26T20:21:34
Python
UTF-8
Python
false
false
508
py
from .harmonic_search import HarmonicSearch from .genetic_algorithm import GeneticAlgorithm from .random_search import RandomSearch from .binary_black_hole import BinaryBlackHole from .simulated_anneling import SimulatedAnneling from .brkga import BRKGA from .spea2 import SPEA2 from .pso import PSO __all__ = [ ...
[ "judcnegri@gmail.com" ]
judcnegri@gmail.com
a60c614528014efc6364c27ec71eb4021066faab
82b3ffaf54eef5edc61557d36008233805487174
/Python Music Player/MAIN.py
a1baea5b2ea1a0b833b9120529f7788fbc6386f8
[]
no_license
jillvp/Personal_Projects
fc3c0c2d6ca6490304a958d6b4b16b376dbf7d2a
8bf8699c8cc9dcf16f0400a3c2d38b105d9017c5
refs/heads/master
2020-08-17T05:29:29.759394
2019-10-21T15:38:29
2019-10-21T15:38:29
215,615,724
0
0
null
null
null
null
UTF-8
Python
false
false
5,150
py
import os import tkinter.messagebox from tkinter import * from tkinter import filedialog from mutagen.mp3 import MP3 from pygame import mixer # use pygame to play music - import mixer class => responsible for audio + sound effects root = Tk() # Create the menubar (top bar) menubar = Menu(root) # create em...
[ "noreply@github.com" ]
jillvp.noreply@github.com
7e2d1999fde789a7b872a3d1ca6abcbc796026ad
e7baf07eb177a0dc4db1808cdd846cc4f756880c
/lesson5/jobparser/spiders/hhru.py
79e0e43614bfde9d3a16c82b2b4bbc5de5527b49
[]
no_license
SQMmm/internetData
e6f1fc89a5350d49ef98adc50dbe390e4c833eac
ea6168aee440e4dbc5aa9093cef7742303c776e5
refs/heads/master
2020-08-15T02:59:18.598921
2019-11-08T14:03:52
2019-11-08T14:03:52
215,269,455
0
0
null
2019-11-08T14:03:54
2019-10-15T10:19:20
Python
UTF-8
Python
false
false
1,316
py
# -*- coding: utf-8 -*- import scrapy from scrapy.http import HtmlResponse from jobparser.items import JobparserItem class HhruSpider(scrapy.Spider): name = 'hhru' allowed_domains = ['hh.ru'] start_urls = ['https://hh.ru/search/vacancy?text=Python&area=113&st=searchVacancy'] def parse(self, response:...
[ "m.ivanova@corp.mail.msk" ]
m.ivanova@corp.mail.msk
02e12aac93fa90fbe95d4bc17962c0be42c2eed2
192f7e402b5e471b021cd0ad0e9523ae874a8ae9
/array processor v1.11.0.py
96c7c04555c0c79b89e64d9228783b270f13a6cd
[]
no_license
seancheo/Array-Task
87bc240a4cda5ba0790526debc2ba41de637ca7d
17759080729dbfbd57808d24645188c7dd1113b9
refs/heads/main
2023-05-28T08:11:56.775920
2021-06-17T02:51:03
2021-06-17T02:51:03
349,273,809
0
0
null
2021-06-08T04:10:55
2021-03-19T02:11:38
Python
UTF-8
Python
false
false
21,306
py
###################################################################### # Array Processor # # This program sorts arrays and searches for values # # Author: Martin Vu and Sean Cheong # # Date: 13/5/2020 ...
[ "noreply@github.com" ]
seancheo.noreply@github.com
96d963db5e2da3dd2f9038e078d6078c794b722a
d1ab09e85c14fd35c8c9f31753b11772a6047088
/Python0005_IncrementDecrementOperators.py
157343e235c9243fad708c4f1e8a730a313a8084
[]
no_license
Abdullah06444/0005_IncrementDecrementOperators
2cc527778c49cb3153cf754f0990c1d23335dde8
ad3b7d7549cbd6e4e4f5821611c080a8281d7261
refs/heads/master
2022-12-11T10:33:42.421812
2020-09-06T18:10:34
2020-09-06T18:10:34
265,377,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,383
py
x = 2 y = 3 z = -4 x = y + 2 z = x - 3 # x = 5 , y = 3 , z = 2 print("x ---> ",x,"\ty ---> ",y,"\tz--> ",z) z -= x - 5 y += z - 7 # x = 5 , y = -2 , z = 2 print("x ---> ",x,"\ty ---> ",y,"\tz--> ",z) ''' If you are familiar with other programming languages like C, Java, PHP then you know there exists two operators ...
[ "abdullah44gur@gmail.com" ]
abdullah44gur@gmail.com
23b4f421a0a3dfcf6dd0e936f4b47bf527924735
cf74841051a2ea1d11a6765fa76d64a1caad9293
/mysite/settings.py
7e6e00aa76b52ef0affa6a33b9c1eab72b1cfd8e
[]
no_license
kattosai/my-first-blog
6e8e39e5300632c66418c45265eb34aa4263f9e3
b18c6149711b4ab512d2686be6576bf37820e810
refs/heads/master
2020-05-05T11:12:00.849690
2019-04-08T13:27:33
2019-04-08T13:27:33
179,979,522
0
0
null
null
null
null
UTF-8
Python
false
false
3,183
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.13. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "you@example.com" ]
you@example.com
d5b9fbbce42e28c9f4fab58843eb9861953a0c58
8c02c6b0cbdc1f763e09e9d39a19c92e2ff49591
/radio/settings.py
b4c2deb456d166ade7092fa891114c8d10fc1778
[]
no_license
AngheloGc/ascola
9b08beadc7be183546a3158d4c8a4ccf7b074e4d
0dece752a76bc35c96be9c6a5f61ea86367d099f
refs/heads/master
2020-03-14T04:41:30.112544
2018-04-28T23:20:38
2018-04-28T23:20:38
131,447,024
0
0
null
null
null
null
UTF-8
Python
false
false
3,307
py
""" Django settings for radio project. Generated by 'django-admin startproject' using Django 2.0.4. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # B...
[ "agiron_1907@hotmail.com" ]
agiron_1907@hotmail.com
9fdccff75c088aa1a84fdb4e39d6715201f6b6b1
86c0e705a7b140474a92de399997ac9380c9b711
/study_plot/sequence_clustering/keams_clustering.py
a738e1956a661890b8ad5665c5f6afe784da019b
[]
no_license
LeoPJ/GraduationProject
533b5eb0d0b55925b29c6824ff27f8811c8bd72c
3a627a195399f64edf373465e83c46a08b1799bd
refs/heads/master
2023-08-15T16:40:48.361417
2021-10-22T02:42:20
2021-10-22T02:42:20
267,300,460
0
0
null
null
null
null
UTF-8
Python
false
false
10,426
py
from sklearn.cluster import KMeans from sklearn.mixture import GaussianMixture import numpy as np import math as m # import matplotlib.pyplot as plt import Levenshtein import pandas as pd import re import json import matplotlib.pyplot as plt def get_dis_matrix(data): """ 获得邻接矩阵 :param data: 样本集合 :retur...
[ "peijieliao@foxmail.com" ]
peijieliao@foxmail.com
0c9f68540a2172c98c976409df27cf2f63b18908
275f85955acabac247fe306b0161a6d758f4d057
/DiegoGonzales/task2_2.py
ea63dddbfadcc28e6e44657c22ad54a57aef7920
[]
no_license
mauricioZelaya/QETraining_BDT_python
295bb58a99a36b0b973afd153109c510191b4ec7
d7cc798e7063ab32e5002e4deda3ddec8a8a0c59
refs/heads/master
2021-05-08T05:01:13.181273
2017-11-24T21:53:46
2017-11-24T21:53:46
108,473,352
0
0
null
2017-11-24T21:53:47
2017-10-26T22:43:32
Python
UTF-8
Python
false
false
336
py
def condiciones(numero): if numero < 0: numero = 0 print('Numero negativo cambiado a cero') elif numero == 0: print('Numero es Cero') elif numero == 1: print('Numero Simple') else: print('Mayor que uno') numero = int(input("Ingresa un entero, por favor: ")) con...
[ "devsoftbol@gmail.com" ]
devsoftbol@gmail.com
bdbf206496a0420317ec6c60a8d1a7b1c3577906
12cfd1678317f40ca778b8c65d7323637c8c358d
/2018腾讯广告算法大赛/team1_lgb&nffm/src/014_CV_cvr_select_p.py
7582b0de170d96bf099fdfb6df27df2bb75f6f8b
[]
no_license
moonlight1776/competitions
e73d0ce358d2b5662b801820fd2f6434f2af4e2e
a372a2051a2a1580feb280ce6842a785459cf8d1
refs/heads/master
2022-03-21T09:31:20.276644
2019-11-09T05:37:46
2019-11-09T05:37:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,000
py
##筛选特征 col_new = ['cvr_of_aid_and_onehot7', 'cvr_of_age_and_onehot7', 'cvr_of_consumptionAbility_and_onehot1', 'cvr_of_aid_and_onehot3', 'cvr_of_advertiserId_and_onehot3', 'cvr_of_advertiserId_and_onehot1', 'cvr_of_gender_and_onehot2', 'cvr_of_campaignId_and_onehot7', 'cvr_...
[ "327643958@qq.com" ]
327643958@qq.com
7f7d5e33a6009a87758376777adc69e02ca6cf6c
d01fd380fc4cac1db7884bceeef6e828c49948e3
/restframework/1-序列化/DEMO/front/serializers.py
e172cc0e67a1cb05e1c29e0454ab497e3475cba9
[]
no_license
renovate-bot/taoya7-_-DjangoNote
827261f9410129e42ca6ef0ff8b4acac74798917
2d1e4cdfd3112e18350512b0c917742bc36ec549
refs/heads/master
2023-08-18T07:26:54.855187
2020-06-09T03:16:02
2020-06-09T03:16:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,544
py
from rest_framework import serializers from django.conf import settings from rest_framework import exceptions from .models import * class PersonSerializer(serializers.Serializer): name = serializers.CharField( max_length=10, min_length=6, error_messages={ 'max_length': '太长了', ...
[ "569781231@qq.com" ]
569781231@qq.com
2dbc7739be4fbd4d7e2f2711c130c822aaf1ee38
44797a400aaffd4bf0c4fba1a5aad5f15d32d8f5
/Spam.py
1ee5d3deef515229127bf7acba82f53069c08949
[]
no_license
xrunganz/spam
08c65eb63a73036371152732bf5a77384e93cfec
53e8354b338a164329cecab057a5abfc581ebad5
refs/heads/master
2022-12-06T17:17:12.682856
2020-08-31T17:57:10
2020-08-31T17:57:10
291,782,662
0
0
null
null
null
null
UTF-8
Python
false
false
19,753
py
#!/usr/bin/python2 # Author : Xploit-Nahrun Ganz # Team : Black Coders Anonymous Satanic Exploiter Team ( BCA - X666X ) # Apa Liat Liat ? Mau Recode ? >_< # Recode Tidak Akan Membuat Anda Menjadi Pencipta Kode :3 M = '\033[1;31m' H = '\033[1;32m' K = '\033[1;33m' U = '\033[1;34m' P = '\033[1;35m' C = '\033[...
[ "noreply@github.com" ]
xrunganz.noreply@github.com
8fef98c2654ba9af7518648c1307f2dfd67c0ac1
8246092010e656920e7199f889f9cbf54b83a729
/pycoin/symbols/ric.py
0cb5179b08fc317c81336784f54f585757c5fe15
[ "MIT" ]
permissive
richardkiss/pycoin
5717411a11445773ac922c1d1c1b7dbe4835cd77
b41ad7d02e52d9869a8c9f0dbd7d3b2b496c98c0
refs/heads/main
2023-08-07T12:14:04.974934
2023-04-18T02:27:15
2023-04-18T02:27:15
10,917,677
1,306
489
MIT
2023-06-03T23:24:50
2013-06-24T19:17:52
Python
UTF-8
Python
false
false
319
py
from pycoin.networks.bitcoinish import create_bitcoinish_network network = create_bitcoinish_network( symbol="RIC", network_name="Riecoin", subnet_name="mainnet", wif_prefix_hex="80", address_prefix_hex="3c", pay_to_script_prefix_hex="05", bip32_prv_prefix_hex="0488ade4", bip32_pub_prefix_hex="0488b21e")
[ "him@richardkiss.com" ]
him@richardkiss.com
354ddae4632496cd952b20b64e8f1d9a1e94981c
86fe84197c897c4b12be6d574fa90beaa5c155fb
/great_number_project/urls.py
ad4c62a5c195eed01adb03dcce59b4f596129a45
[]
no_license
raqueloropeza/CodingDojo_Django_GreatNumberGame
225c60f5c15fefe49e1387380c76291181fccff6
6924b0470fab0e2d9d1894375f4410bb7a03b287
refs/heads/master
2023-05-18T17:51:32.122339
2021-05-31T18:34:13
2021-05-31T18:34:13
372,594,157
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
"""great_number_project 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'...
[ "rockuzaki@gmail.com" ]
rockuzaki@gmail.com
4192504c87ccd8c33cb0c35e585d5c13b05e54d6
364cfb59c90d134c8491454711c37b0f18783997
/AC_solutions/chapter_13/AC13_01/classes.py
9465451bb32d56342e242414fb5dc908418f9fe4
[]
no_license
advancedpythonprogramming/hands-on-activities
48068fa83bdf9c4d8ed00b58336f008b9fde8bfe
823808bb375882c8ada7261edc44b35e5f92240a
refs/heads/master
2021-01-11T16:14:32.525059
2017-08-02T14:00:40
2017-08-02T14:00:40
80,046,192
1
2
null
null
null
null
UTF-8
Python
false
false
2,034
py
class Student: def __init__(self, id, name, username, attendance): self.id = id self.name = name self.username = username self.attendance = attendance class ConsoleApp: def __init__(self, spykiller): self.spykiller = spykiller def run(self): while True: ...
[ "karim@karimpro.ing.puc.cl" ]
karim@karimpro.ing.puc.cl
ac0a4159f7663a02d156c1c0dd52ccbf90f9801b
91695334c9a9d8f462dd2fa7b82f3e6ccd7a764c
/testinformation/migrations/0016_auto_20211108_1702.py
2ef95c256e3450bcc9dd1983563ed565e78dd1c5
[]
no_license
bcavinee/testcatalog
b9ae003c910d4d24c4c4812dee7ef786cdc035c0
ec8cdc7e21e0b39b4d52ffb47a5ec99ca05418e1
refs/heads/master
2023-09-03T07:30:14.716098
2021-11-17T23:44:07
2021-11-17T23:44:07
429,234,108
0
0
null
null
null
null
UTF-8
Python
false
false
4,119
py
# Generated by Django 3.2.6 on 2021-11-08 22:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('testinformation', '0015_auto_20211105_1624'), ] operations = [ migrations.AlterField( model_name='test_information', ...
[ "51139252+bcavinee@users.noreply.github.com" ]
51139252+bcavinee@users.noreply.github.com
e934a0bdc018a0da5a8ea763e93fcfd986997a79
0d2d3058feddb9be205427a142e0320821a0ca9c
/myapp/urls.py
42aae4734d65f266b9c79707e4e90aa112ccaba2
[]
no_license
Emad-ahmed/Leading_university_website
76085d93df2f24940b9a2023873add6d26c044f3
db12faca90041c606972a7eccf8fb62701b26a88
refs/heads/main
2023-06-06T21:10:54.051778
2021-07-07T03:42:56
2021-07-07T03:42:56
383,501,126
0
0
null
null
null
null
UTF-8
Python
false
false
2,054
py
from myapp.views.faculty import eng from django.urls import path from myapp.views import HomeView, shownotice, shownews, LoginView, SignupView, user_logout, EmailView, bba, cse, eng, StudentView from django.contrib.auth import views as auth_views from .forms import MyPasswordResetForm, MySetPasswordForm, MyPasswordChan...
[ "amadahmed1234678@gmail.com" ]
amadahmed1234678@gmail.com
24df69af1143d6c4a03316c2c80ac12b4b555b30
31442b4eaaf25d8f2ce7697e4abff0f1b2b6e857
/assignment2/Ü2_Aufgabe5.py
c337b5694ae94543348bf4f02f70d203b886f122
[]
no_license
hannah333/bioinformatik
713017415e3d9e8d05494b44e394bad68fbc5810
db9c91a2507efaf7cffc0ae0ffbe42e33737e17f
refs/heads/master
2020-03-16T21:59:03.585622
2018-07-10T15:07:04
2018-07-10T15:07:04
133,022,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,691
py
text = 'ACGCGGCTCTGAAA' k = 2 #ba1m def numtosym(index): return { 0 : 'A', 1 : 'C', 2 : 'G', 3 : 'T', }[index] def numtopat (index,k): if k == 1: return numtosym(index) prefixindex = index // 4 t = index % 4 sym = numtosym(t) ...
[ "noreply@github.com" ]
hannah333.noreply@github.com
d689b65e58f4d60db8f65090a8b0e8b0bdbffa84
8546c0e45ea7a10e07d4e5f9f8123026ecb0e54e
/backend/ancient_art_29276/urls.py
93c0e60acd785ae79a01048668d4100015d480b4
[]
no_license
crowdbotics-apps/ancient-art-29276
a799ab4abbbe0ab2583c661552d7095f25650413
e31537524839e28b1ed44ebddffe9ac95e47c582
refs/heads/master
2023-07-03T16:46:51.569667
2021-07-29T23:15:17
2021-07-29T23:15:17
390,872,342
0
0
null
null
null
null
UTF-8
Python
false
false
2,229
py
"""ancient_art_29276 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') C...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
81ae35d545e2f60f3e7f48feb13525c6f3e1e4e4
9fb12dafa066e44710e66a9e694f1af6b7e0871c
/rando-doggos/app.py
247c73e99e3f114710592b36b161c92cdfb394d6
[]
no_license
jas-atwal/start-using-docker-examples
ade959706a412273f1e95c703aa8e8311ea00601
233f9497eefa82135f98a7c89e395ce196b18647
refs/heads/master
2020-08-02T00:33:51.024885
2018-08-07T15:58:38
2018-08-07T15:58:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
import random from flask import Flask, render_template app = Flask(__name__) # list of doggo images images = [ "https://pbs.twimg.com/media/C6mYrK0UwAANhep.jpg", "https://pbs.twimg.com/media/C6k7SR5WwAABtb9.jpg", "https://pbs.twimg.com/media/C6atpTLWYAIL7bU.jpg", "https://pbs.twimg.com/media/C6Ryuf7U...
[ "skuenzli@qualimente.com" ]
skuenzli@qualimente.com
1be5d0c14f1cda9c438a4d7394698ddd6a4ee19b
16b0b35f8d5222e02de4ca477c28efc28a45e2e0
/PythonGettingStarted/HelloWorld.py
6ffde7b58d5ded27324bad29d6fc4fada2c600f7
[]
no_license
premkashyap/PythonTrilogyPluralsight
f77fcc0dd62f0b56501b2280d7634adf10235159
4f3d68b2c9c41f645d464fd7c9a5ad1c638002b8
refs/heads/master
2020-04-08T02:30:00.195729
2018-11-24T13:12:12
2018-11-24T13:12:12
158,937,528
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
from pymod.words import fetchwords
[ "pkashyap02@pc.factset.com" ]
pkashyap02@pc.factset.com
c0938595f7dae75512afb86b8acb8ac8414e3419
99bd24e4600967a35857730f86f4a7e18c4a807a
/Flask/flask_and_sql/module.py
31178f056246b4e4f41ade32f28e4f1ce2e0af47
[]
no_license
middin/M_Project
573f7cbab794052e286985b8831d59ea409090dc
3049524975104c7d6d19130a55a1fa09cf79581d
refs/heads/master
2021-01-01T17:49:52.050528
2019-11-19T04:00:20
2019-11-19T04:00:20
98,168,949
0
0
null
2017-07-24T08:52:57
2017-07-24T08:42:18
null
UTF-8
Python
false
false
793
py
import sqlite3 def get_conn(): return sqlite3.connect("test.db") class User(object): def __init__(self, id, name): self.id = id self.name = name def save(self): sql = 'insert into user VALUES(?,?)' conn = get_conn() cursor = conn.cursor() cursor.execute(sql, (self.id, self...
[ "1005424427@qq.com" ]
1005424427@qq.com
d19450f9f0a6c774e1f900e74df001a9ef0c5c77
bc09d43caaa31697c8099bfafefb56e48504bfea
/queueins_to_insert_data.py
93e62f21666f92be3f12aa406fe635c5bef138e8
[]
no_license
FatemaBohra/python-program
103f2584eb2a31de0080059d013051e415ce23c9
ce647be15245098ae562099475cac52582e1b30f
refs/heads/main
2023-09-04T06:22:41.012712
2021-11-04T15:00:25
2021-11-04T15:00:25
418,728,284
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
# Question-2(STACKS AND QUEUES) # parameter datatype is list, element datatype is integer, return datatype is integer def queueins(data, x): data.append(x) return data data_global = [] print(queueins(data_global, 3))
[ "fatema.bohra2003@gmail.com" ]
fatema.bohra2003@gmail.com
f44a530539c506afdd6b7c304243b6b9d15b6250
d790006044b2c6b652da46ae1595d8a8f03c337b
/flask_restful_section5/code/create_tables.py
030f0f8babb0ac6c26461a1393381a29887f6f34
[]
no_license
mohammadasim/rest_api_python
4ec555e2ffe05bf089f1b85269180d26a843796f
5fdda34cb2fcd74adba24a3343c67ecb304e120a
refs/heads/master
2020-03-24T22:08:52.665804
2018-09-11T16:16:17
2018-09-11T16:16:17
143,071,045
0
0
null
null
null
null
UTF-8
Python
false
false
428
py
import sqlite3 connection = sqlite3.connect('data.db') cursor = connection.cursor() create_table = "CREATE TABLE IF NOT EXISTS users(id INTEGER PRIMARY KEY, username text, password text)" create_item_table = "CREATE TABLE IF NOT EXISTS items(name text, price real)" cursor.execute(create_table) cursor.execute(create_it...
[ "mohammad.ayub@harpercollins.co.uk" ]
mohammad.ayub@harpercollins.co.uk
65e767531927e5747a6cdd3d3cb1420ea31b43c0
17ff2f4a18395c1c0d6e367a7ccc1aba50233063
/PythonExercices/Semana_Python_Ocean_Marco_2021-main/Exercicios_Python_PauloSalvatore/Exercicio_14.py
91e4dfd2a8b435c6e6048167f5f56c1920b7aef7
[ "MIT" ]
permissive
Rkhwong/RHK_PYTHON_LEARNING
b6d83505386f665f20222f72289b7c703247b281
90c351383b60eb485f9aff5ee23bed2015c763cf
refs/heads/main
2023-06-02T21:57:19.681620
2021-06-24T13:26:21
2021-06-24T13:26:21
379,933,026
0
0
null
null
null
null
UTF-8
Python
false
false
2,346
py
""" Exercício 14 Nome: Média Escolar Objetivo: Escrever uma aplicação utilizando funções que calcule a média de um aluno. Dificuldade: Intermediário 1 - Um professor, muito legal, fez 3 provas durante um semestre mas só vai levar em conta as duas notas mais altas para calcular a média. 2 - Faça uma aplicação que peça ...
[ "Rkhwong@users.noreply.github.com" ]
Rkhwong@users.noreply.github.com
b5e3d59a6b744908349d4d8adcce87e7bc611fc1
5cb52de0d36aa717cfa0b9e5738f2b130fab14a8
/emissions/views.py
a9c939ef6697270c471b39bdc790b4d42007b9e9
[]
no_license
kkekkonen/world-emissions
6a063331df50c3ca378b817843120d41f3feb351
02bcde34b87d585c56a8d120ed040677c5aad706
refs/heads/master
2020-04-21T17:29:04.713763
2019-02-26T12:07:59
2019-02-26T12:07:59
169,736,743
0
0
null
null
null
null
UTF-8
Python
false
false
6,212
py
from django.shortcuts import render from django.forms.models import model_to_dict from django.http import JsonResponse, HttpResponse from django.core import serializers from django.contrib.auth.decorators import user_passes_test from django.contrib.auth import login as auth_login, authenticate as auth_authenticate, log...
[ "kaarlo.kekkonen@aalto.fi" ]
kaarlo.kekkonen@aalto.fi
9e602b45fb3024d00900a3ffb97ac4f9c6d5576f
fee267ab8a10bdfc51cb791e084b97b6f1a148f2
/fairing/models.py
031359a53d991b222f6bad9f61734291d7661c08
[]
no_license
rmendocna/geoship
83e9d098de87d04480dc53fa97fc0e4513e502a2
19c643bda766f53c6d22b597ab0afc8c8643376c
refs/heads/master
2022-12-11T06:56:33.718074
2020-09-07T22:58:49
2020-09-07T22:58:49
293,560,755
0
0
null
null
null
null
UTF-8
Python
false
false
1,778
py
from django.core.validators import MinValueValidator, MaxValueValidator, RegexValidator from django.db import models from partial_date import PartialDateField # Create your models here. class Ship(models.Model): """ Some attributes taken from https://gisis.imo.org/Public/SHIPS/Default.aspx """ # TODO...
[ "ricardo@Estrela.lan" ]
ricardo@Estrela.lan
6548d749937048f523f0b21f8b765c3d2ea29aaa
95c51d5663c302975f3a8688d5210995159f4dec
/Week_02/top-k-frequent-elements.py
56d5881597f56e91198e9c630b7cb670694119fc
[]
no_license
MarineJoker/AlgorithmQIUZHAO
344f26f8336c99d09453c1f131f3931d7e4f3a07
8d08dc7b583ad28b1d9ca61c94b0e3ae7bb50719
refs/heads/master
2022-12-17T11:22:11.479602
2020-09-15T14:20:02
2020-09-15T14:20:02
279,308,302
0
0
null
2020-07-13T13:19:05
2020-07-13T13:19:04
null
UTF-8
Python
false
false
674
py
import heapq class Solution: def topKFrequent(self, nums: List[int], k: int) -> List[int]: # 先O(n)遍历一遍 # 用哈希统计数量 # 放入最小堆,pop掉多余的元素,剩下的就是高频词 q = [] map_count ={} ans = [] for num in nums: if num in map_count: map_count[num] += 1 ...
[ "hellowjbb@gmail.com" ]
hellowjbb@gmail.com
2c6f9882deb22c898288c984fd1e52422bb3f91c
c73ee09d4578ac35d895722f8fa9d490fa8db1bd
/daemon/tests/test_core.py
3fbd91cb23281c0b1f53b225516633ade1cd235b
[ "BSD-2-Clause" ]
permissive
pexip/os-core-network
ac067d455cc5c325f397206cd641b263c2514979
3328333539db178641200cf998a090e8c606deea
refs/heads/master
2023-08-28T02:50:25.510371
2022-06-02T11:43:15
2022-06-02T11:43:24
12,920,197
0
1
null
null
null
null
UTF-8
Python
false
false
5,607
py
""" Unit tests for testing basic CORE networks. """ import threading from pathlib import Path from typing import List, Type import pytest from core.emulator.data import IpPrefixes, NodeOptions from core.emulator.enumerations import MessageFlags from core.emulator.session import Session from core.errors import CoreCo...
[ "mark.hymers@pexip.com" ]
mark.hymers@pexip.com
0e02831c4bca99e1ca0a8f73fd65f5899009e35f
d6e5ae116f80eded030cbac1b29ecfc2dad6b61f
/Rat Scanner.py
38ac7c02871ddc44dae1459777c286441b1bcde9
[]
no_license
IWickGames/RAT-Scanner
d836fda6ac208a0ac910ed2caabdd743e41d2dda
cd67b4560d8a8e01ee680d6a4a47f3b79f1362b6
refs/heads/master
2021-05-24T11:47:09.398186
2020-07-14T22:04:52
2020-07-14T22:04:52
253,545,346
1
0
null
null
null
null
UTF-8
Python
false
false
3,485
py
import os import sys import cursor def getStrings(filename): strings = [] validChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890~!@#$%^&*()_+{}:"|<>?' try: with open(filename, errors="ignore") as f: for i in f.read().splitlines(): string = '' ...
[ "smarttecgaming@gmail.com" ]
smarttecgaming@gmail.com
8e05f8316c34e11f625d1119368230bc445d4dac
6e99c57261bcc5ba1f31bffc6ee1d854a00cdd56
/examples/anon-bucket-sort/bootstrap.py
f447c9c9c8a419ea35d419379552bf8f0ced50c9
[ "MIT" ]
permissive
chrisseto/Still
5a0249b8eb28956b2be5538d07fb8091e3c54c49
3e4df26b824227472e5f487905779deafc76b4dd
refs/heads/master
2021-01-10T13:43:33.098299
2015-10-12T05:22:24
2015-10-12T05:22:24
43,833,872
0
0
null
null
null
null
UTF-8
Python
false
false
2,316
py
import os import json import asyncio from wdim import client from wdim.client.permissions import Permissions from wdim.orm import Storable from wdim.orm import exceptions from wdim.orm.database import MongoLayer from wdim.orm.database import EmbeddedElasticSearchLayer cards_loc = os.path.join(os.path.split(__file__)...
[ "chriskseto@gmail.com" ]
chriskseto@gmail.com
ea9cf5a73ecf15898db5b9d376aa74ae41b4575a
812f9822ddbfc986f4f230a9e6814f22c7c50e2f
/branching/nested.py
baba8661b3a2dfe6f2a4379b635ee0c8de297c89
[]
no_license
devopsvj/PythonAndMe
31b4aa9bade1431d6f13917122dc12bf6a118da6
0b1362023960b7c77c79856d4bdef0a58fec1446
refs/heads/master
2023-07-25T23:06:39.081191
2019-01-15T09:50:08
2019-01-15T09:50:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
#Program for if statements #Author:K.Vani #Date:16.12.1018 #Batch :Devops December 2018 print "Example for if satement" print "----------------------" x=input("Enter the Value for x:") y=input("Enter the value for y:") z=input("Enter the Value for z:") a=input("Enter the value for a:") """if x>y and x>z and x>a : p...
[ "vani_kani@hotmail.com" ]
vani_kani@hotmail.com
a1301ea47807575de631a90991f181f92cc9ec64
26433ca3779818e5b896410fa543355aa5f6b267
/SensorWebsite/MicSense/config.py
d47d0496471f5da344c685abd7271f756fd12f24
[]
no_license
TerpDAC/MicrophoneControllerCode
dbd108847bf55cf73b4449755de2a0016f80f71e
1140db36627e3c085028c4c7faef37c1db3d16cd
refs/heads/master
2021-01-10T15:11:45.052097
2017-02-07T23:14:16
2017-02-07T23:14:16
47,220,998
0
1
null
2016-02-10T23:27:48
2015-12-01T22:18:23
Python
UTF-8
Python
false
false
548
py
# Application configuration # Non-sensitive configuration can go here! # PythonAnywhere requires this, since MySQL connections have been set # to close in 300s (5m). SQLALCHEMY_POOL_RECYCLE = 200 # PythonAnywhere also requires this, since they limit MySQL connections # to 3 at max. We leave two open just in case we n...
[ "alberthdev@users.noreply.github.com" ]
alberthdev@users.noreply.github.com
6e1704267b9bf4e6aa4f7fa67db6c491ceae844a
44f743dba708db8ff119f2ec9fe61eea0dabfd25
/outliers.py
bbc24832b59106a65b5bb258447696122fb894f4
[ "MIT" ]
permissive
victorkitov/common_plus
4bb6aa066fde91dd70d363ced37fe25690ad23b6
b1456c0c1a277b703a1493d047c7f2fefa1e761c
refs/heads/master
2020-05-01T15:42:13.393411
2019-03-25T09:20:26
2019-03-25T09:20:26
177,553,280
2
0
null
null
null
null
UTF-8
Python
false
false
2,182
py
#!/usr/bin/env python # encoding: utf-8 import numpy as np import pandas as pd import sklearn as skl from sklearn.decomposition import PCA from pylab import * from common.visualize.colors import COLORS def get_outlier_sels(X, outliers_fraction=0.05, support_fraction=None, cum_explained_ratio=0.95): p...
[ "v.v.kitov@yandex.ru" ]
v.v.kitov@yandex.ru
ed5af8616ff23827d237a8a258226326d3783b3d
cf33714afddc647f9073fa1a139c0fab8e012123
/amazon_cf.py
7e259b0f69153c6349515cdbb421589a0ede4cf4
[ "MIT" ]
permissive
martyni/amazon
59bd69f51a6d12dced45598d69668954ae078b6e
7c28985af3bbdcfdb83e99ebcccde70b843143da
refs/heads/master
2020-05-21T16:26:04.407450
2016-10-12T09:44:50
2016-10-12T09:44:50
65,027,727
0
0
null
null
null
null
UTF-8
Python
false
false
22,588
py
#!/bin/python from pprint import pprint import json import re import netaddr import os from amazon_client import Cloudformation from helper import ( Resource ) class Environment(object): def exception(self, problem): '''base exception method''' raise BaseExeption(problem) def __init__(se...
[ "martyn.pratt@kaplan.com" ]
martyn.pratt@kaplan.com
c7f1201c3e61453269bb6e0b31c6eb75d71a6919
a4e492ab379bb1e85dbce233ac0cd95d6cf52f7c
/procedure/__init__.py
719517b8ec9c4397df0d7f0349199e87dd3b8d89
[]
no_license
newdoublefish/basepowin
ca254039ee30bab680a2f11e79436223088183fa
38167e16cb7cd33b624fafe0e34de58f3f2c506e
refs/heads/master
2022-12-17T12:14:16.070778
2020-04-05T08:43:52
2020-04-05T08:43:52
247,663,651
0
0
null
2022-12-08T03:05:12
2020-03-16T09:41:30
Python
UTF-8
Python
false
false
53
py
default_app_config = "procedure.apps.ProcedureConfig"
[ "zengyanren@gdmcmc.cn" ]
zengyanren@gdmcmc.cn
5c815c0cfee2836725b9730018b3fe4a1823ae43
d255d9512b7038fbb089384c98e9df2096b5d6a7
/Atcoder/Recommendation/20201126_B - 視程の通報.py
7b798ab2dc833b18ab87a578398460b4dbf48ab5
[]
no_license
KFurudate/Atcoder_SHOJIN
d19b52fbb9631225fb3b3c9256bcb4d2ef834441
9f78a2dc15e5b53a9ac0299f683a6ca81d5d28ca
refs/heads/master
2023-03-17T23:49:34.658608
2021-03-21T06:00:06
2021-03-21T06:00:06
293,575,959
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
m = int(input()) m /= 1000 if m < 0.1: print("00") exit() elif (0.1 <= m) and (m < 6): m *= 10 m = str(int(m)) if len(m) == 1: m = "0" + m elif (6 <= m) and (m <= 30): m += 50 m = int(m) elif (35 <= m) and (m <= 70): m -= 30 m /= 5 m += 80 m = int(m) elif 70 < m...
[ "furudateken@gmail.com" ]
furudateken@gmail.com
3ddb272c6f1ea3b35ec8f855ac2caa0e1a995463
e59983616b1a76dfdb5a5528c75bdcf567c3c939
/Vidly/rental/views.py
dca0703eeae99235a50a1a485f1c392c243fbc95
[]
no_license
chrisleo34/FSDI-112-Class-1-Assignment-1
5c411b56e123578ef40ba21edcbe296e5fc7cb02
b977c87c460cc1afa71fa96ae6e3038adc55450f
refs/heads/master
2022-12-01T04:45:10.409150
2020-08-19T16:32:18
2020-08-19T16:32:18
288,782,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from django.shortcuts import render, redirect from django.http import HttpResponse from django.core.mail import BadHeaderError, EmailMessage from .form import ContactForm # Create your views here. def home(request): return render(request, 'index.html', {"title": "Welcome"}) def about(request): ...
[ "noreply@github.com" ]
chrisleo34.noreply@github.com
718aa336105bfcc00656e5ee0d20d28d00df21d7
5200a97ef7de6dbe189ce24019cf8ca97d292731
/ggalerart/back/migrations/0001_initial.py
a9e487aeee411554cdd68055599250850b9562f3
[]
no_license
GabrielOlem/galerart
e693ec34b4c98b4762361e5d15b7fae0002b8698
e1cbe3627119fba3992993718576f823df323e06
refs/heads/main
2023-07-13T10:19:34.988599
2021-08-25T11:39:14
2021-08-25T11:39:14
380,335,261
0
0
null
2021-06-25T19:23:54
2021-06-25T19:23:53
null
UTF-8
Python
false
false
5,377
py
# Generated by Django 3.2.6 on 2021-08-24 19:48 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Expo', ...
[ "gme@cin.ufpe.br" ]
gme@cin.ufpe.br
14f95da8d8604d7bf28e058b32fd6b7610fabc96
9d9056d6a99b2b7d99ea40dac6c477636803931f
/sonic.py
7172e1f877cf0910eae20ac43a25a0110b8c97a4
[]
no_license
TonioMG19/flappia_cc
d115d8d7b174fbd751e44fbbd63e02b52a885195
8f6a381c62467a1ddd918dabc613630ac93179a8
refs/heads/master
2022-08-24T19:24:43.635828
2020-05-28T13:39:06
2020-05-28T13:39:06
260,461,524
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
import pygame from pygame import * fenetre = pygame.display.set_mode((800,600))
[ "toniokuhn2@gmail.com" ]
toniokuhn2@gmail.com
2965fe1e208f712e3e99e3ebf5778e835be9fd11
910c97ce255f39af7ef949664b4346e8cb5d6a0e
/monitorcenter/monitor/mirror/disk.py
b149464a149accec9348522008b7e46f181d867e
[]
no_license
sun3shines/manager_monitor
f3742a4fde95b456f51d0a18feb78f3d4048c560
f49d741203d8476f2249a49d90fecc86143ac622
refs/heads/master
2021-01-17T06:47:14.375088
2016-04-29T06:43:05
2016-04-29T06:43:05
57,361,217
0
0
null
null
null
null
UTF-8
Python
false
false
2,143
py
# -*- coding: utf-8 -*- from managerlib.db.table.dynamic.stat_disk import Disk,insert_disk,update_disk from managerlib.db.table.dynamic.stat_disk import hid2attrs as DISKhid2attrs from monitorcenter.monitor.mirror.base import MirrorBase class MirrorDisk(MirrorBase): def __init__(self,db,hid): super(Mirror...
[ "sun__shines@163.com" ]
sun__shines@163.com
b2cfe1092e22c227dec07d50d614595658364f05
7d789a8dd56bf03566372246799741174c410b6f
/backend/mtc_etedjmodel/apps/location/models.py
8249e3504a383ebf870b9ff04042b56282f27f30
[]
no_license
cecilio-diaz/EcoTecno
2a95e925e8046da37ba0fd9a06390430a955e1c6
e264ad6345d9972605c7a59d7a926385fe5339e6
refs/heads/master
2023-01-28T14:38:24.308444
2019-11-07T00:51:10
2019-11-07T00:51:10
219,706,855
0
0
null
2023-01-05T00:39:03
2019-11-05T09:30:39
Python
UTF-8
Python
false
false
1,091
py
from django.db import models # Create your models here. from django.utils import timezone from apps.seller.models import profile # Create your models here. class service(models.Model): seller = models.ForeignKey(profile,null=True,blank=True,on_delete=models.CASCADE) date_create = models.Date...
[ "cecilio-diaz@sisamex.com.mx" ]
cecilio-diaz@sisamex.com.mx
6c7d3b3e77d51e30fd2a6337e3b0a44ad01566bf
c3bd2e0c6f098651c6b9c1c5b5a467fbb5f6d084
/T01/menu_sesion.py
0c6743209cdd76946a37d59aed3ab36ded95e669
[]
no_license
adbakulic/iic2233-T00
ee8ab816bfa6ae67075abb2b00f37a9ecc95b6ea
260fa8d6403c5193a9d9ffbf087eb1de8f582f17
refs/heads/master
2020-07-05T07:23:52.165022
2019-09-13T18:17:20
2019-09-13T18:17:20
202,570,263
0
0
null
null
null
null
UTF-8
Python
false
false
14,803
py
import random from itertools import chain from piloto import Piloto from vehiculos import Vehiculo, Automovil, Troncomovil, Bicicleta, Motocicleta from collections import namedtuple, defaultdict from parametros import * from menu import Menu class MenuSesion(Menu): def __init__(self, nombre_menu): super()...
[ "antobakulic@MacBook-Pro-de-Antonia-4.local" ]
antobakulic@MacBook-Pro-de-Antonia-4.local
8956c82b70f3c06c67ded7f5e8dbbe4c29bfb4f4
608b8afff999fd4e462b0eb2a1efc51418c977df
/ADTs/8_puzzle_demo.py
43849ec14e38ba439eda45215bf5bd6a3eda24aa
[]
no_license
Qingzhuoranguo/boyuEducation
6fd77885472f64ca7564ee1d1bcab88d4ce715d9
de830a96ea835e482f39aefc28d10f0bbae1f906
refs/heads/master
2023-01-12T22:26:07.436908
2020-11-17T02:22:01
2020-11-17T02:22:01
265,699,085
0
0
null
null
null
null
UTF-8
Python
false
false
2,320
py
import random class eight_puzzle: def __init__ (self): self.state = [1,2,3,4,5,6,7,8,0] random.shuffle(self.state) while not self.check_solvability(): random.shuffle(self.state) self.empty_index = self.check() def display (self): for i in range (9): if self.state[i] == 0: print ("...
[ "qingzhuoran.guo@gmail.com" ]
qingzhuoran.guo@gmail.com
fa6b43d517d15d1dba0bf79358d5291a7130266d
12446b4d9a8361a22a96c13dc3f8288c9526a664
/transTX.py
a90b644fe9a6eac587caa374c5f4a17571569579
[ "MIT" ]
permissive
Alicture/TransLater
33b407027d8e94850915c40910ff978e437063a8
0d7f0c31b640f69ce5aaa6406245c2d5a5e7577e
refs/heads/master
2021-04-30T01:45:31.987588
2018-06-02T02:12:19
2018-06-02T02:12:19
121,489,623
19
2
null
null
null
null
UTF-8
Python
false
false
863
py
from QcloudApi.qcloudapi import QcloudApi import random import json def transTX(srcStr,srcL,tarL): with open("config.json","r") as confile: configJson=json.load(confile) module = 'tmt' action = 'TextTranslate' config = { 'Region' : 'gz', 'secretId' : configJson["secretId"], 'secretKey': configJ...
[ "lzp123518@gmail.com" ]
lzp123518@gmail.com
d8621159f61f29b6bddb94ba6440b8a7d493be39
bdf4761985804ec3d5e9a0e103e30d9daa0c8a6d
/dbce/dbce/datatypes/context.py
291fae4e3deef041df69e9e8922fb1814b4ca78c
[ "BSD-3-Clause" ]
permissive
ppBruce/dbce
f42ef456023b6823c253c2c86d23ca6196477fa0
a4b1ed743f178bb6800261d3d3648074ee9eb513
refs/heads/master
2021-01-06T20:44:10.573289
2017-06-11T13:19:52
2017-06-11T13:19:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,163
py
""" DBCECTX - context container for one cross Copyright (c) 2016 Rafal Lesniak. All rights reserved. This software is licensed as described in the file LICENSE. """ from dbce.datatypes.node import NodeStats class DBCECTX(object): def __init__(self, config, wlid, testname=None): self.docid = wlid ...
[ "thkr@hannover.ccc.de" ]
thkr@hannover.ccc.de
5f4d77e23167f3bf0d0675424733847d1d4e48b4
e0a93800dd84b4ec8c32cd7e141939385e2b2f5c
/code/correspondencia.py
2b6bca05fe518386b057d8a1e6cc7cb0d32363db
[]
no_license
chrisrodz/PP-Research
0f3b9a0eb96a584434b09673d7b1ec1a32de0eba
03a15ef63c988a87fee854565c4d0af2cae9621a
refs/heads/master
2020-04-16T13:48:36.336854
2014-04-24T19:10:27
2014-04-24T19:10:27
9,220,734
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
# This file was *autogenerated* from the file correspondencia.sage. from sage.all_cmdline import * # import sage library _sage_const_1 = Integer(1); _sage_const_6 = Integer(6) def corresp (p, a, b): f = GF(p) alpha = f.primitive_element print "for p = " + str(p) + " and (a, b) = (" + str(a) + ", " + str(b) + "): "...
[ "a-leinad93@hotmail.com" ]
a-leinad93@hotmail.com
fded8a22a8cc9175db20d9f87835860201c3f1bd
1f725b13af46e41bb56bd6ba6c6382d8176c7dc3
/env/bin/django-admin
71c138d606c4577d9e2c77c395a76fcff21c13a4
[]
no_license
lauramayol/django-polls
184ea5eb034fc02fc5b6c03412e1c3d9f619e520
ab2213615ae8d0acee49668bd71dba5f8a10d199
refs/heads/master
2020-03-30T12:28:50.529420
2018-10-03T13:23:36
2018-10-03T13:23:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
312
#!/Users/lauramay/Documents/GitHub/django-polls/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "lmayol4@gmail.com" ]
lmayol4@gmail.com
f2c07af575636924d36d2f3874cd92e1c7c7d55f
8b8da03245af2d7dd3513bf4ba9a1cf9f4923275
/bingads/v12/bulk/entities/bulk_account.py
37f2eefd971a7145b4193bbb6a6a02f5e9f27f37
[ "MIT" ]
permissive
dev0505/BingAds-Python-SDK
42233f4c41209da99ad3e5c494babdd2e13ead69
ec8e98f5ff1f472b2ca5801c4dc230039c5b83f9
refs/heads/master
2020-05-07T19:34:50.000451
2019-03-21T05:04:22
2019-03-21T05:04:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,325
py
from bingads.v12.internal.bulk.string_table import _StringTable from bingads.v12.internal.bulk.entities.single_record_bulk_entity import _SingleRecordBulkEntity from bingads.v12.internal.bulk.mappings import _SimpleBulkMapping from bingads.v12.internal.extensions import * class BulkAccount(_SingleRecordBulkEntity): ...
[ "qitia@microsoft.com" ]
qitia@microsoft.com
3048a911894df5b04b0c4d54932f486ff3601d6e
6bc42771a987b503df1866ad3fb8cf3126805806
/examples/plot_transforms.py
760cabe6244bdbc69117042c21ae3f85915a1207
[ "Apache-2.0" ]
permissive
anchandm/fooof
82c479ebd08e154cb1a3feedf60804ede81a76cb
dcc93b14c4a6987ce7e394696af3221dd2a7bbd6
refs/heads/master
2020-05-02T07:51:03.064334
2019-03-20T03:06:19
2019-03-20T03:06:19
177,828,211
1
0
Apache-2.0
2019-03-26T16:30:30
2019-03-26T16:30:29
null
UTF-8
Python
false
false
1,265
py
""" Transforming Power Spectra ========================== Apply transformations to power spectra. """ ################################################################################################### # Imports from fooof.synth.gen import gen_power_spectrum from fooof.synth.transform import rotate_spectrum from fo...
[ "tdonoghue@ucsd.edu" ]
tdonoghue@ucsd.edu
fb6be7e0ad5fd068eb552c7fc6c41c0cff278a5e
a88f27a67aabf0d78965ea9de37cc2d4ffa422c8
/tools/sort-by-time.py
9124b93f0ca534f7c0ffa072549743048f3df440
[]
no_license
S-LaKeith/conan
0b067009b402ff6a464056beed23fda95dca02c3
c0a05f1b3088a5e58fd3043666dc8bf7c3901463
refs/heads/master
2023-08-14T15:42:12.206273
2021-10-08T07:18:31
2021-10-08T07:18:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import glob import subprocess from natsort import natsorted files = glob.glob("../subs/**/*.ass") for file in natsorted(files): out = subprocess.run(["prass", "sort", file, "--by", "time", "--by", "layer"], capture_output=True).stdout with open(file, "wb") as fw: fw.write(out)
[ "evauwu@riseup.net" ]
evauwu@riseup.net
ef13c62dea107aa6a586df942374393c6edf1ec3
546386609a2985a92ecd6c380459d231df0415fb
/heightmaptilemaker/progress/default_printer.py
bc24c2b934e2173cbd5934224e266b7ef469ec18
[ "MIT" ]
permissive
ulrichji/HeightmapTileMaker
0617e8fb198db653b5d961b370eba782b2431f26
fd81ea06d3e5c361f8190bd6f525039c6c4abb4a
refs/heads/master
2022-11-30T04:18:00.300178
2022-08-18T05:55:12
2022-08-18T05:55:12
201,532,373
0
0
MIT
2022-11-22T06:21:51
2019-08-09T19:57:49
Python
UTF-8
Python
false
false
1,087
py
from .progress import Progress class Printer: def __init__(self): self.previous_length = 0 def finish(self, message='Done'): self(Progress(1, message)) print('') def __call__(self, progress): print(self._getMessageWithClearingPrevious(progress), end='\r') def _getMess...
[ "ulrich@isachsen.org" ]
ulrich@isachsen.org
cc9151b4978d97db4d95961c579b2072e7d0fc17
e30b2fe3a6a47996beeda2457533a89dfd6db6fc
/sim_rl_server_meetup.py
2ce099fa7f377e41bb4b9742f51d4da0de74b984
[]
no_license
oxygen-meetup/donkeyRL
54db888e2850d2f1d687ee44c9ee92449d476eb5
07a4b36dbbd1e83b6fcaafc5e9a5fa41d3d54b33
refs/heads/master
2020-04-12T07:19:29.188763
2019-02-06T01:01:30
2019-02-06T01:01:30
162,363,696
0
0
null
null
null
null
UTF-8
Python
false
false
19,243
py
#!/usr/bin/env python ''' Predict Server Create a server to accept image inputs and run them against a trained neural network. This then sends the steering output back to the client. Author: Tawn Kramer ''' from __future__ import print_function import os import argparse import sys import json import time f...
[ "noreply@github.com" ]
oxygen-meetup.noreply@github.com
b6b9d88343aee2b8108410dee6b27b48b6767240
74f9afe29f40c46f723cc9b0e28c69a1e126833e
/src/modules/profanity.py
efbb7d78463f5cc97c02cdb1f1b00b2628804ce1
[]
no_license
Kalani91/botcode
8f5f33ae53bf149448da310e399398b5c12f5f0d
bb32a5f29e7cb82e4a81be6f6ae0f6f3fc724c9a
refs/heads/main
2023-04-19T21:27:39.951119
2021-05-14T10:46:18
2021-05-14T10:46:18
367,790,299
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from better_profanity import profanity def testIfBad(message): print(message) isProfain = profanity.contains_profanity(message) if isProfain: return { "profanity": isProfain, "message": "This contains bad words.", } else: return { "profanity"...
[ "Ban11gers@users.noreply.github.com" ]
Ban11gers@users.noreply.github.com
cc127053a81f62316afc0090419ba6bb2d7c239d
05912d33d0946907c76acf3641c0d1595a2ce8db
/115 - Sine wave generator from pseudorandom numbers (python 3.7, turtle)/Sine wave generator.py
d7f9c6a631839821f1ba6cc3189a08faba5d1b58
[]
no_license
binariusO1/Programming-Challenges-v3.0
d94343ec27e9cd32aaafc4a5723ec929cd0c52fd
e1535d71a10610f61411e84c47b20955a49581b4
refs/heads/master
2022-11-29T04:51:38.127603
2020-07-28T07:55:28
2020-07-28T07:55:28
261,884,490
1
0
null
null
null
null
UTF-8
Python
false
false
690
py
# programming challenge # Sine wave generator from pseudorandom numbers (drawing version) # python 3.7 # binariusO1 import math import turtle import random screen = turtle.Screen() screen.setup(width=1000, height=500) sin = turtle.Turtle() sin.penup() sin.setpos(500,0) sin.pendown() sin.setpos(-500,0...
[ "noreply@github.com" ]
binariusO1.noreply@github.com
a1d873b9b994f614f557ecb8d20ced954ae1996d
5c01ac71e3b2b64f41f7f63ad6e61bc6c201d88f
/MLP_synthetic/mlp_synthetic.py
c35701e476b93776e0c71976d59e7de01822c149
[]
no_license
devang1994/high_dimensional_bayes
71ed1af64b08e085e9bb2c1d97238e8434ac8cd6
094b65f5db7504a44074d5d9ccb8a7103458f324
refs/heads/master
2021-03-27T08:39:49.197118
2016-05-10T15:57:32
2016-05-10T15:57:32
46,139,265
0
0
null
null
null
null
UTF-8
Python
false
false
8,855
py
import theano from theano import tensor as T import numpy as np from load_synthetic import load_synthetic as load from math import sqrt from adam import Adam import matplotlib.pyplot as plt from sklearn.metrics import mean_squared_error as MSE import cPickle as pickle rand_seed=20 np.random.seed(rand_seed) epochs = 10...
[ "devang1994@gmail.com" ]
devang1994@gmail.com