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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
ff5c6567f9fff32ac5c8b6f11625a07f9b3e5b72
0c44f2b1edcb50715eda693980a013970d777182
/coursera_algo_hse/c1/w5/primitive_calculator.py
e457347c76755753409050bc8d5a80198430121d
[]
no_license
re9ulus/moocs_std
c1e67b99da3eb894a9ef6ee4f16ae4e39735b6e5
29b14164fec969c3801c72b96357ee109246d642
refs/heads/master
2021-06-14T08:36:42.658838
2020-12-05T17:08:19
2020-12-05T17:08:19
68,093,511
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
# Uses python2 import sys def optimal_sequence(n): ar = [n+1 for i in range(n+1)] ar[0], ar[1] = 1, 1 for i in range(1, n+1): if i * 3 <= n: ar[i * 3] = min(ar[i * 3], ar[i] + 1) if i * 2 <= n: ar[i * 2] = min(ar[i * 2], ar[i] + 1) if i + 1 <= n: ar[i + 1] = min(ar[i + 1], ar[i] + 1) i = n seq = [...
[ "angeldaren@gmail.com" ]
angeldaren@gmail.com
6e7eacfebaf750108ce6ad355cb15f758af4b9d8
b61bdc56d6a04657fb65d382352dcd17e0858d94
/tests/gdata_tests/apps/live_client_test.py
1419ae697dd3d1a39d575b309093a08a92e8c808
[ "Apache-2.0" ]
permissive
soravux/gdata
a1d9c3a1cf2a0dbb9c2e55621284acf500f02328
f5a23bdbf3d7929f88b45a983c264218a8746636
refs/heads/master
2021-01-24T06:13:56.567522
2014-06-12T10:31:48
2014-06-12T10:31:48
20,752,151
0
2
null
null
null
null
UTF-8
Python
false
false
4,821
py
#!/usr/bin/python2.4 # # Copyright 2011 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "yannickhold@gmail.com" ]
yannickhold@gmail.com
020300eceb6ba440cbc8b882a06277d6760cc7e6
2aa4c7c94866e7a958e4787dd4487aa7c1eb8d61
/applications/trilinos_application/python_scripts/MonolithicMultiLevelSolver.py
a54bb40bcdf4a3a7939b0cf498168f33ff977ce6
[ "BSD-3-Clause" ]
permissive
PFEM/Kratos
b48df91e6ef5a00edf125e6f5aa398505c9c2b96
796c8572e9fe3875562d77370fc60beeacca0eeb
refs/heads/master
2021-10-16T04:33:47.591467
2019-02-04T14:22:06
2019-02-04T14:22:06
106,919,267
1
0
null
2017-10-14T10:34:43
2017-10-14T10:34:43
null
UTF-8
Python
false
false
1,624
py
from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7 from KratosMultiphysics import * from KratosMultiphysics.TrilinosApplication import * def LinearSolver(tolerance, max_iterations): # settings for the iterative solver aztec_par...
[ "rrossi@cimne.upc.edu" ]
rrossi@cimne.upc.edu
513143cc032bfe7bf0b443158e43a0ef5e19b9c4
68f757e7be32235c73e316888ee65a41c48ecd4e
/python_book(이것이 코딩테스트다)/13 DFS/6 감시피하기.py
2ae13a528d691db24f99e98aa727d9f3e6b9279b
[]
no_license
leejongcheal/algorithm_python
b346fcdbe9b1fdee33f689477f983a63cf1557dc
f5d9bc468cab8de07b9853c97c3db983e6965d8f
refs/heads/master
2022-03-05T20:16:21.437936
2022-03-03T01:28:36
2022-03-03T01:28:36
246,039,901
1
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
def check(Map): global N, T steps = [(1,0),(-1,0),(0,1),(0,-1)] for tx, ty in T: for dx, dy in steps: x, y = tx + dx, ty + dy while 0 <= x < N and 0 <= y < N: if Map[x][y] == "O": break if Map[x][y] == "S": ...
[ "aksndk123@naver.com" ]
aksndk123@naver.com
4a7d8dd81b736d9479bf721127c403932bdcb7da
e46c1e10b4baa74f47eca06bea626ed0c495b56e
/polls/urls.py
8a290ec06988b435004629c750acf2760713b1d0
[]
no_license
ywjung25/mysite
5acc92896d28344d4303fc2f82389447efc0408f
930d966e34ccab9db2d6451a582b78a0d84eadaa
refs/heads/main
2023-01-28T12:33:42.914250
2020-11-29T13:08:44
2020-11-29T13:08:44
316,663,126
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
from django.urls import path from django.urls import path from . import views app_name = 'polls' urlpatterns = [ path('', views.index, name='index'), path('<int:question_id>/', views.detail, name='detail'), path('<int:question_id>/results/', views.results, name='results'), path('<int:question_id>/vot...
[ "ywjung25@hotmail.com" ]
ywjung25@hotmail.com
88f0513eb91e116ab084434dcbbf4f2ed2101ac8
7b5722dd76e959e816c732b87eafeb8b19e47947
/shout_app/shouts/views.py
0ea4086791dc8a287dcd56f8bc02c90d55cf662a
[]
no_license
shhra/shout-prod
f577abc3571a7406d9d8779c005e990fd5d223b3
62dc87b83664f910fd81002e31e037611135a872
refs/heads/master
2022-04-07T18:51:53.925700
2020-02-08T04:59:16
2020-02-08T04:59:16
208,790,431
1
0
null
null
null
null
UTF-8
Python
false
false
11,468
py
import scipy.spatial import numpy as np from django.shortcuts import redirect from rest_framework import generics, mixins, status, viewsets from rest_framework.exceptions import NotFound, NotAcceptable from rest_framework.permissions import AllowAny, IsAuthenticated, IsAuthenticatedOrReadOnly from rest_framework.respo...
[ "071bct538@pcampus.edu.np" ]
071bct538@pcampus.edu.np
87ebd31e1bebd80945306794db5c8a33e2a23f9e
80ac27ffbecd581c5169f0f89794a514097b07e0
/Python_Scripts/Mount_Unmount_USB.py
cb5be52bf744cbb35bb91fdad41cc0c6c9d5a391
[]
no_license
sujaynsa/Project-LifeBox
66c37bc240d44b681071bb04f89fb302c438b774
bb11d33495a140895a10055b8d955311a00dbc4c
refs/heads/master
2020-07-02T10:43:49.502182
2019-12-02T22:58:09
2019-12-02T22:58:09
201,502,039
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#Mount and Unmount USB devices in Raspberry Pi import os import shutil """ x = os.system("sudo mount /dev/sda1 /media/usb") if x == 0 : print("Device has been mounted") else: print("No Device found") """ #os.system("sudo umount /media/usb") #print("Device unmounted")
[ "noreply@github.com" ]
sujaynsa.noreply@github.com
230a4c570aaab54e6c491ad0822a5847e7ca719a
a2fc18c48713326a692d7249e432827802c6268f
/tests/test_basic.py
6ceb1d9fad950c7e65c6ad24781605200af2f53a
[]
no_license
dcHHH/byterun
5ab809d11bd241d72c1c045bcfffaac05ac3dbc0
cd6ed119e9759a6ada1b3d59568998c3c744a63f
refs/heads/master
2020-04-26T23:25:15.618129
2019-03-26T10:34:56
2019-03-26T10:34:56
173,901,850
0
1
null
null
null
null
UTF-8
Python
false
false
11,270
py
"""Basic tests for Byterun.""" from . import vmtest class TestIt(vmtest.VmTestCase): def test_constant(self): self.assert_ok("17") def test_dict(self): self.assert_ok("""\ a = {'x': 1} print(a['x'] == 1)""") def test_f_string(self): self.assert_ok("""\ fo...
[ "744947370@QQ.COM" ]
744947370@QQ.COM
24e84c42808d312b25f3bd226fb296a11b79595f
77c518b87e67e9926d130f856a7edb12302596eb
/IO/Parallel/Testing/Python/TestPDataSetReaderWriterWithFieldData.py
76a8793d32ef60bca8e46e719d3fcad2ef9b589b
[ "BSD-3-Clause" ]
permissive
t3dbrida/VTK
73e308baa1e779f208421a728a4a15fec5c4f591
e944bac3ba12295278dcbfa5d1cd7e71d6457bef
refs/heads/master
2023-08-31T21:01:58.375533
2019-09-23T06:43:00
2019-09-23T06:43:00
139,547,456
2
0
NOASSERTION
2019-11-22T14:46:48
2018-07-03T07:49:14
C++
UTF-8
Python
false
false
1,173
py
# Tests paraview/paraview#18391 from vtkmodules.util.misc import vtkGetDataRoot, vtkGetTempDir from vtk import vtkXMLGenericDataObjectReader, vtkDoubleArray, vtkDataSetWriter, vtkPDataSetReader from os.path import join reader = vtkXMLGenericDataObjectReader() reader.SetFileName(join(vtkGetDataRoot(), "Data/multicomb...
[ "utkarsh.ayachit@kitware.com" ]
utkarsh.ayachit@kitware.com
4009361d3230b25bd783c8a62243914aa44d83e8
dad6ba45f05d267f6c44bd27949868dc474476e6
/CQT/Archive/withoutHead.py
b880268f61562e2aaff0d40889c0d47085412c3c
[]
no_license
morindaz/CQT_All
1f36c5ef22348e2293d9f4f63e58009f0dd274b7
8ab6f82ad7b1cf3b4555fe785566013f5cb57a4f
refs/heads/master
2021-04-27T00:11:17.744327
2018-03-04T07:19:06
2018-03-04T07:19:06
123,765,136
0
0
null
null
null
null
UTF-8
Python
false
false
842
py
# coding=utf-8 import time import glob import pandas as pd #这里的C数据和R相反 answerR = "E:\\pingan\\dataset\\newFeature\\answer_C" #492个数据,withouthead answerC = "E:\\pingan\\dataset\\newFeature\\answer_R" #244个数据 answerI = "E:\\pingan\\dataset\\newFeature\\answer_I" #478个数据 base = answerI csvx_list = glob.glob(base+"\\"+'*.c...
[ "morindaz.mao@ucloud.cn" ]
morindaz.mao@ucloud.cn
8845d190ae1c3cf32b9e4665e81304da16378cc6
56b7e5ed6941fc4b83148e00bd51421dc3ac993a
/hackerrank/Delete Nodes Greater Than X/Delete Nodes Greater Than X.py
6c8ef8211533ee3666850ccdc29c91e09917498c
[]
no_license
samir-0711/Leetcode-Python
f960e15015a3f2fd88f723d7f9237945a7133553
d75876ae96bcd85c67bbfbf91bbc0f0bc773e97c
refs/heads/master
2022-12-18T05:27:48.224001
2020-09-30T21:03:42
2020-09-30T21:03:42
300,061,318
0
0
null
2020-09-30T20:59:42
2020-09-30T20:59:42
null
UTF-8
Python
false
false
1,590
py
''' Complete the removeNodes function provided in your editor. It has 2 parameters: 1. list: A reference to a Linked List Node that is the head of a linked list. 2. x: An integer value. Your funciton should remove all nodes from the list having data values greater than x, and then return the head of the modified link...
[ "weng8916@gmail.com" ]
weng8916@gmail.com
e3ed3147192d7383a11bfd2cd2f5568e9a527d53
f6c144bc2bb8db67eba17f22bbbfe456446e9d80
/Tensorflow1.x/RNN/LSTM_sine.py
1e59bc25abfb5b506f8e29d56d307370787e659b
[]
no_license
zwzwtao/Deep-Learning
6e6d2297ef3559f3bed251237247298a54cd363f
8c4c1973dd98edf887fbef22162d90ad2b95a0ae
refs/heads/master
2020-07-01T11:49:54.514930
2019-11-18T13:41:38
2019-11-18T13:41:38
201,166,604
2
1
null
null
null
null
UTF-8
Python
false
false
3,189
py
import numpy as np import tensorflow as tf import matplotlib.pyplot as plt import keras HIDDEN_SIZE = 30 NUM_LAYERS = 2 TIMESTEPS = 10 TRAINING_STEPS = 10000 BATCH_SIZE = 32 TRAINING_EXAMPLES = 10000 TESTING_EXAMPLES = 1000 SAMPLE_GAP = 0.01 def generate_data(seq): X = [] y = [] for i in range(len(seq) -...
[ "zwtao99@outlook.com" ]
zwtao99@outlook.com
c0aae764cd16c28afd1321ff20eb42f51d14ae5e
c8370b9a146318665cd7a579432e0bb70e816edb
/src/sets.py
a93e94b21d47d432efdfcab58962727eb756e6ee
[]
no_license
Leporoni/PythonBasic
18fb007b266ce7048b7587e6e010186d26333a54
d1b7cbb7f0836dc9d96bf6afa65827ed1cf08159
refs/heads/master
2020-03-28T09:42:38.191350
2018-09-09T18:26:39
2018-09-09T18:26:39
148,053,908
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
set_1 = set("Alessando de Andrade Rocha") print(set_1) print(len(set_1)) set_1.add("A") print(set_1) set_wepons = set(["revolver", "pistol", "rifle"]) print(set_wepons) set_wepons.add("Bazooka") print(set_wepons) print("===================================") s_1 = set([1, 2, 3]) s_1 = {1, 2, 3} print(type(s_1)) pri...
[ "leporoni@hotmail.com" ]
leporoni@hotmail.com
0e1e5964dffa6e5368ee64dad1fabc897c970716
a4016e3a099af344cbb07eff1a9268b621305a10
/hackerrank/power-calculation.py
426830510e67af731899dffd21ada79f3355ff4e
[ "MIT" ]
permissive
btjanaka/algorithm-problems
4d92ae091676a90f5a8cb5a0b6b8c65e34946aee
e3df47c18451802b8521ebe61ca71ee348e5ced7
refs/heads/master
2021-06-17T22:10:01.324863
2021-02-09T11:29:35
2021-02-09T11:29:35
169,714,578
4
1
null
null
null
null
UTF-8
Python
false
false
1,071
py
# Author: btjanaka (Bryon Tjanaka) # Problem: (HackerRank) power-calculation # Title: Power Calculation # Link: https://www.hackerrank.com/challenges/power-calculation/problem # Idea: Since the question asks for the last two digits, we need to mod the # final answer by 100. We can distribute this mod 100 over the entir...
[ "bryon@btjanaka.net" ]
bryon@btjanaka.net
8d2c00758c2d8546a5fcb8b20230b14ba1ecb838
0ca34c2fcbb8ad65ea44ffd1f3c81793f61a76aa
/serial_checkYellow.py
9b87b488fb4ecc536bd572a28abd74d793ac3e0d
[]
no_license
mikebuilder/rbe3001rbp
63ab5f51931c70bb3c5d6f162850db9310cede8b
230cbe9ca7cf8193dff141162d92223387426897
refs/heads/master
2020-04-01T14:47:25.494044
2018-10-12T22:09:16
2018-10-12T22:09:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
328
py
#!/usr/bin/env python import time import serial ser = serial.Serial( port='/dev/serial0', baudrate = 9600, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, bytesize=serial.EIGHTBITS, timeout=1 ) time.sleep(0.3) ser.write('16e') time.sleep(0.1) returnData = ser.read() print(returnData) ser.c...
[ "nbjohnson10@gmail.com" ]
nbjohnson10@gmail.com
59812772783380dd6340412af14255fc7cbb7fdc
9745f847ff7606d423918fdf4c7135d930a48181
/peering/migrations/0001_v1.0.0.py
9217c861c8e8d871d51b04d9dca8ee224fa82471
[ "Apache-2.0" ]
permissive
mxhob1/peering-manager
097167707e499307632ffeaaba72b381a4290347
6c15aacdef5ed267d2602fb313eee8ee8a11149a
refs/heads/master
2021-05-18T23:26:44.553331
2020-07-20T06:35:22
2020-07-20T06:35:22
252,051,461
1
0
Apache-2.0
2020-04-02T06:18:48
2020-04-01T02:30:46
Python
UTF-8
Python
false
false
48,334
py
# Generated by Django 2.2.7 on 2019-11-13 20:51 import django.contrib.postgres.fields from django.db import migrations, models import django.db.models.deletion import netfields.fields import peering.fields import taggit.managers import utils.validators class Migration(migrations.Migration): def forward_transitio...
[ "guillaume@mazoyer.eu" ]
guillaume@mazoyer.eu
e9f0d477d5711458494355bce81a598338b905cb
300e52faf63604bfb7ec81b9a73da853e71e36c6
/blog/migrations/0001_initial.py
de21b336f6961767703ed4fa9218ccb186a78332
[]
no_license
ivan-placid/my-2nd-blog
8e7fb9b5c47aaff4437b1d4f0acb31f556e2924d
56604079fd79f2d8b3622d7ffe1d8b53605b445e
refs/heads/master
2021-01-11T05:33:42.664633
2016-10-26T11:31:27
2016-10-26T11:31:27
71,799,979
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-24 16:31 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
[ "ivan.placid@gmail.com" ]
ivan.placid@gmail.com
b9d1e76ff332e8251bd81fc607e11351f3a4d2ca
b044ca9aff959ed333979695be7222f5c2b6d5e4
/study_2018/20180612/6.py
a92b5c908200300d03727a1f7d987593d296148f
[]
no_license
waterwx/study_2018
5c19ca9cd523fdff0136a0dd95a9618cf799452b
01b9c4b1fa8429659e18ed4da10105ef507e6b13
refs/heads/master
2020-03-19T14:28:05.292926
2018-06-28T14:25:24
2018-06-28T14:25:24
136,624,180
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
jflajdkflajo fjlkajsdflka jffffllllajdslff; jjjlll ffflll
[ "406726179@qq.com" ]
406726179@qq.com
95d7bc01e08a48603913adb10222767d70c2cb9c
4ca053209b44a0dc108d23183910b4069704ee5b
/lofaro_light.py
a03fa67f4bcb12f1152910d2e0dd97aa5bad7890
[]
no_license
thedancomplex/autonomous-lights-lofaro-lights
15e69c080d59a0877e6f40b69e29b5b3008943f4
49039a8797618331820b5482c017864c902a0655
refs/heads/master
2022-12-12T21:22:31.944036
2020-09-05T01:39:31
2020-09-05T01:39:31
292,980,235
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
#!/usr/bin/python3 from pyHS100 import SmartBulb from pprint import pformat as pf import random as r import time as t #bulb = SmartBulb("10.66.3.17") #print("Hardware: %s" % pf(bulb.hw_info)) #print("Full sysinfo: %s" % pf(bulb.get_sysinfo())) #bulb.turn_on() #bulb.hsv = (180, 100, 100) i = 0 while True: h = r.rand...
[ "dan@danlofaro.com" ]
dan@danlofaro.com
e4f9570ca88d4d268cf94d22e8faeb9b81e4d32f
abc5710e8b80b8969e602c53aaa1a5187d2adeee
/wsgi.py
dd77627b6e86bebdd22f0400b4be9a228e04a097
[]
no_license
mohammad-safakhou/nava
f709356afa2cd2e315183216b6727fe94a15e6e4
85b441927d12388fefea1afd228e766e2fd2c233
refs/heads/master
2023-06-19T07:31:28.027055
2021-07-16T00:42:01
2021-07-16T00:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from factory import create_app from config import ProductionConfig app = create_app(ProductionConfig) if __name__ == "__main__": app.run()
[ "mnim220@yahoo.com" ]
mnim220@yahoo.com
2c72c0fd9afadc5369dafc83a72510e88f785872
d70a16f353819ff858dbe6974916a936a85a3c0e
/api/migrations/0003_auto_20201217_1941.py
60ba065342ebb9755ec4749f75c6cf4cc1ac6880
[]
no_license
mahmud-sajib/FBuzz-Task
7fa69a35d1dfe069ed48e2956d1eff16cf953c74
a57bc031911fd7259c68890a953d9d8175246f73
refs/heads/master
2023-02-02T05:56:01.208849
2020-12-19T07:03:24
2020-12-19T07:03:24
321,357,770
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# Generated by Django 3.1 on 2020-12-17 13:41 import api.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0002_auto_20201217_1751'), ] operations = [ migrations.AlterField( model_name='cvfileupload', ...
[ "shout.mahmud@gmail.com" ]
shout.mahmud@gmail.com
85f8207c1a52da4c91cfcc22bb76bd8dd60589aa
40fa413a9ba362ab8cc2474269f83bb87847cda2
/setup.py
a7a9aee54a8f3d08813d67be79e79b61855eaffc
[]
no_license
Peder2911/leanfeeder
c366563527c6e6b65cf46f8564596d1637337026
f50ed3845aac21b6eed81eb1ef72c39175c87c8d
refs/heads/master
2023-01-01T13:55:49.037014
2020-10-15T12:02:43
2020-10-15T12:02:43
301,992,715
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
import setuptools with open("README.md") as f: long_description=f.read() setuptools.setup( name = "leanfeeder", version = "0.0.1", author = "Peder G. Landsverk", author_email = "pglandsverk@gmail.com", description = "Tool for pushing data to a Postgres DB without too much ...
[ "pglandsverk@gmail.com" ]
pglandsverk@gmail.com
205df4acc61ce3ee987006deb9188b1713867ac0
abbc885208c9fc8dabafe4eb2dcc9ac83954dc62
/read_rbsProfs.py
1219ff2222f0f09eea3f188742565ca8c3a7b24c
[]
no_license
xingl/backups
4406c9d35dea8b3ff47f1ecd36e3587c895b36da
3130338c1f2fd80da626476699a2a79d5d8ed924
refs/heads/master
2021-01-20T22:29:08.115638
2016-05-30T03:05:59
2016-05-30T03:05:59
59,974,415
0
0
null
null
null
null
UTF-8
Python
false
false
2,643
py
#! /usr/bin/python import numpy as np import matplotlib.pyplot as plt from scipy import interpolate from interp import * def first_derivative(f_in,x_in): x = x_in.flatten() f = f_in.flatten() dx = x[1]-x[0] dfdx = np.empty(len(f)) for i in range(len(f)): if i == 0: dfdx[i] = (f[i+1] - f[i])/...
[ "xingliu@physics.utexas.edu" ]
xingliu@physics.utexas.edu
3f0880e9aeb1dc1e7507225cffb3501d7a092b26
2d4dfec7a2b40588da529e774d34c4c5002ee11a
/Scripts/pip3-script.py
5d6fb03bd799f5bf387d79a32e043525f5413197
[]
no_license
Bobcat1238/HelloWorld-Python
54df7e3005c4fed59e1bc9960d33ed453888940c
f8c0201051b1e99eca2e1f043c046991a06ef8cb
refs/heads/master
2020-12-04T08:40:59.368116
2020-01-09T03:11:05
2020-01-09T03:11:05
231,698,132
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
#!C:\Users\gabar\source\Python\HelloWorld\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) ...
[ "g.barth@live.com" ]
g.barth@live.com
2f5a559f6f876765e404d8a95601e163f085fcfe
f19cc408729222b0e745c8ee1b947c146a270b67
/python/mockup/M_verifier.py
71b654c297fe3d33d5c6af23c07366cde644add6
[]
no_license
securekim/DID
e6d4353f5764b6933cd3cb0fa1033fd857f31934
3cee5847a370c6d76632301cf538da18b3000910
refs/heads/main
2023-06-09T10:02:07.304201
2021-07-04T20:32:45
2021-07-04T20:32:45
372,722,882
2
0
null
null
null
null
UTF-8
Python
false
false
3,780
py
# -*- coding: utf-8 -*- import ed25519 import base64 import base58 import requests import random import string import sys import json import re import bottle import canister import time import requests from bottle import response, request, HTTPResponse from multiprocessing import Process from http.serve...
[ "admin@securekim.com" ]
admin@securekim.com
34c980c93635be5b73ec56d4a12b6d39e402fe13
b15f6fc21375a2ed06c291a34a5203e2b051056e
/hackerrank codes/30 Days of Code/Day 2.txt
05a3ba5a53bf677b0a70c0d65d305081c1f8ae8c
[ "MIT" ]
permissive
SoniSakshi1999/HackerRank_Solutions-
e1f942ef6d42fa4273ed1bb75fd7d0e09212404c
fcb2c95081204f5ae49bf27e895df401f36b0dd0
refs/heads/master
2022-11-26T05:10:27.329161
2020-08-08T10:30:50
2020-08-08T10:30:50
277,254,473
1
0
null
null
null
null
UTF-8
Python
false
false
516
txt
#!/bin/python3 import math import os import random import re import sys # Complete the solve function below. def solve(meal_cost, tip_percent, tax_percent): tip = (meal_cost*(tip_percent/100)) tax = (meal_cost*(tax_percent/100)) total_cost = meal_cost + tip + tax ans = round(total_cost) ...
[ "noreply@github.com" ]
SoniSakshi1999.noreply@github.com
18c298b110833ad5b1860e533427d320c882c52d
cca5ceb42b09e567d79fcb46f298757c1ff04447
/ObjectOriented/DataStructure.py
45fb0eea3cc51bded3a1c13868377b5c1980c3d7
[]
no_license
NishantGhanate/PythonScripts
92933237720e624a0f672729743a98557bea79d6
60b92984d21394002c0d3920bc448c698e0402ca
refs/heads/master
2022-12-13T11:56:14.442286
2022-11-18T14:26:33
2022-11-18T14:26:33
132,910,530
25
15
null
2022-12-09T09:03:58
2018-05-10T14:18:33
Python
UTF-8
Python
false
false
1,468
py
class Que: def __init__(self , contents): self._hiddenlist = list(contents) def push(self,value): self._hiddenlist.insert(0 , value) print(self._hiddenlist) def pop(self): if len(self._hiddenlist): self._hiddenlist.pop(0) print(self._hiddenlist) ...
[ "nishant7.ng@gmail.com" ]
nishant7.ng@gmail.com
b0f30ad19d6e23d4e343b4fd99dc41b0b026118b
07a0f62a9c99e25d5c348ee812ef1e49c43d2d7b
/test/test_sim/test_propagate.py
fc3c39340425cca7ea4795585814999355648f3c
[ "BSD-3-Clause" ]
permissive
kyuepublic/tomopy
15b39a8674b6ccfd7c77b177a35dd14f43720f78
3f334ad762f8d6ad2108838aa9a620b3694debe2
refs/heads/master
2020-12-24T06:51:35.271931
2016-11-30T23:00:01
2016-11-30T23:00:01
67,078,254
1
0
null
2016-08-31T22:32:30
2016-08-31T22:32:29
null
UTF-8
Python
false
false
3,844
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ######################################################################### # Copyright (c) 2015, UChicago Argonne, LLC. All rights reserved. # # # # Copyright 2015. UChicago Argonne, LLC. This...
[ "sparsedata@gmail.com" ]
sparsedata@gmail.com
b24e0fde7456a79dbb630f1bb302c6eb6ffd15b7
14438f8c8bb4250a7fa8da0ecd40c5a4902bdfcd
/hunter/set-10/96.py
2719ef730b5a7689a140c4b85bbfd134580da795
[]
no_license
nikhilvarshney2/GUVI
c51b1fa3bd1026eb74fc536e938a14c2e92089b2
79717ae5b26540101169e512204fb7236f7c839f
refs/heads/master
2020-04-01T00:40:27.699963
2019-04-30T13:46:46
2019-04-30T13:46:46
152,707,542
0
0
null
null
null
null
UTF-8
Python
false
false
104
py
def num(z): if z<9: return z return 9 + 10*num(z-9) z = int(input()) print(num(z))
[ "nikhilvarshney9292@gmail.com" ]
nikhilvarshney9292@gmail.com
0c7ca209f5437826a7c1527f09d0f27b55e5d412
ac2f4c7caaf7ccc51ebcb2d88020fb4842b3f493
/install.py
e20927c124212f7697dea81c1e707305db393903
[]
no_license
vaikuntht/TAMU-Latex-Styles
48b89291cb5b65348303cfee4bc8424a61b44adb
8c1f096bbe3140eef6e14d001fa9d81905a28258
refs/heads/master
2021-01-18T00:04:04.722714
2014-07-31T18:49:42
2014-07-31T18:49:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,686
py
#!/usr/bin/env python import os, sys, getopt, argparse, fnmatch, errno, subprocess, tempfile, platform, getpass, pprint, shutil from subprocess import call #program name available through the %(prog)s command #can use prog="" in the ArgumentParser constructor #can use the type=int option to make the parameters integer...
[ "aperloff@physics.tamu.edu" ]
aperloff@physics.tamu.edu
196ea254deb7d1aad9c213e8325c7620ff1af56d
22f74928bece8b07b6054d4fb0692c34253a1c50
/home/migrations/0006_lodging_category.py
244ad595d979ee3d95564430463333bfb7f7e254
[]
no_license
kairatGroupd/trip
0810cae427226ef1f1f3b0224692cfec68c7a060
693965f5b77b61e861fb59955f5fb8b802a679d1
refs/heads/main
2023-06-17T14:18:23.026358
2021-07-12T13:37:41
2021-07-12T13:37:41
384,876,430
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
# Generated by Django 3.2.4 on 2021-07-03 10:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0005_rename_lodging_id_lodgingimage_lodging'), ] operations = [ migrations.AddField( model_name='lodging', n...
[ "isma.kairat101@gmai.com" ]
isma.kairat101@gmai.com
8e5c8e1e4d580f13690e76e7f786ec1a715f6eac
69d2a8cacc4f6f615ed4d3ec849c5726547a6904
/arrowkey.py
5b29c76bbbf1cae342a3efef7c47753bbd7a345c
[]
no_license
MrBrokenHeart666/Arrowkey
427e12e61b46c6cd4c7b9c8603453a6445c0cfea
cb06b543304c9083821ae9449d356b99042dd37f
refs/heads/master
2022-11-18T18:46:55.762101
2020-07-16T17:01:22
2020-07-16T17:01:22
280,210,189
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
import os from time import sleep from getpass import getpass while True : os.system("clear") print("+========================!!========================+") print("Tools By MR.BR0K3NH34RT And u0_a117") print("+========================!!========================+") os.system("figlet Arrow Key") pr...
[ "noreply@github.com" ]
MrBrokenHeart666.noreply@github.com
bc01b3a5e1cd3d723df3fc6d9c258a103d384d9f
a0f9579bbd51e5c8f1e0eb4e09cab42c62016b46
/Max/app.py
51ea177b0966b8ed1c2081d19d8fe41b165c9344
[]
no_license
max-farver/March-Madness-Machine-Learning
7d4de31f4041b333537cf9aa5acd31fec8f12c15
aaf46520631343ef1590b319335fcc26b3286082
refs/heads/master
2021-07-17T12:17:48.784416
2020-09-14T13:41:43
2020-09-14T13:41:43
206,874,353
0
0
null
null
null
null
UTF-8
Python
false
false
1,355
py
import dash import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import plotly.graph_objs as go from graphs import score_by_game_dur, win_by_behind_ball_diff, \ win_by_defensive_half, score_by_on_ground, score_by_slow_speed external_stylesheets = ['htt...
[ "mfarver99@gmail.com" ]
mfarver99@gmail.com
f93b91fea4893a46b91d447536d0e2524f4ac946
db9330ee475181ddbe4166ed331892043617086c
/qyer/get_city.py
1b2ef5b711a2535a712134e3fbb547a702936115
[]
no_license
Thorntan/common_scripts
a0693f1c7a3edde7a86f3802bebae5c5ef2d9119
37c7cadb07218e115e718bfa7b579111547e150c
refs/heads/master
2020-12-25T14:38:28.174528
2016-08-09T07:34:44
2016-08-09T07:34:44
65,271,860
0
0
null
null
null
null
UTF-8
Python
false
false
1,606
py
# coding=utf-8 ''' @author: yanlihua @date: 2015-10-27 @desc: 穷游单个国家城市URL的抓取 @update: 2015-10-27 ''' import sys from util.Browser import MechanizeCrawler as MC import re from lxml import etree from lxml import html import codecs import db_add reload(sys) sys.setdefaultencoding('utf-8') ...
[ "yanlihua@mioji.com" ]
yanlihua@mioji.com
fef01d0dcc16558fefd00563b352cdb5ae4ac5b0
edbb81518bf2f3d91b1f7c7af0127412aa9eba8c
/.DJvenv/lib/python3.5/imp.py
7223ddabd5c5c3f6eb103633bce8640e39b937d4
[]
no_license
2357gi/mfdjango
dd7f78ff44c21e5ea5af48a121d2acdc02fa90b9
efda5dcfad9d3d4a528770382ad977192c3dc2f6
refs/heads/master
2020-03-25T22:31:27.641096
2018-08-13T05:41:48
2018-08-13T05:41:48
144,227,441
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
/Users/oogikento/.pyenv/versions/3.5.1/lib/python3.5/imp.py
[ "oogi@torico-tokyo.com" ]
oogi@torico-tokyo.com
286ea0d6086347e250089f5f817800bad2779b48
ec3a1e3ee22d6100ed079a5d649b06d309cff889
/points.py
bbe7c09834452cec77d089df1a2ab867039705ac
[]
no_license
roving99/robert2.0
1cf32fff75f1d8f853fb9ee742556a9bc005005d
b095deb0c50d8b64419a49d7f8aaa015fe0ea833
refs/heads/master
2020-03-09T15:12:01.866150
2018-04-10T01:18:03
2018-04-10T01:18:03
128,853,355
0
0
null
null
null
null
UTF-8
Python
false
false
10,669
py
import math class Point(object): """ The class Point represents a 2D point Class attributes: points Instance attributes: x y """ def __init__(self): self.x = 0 self.y = 0 # Point.points.append(self) def __init__...
[ "noreply@github.com" ]
roving99.noreply@github.com
767c331b4931318068b200f627e229b4cfa8bb86
32b8a26d7b6bcd34f109910fac651520aec8f23f
/token_manager.py
4d6168274dbd2d5c48457a7844040026c3afc036
[]
no_license
HU-MA/nextbox
52571ebd5c3a4a72eefb3296f25d09b982ee6f78
82a81512b8810de60a1f45834da5fa8523911f03
refs/heads/master
2023-04-09T17:55:35.163917
2021-04-21T15:02:42
2021-04-21T15:02:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,553
py
import os import yaml import socket import sys import re hostname = socket.gethostname() user = os.environ["USER"] # read registry with open("registry.yaml") as fd: registry = yaml.safe_load(fd) # check legal user if registry["user"] != user: print("local user does not match the one in the registry!") s...
[ "coder@safemailbox.de" ]
coder@safemailbox.de
ea39051bc7569500c51c1e9a6d1f2602805a4eba
29e381cbad0d8e97a236f78179869eab3d0510df
/practice/Day08/untitled/1-窗口控制/2-控制窗体大小和位置.py
24366e835ab709201c17412d89d0d0714a96a418
[]
no_license
SissiCheng/Python_Learning
843dbc59678737712de3e3274eeb4f30e75090c2
57c7ef5f44f183fc09b50fb4b181d2947b739e15
refs/heads/master
2020-12-02T22:11:30.818020
2018-02-28T13:55:07
2018-02-28T13:55:07
96,094,091
1
0
null
null
null
null
UTF-8
Python
false
false
16
py
import win32gui
[ "18668352401@163.com" ]
18668352401@163.com
9f7324363c3eac6287a746b66951f2fd28802a31
b3df40dd032e048fc13d85636257278d1531e482
/SWEA/SWEA_wordWhere.py
778a543c021123c157cb894b38bb25692335dfe6
[]
no_license
humbleYoon/algorithm
e932f296095769cf73275d48ba4e027247c3e594
8d63f3e64f82daabc0b8eb2384dc02ab40d88356
refs/heads/master
2022-11-06T13:05:01.475764
2020-06-21T17:19:34
2020-06-21T17:19:34
273,423,506
3
0
null
null
null
null
UTF-8
Python
false
false
1,341
py
T = int(input()) for test_case in range(T): N, K = map(int, input().split()) info_list = [] result = 0 for i in range(N): row_list = list(map(int, input().split())) info_list.append(row_list) for i in range(N): for j in range(N): if info_list[i][j] == 1: ...
[ "rladbswo1124@gmail.com" ]
rladbswo1124@gmail.com
a27d8154ba2ec12b8f6f1ad4190a60de6f241358
fe4c65df15cefe67d4d2c3c50bde72d0d2126e70
/Python/70.climbing-stairs.py
9f6080aa63bb054380340ce44aa4630ff16ad5e9
[]
no_license
sklanier/Leetcode
28b20123c18392ac710f794f38ea13ba51979b96
a5762ffa6a698042ed19a0a2f538bbde6a01d2d1
refs/heads/master
2023-06-09T20:41:29.613890
2021-06-29T17:57:57
2021-06-29T17:57:57
373,676,866
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
# # @lc app=leetcode id=70 lang=python3 # # [70] Climbing Stairs # # @lc code=start class Solution: def climbStairs(self, n): a, b = 1, 1 for i in range(n): a, b = b, a + b return a # @lc code=end
[ "stevekentlanier@gmail.com" ]
stevekentlanier@gmail.com
fb708659d8576b28acdb88c0439ca493e36c5884
30c524146ac7c240b3f69a856a12f9d971e2f294
/setup.py
a7138c22975f00b0e0c89fc5a9121d3aa768c383
[ "MIT" ]
permissive
undercertainty/ipython_magic_sqlalchemy_schemadisplay
7da1400b4b9cff520b3e185345c204f14ccb512d
bc22060f3125736eecf2cc4d7972eca9715fc0c3
refs/heads/master
2021-10-10T07:00:04.925288
2019-01-07T23:01:31
2019-01-07T23:01:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
from setuptools import setup setup(name='schemadisplay-magic', packages=['schemadisplay_magic'], install_requires=['ipython-sql', 'sqlalchemy_schemadisplay', 'graphviz'], dependency_links=['git+https://github.com/fschulze/sqlalchemy_schemadisplay.git'] )
[ "tony.hirst@gmail.com" ]
tony.hirst@gmail.com
f30723fa2b4402bc88c5b0c9fd11a11c4eeef26b
4747abf60b17c462e29d28d3f370398b7932a790
/mock_solution.py
54b504e859c307afc7c2cabce7369cfb0b7bae6b
[]
no_license
rachit-mishra/personal-training
1bb288255e2ad3028f3d2b63ea4018687ab44ed3
8e728d0fee05138ee6cc1639f79a90ad1b97c42c
refs/heads/master
2021-02-26T13:21:12.126525
2020-03-06T22:31:18
2020-03-06T22:31:18
245,528,136
0
0
null
null
null
null
UTF-8
Python
false
false
2,659
py
########### Python Form Recognizer Async Layout ############# """ https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/contoso-allinone.jpg key:a527f116932642ae9cc5b2940a61cedb endpoint: https://zsbttrackmeeting.cognitiveservices.azure.com/ """ import json...
[ "noreply@github.com" ]
rachit-mishra.noreply@github.com
0e0c792492d3e94d7a531b61be9d5c77c9a54835
d9576f90b1a885cd803076d08731306dd90fb623
/yatsm_master/yatsm/errors.py
a2c27eb6cef1f9612d57c35a9588e577896d7289
[ "MIT" ]
permissive
sguo1129/robust_regression_python
836a1c38ec0868d5d33f3668d686cf040e8ee34e
e2d3ea25264d27c8d44bfa051f694b4c0c0ef7a4
refs/heads/master
2022-12-06T16:45:00.581762
2017-03-08T19:50:17
2017-03-08T19:50:17
84,358,355
0
1
null
2022-11-21T14:09:23
2017-03-08T19:30:56
Python
UTF-8
Python
false
false
568
py
class TSLengthException(Exception): """ Exception stating timeseries does not contain enough observations """ pass class TrainingDataException(Exception): """ Custom exception for errors with training data """ pass class AlgorithmNotFoundException(Exception): """ Custom exception for algorit...
[ "SGUO@USGS.GOV" ]
SGUO@USGS.GOV
1b3d280c7403941d0bf096038fcd3c6fb955bb16
c588305899ff4bc1d24c2bc213edce1c16621113
/21/21_1.py
02b5535cb8428832fa0ea9383dad49ac806703b3
[]
no_license
nemesmarci/Advent-of-Code-2015
fa2953916e67d6ad5b3218de1bc7418ff942ab6a
53db8d0e0140f94a80d307b3cec3e065a235ba53
refs/heads/master
2021-12-31T14:08:52.640576
2020-01-10T18:13:59
2021-12-29T19:35:09
160,928,653
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
from common import find_cost print(find_cost())
[ "nemes@sch.bme.hu" ]
nemes@sch.bme.hu
5af412d9d09e2346e325dfcceae3c46451e333af
69b7fa46be90010a03a7ba4d8d4e0a27f171ffc1
/CSC 138/Socket Assignment 1/udpserver.py
ab80acc99342508e62f468fbe963c8250058cea3
[]
no_license
breeanageorge/college-classes
cd952e2d2a26560e4cba613ce1d40f4dee94d000
e8fe5bb5971e7538c9d3ed4ce12d9b20861605b7
refs/heads/master
2020-05-18T10:28:46.232649
2019-05-01T04:09:46
2019-05-01T04:09:46
184,353,730
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
from socket import* serverPort = 12000 serverSocket = socket(AF_INET, SOCK_DGRAM) serverSocket.bind(('', serverPort)) print("The server is ready to receive") while True: message, clientAddress = serverSocket.recvfrom(2048) modifiedMessage = message.decode().upper() serverSocket.sendto(modifiedMessage.encode(), cli...
[ "37132204+breeanageorge@users.noreply.github.com" ]
37132204+breeanageorge@users.noreply.github.com
f12ecdec195d21b07ddb86e45226d52b6dbaf079
a5c2f4ada2fb4436784a785a5d598546d3b3284c
/Main/migrations/0001_initial.py
305f99beddc1606764e5d5472f2e0f219b5ffacf
[]
no_license
sakibovi123/chat_applicationv1.0.1
1c5d25c1229434b4c6019fcf4dbabf53324d90df
7b5db530e22743959df215347ff1e644cbbfb4e0
refs/heads/master
2023-07-13T22:22:02.295141
2021-08-28T07:35:27
2021-08-28T07:35:27
396,916,167
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# Generated by Django 3.2.6 on 2021-08-16 11:17 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "sakibovi123@gmail.com" ]
sakibovi123@gmail.com
1988f3bfa396617797d1effd273ed01d83a05ec9
92acb2bdfcdb594a7f98b24093f4711879e956ca
/dvaapp/admin.py
7be6bf0aa9a7a506025392cfac7e62ea6530b6cf
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
cynwpu/DeepVideoAnalytics
e1f0b2e00a2671014bdcae99bf11c180bf35a30e
c95913a2967d6d17e71bb1b703f99c00c483bcdc
refs/heads/master
2021-05-05T15:04:50.650488
2017-09-10T20:01:31
2017-09-10T20:01:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,361
py
from django.contrib import admin from .models import Video, Frame, TEvent, IndexEntries, QueryResults, DVAPQL, VDNServer,\ LOPQCodes, Region, Tube, Detector, Segment, DeletedVideo, \ VideoLabel, FrameLabel, RegionLabel, TubeLabel, SegmentLabel, Label, ManagementAction, \ StoredDVAPQL, Analyzer, Indexer, Ret...
[ "akshayubhat@gmail.com" ]
akshayubhat@gmail.com
73f303388182067a9dc0400a9f3b73c4a3e19c4d
fc6b7f72bd86d0707618802aa328cce5d22301f2
/Physics-3s-2model/task1/F_P_L_M.py
8f6b36c4acdde02c8ab4cac10293650aa6c6bec6
[]
no_license
JoJukov/PythonStuff
ff7c942dfc1867966cc6571328914dbd086c84f5
33c7ee0242cda67329e705194ea6db561359b715
refs/heads/master
2023-05-23T02:49:52.478605
2021-06-14T13:50:04
2021-06-14T13:50:04
370,728,777
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
from math import sin, cos, radians def p_l_m(l: float, m: float): if l == 0 and m == 0: return lambda x: 1 elif l == 1 and m == 0: return lambda x: cos(radians(x)) elif l == 1 and m == 1: return lambda x: -sin(radians(x)) elif l == 2 and m == 0: return lambda x: 0.5 * (...
[ "ivanzhukov2002@mail.ru" ]
ivanzhukov2002@mail.ru
9d92e70396e788812023e3d33729af63343612b6
94f1e31beaa6941844d6966ca654097c2fe12a0d
/ASEN5090/HW5/HW5.py
0cf52882a4ee895d6392057d44788bee17a0543d
[]
no_license
mfkiwl/RFLab
834e2881cb770adc4f739248b8c36fc9a8b0f0f2
cae3af6db7b970246bb9a2b5d733889b1af3c7a4
refs/heads/master
2023-01-21T19:25:32.798558
2020-12-01T01:38:25
2020-12-01T01:38:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,733
py
from read_ephemeris import parse_rinex from rinex_utilities import parse_rinex_nav_file, parse_rinex_obs_file import numpy as np from matplotlib import pyplot as plt from readyuma import mean2eccentric, broadcast2pos, read_GPSyuma import pandas as pd from hw5_helpers import * from matplotlib.dates import (YEARLY, DateF...
[ "mema0341@colorado.edu" ]
mema0341@colorado.edu
007e7be7265a787c6257d743cf325b315388b9c7
c06e303da383c344e4325e7212096962bc0106fe
/registration/migrations/0004_auto_20161123_0251.py
f0c40dcebf240e45eda851b24261382b0ae8975d
[ "MIT" ]
permissive
arpanpathak/college-fest-management
ac3a06c25f44ece4ece90aabf8be3161724c0cfd
186ffe78deed7ae4904e809412d84883e669b6bf
refs/heads/master
2022-12-28T20:16:13.198515
2020-10-03T21:36:27
2020-10-03T21:36:27
300,932,483
1
0
null
null
null
null
UTF-8
Python
false
false
542
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-22 21:21 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('registration', '0003_candidate_timestamp'), ] operations = [ ...
[ "arpanpathak1996@gmail.com" ]
arpanpathak1996@gmail.com
6679cb1ffa32655619b43f27ce1f2a4717c943f8
fa07e9901e83299e2a996c07ff7483e59dd40e90
/proj2-iia/main.py
6e4c83c59ff0c78328096059b5669bca39fecaac
[]
no_license
CarolFP1896/Projeto_IIA
01a5580db5dc8aaf11f9e3c6fa603101c5eea71d
929bef3c968e6bc05846cbbaa68ddbfe6f560160
refs/heads/master
2023-04-27T16:35:15.780282
2021-05-08T01:22:54
2021-05-08T01:22:54
364,360,484
0
0
null
null
null
null
UTF-8
Python
false
false
3,290
py
# importa modulos e pacotes necessarios from dataAnalysis import virus, result, alas, infected from randomForest import classifierReport, bestParams import os # funcao que imprime o menu da analise de dados e retorna os graficos gerados em cada resultado def analysis(): a = 0 while a != 5: pri...
[ "noreply@github.com" ]
CarolFP1896.noreply@github.com
91258b8a32fba3b8345c1f4e1dca1767557a8d42
d9b4e7ffa500e4237ffa35b3b74ca6447c6eda25
/Ejemplos/opticalflow2.py
5b1be2432e2eccf662507ee634f4814e879fe83d
[ "MIT" ]
permissive
Daniel-hp/Servicio
e21ff171d717500143a2a70eb806d1822b6433d0
5436f90cf745431dfd85b37d7848e9bcf6d04fa2
refs/heads/master
2021-01-24T10:26:09.395336
2018-09-20T21:03:05
2018-09-20T21:03:05
123,051,677
1
0
null
null
null
null
UTF-8
Python
false
false
812
py
import cv2 import numpy as np cap = cv2.VideoCapture("mov.mp4") ret, frame1 = cap.read() prvs = cv2.cvtColor(frame1,cv2.COLOR_BGR2GRAY) hsv = np.zeros_like(frame1) hsv[...,1] = 255 while(1): ret, frame2 = cap.read() next = cv2.cvtColor(frame2,cv2.COLOR_BGR2GRAY) flow = cv2.calcOpticalFlowFarneback(prvs,n...
[ "daniel.hernandez@inediti.com.mx" ]
daniel.hernandez@inediti.com.mx
e848112ff0d64fd19119144e38b6241dc01354bd
295b77fcf74065a3942cbca04d476ad8886ab33e
/models/encoders.py
88399e2f0c006bafe252dddf8cd9de8a0f636498
[]
no_license
MarcusNerva/spatio_temporal_graph
d999917fd47e82b6620ff7f624c389e479f4dc85
c391b8dfdf32ac5c0fc92970aea3d22da87f49e6
refs/heads/master
2022-11-30T05:04:22.475717
2020-08-15T08:24:49
2020-08-15T08:24:49
282,892,710
0
0
null
null
null
null
UTF-8
Python
false
false
4,728
py
import torch import torch.nn as nn import math class GCN_layer(nn.Module): """ BasicBlock of object branch encoder. """ def __init__(self, N, d_model): super(GCN_layer, self).__init__() self.N = N self.d_model = d_model self.linear = nn.Linear(in_features=d_model, out_f...
[ "hadrianus_1@163.com" ]
hadrianus_1@163.com
78a9efb7a3cd7aadec787b2cb1553dc652e4eb6b
472284579f589e993ea5d73c9c6ac9cdc386cb4a
/.buildozer/android/app/consent_form.py
68a1784eaf8ffa29fdd4788560495c711afea996
[]
no_license
CuriosityLabTAU/free_exploration_study_keren
f52b8ebda0e939a809995dc13b76e920655c4a40
0c2386cfce42188d2854344fdeb5469fd22d61f9
refs/heads/master
2021-01-11T19:13:06.463289
2018-01-28T17:06:55
2018-01-28T17:06:55
79,333,980
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
#!/usr/bin/python # -*- coding: utf-8 -*- from kivy.uix.boxlayout import BoxLayout from kivy.uix.label import Label from kivy.properties import ObjectProperty from kivy.utils import get_color_from_hex from hebrew_management import HebrewManagement from kivy_communication.logged_widgets import * from kivy.storage.jsonst...
[ "goren@gorengordon.com" ]
goren@gorengordon.com
0132b83eb375405710b8474c5bb5f51481fc9ca7
c74cc826757a8de9b818f3ac78073e6a95da48cd
/test2.py
73b7b17707872eec99c7c53ad2a6145efc6f14d3
[]
no_license
ShivaramPrasad/python_stuffs
06cc418b99255e99fd36d9d719f1daedc6ad4063
b5dc46889b281154c94ee9376262f88616d558b1
refs/heads/master
2020-03-06T14:16:26.051570
2018-03-27T05:24:35
2018-03-27T05:24:35
126,932,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
import pyaudio import wave import sys # length of data to read. chunk = 1024 # validation. If a wave file hasn't been specified, exit. if len(sys.argv) < 2: print "Plays a wave file.\n\n" +\ "Usage: %s filename.wav" % sys.argv[0] sys.exit(-1) ''' ****************************************************...
[ "Shivaram1995@gmail.com" ]
Shivaram1995@gmail.com
5b21e3f4df19ea2e21f949389e277170a75c1d81
67a10f3384d5048bbc0e46c0535b0c113d78c2fa
/examples/pix2pose/pipelines.py
ee429967056c92a86ebea3aaa6a03408cb222e27
[ "MIT" ]
permissive
DeepanChakravarthiPadmanabhan/fer
af9bc6b65bf6d265c63d107b0f11ab0c09002390
920268633aa0643416551212ec2d70f3591b5001
refs/heads/master
2023-09-05T03:04:50.468845
2021-11-09T23:42:54
2021-11-09T23:42:54
426,337,368
0
0
null
null
null
null
UTF-8
Python
false
false
7,543
py
import numpy as np import os import glob import random from tensorflow.keras.utils import Sequence from paz.abstract import SequentialProcessor, Processor from paz.abstract.sequence import SequenceExtra from paz.pipelines import RandomizeRenderedImage from paz import processors as pr class GeneratedImageProcessor(Pr...
[ "deepangrad@gmail.com" ]
deepangrad@gmail.com
ddf3fe9c16c512db4db55225662acb8fedc66bab
c803b2c8aa43d4c34eba62794af957330e2c5317
/src/extract_labels.py
9bd749e9ccb5cdaa149e3f16ade8ae04117bb93f
[]
no_license
utexas-bwi/perception_classifiers
c2da4420ca6d92a06215aa20f8b3dfd3aa628e0f
15321f73b571daf5fb1d6091870116f04d3ccb08
refs/heads/master
2021-09-05T11:44:13.057988
2017-07-27T16:55:30
2017-07-27T16:55:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
#!/usr/bin/env python __author__ = 'jesse' import pickle import sys # python extract_labels.py # [agent_pickle] # [output_fn] def main(): # get arguments agent_fn = sys.argv[1] out_fn = sys.argv[2] # load agent f = open(agent_fn, 'rb') a = pickle.load(f) f.close() # write out l...
[ "jesse@cs.utexas.edu" ]
jesse@cs.utexas.edu
d526bcd601974fc1ebcbe80a5e2954a3412cb522
5d9932a1abeae21b8201368e5cf465680f106761
/data_ccxt/probit.py
330b5839012523f090ae27ca23e35c190244345b
[]
no_license
qqzhangjian789/text
5dc6086e55d8a9494b889fa40cc9730da6bf5940
938be0df0a965aacf13cfb942548b8d2a1c7cec0
refs/heads/master
2023-05-04T11:38:47.178345
2021-05-21T17:44:13
2021-05-21T17:44:13
286,178,737
1
6
null
null
null
null
UTF-8
Python
false
false
48,360
py
# -*- coding: utf-8 -*- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code from data_ccxt.base.exchange import Exchange import math from data_ccxt.base.errors import ExchangeError from data_ccxt.base.errors import ...
[ "qqzhangjian000@163.com" ]
qqzhangjian000@163.com
2cf6492ee3dfbfa6bd214d7e2b1ca83624f2a845
3b8e0e0f556e9dd1d632ac495efec58640eae570
/espacesis/users/apps.py
5d654f636ec7d30debca580f7ec79513816fe366
[ "MIT" ]
permissive
espacesis/espacesis
bfcee2ca5618056ddd410be6093068e2ae529f5e
413a268152dd80cfad4f85a04cf48305194faf15
refs/heads/master
2020-04-10T14:33:03.412749
2019-05-17T05:04:30
2019-05-17T05:04:30
161,080,197
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from django.apps import AppConfig class UsersAppConfig(AppConfig): name = "espacesis.users" verbose_name = "Users" def ready(self): try: import users.signals # noqa F401 except ImportError: pass
[ "jeanluc.kabulu@gmail.com" ]
jeanluc.kabulu@gmail.com
f2bcde7321c6389fa62d68ffadf1fe9e9a3e2738
139aadef22740cac74b7698f59f711e8b5fc519f
/database_setup.py
9abee79e367270f481e33727f847a2b838191f94
[]
no_license
marielesf/devPython
45adf0a627037508401b9711ae1beba16dfb2b8b
0838c1652688ba3e1ebf75cdf10b2627847d1585
refs/heads/master
2021-04-29T11:01:46.412892
2017-01-16T17:46:46
2017-01-16T17:46:46
77,857,304
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
import sys from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative impor declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declaritive_base() class Restaurant(Base): __tablename__ = 'restaurant' id = Colu...
[ "noreply@github.com" ]
marielesf.noreply@github.com
9988d9bd6fd7d7fe849917f6ed4e4acab908889d
d624cb4bfd4f97f363244b872746b0706625d870
/ENV/bin/django-admin.py
1218b5ffdebdda97b39544c685534ca915bdd9ac
[]
no_license
HelleEngstrom/python-lek
c19d72f3c25384378d458054144d70e701e53760
81ab49fa89c05c7b1de1a590c2010822f4281bf3
refs/heads/master
2020-04-15T22:41:13.768489
2019-01-10T15:21:09
2019-01-10T15:21:09
165,082,398
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#!/home/helena/Code/Python-lek/ENV/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "helena.engstrom@dynabyte.se" ]
helena.engstrom@dynabyte.se
0d1d878e2329886bb5feec51308c80e5bda54174
864857a25347f5119372d5313baef6f04a5294a2
/TAlibs_getsize.py
19ae3f4d651f6af7ef6cfc270d4836530c7fc937
[]
no_license
holianh/Linux_DeepLearning_tools
a34f59798cee958a22d738f996e81e1ef053a380
d3b6966adf3378319e4249520e8404cf25f637f9
refs/heads/master
2022-01-20T23:30:18.803634
2022-01-07T16:52:06
2022-01-07T16:52:06
118,061,747
7
6
null
2021-01-23T10:44:55
2018-01-19T01:48:20
Python
UTF-8
Python
false
false
799
py
import sys def get_size(obj, seen=None): """Recursively finds size of objects""" size = sys.getsizeof(obj) if seen is None: seen = set() obj_id = id(obj) if obj_id in seen: return 0 # Important mark as seen *before* entering recursion to gracefully handle # self-referential ...
[ "noreply@github.com" ]
holianh.noreply@github.com
114a64747dd2836aeedce52806d30e06ba7d8dea
9bb6d50cd768cbcc38fc231e766c90533ce857a0
/Data-Scripts/signal-graph-generator.py
ab30451a6e23fd82448eedbc19b07aaa3889fe43
[ "MIT" ]
permissive
jsteersCoding/mesh-network-research
87e6b146879f3796e427d5ef6790519672395cdb
d71e6b1a90b7c662248c14a6aea8aaa84ee30cd0
refs/heads/master
2020-12-12T18:43:29.059474
2020-01-16T00:48:48
2020-01-16T00:48:48
234,187,071
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
#!/usr/bin/python3 import os, os.path, sys, subprocess import numpy as np import glob import matplotlib.pyplot as plt from matplotlib import gridspec from matplotlib import dates import matplotlib.pyplot as plt import matplotlib.dates as md import numpy as np import datetime as dt import time import matplotlib font =...
[ "jsteers1github@outlook.com" ]
jsteers1github@outlook.com
69a71e23b6ecdd0920b8d65f870bbc97bea52e25
bc3faef4df41d04dd080a10de084d50962861b55
/4. Sensitivity Analysis, Appendix A/PF_PO_dim.py
7a701ce513995f178222f57196822491bc1181f2
[ "MIT" ]
permissive
rioarya/IDN_LC_WoodyBiomass
3f65ab79b759b8f9e3a11872dc83857a6b15acf1
0042fd4333212e65735f3643ecb59971d1bd9466
refs/heads/main
2023-07-28T04:23:39.737572
2021-09-14T05:23:14
2021-09-14T05:23:14
404,382,744
0
0
null
null
null
null
UTF-8
Python
false
false
99,986
py
# -*- coding: utf-8 -*- """ Created on Fri Dec 13 15:21:55 2019 @author: raryapratama """ #%% #Step (1): Import Python libraries, set land conversion scenarios general parameters import numpy as np import matplotlib.pyplot as plt from scipy.integrate import quad import seaborn as sns import pandas as...
[ "noreply@github.com" ]
rioarya.noreply@github.com
8810e80afe9d5667581d1c646a07dad52c3242c2
131ccf66fb787e9b1f0773a25fa518d1f2a3c5d0
/gui_programming/guimaker.py
f88dcbdb765fc650380d10a48a44bdb26e259768
[]
no_license
jocogum10/learning-python-programming
a0ba62abde49fd79762bcb7ba4a94bf8126afa77
035858bd332e3970d95db8bce7b1175e450802db
refs/heads/master
2020-07-07T17:08:00.743196
2019-12-13T05:32:47
2019-12-13T05:32:47
203,416,201
0
0
null
null
null
null
UTF-8
Python
false
false
6,637
py
""" ################################################################################ An extended Frame that makes window menus and toolbars automatically. Use GuiMakerMenu for embedded components (makes frame-based menus). Use GuiMakerWindowMenu for top-level windows (makes Tk8.0 window menus). See the self-test code (...
[ "jocogum10@gmail.com" ]
jocogum10@gmail.com
347f8b54dfb2cd1482e50fb225597255d806a74b
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-elb/huaweicloudsdkelb/v3/model/list_load_balancers_request.py
65c6fc83e8a69f5da83a58da3b5a9f60ed29c66c
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
31,415
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListLoadBalancersRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): T...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
c90209636c7817cc78f13b924ca3daa65ca95008
8f0f8b1eb80f203e96a7e1d9fead971354c223d4
/tests/test_source.py
0094ebe2656e8b8c8130e0ee928aa602f88596e0
[]
no_license
wangilamain/news-articles
949afc50bfd864696b949acc2cdcc0b41a7da774
a1ce6a9cd6f65d4af77ba2b9cb017e20b6266caf
refs/heads/master
2023-01-03T15:42:33.701963
2020-10-21T13:10:38
2020-10-21T13:10:38
294,770,754
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
import unittest from app.models import Source class SourceTest(unittest.TestCase): ''' Test Class to test the behaviour of the Source class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.new_source = Source('abc-news','ABC News...
[ "wangilayng@gmail.com" ]
wangilayng@gmail.com
9c6f41f489ce214acfea0123d11552e4e1d492a3
560ab81b2fd79a6531941abaec539a827561e3d8
/Solutions/Day01.py
c1dc8a0748fcfc34eb3f3394c17a0684c6e6845d
[]
no_license
crashb/AoC-2017
f0bb7be027624a4e3cf01614e0818c2fcaa4195f
1eafd9f60c65583c6590063a951f6c1e74d32488
refs/heads/master
2021-08-30T19:16:08.031974
2017-12-19T04:22:34
2017-12-19T04:22:34
112,997,689
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
# solution to http://adventofcode.com/2017/day/1 # takes string as argument and returns the solution to the first captcha # returns int solution def solveCaptcha1(input): runningTotal = 0 for i in range(0, len(input)): nextPlace = (i+1) % len(input) if input[i] == input[nextPlace]: runningTotal += int(input[i...
[ "snickerless1@shaw.ca" ]
snickerless1@shaw.ca
01593c9ffc95662e33bc80059daecc2592dd829f
08e26af5604fda61846c421d739c82ea0bd17271
/product_account_purchase_sale/account_invoice.py
c25db1448d9f73d91fe3eab11331df7acb6e59cc
[]
no_license
germanponce/nishikawa_addons
376342d6d45250eec85443abf4eb4f760256de85
765dd185272407175fbc14a8f4d702bf6e5e759d
refs/heads/master
2021-01-25T04:09:07.391100
2014-07-14T14:57:21
2014-07-14T14:57:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,410
py
# -*- encoding: utf-8 -*- ########################################################################### # Module Writen to OpenERP, Open Source Management Solution # # Copyright (c) 2010 moylop260 - http://www.hesatecnica.com.com/ # All Rights Reserved. # info skype: german_442 email: (german.ponce@hesatecnic...
[ "german_442@hotmail.com" ]
german_442@hotmail.com
c330b90db6252be01fbc219bc9c24d5fa11bc887
dc8ddd8f11893e4e4488f5f7ac910342f8654670
/tests/providers/google/cloud/operators/test_datafusion.py
466f67061d4d528790d9a970ccb2d07d4dbf3dca
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
GregKarabinos/airflow
2f737fd51c331eb8347d9e5415034522b6e6c704
606b697ebfcc188aa5fe4040c7163fbe2a004ce9
refs/heads/main
2023-07-14T21:39:44.703132
2021-08-28T01:57:40
2021-08-28T01:57:40
400,819,849
0
0
Apache-2.0
2021-08-28T14:59:28
2021-08-28T14:59:27
null
UTF-8
Python
false
false
10,129
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 u...
[ "noreply@github.com" ]
GregKarabinos.noreply@github.com
191e15031e0e54e43a73695692a2d3e896c4f570
83c8e5ef7daa8cdaedf2715e2dbb8e9284e6f143
/IQSAR/qdb.py
ea9c1c86f28cea5b4d49f3ee5781c8b60f5d6ef9
[]
no_license
rnaimehaom/iqsar
9c0cb63faaac5652bdb1898a6e02f05b71e6bbb6
0da80a54ca44d15f74de0b4472bee9186ba21cff
refs/heads/master
2023-03-19T02:33:51.277921
2019-04-26T21:11:49
2019-04-26T21:11:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,473
py
import os import pandas as pd import xml.etree.ElementTree as ET import urllib import copy '''Contains a qdbrep class. Declare using IQSAR.qdb.qdbrep(/absolute/path/to/unzipped/qsar-db/folder/) and perform getdescs, getyvals, getinchis, getcas functions on that object.''' class qdbrep(object): def __init__(se...
[ "lisagbang@gmail.com" ]
lisagbang@gmail.com
cda22f95a8b8f123306a72b5e3853c43c639b064
9969462a4c2697c6dd8eb1fa9449e64383bb8cfa
/D02/1966.py
e22aa6ae7e30d7679798c7049bee6fa9de3145ff
[]
no_license
daeungdaeung/SWEA
5ab97881a1d5acfec431c54425b1d0a20b6025b2
bf6cd36547aa8083cc9910680ae54a569ec556f9
refs/heads/main
2023-03-16T01:22:40.903755
2021-03-14T05:55:33
2021-03-14T05:55:33
331,610,833
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
# -*- coding: utf-8 -*- T = int(input()) # 여러개의 테스트 케이스가 주어지므로, 각각을 처리합니다. for test_case in range(1, T + 1): N = input() numbers = sorted(list(map(int, input().split()))) numbers = ' '.join(list(map(str, numbers))) print('#{} {}'.format(test_case, numbers))
[ "kangdy0131@gmail.com" ]
kangdy0131@gmail.com
7ffb1a1bb81a1616c2e51cff118ea72be2f444b9
17ca4f13eacc6844c592a5cecbebf4f243613097
/scraping.py
2aceea5be614489dfd89ebb1337f47206cce0240
[ "Apache-2.0" ]
permissive
Katsutoshi-Inuga/polar_dict_test
84bcf64b225697619784ea9bb931bc3254a3e1a0
06a4df059354a97de773d8682d0b7d648a9ad10c
refs/heads/master
2020-04-26T12:27:07.458046
2019-03-03T08:41:20
2019-03-03T08:41:20
173,549,685
0
0
Apache-2.0
2019-03-03T08:41:21
2019-03-03T08:30:39
null
UTF-8
Python
false
false
2,905
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Feb 13 02:04:20 2019 @author: hoge """ '''URLを扱うモジュール''' import urllib.request import re import time import pandas as pd from bs4 import BeautifulSoup reexp_ptn=r'^/movie/.*/[0-9]{6}/$' ptn = re.compile(reexp_ptn) #https://movies.yahoo.co.jp/movie/...
[ "katsutoshi-inuga@nova-system.com" ]
katsutoshi-inuga@nova-system.com
d9e074ff16cfed5d8bcc22f98c814cef1a3ee5b2
151ef5a1d157d51577de038f4d8f00033728d33c
/csv_reader/csv_reader.py
a68adb6c91b2007e7427d5c3d33523148bb10cdf
[]
no_license
AlexJon93/QuickText
2a3d296b75c701d5862b822287b2bc1f52adb37b
afdee3b6413446a121669920d7a4c5b500ad07f9
refs/heads/master
2020-04-27T23:47:59.490657
2019-03-10T07:17:46
2019-03-10T07:17:46
174,788,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,582
py
from models import member import csv import re def csv_parse(csvfile): csv_reader = csv.DictReader(csvfile) mem_list = [] for row in csv_reader: try: if(csv_validate_items(row)): first_name = row['name'].split()[0] surname = ''.join(row['name'].split()[1:...
[ "Alex.Jon.Jarvis@Gmail.com" ]
Alex.Jon.Jarvis@Gmail.com
e04c92677cbb155c256f71a8737c2bc35ac2456a
19212a25f5400546e0bbb05a1f225de3c3168dac
/venv/bin/f2py
40b8b74e1fe6939c08bacab163fd5a66dcc48c5c
[]
no_license
RohanBhirangi/Backpropagation
743ed0868b8c758b393dbb8f7b22102deea9a51d
ec335dbd56185273c1248a30a74b8eeef1152328
refs/heads/master
2021-09-06T03:41:59.236137
2018-02-02T05:22:01
2018-02-02T05:22:01
115,379,363
0
0
null
null
null
null
UTF-8
Python
false
false
801
#!/Users/rohanbhirangi/Desktop/NeuralProject/venv/bin/python3 # See http://cens.ioc.ee/projects/f2py2e/ from __future__ import division, print_function import os import sys for mode in ["g3-numpy", "2e-numeric", "2e-numarray", "2e-numpy"]: try: i = sys.argv.index("--" + mode) del sys.argv[i] ...
[ "rohanbhirangi@Rohans-MacBook-Pro.local" ]
rohanbhirangi@Rohans-MacBook-Pro.local
8ad7c9fac6126beb2635e088add4db030f20f835
8674907196f3a1d115291f165e691ad88a1cd205
/train_Resnet.py
8ee33885ee840f0ce9d7a297bf50e26295d84300
[]
no_license
Ziqi-Zhang-CU/IEOR4720
c03f0d15ca987e650fe137a0056ce3f28b0334a3
2709a70277ba9b3af47dfbee65ee41bb294d6ae1
refs/heads/master
2020-04-03T08:10:03.770339
2019-01-01T05:55:07
2019-01-01T05:55:07
155,124,099
0
0
null
null
null
null
UTF-8
Python
false
false
8,301
py
import sys import os import warnings from model_Resnet import * from utils import save_checkpoint import torch import torch.nn as nn from torch.autograd import Variable from torchvision import datasets, transforms import numpy as np import argparse import json import cv2 import dataset import time # command line ...
[ "noreply@github.com" ]
Ziqi-Zhang-CU.noreply@github.com
cd9330268acccd948ebe7171c712f4c7c268bfc7
68bebde9493864886ce123a11870934614e892e6
/async_alert_test.py
67021ae2ed89df8064b4dcd813c361f0d8477b28
[]
no_license
lovinhence/CryptoTools
cc82e680b901d16c0b77324a17956e95eb359992
f2b18fd13a376b6498375a8d1c835d600d329445
refs/heads/master
2021-09-13T15:59:22.142833
2018-05-01T23:42:18
2018-05-01T23:42:18
107,843,715
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
import time # alert_list = [("test1", 5), ("test2", 5)] # while True: # for i in range(len(alert_list)): # alert_str, ttl = alert_list[i] # ttl -= 1 # if ttl > 0: # alert_list[i] = (alert_str, ttl) # else: # # print(alert_list) # time.sleep(1) stack = [1,2,3,4,5...
[ "lovinhence@gmail.com" ]
lovinhence@gmail.com
5c4f01d6b99f7e424027e3f6fed94cbf10e9662a
0f4e7c49cf4de91f5befaa4cd881c7f200ca598d
/blog/migrations/0001_initial.py
808f4b6edfe71f284a7afff2778b92f9b4b02720
[]
no_license
Esiguas/my-first-blog
8eca070defd5f076a98b8dc28e637a4f1a1d6e64
6b94352ce4746b49b9787a8caee979c2d6d0bd6c
refs/heads/master
2020-05-25T00:49:38.454781
2019-05-23T04:23:30
2019-05-23T04:23:30
187,296,338
1
0
null
null
null
null
UTF-8
Python
false
false
987
py
# Generated by Django 2.0.13 on 2019-05-19 23:40 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AU...
[ "edwarjaviersiguasaquije@gmail.com" ]
edwarjaviersiguasaquije@gmail.com
64163386b58731800648bf773553e91cafbf6760
cf1373f70925a7602bcb8bf7da0f642e5348ad2d
/spiders/spider_comment.py
6994611814c4a419ff1f83dd698c744b802bcc68
[]
no_license
Mrsspider/xiecheng_spider_2018_03_02
2ec8227efed9bf4ec9dbdf055c31c7344286ad78
8c8f8aac98fe41e3c4edbff45f87015dcbe58190
refs/heads/master
2020-03-15T02:47:49.761898
2018-05-03T01:43:21
2018-05-03T01:43:21
131,926,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,786
py
import pymysql from functings.spider_function import * def main(url): html = gethtml(url) comment_id = re.findall('/(\d+)\.html',url)[0] result = htmlparser(html) title = result.xpath('//h1/text()')[0].strip() all_comment = result.xpath('//a[@data-anchor="yhdp"]/text()')[0].strip() max_page =...
[ "17600583156@163.com" ]
17600583156@163.com
4ea7ad91d54c17b9d66cbf4ff43596777fadc66b
0c7631ca297c9cf9409fd2066ccd7f387221a33d
/connectfour/agents/base_agent.py
15edfdacf78758bffbdfe7b39216d4243aa1523a
[ "MIT" ]
permissive
yongjiajun/ConnectFour-AI-Bot
281ca630d567576110ed40795de887fce9cc9eae
87953fe752e8360e875558d6f975113640ea3b43
refs/heads/master
2021-06-12T13:52:17.224013
2021-04-27T16:16:25
2021-04-27T16:16:25
179,936,071
0
1
MIT
2021-04-27T16:16:26
2019-04-07T08:15:10
Python
UTF-8
Python
false
false
1,754
py
from connectfour.agents.computer_player import RandomAgent import random class TestAgent(RandomAgent): def __init__(self, name): super().__init__(name) def get_move(self, board): """ Args: board: An instance of `Board` that is the current state of the board. Return...
[ "noreply@github.com" ]
yongjiajun.noreply@github.com
ce201b168571458d67ab20cafe4ac3fd2e96fb64
804587e359503c20bd2711abddaef319143e26f1
/positiveMom5-dhr.py
7e0fe510bfe581db0b277b0bbeb221830448e32d
[]
no_license
HaoruiDing/--dhr
cf02b51863a1e93b658a73a5a0439a320b8d2c7b
4d44078b1f6cf259d767f558275f7d35114ae0bd
refs/heads/master
2020-07-28T14:11:28.122042
2019-10-18T08:42:28
2019-10-18T08:42:28
209,435,523
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
__author__ = 'dinghr' import time import numpy as np import pandas as pd from FactorModule.FactorBase import FactorBase from DataReaderModule.Constants import ALIAS_FIELDS as t class Factor(FactorBase): def __init__(self): super(Factor,self).__init__() self.factorName = __name__.spl...
[ "noreply@github.com" ]
HaoruiDing.noreply@github.com
46d77a15620d1f1fdf602e2691b76dd11652c190
c6769a12358e53c52fddfdcacb78344d446b1771
/CastorTree/python/treemaker_data_Run2010A.py
b7d671f2946ec3bb84e2427df0c821758749b0ad
[]
no_license
xueweiphy/UACastor
d8717970b9843adc79513b51ea4c8294d89e40f3
91893bfb195ecd980b2afaf28e3fa045bca35745
refs/heads/master
2020-12-25T21:13:41.178545
2012-11-06T09:57:22
2012-11-06T09:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,983
py
import FWCore.ParameterSet.Config as cms from UACastor.CastorTree.TightPFJetID_Parameters_cfi import TightPFJetID_Parameters as TightPFJetID_Parameters_Ref from UACastor.CastorTree.LooseCaloJetID_Parameters_cfi import LooseCaloJetID_Parameters as LooseCaloJetID_Parameters_Ref from UACastor.CastorTree.TightCaloJetID_P...
[ "" ]
29b8f514e60d5fbaeb70814d543984d569fcfb8d
bde2f1c54d0623668bcf4a632c6ec888e5842e0c
/python/emails/dailyBurnDown.py
bfbe4bc6731ae59af3eab06ad2542a006e542c22
[]
no_license
donofden/vsts-mini
59f4956db1a6b6dfe03c6a9acfcef3ecbff3c2f4
73f3d7d29ce5f6f9f8201f34faa15a07414192cc
refs/heads/master
2023-02-19T11:39:55.986728
2022-11-14T14:54:25
2022-11-14T14:54:25
146,557,074
6
1
null
2023-02-15T21:42:06
2018-08-29T06:44:19
Python
UTF-8
Python
false
false
3,379
py
import sendEmail import psycopg2 import logging import time import json from decimal import * from re import escape from datetime import datetime from pathlib import Path from inspect import getsourcefile import os.path import sys current_path = os.path.abspath(getsourcefile(lambda:0)) current_dir = os.path.dirname(cu...
[ "aravindkumar.ganesan@gmail.com" ]
aravindkumar.ganesan@gmail.com
c7b8c670e66aeb00f430cf48793ce0ab5726fc35
4b5065a3e43fc14f61af27e07b8ef06f92ddb5c4
/6kyu_Are_they_the_same.py
0841c2936d6355c64cc7e4cf25ba3cff3f04cf6b
[]
no_license
WPrintz/CodeWars
bc6aa23530bb750d34a360ba593d26edb197c13c
94b9f8b08a8fd6e1b5ec8b4a6a21232e99042d4c
refs/heads/master
2020-05-23T09:08:50.446838
2017-08-04T19:53:43
2017-08-04T19:53:43
80,437,464
1
2
null
2017-02-16T21:37:48
2017-01-30T16:07:26
Python
UTF-8
Python
false
false
2,111
py
''' Are they the "same"? https://www.codewars.com/kata/550498447451fbbd7600041c Solved 01-24-2017 Description: 6 kyu Given two arrays a and b write a function comp(a, b) (compSame(a, b) in Clojure) that checks whether the two arrays have the "same" elements, with the same multiplicities. "Same" means, here, that the ...
[ "jnoholds@gmail.com" ]
jnoholds@gmail.com
2eac43f1af1e4da0fc06f5e28599b431529b8adc
b326dc4b12c138e0b55cb336f1d4f70959983a4a
/articles/views.py
9dfd7fb7546069b08127da715c7563153f1dc439
[]
no_license
dlasyd/b101
e59457623f8cfeb49d048914f79bb106df3670f0
fde819ce3b8d8bec76ec7d51396a7af0f9078923
refs/heads/master
2020-06-23T13:40:58.006361
2016-09-05T21:28:06
2016-09-05T21:28:06
66,212,821
0
0
null
null
null
null
UTF-8
Python
false
false
2,809
py
from django.core.paginator import Paginator, PageNotAnInteger, EmptyPage from django.shortcuts import get_list_or_404, get_object_or_404, redirect from django.http import Http404 from django.views.generic.detail import DetailView from django.views.generic.list import ListView import json from .models import Article, C...
[ "malevanyy@gmail.com" ]
malevanyy@gmail.com
a731a45a320bf8f9d842d1777a034237eb7216ca
226af2dc7e58189104337ede8a98926ba58d61fb
/Web_Python/week_4/routing/urls.py
78646e6362cd2d631205876f2fe1192abd93925b
[]
no_license
Termoplane/Coursera
4378c65b97a4b8ff7ae747adeb7dfb2b66924fe9
aad9d66549899d8f1b673ede2b7184fbde722c51
refs/heads/master
2021-07-01T17:24:41.500645
2020-05-03T13:25:20
2020-05-03T13:25:20
237,803,041
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^simple_route/$', views.simple_route), url(r'^slug_route/([a-z0-9-_]{1,16})/$', views.slug_route), url(r'^sum_route/(-?\d+)/(-?\d+)/$', views.sum_route), url(r'^sum_get_method/$', views.sum_get_method), url(r'^sum_post_meth...
[ "alex223666@gmail.com" ]
alex223666@gmail.com
6f9e09398ee6dce3c121ff01239fdf659c43cd2f
99601eae750c9d2b7a5552f9e584e7cba6f306b6
/Classifier/preprocess.py
79276e6de323278c7017dd01c406e83be50b6874
[ "MIT" ]
permissive
aitikgupta/EmotionRecog
0d799f3973bf22cd7b4a74cd048d57aa75258df7
2e440e46ed0b67bf7432f49135901e59ba9203d8
refs/heads/master
2023-05-02T17:21:15.763197
2020-08-20T16:52:45
2020-08-20T16:52:45
284,590,389
1
0
MIT
2021-05-25T04:31:56
2020-08-03T03:04:39
Python
UTF-8
Python
false
false
408
py
from dataset import getData from utils import balance_class, give_train_test_splits def preprocess_data(filename='/content/drive/My Drive/fer2013.csv', image_size=(48, 48)): X, Y = getData(filename) num_class = len(set(Y)) # balance = balance_class(Y) N, D = X.shape X = X.reshape(N, image_siz...
[ "aitikgupta@gmail.com" ]
aitikgupta@gmail.com
bd871487d9ff885a9d7179d519d66adfe7a8c26d
286e304aa95c0bfb94540cdc41c9d0a2eeeef3f7
/graph.py
6fd2cee01e77859e74d183b51b6737381d176a5c
[]
no_license
czhbruce/Miniproject-Two
80ff3b11aa14b2ff6a340609475559f2dc49c03d
123d9ba92e77c075d0e684892fe56006a26bb431
refs/heads/master
2020-04-11T00:43:02.000969
2016-09-12T13:22:51
2016-09-12T13:22:51
68,010,888
1
0
null
null
null
null
UTF-8
Python
false
false
7,637
py
import os import re import sys import urllib import requests import networkx as nx import matplotlib as plt import itertools def Download_page(): for i in range(2,27): url = 'http://www.newyorksocialdiary.com/party-pictures?page=%d' %i dir = './Pagelist' webname = 'Page%d' %i urllib....
[ "noreply@github.com" ]
czhbruce.noreply@github.com
512207d5f2dc40ee2795795e89637c8c548255c1
e159bfaa2eb5aff21f5d44d8f07a5e435937a551
/data/utils/remove_users.py
f984880bad75b19c11dfb913806393e04051b312
[ "BSD-2-Clause" ]
permissive
dssaenzml/federated_learning_nlp
fe4dbaa60a4caacd9b231d0859d2385465656707
b48fbeb3e78af5971885337203504c017ef1553b
refs/heads/main
2023-04-11T00:05:19.025000
2021-04-14T10:07:52
2021-04-14T10:07:52
347,849,479
2
1
null
null
null
null
UTF-8
Python
false
false
2,366
py
''' removes users with less than the given number of samples ''' import argparse import json import os from constants import DATASETS parser = argparse.ArgumentParser() parser.add_argument('--name', help='name of dataset to parse; default: sent140;', type=str, ...
[ "noreply@github.com" ]
dssaenzml.noreply@github.com
5c08b90e8a537566f3d0f68ef3b7cfc3bd16c5a2
6909efd8a5fdcf5df6e2d1757372b788cbcfa41b
/db/Proxy.py
4c660ca6a2d3f65c6d70868d15049e7d62d19dc6
[ "MIT" ]
permissive
dangod/ProxyPoolWithUI
80899f98130dfb0b02e8ad1b7be5a298d543c44c
f04e95fd32f877c086e2b4787dd98c8c1a3aa856
refs/heads/main
2023-03-23T21:37:12.823905
2021-03-17T05:39:33
2021-03-17T05:39:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,596
py
# encoding: utf-8 import datetime class Proxy(object): """ 代理,用于表示数据库中的一个记录 """ ddls = [""" CREATE TABLE IF NOT EXISTS proxies ( fetcher_name VARCHAR(255) NOT NULL, protocal VARCHAR(32) NOT NULL, ip VARCHAR(255) NOT NULL, port INTEGER NOT NULL, validate...
[ "believe.chenyu@gmail.com" ]
believe.chenyu@gmail.com
5f57f6473fb8cdbca4cc4ee0af9068cf6a8b3399
9dee425a7c020972e7e7ee7416428bb9c38065b4
/PanoSeg/RF-mmdetection/configs/rfnext/rfnext_fixed_single_branch_cascade_mask_rcnn_hrnetv2p_w18_20e_coco.py
4313607089129709acf54dce7dcb5d53cd4cd88f
[ "Apache-2.0" ]
permissive
MCG-NKU/ExperiCV
83a2f5430716b08ad89820c4728350b151ad0e93
a572952b33fb7a1da1bef5fbb9b357f1cc1274c9
refs/heads/main
2023-05-23T14:13:49.152595
2023-01-01T09:42:14
2023-01-01T09:42:14
571,400,533
12
2
null
2022-12-25T11:30:47
2022-11-28T03:21:44
Jupyter Notebook
UTF-8
Python
false
false
1,174
py
_base_ = '../hrnet/cascade_mask_rcnn_hrnetv2p_w32_20e_coco.py' # model settings model = dict( backbone=dict( extra=dict( stage2=dict(num_channels=(18, 36)), stage3=dict(num_channels=(18, 36, 72)), stage4=dict(num_channels=(18, 36, 72, 144))), init_cfg=dict( ...
[ "zhengyuanxie2000@gmail.com" ]
zhengyuanxie2000@gmail.com
89100f2f7b48de62a884d9b36f7c51e2e31a7150
adbb149cba420b9dd11825c2d4af6998b00fc1c7
/server/data/events_data.py
243dc1966f786b61ea0353a97f1a1142c22af504
[]
no_license
JessKaria/project-4
36099d85479371f3d12aaf84e1f82fc261f51573
7a6cdcfe76df0837d24b74bc675d4c6926ba0692
refs/heads/main
2023-04-05T10:06:27.308408
2021-04-09T10:39:51
2021-04-09T10:39:51
346,420,686
1
0
null
null
null
null
UTF-8
Python
false
false
7,623
py
from models.events import Event from models.category import Category list_categories = [ Category(category="business"), Category(category="food"), Category(category="health"), Category(category="music"), Category(category="charity"), Category(category="community"), Category(category="fashi...
[ "jesskaria1@gmail.com" ]
jesskaria1@gmail.com
30563f1f0d1d655fea8cc0dad2b55e5530bab2b8
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-cph/huaweicloudsdkcph/v1/model/list_resource_instances_request.py
0823fdc434041d9670e7c3631928d7a2eaaf42b5
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,217
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListResourceInstancesRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
056124ade6036e7d9c1b4817404a25f132abcf7f
ecba842cc189499da2c98248e92a458dbcc0dc67
/apps/website/privacy/urls.py
59aa42a56262eec8c222c517c823f3eb3f7c6516
[]
no_license
aquaristar/hhlearn
c23e94ab93221419db74409f44d8310244212190
ec409b7886bacb33cd3f5c3a724243a30158cd54
refs/heads/master
2023-03-10T15:46:39.740438
2019-11-16T19:19:02
2019-11-16T19:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from django.conf.urls import patterns, include, url urlpatterns = patterns('apps.website.privacy.views', url(r'^privacy/$', 'privacy', name='privacy'), )
[ "aquaristar@gmail.com" ]
aquaristar@gmail.com
a34435840db9da53d3018c4c656ccd70c7b8a749
7c28fc07bd78f5e0387b0cb573736d8c5affb1c9
/Grad_Cam/grad_cam.py
b653f3813bbd40fbd187fa59ad9b7babbb11d537
[]
no_license
Tobias-Frenger/ai_thesis
a84d0b891e3eda240cd2415e7ae84825e45a9b9d
6f81c6bb0d6386b6dacc7e9a4d557760c77e891e
refs/heads/master
2022-04-12T00:35:01.474646
2020-03-26T09:09:36
2020-03-26T09:09:36
250,200,093
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
# -*- coding: utf-8 -*- """ Created on Tue Feb 11 23:22:43 2020 @author: Tobias """ import tensorflow as tf from tensorflow import reshape from tensorflow.keras import models from tensorflow.keras import backend as K import numpy as np import cv2 import matplotlib.pyplot as plt def grad_cam(model, layer_name, img_loca...
[ "noreply@github.com" ]
Tobias-Frenger.noreply@github.com
7607c9acf511d475ac0caeea957dd878d0a57ef1
b0d55e80bbdbfbfde5f5149f76936df2376342cf
/kiva/models/__init__.py
6334e2ed7141a79b4e30b2d92c5c6eb332f6a43a
[]
no_license
matin/kiva_data
144750f721f9aa43d7c88e255604c22fb3184f44
8ec992c31581140f2d5b7e5febea64bbeecf0eb2
refs/heads/master
2021-01-01T16:41:40.502494
2017-09-03T01:40:22
2017-09-03T01:40:22
97,891,602
0
0
null
null
null
null
UTF-8
Python
false
false
91
py
from .loans import Loan from .loan_lenders import LoanLender from .partners import Partner
[ "mtamizi@gmail.com" ]
mtamizi@gmail.com
0724e45aeed7460e471511187c5b3248453b5daa
39ec72533c1914e6c3671f00392e7ee920a860ec
/data/snippets/pillow_text_alpha.py
e0c8b3e31b9558d15a6dede4bf485f3403f8a5a5
[]
no_license
koo5/hackery2
6e7ce0e78088c64215e13281791b929c71b715e8
197306197eefc68f61c8cca25211430cf1c7e06c
refs/heads/master
2023-08-29T21:34:10.010240
2023-08-19T21:48:38
2023-08-19T21:48:38
99,683,020
5
1
null
2021-08-12T23:49:24
2017-08-08T10:58:02
Tcl
UTF-8
Python
false
false
702
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from PIL import Image, ImageDraw, ImageFont # get an image base = Image.open('/home/koom/Untitled.png').convert('RGBA') # make a blank image for the text, initialized to transparent text color txt = Image.new('RGBA', base.size, (255,255,255,0)) # get a font fnt = Image...
[ "kolman.jindrich@gmail.com" ]
kolman.jindrich@gmail.com
a578e9df112d8212f39e3e751254ec4e1957cceb
99b062cb9f5f3ff10c9f1fa00e43f6e8151a43a6
/algorithm/day21/순열2.py
0a6081a5a78fa25bfd7c44e27f558a5b94a4ee49
[]
no_license
HSx3/TIL
92acc90758015c2e31660617bd927f7f100f5f64
981c9aaaf09c930d980205f68a28f2fc8006efcb
refs/heads/master
2020-04-11T21:13:36.239246
2019-05-08T08:18:03
2019-05-08T08:18:03
162,099,042
4
0
null
null
null
null
UTF-8
Python
false
false
302
py
def myprint(n): for i in range(n): print("%d" % (a[i]), end=' ') print() def perm(n, k): if n == k: myprint(n) else: for i in range(k, n): a[i], a[k] = a[k], a[i] perm(n, k+1) a[i], a[k] = a[k], a[i] a = [1, 2, 3] perm(3, 0)
[ "hs.ssafy@gmail.com" ]
hs.ssafy@gmail.com
d2241a7063991c45c1f4f3a3e514a0b2f94a7d4f
eb73cc75bcda7a26784674c09a1cd14227889547
/CIFAR10.py
5aea00b3633ff54bb2692c2cdbe4a567b4071af0
[]
no_license
junTaniguchi/python
232fc43b8650b4168264120fba1b0f686ada042f
09ca809bee9a96ff0a79e84f827afd9256a1f15a
refs/heads/master
2021-01-22T05:28:23.793408
2017-03-25T12:44:54
2017-03-25T12:44:54
81,666,610
1
0
null
null
null
null
UTF-8
Python
false
false
4,868
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Feb 11 19:22:24 2017 @author: JunTaniguchi """ import numpy as np import matplotlib.pyplot as plt import tensorflow as tf np.random.seed(20160704) tf.set_random_seed(20160704) #データファイルから画像イメージとラベルデータを読み取る関数を用意する。 def read_cifar10(filename_queue): ...
[ "noreply@github.com" ]
junTaniguchi.noreply@github.com
77943a4d3e4d1148d94b9ad235dc96195e234ab2
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/OTLModel/Datatypes/KlVerkeersregelaarVoltage.py
34ad4ce0c129e30a204bef55ade1b07e3f23d16f
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
1,838
py
# coding=utf-8 import random from OTLMOW.OTLModel.Datatypes.KeuzelijstField import KeuzelijstField from OTLMOW.OTLModel.Datatypes.KeuzelijstWaarde import KeuzelijstWaarde # Generated with OTLEnumerationCreator. To modify: extend, do not edit class KlVerkeersregelaarVoltage(KeuzelijstField): """Keuzelijst met de v...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be