blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
20fd33920d2f04fa9ff9291c2a1a4cec9afa66e0
b7add0d1b1effc50b27d3316fa5889a5227e5b19
/Robots/roboquasar0.1/tests/video_test.py
d5c6f649c8e6c0ec3106fabdaff3cdec653dfe20
[]
no_license
Woz4tetra/Atlas
efb83a7c7b2698bf8b36b023f7aa573cc38284f6
c7380868a9efef9d1594ed7aa87187f03a7e4612
refs/heads/master
2020-04-04T06:25:50.657631
2017-04-05T01:53:15
2017-04-05T01:53:15
50,269,756
3
1
null
null
null
null
UTF-8
Python
false
false
4,056
py
from atlasbuggy.interface import RobotSimulator from atlasbuggy.interface import RobotRunner from atlasbuggy.robot import Robot from atlasbuggy.vision.camera import Camera import time import cv2 from multiprocessing import Process, Queue, Lock, Event class Pipeline(Process): def __init__(self): self.fram...
[ "woz4tetra@gmail.com" ]
woz4tetra@gmail.com
097bda6380cf4c3c5d7e9e5bef07aeab97a3127f
a90215c7f54fa7ea5792c673aac5eebc0bccdc10
/CS3243_P2_Sudoku_XX_ac3.py
4239cbf11710ffa65360daf94882e63dbde1ce2d
[]
no_license
FEIHONGYI857/CS3243_project2_group8
c137af5c198704eba0e4b0234fcc8b233f3d667f
28f0a64111a80be6fcd617e7587e7b9f669e0977
refs/heads/master
2021-05-17T21:21:38.463227
2020-03-30T10:46:38
2020-03-30T10:46:38
250,958,329
0
0
null
2020-03-29T05:08:50
2020-03-29T05:08:49
null
UTF-8
Python
false
false
7,139
py
import sys import copy # Running script: given code can be run with the command: # python file.py, ./path/to/init_state.txt ./output/output.txt class Sudoku(object): def __init__(self, puzzle): # you may add more attributes if you need self.puzzle = puzzle # self.puzzle is a list of lists...
[ "noreply@github.com" ]
noreply@github.com
bd90bac4da03e24fabe6cb8322a8367a1012cd2b
243d3241959f1aa07f53b4d2972ba7b72df5f8c9
/webapp/static/fusioncharts/samples/xy_chart.py
d4c4d70d74768fcf77b10f29ce0201cc60c10b89
[]
no_license
akr888/Creating-and-Querying-a-NHTS-Database
51015bbe384c634a44f6c270714be59da3711190
87e0022f4ec93d8b0a3749286235b431de17a471
refs/heads/master
2020-03-19T08:46:48.278423
2018-06-06T18:26:21
2018-06-06T18:26:21
136,234,221
1
1
null
null
null
null
UTF-8
Python
false
false
8,477
py
from django.shortcuts import render from django.http import HttpResponse # Include the `fusioncharts.py` file that contains functions to embed the charts. from ..fusioncharts import FusionCharts # Loading Data from a Static JSON String # Example to create a Scatter chart with the chart data passed as JSON string form...
[ "akr888@win2.cs.ksu.edu" ]
akr888@win2.cs.ksu.edu
125eb52072b17b6481375543446e5ef10ba04e01
7b5e64b2960260b5dd240cf1e2bea2c07697eaed
/interview_prep/strings/common_child.py
ed85815729ce2d7cb37a492efef2b176041664ce
[]
no_license
sotsoguk/hackerrank
04f2d25ce94c878af7ed60f24817081e20ee551d
bbc87d8bd78df2e9b17c1a983f0424cbc6f8ca80
refs/heads/master
2021-09-08T05:51:23.667282
2021-08-30T23:38:10
2021-08-30T23:38:10
181,692,027
0
0
null
null
null
null
UTF-8
Python
false
false
12,021
py
from collections import defaultdict from typing import DefaultDict def cc(s1,s2): table = defaultdict(int) for r,c1 in enumerate(s1): for c,c2 in enumerate(s2): if c1 == c2: table[(r,c)] = 1+ table[(r-1,c-1)] else: table[(r,c)] = max(table[(...
[ "sotsoguk@gmail.com" ]
sotsoguk@gmail.com
ce0f094449f7839a9961db18847e127b63203a3b
3edaad67f993f7e798cf47ffca774cb0d31d4afd
/store_server/wsgi.py
37f3a4193096476d8a38c7c363ed64a3db5bb997
[]
no_license
AnyiYim/book_store
2150bb5f9edad05102a6ea8f3efccf3bbcd5e1d2
43f3da8770dcbe65b0d6c249d328daeb6f6b5239
refs/heads/master
2020-04-10T22:20:15.689190
2018-12-12T08:25:08
2018-12-12T08:25:08
161,321,275
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for store_server project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "759502117@qq.com" ]
759502117@qq.com
97710b3e759ea8389e52f4ccf09e2ee30031d846
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part001836.py
441c60f8074c8598531da9bea71fd2f496347da7
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,292
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
7b1dc366aad385a87238c269d4d4385def923a70
688b20033dba33755e0fb5e5e2b3fdd448885126
/scene/scene.py
ec8608ef154bf9a5f505f567bb938f4088b6d1ed
[]
no_license
KaappoRaivio/mycurse
9db0d149ec7a875d191effcedcd11ecc9211ec0d
109b77640a64ff6782839565673c6a1847490351
refs/heads/master
2020-06-08T12:44:41.195259
2019-10-24T06:06:33
2019-10-24T06:06:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
from __future__ import annotations import enum import inspect import itertools import os from typing import List, Callable, Text from _curses import curseswrapper def converterFactory(pallette: str, lower_bound: int, upper_bound:int): step = (upper_bound - lower_bound) / len(pallette) def wrapper(value: in...
[ "kaappo.raivio@gmail.com" ]
kaappo.raivio@gmail.com
ec230dede7ff241b77416a35d0d60224bf633c9b
66198805c5e46d7f10f28a25a566a3e9764ff4a2
/homeassistant/util/percentage.py
10a72a85dff438a95a73a304fd10807f8787b011
[ "Apache-2.0" ]
permissive
pgenera/home-assistant
4540bd7e180bc48c4ad1ecd1ce74c9e8aa2cb1b7
372ed2db910cd6c73c6681fcc34a69645819cf0c
refs/heads/dev
2022-05-20T12:27:13.176262
2021-02-25T12:40:01
2021-02-25T12:40:01
76,890,157
0
0
Apache-2.0
2022-04-12T10:57:32
2016-12-19T19:17:22
Python
UTF-8
Python
false
false
2,836
py
"""Percentage util functions.""" from typing import List, Tuple def ordered_list_item_to_percentage(ordered_list: List[str], item: str) -> int: """Determine the percentage of an item in an ordered list. When using this utility for fan speeds, do not include "off" Given the list: ["low", "medium", "high...
[ "noreply@github.com" ]
noreply@github.com
d14f03817c49777e94f1617af2ba6743424c2478
ae326c4e6a2b2d5b67fa8d175249ef90f6a3021a
/leo/plugins/importers/otl.py
9921bc4aeaab3c51e8ae28a0d40df3d03fbfb639
[ "MIT" ]
permissive
frakel/leo-editor
f95e6c77d60485d80fddfbeaf35db961cf691177
b574118ee3b7ffe8344fa0d00dac603096117ac7
refs/heads/master
2020-03-28T10:40:24.621077
2018-10-23T14:39:31
2018-10-23T14:39:31
148,132,817
0
0
MIT
2018-09-10T09:40:18
2018-09-10T09:40:18
null
UTF-8
Python
false
false
3,081
py
#@+leo-ver=5-thin #@+node:ekr.20140723122936.18150: * @file importers/otl.py '''The @auto importer for vim-outline files.''' import re import leo.core.leoGlobals as g import leo.plugins.importers.linescanner as linescanner Importer = linescanner.Importer #@+others #@+node:ekr.20161124034614.2: ** class Otl_Importer cla...
[ "edreamleo@gmail.com" ]
edreamleo@gmail.com
877e6765c899ba23a828554f16417234025d6583
79e40a5f39ccc173a9c1341a3b54ede6bf2c0325
/django_project/users/migrations/0001_initial.py
9f3ff1b8dde9f18cf5ffd2d74593bd9528b2ea90
[]
no_license
Seifeldin7/Django-Blog
5677a10a82068ac06715d38464ddc228feae0d50
3d1fa5cb6a089cda18465915d8f8e5643674b7c1
refs/heads/master
2020-04-10T10:57:25.234154
2018-12-09T22:39:31
2018-12-09T22:39:31
160,980,611
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
# Generated by Django 2.1 on 2018-12-03 19:00 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), ...
[ "noreply@github.com" ]
noreply@github.com
29a390a573c00034b79060277efec0083dac3d4b
4a6c81f79121a46071ac2861f7d34a09fe25d5c3
/baekjoon/1018_bruteForce.py
8ec2533ada9afe7a00a68e671a29f415712f99f2
[]
no_license
ghleokim/codeTestProblems
3faa6913b7ea1822f6fd08edba559e562499d188
8d329c401979cfd8d9be0480ccc5b0a22aaf7fcf
refs/heads/master
2020-06-17T17:27:32.441855
2019-09-07T16:22:17
2019-09-07T16:22:17
195,992,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,035
py
# https://www.acmicpc.net/problem/1018 """ 8*8 타일이 정해진 이후 B first or W first? B first일 때 타일 W first일 때 타일 둘 중 최소값 저장 """ # a = 'abc' # b = 'abb' # c = sum(map(lambda x: int(*map(lambda y, z: 1 if y == z else 0, *x)), zip(a,b))) refs = ('BWBWBWBW', 'WBWBWBWB') def compare(tar, row): compA = sum(map(lambda x: in...
[ "gh.leokim@gmail.com" ]
gh.leokim@gmail.com
fe99c02caa8d8a8af0c8ca665b52512ea6c9506f
d68fb4c7bd82f4adcde5ffedca95fc38d2be6221
/timetable/migrations/0002_department_dept_id.py
195c6aafa14f6ad96cd2cd92565a24bb465054b3
[]
no_license
proflamyt/timetable-generator-
24e6c8b99892385ad606161204ba3e61d5bea7a9
13f5c4a3aeb0b9f2409bd89d0107e6a05737c437
refs/heads/main
2023-08-15T00:18:21.052553
2021-09-16T08:01:52
2021-09-16T08:01:52
407,078,298
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
# Generated by Django 3.2 on 2021-09-11 11:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('timetable', '0001_initial'), ] operations = [ migrations.AddField( model_name='department', name='dept_id', ...
[ "proflamyt@gmail.com" ]
proflamyt@gmail.com
7a3a01ea717ebdfb94b9a709d0e8e04b402209bd
65329299fca8dcf2e204132624d9b0f8f8f39af7
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/is_reachability/neighbors/neighbors_/default_metric/__init__.py
318c92982bc5ea8bbcc2a34b3d19ea00bf9daa1a
[ "Apache-2.0" ]
permissive
darylturner/napalm-yang
bf30420e22d8926efdc0705165ed0441545cdacf
b14946b884ad2019b896ee151285900c89653f44
refs/heads/master
2021-05-14T12:17:37.424659
2017-11-17T07:32:49
2017-11-17T07:32:49
116,404,171
0
0
null
2018-01-05T16:21:37
2018-01-05T16:21:36
null
UTF-8
Python
false
false
9,620
py
from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType, RestrictedClassType, TypedListType from pyangbind.lib.yangtypes import YANGBool, YANGListType, YANGDynClass, ReferenceType from pyangbind.lib.base import PybindBase from decimal import Decimal from bitarray import bitar...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
ce4d80e03914f4245644cca58c8382e45737940a
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2506/60668/280309.py
8f06c33b8bb93614f251459d21e5f94a059a400f
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
396
py
def find_12_longest(list = []): re = [] for i in range(len(list)): j = i co = list[i] con = 1 while(j <= len(list)): if(list[j]>co): co = list[j] con+=1 j += 1 re.append(con) print(max(re)) if __name__=='__main__...
[ "1069583789@qq.com" ]
1069583789@qq.com
79e26aa8935cce4fae4215c88fbb720f1016ecc0
8b46c8c7c8d30bf3c3e6bc1e075c1a5cc31bbeeb
/posts/migrations/0007_follow.py
68ed9582949d5fd67d9e7d1e8d6201560bdad621
[ "MIT" ]
permissive
Lokteved/hw05_final
e5f07f6636d99b98986b972ae45d7decbef5e135
faf2f21ad2f9a263d3e024038a20e2dfa08ba9e2
refs/heads/master
2022-11-15T17:34:05.588565
2020-07-03T12:23:52
2020-07-03T12:23:52
275,792,668
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
# Generated by Django 2.2.9 on 2020-06-30 11:11 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('posts', '0006_comment'),...
[ "lokteved@yandex.ru" ]
lokteved@yandex.ru
baee9cb9186853fe6ff19a43e4d8a480946760b3
d6ec20fe9f0ae0a12ce55e97b9965e14fc390416
/School/urls.py
9aec2b13b3a0b359d2800c26f88eb86eecaca447
[]
no_license
declo32/School
b44fc4430845d016d373b89c8178a169a19f8694
6531e2bb4f14e2e9e12d2aa8d4e1fb787d0ce104
refs/heads/master
2020-06-19T07:10:09.497085
2017-01-26T18:03:34
2017-01-26T18:03:34
74,913,907
0
1
null
null
null
null
UTF-8
Python
false
false
509
py
from django.conf.urls import url, include from django.contrib import admin from django.conf import settings from django.conf.urls.static import static import belle.urls urlpatterns = [ url(r"^belle/", include(belle.urls)), url(r'^admin/', admin.site.urls), ] # shouldn't be in the same place as the rest upon d...
[ "declanone32@gmail.com" ]
declanone32@gmail.com
83d2857eeb81a257f21753dcc2fa3bda43210f56
f583ca041b31a6fbe8160df4701282cf43e835c5
/0099-init.py
2f84766d81a3e8a14fd353f8ef7799dc8dd5ce40
[]
no_license
texcoffier/StoX
6a5fc47f73ec3a88b9e09b94efa1dbdac9b0d7cd
0bfc40dfb333452ee50c75c9ba4953d244bd0fac
refs/heads/master
2020-03-19T06:14:31.219490
2018-06-26T06:06:23
2018-06-26T06:09:35
136,003,052
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
"""Core: initialize by calling «init» hook""" blocks.call('init')
[ "thierry.excoffier@univ-lyon1.fr" ]
thierry.excoffier@univ-lyon1.fr
4230ee9753690ab37214d05eb6fdf49fe8d617e8
424014210e0e029fd6525105508e9a802ac83573
/misc/py/common.py
6e614d29d72ca46c4ddfa7eb0ba5b9765f3fdee0
[ "Apache-2.0" ]
permissive
sampotter/olim
c6892d4212f823024ee1098121c1391dbf28534a
e86e19ebc498a802adfe034f4c84b9919bace857
refs/heads/master
2021-03-30T18:17:54.876894
2020-10-05T20:45:56
2020-10-05T20:45:56
93,203,491
1
1
null
null
null
null
UTF-8
Python
false
false
2,589
py
BUILD_TYPE='Release' import os import sys build_path = os.path.abspath('../../build/%s' % BUILD_TYPE) print(build_path) if build_path not in sys.path: sys.path.insert(0, build_path) import pyolim as olim import numpy as np import time marchers = [olim.BasicMarcher, olim.Olim4Mid0, olim.Olim4Mid1, olim.Olim4Rect,...
[ "sfp@hush.ai" ]
sfp@hush.ai
11b8d41fec616cc67b91713940f64d5a879b29f7
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_006_20180621095510.py
05cab38ebdd0db44f1cf1174db8ec3a7208062db
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
4,836
py
from random import randint sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6, 3, 1], [9, 5, 6, 1,...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
3545ea068936863c0e7c64f5432d8f79f5bb77f3
f8d14d10d8d9a9a43ec454db3f3d95ace3ee520c
/sensors/Adafruit/Adafruit_GPIO_Platform.py
49c7ac2189b24ecbc6e1c1fdf389db2194942efd
[]
no_license
erhnam/Raspirover
288f306a5b6cb48b6a677c9f26ff78c9a917ff56
cb46e7b2fa703362f83f1caea94d7f689509b84d
refs/heads/master
2021-06-25T19:54:03.676658
2021-02-14T13:00:37
2021-02-14T13:00:37
73,689,132
0
0
null
null
null
null
UTF-8
Python
false
false
4,190
py
# Copyright (c) 2014 Adafruit Industries # Author: Tony DiCola # 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, mo...
[ "esestemicorreo@hotmail.com" ]
esestemicorreo@hotmail.com
8cd5555a8cd5e94ba5e900118102a1b6074b01c3
167face5e34f69ba36b8a8d93306387dcaa50d24
/23funcoes_cast.py
e9044e64e2e7b6fe1532c4d2a85bc7a0008330af
[]
no_license
william-cirico/python-study
4fbe20936c46af6115f0d88ad861c71e6273db71
5923268fea4c78707fe82f1f609535a69859d0df
refs/heads/main
2023-04-19T03:49:23.237829
2021-05-03T01:24:56
2021-05-03T01:24:56
309,492,617
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
import re def is_float(val): if isinstance(val, float): return True if re.search(r'^\-{,1}[0-9]+\.{1}[0-9]+$', val): return True return False def is_int(val): if isinstance(val, int): return True if re.search(r'^\-{,1}[0-9]+$', val): return True return False...
[ "contato.williamc@gmail.com" ]
contato.williamc@gmail.com
59274581f706141dcf76b6c0ad16c88a286f6c4a
64832dd1e64cfc6de83c5abf099461eda50f648c
/school/models.py
9c0012ca777243bedcb7b07afbec1e52a7e3a42a
[]
no_license
showzvan/mysite
d7e79e16eb8c2d3598d00d1a96fa0b1940765913
32826c83915a2f95440c04ed20a7800d2c343ac1
refs/heads/master
2020-04-27T17:05:19.143296
2019-03-08T09:09:45
2019-03-08T09:09:45
174,504,656
0
0
null
null
null
null
UTF-8
Python
false
false
3,989
py
from django.db import models from user.models import Areas, Provinces, Citys # 院校类型表 class SchoolType(models.Model): type_name = models.CharField("类型名称", max_length=255) notes = models.TextField("分类说明", null=True) is_status = models.BooleanField("状态", default=True) # true 可用 false 不可用 class Meta: ...
[ "1183005957@qq.com" ]
1183005957@qq.com
093becada6d26d3731529fc50481a3f9baed37ab
afd5dd9948d4a12f0413b46892648601a3df78bf
/venv/bin/easy_install
c732d8baa0c1cfbf1adcc4723d0e79c228cc3a77
[ "MIT" ]
permissive
radekwarowny/goldlist_db
d0d74e60a66fee27cb890d581bb49035e16b92d6
5b5581a1bf9a46747300e26f04660ddb1b98b00b
refs/heads/master
2023-01-20T17:45:56.673296
2020-11-30T13:19:32
2020-11-30T13:19:32
317,227,688
0
0
null
null
null
null
UTF-8
Python
false
false
263
#!/home/radek/PycharmProjects/gl_db/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "radekwarownydev@gmail.com" ]
radekwarownydev@gmail.com
b4d8fc8ab2d6d7827b14fa303d91b84881b51a4f
a56d492e99fc0e77da8d4be795e4b31c0e481a5d
/oldz/themain.py
28c6e16ba28ebe0d6f5d40183e5abcac3417f58d
[]
no_license
samuel637/Misadventure
f74a00ae54465fd7c77884d8af718066add59562
649dbb4bbd4aaa729c4f4fa141b64e1d086adf8a
refs/heads/master
2020-07-20T21:34:11.713916
2019-09-06T04:58:55
2019-09-06T04:58:55
206,712,678
1
0
null
null
null
null
UTF-8
Python
false
false
1,940
py
from time import sleep import sys from os import system import textstorage as ts #initial clear screen to pretty up terminal system('cls') #loop so user can access multiple pieces of data in one session. type exit to exit (so exit can't be a key in the dictionary) while True: i = input("Enter Key\n") if i == "...
[ "ShaeoSindee@gmail.com" ]
ShaeoSindee@gmail.com
8ec7a7b1c085ad2e6b7846578fd1ce5fc96e5685
ea2535aff6cc6322dfc65002d39520defdc30d18
/status/rc.spec
b41142d07fa9b0c25c0bbfe9c562f86df94651e6
[ "Apache-2.0" ]
permissive
tgraf/apisim
7dbb441fc75db412c4c20cfe7b9863e376378ef9
71751e71d34111a210a81e7f69d4971d2ebf8c75
refs/heads/master
2021-04-29T04:47:23.624255
2017-01-14T19:53:16
2017-01-14T19:53:16
78,020,383
0
0
null
null
null
null
UTF-8
Python
false
false
896
spec
{ "kind":"ReplicationController", "apiVersion":"v1", "metadata":{ "name":"status", "labels":{ "k8s-app.apisim":"status" } }, "spec":{ "replicas":1, "selector":{ "k8s-app.apisim":"status" }, "template":{ "metada...
[ "tgraf@suug.ch" ]
tgraf@suug.ch
377652f054eed8f11a04e077f338ae614799d64b
afde732d20cfc0500f0681a47a5984088f6e6ec9
/www/cgi-bin/mysite_latest/testing 18-6/scan_cluster.py
cbb24749c99f43864e98cfb4caeb804c38dca3a1
[]
no_license
lordzuko/IVORY-B.R.I.G.H.T
e4de2631ddca5c2daeafa7054a30b9f137518d72
cc2e4aeb1d4b172af95b0368a995269573936bcb
refs/heads/master
2020-04-05T22:57:48.864476
2016-10-01T17:01:21
2016-10-01T17:01:21
41,604,963
1
1
null
null
null
null
UTF-8
Python
false
false
262
py
#!/usr/bin/python2 import os import sys import commands as cmd def main(): #os.popen("mkdir -p /root/Desktop/testing/hadoop_setup") os.popen("nmap -sP -n 192.168.0.0/24 | grep 192. | awk -F' ' '{print $5}' > nodes") if __name__ == '__main__': main()
[ "himanshumaurya2214225@gmail.com" ]
himanshumaurya2214225@gmail.com
b2e7e2c98c8e10eb0cbb013f3212657a91015ba7
d80aad3af9349861c164f5102f4a4fd62bbb7b35
/train/util.py
3fef6ba032afe47d031105074acaabf5dfff8a72
[ "Apache-2.0" ]
permissive
yucongo/AI-writer_Data2Doc
303edf3568afe0c707794a3b640eb80eec9df027
5d6044640a0e0ea68cc729212de7572ea24ef9ba
refs/heads/master
2020-03-15T19:41:36.125974
2018-05-06T07:11:36
2018-05-06T07:11:36
132,315,065
0
0
Apache-2.0
2018-05-06T07:07:21
2018-05-06T07:07:21
null
UTF-8
Python
false
false
1,973
py
"""Some useful utilizations. Borrowed from Pytorch Tutorial.""" import time import math import heapq import torch def asMinutes(s): m = math.floor(s / 60) s -= m * 60 return '%dm %ds' % (m, s) def gettime(start): now = time.time() return asMinutes(now - start) def timeSince(since, percent): ...
[ "gau820827@gmail.com" ]
gau820827@gmail.com
f78d1b8c57a2e9547fea4a3d195c89890d1bb9fa
f5d39762fabef6c50d98584d051070e04ef7cb46
/Hyperskill/Python/Easy/Hangman/Problems/Chaos/main.py
f5c197983524f0829d74d4b8979421f3ce4ab903
[]
no_license
DanielJBurbridge/Jetbrains-Academy
e2c29cb9e3cca5361d24851493b5989a9207d8dd
da67caee1223b62acc87522f183e382fec043909
refs/heads/main
2023-03-23T05:56:50.226606
2021-03-12T10:45:17
2021-03-12T10:45:17
280,210,460
1
0
null
null
null
null
UTF-8
Python
false
false
48
py
print(45/9 + 16 * (5 + 8)) print("mathematics")
[ "noreply@github.com" ]
noreply@github.com
6f15f68ff9faa5be730cce549e7624788d52927f
e8f99a162207cba82d4e0f969d7bcdb2b9d8b522
/nowcoder/2019test/internal_network_ip.py
65c87cc3a5715793a6b8bbb7fb1227344454ba7f
[]
no_license
TesterCC/Python3Scripts
edb5446278ebf13edb64336001081941ca27d67d
58be67e1ffc74ef50289a885aa4ad05f58e2c383
refs/heads/master
2023-08-30T21:16:38.328045
2023-08-17T11:23:08
2023-08-17T11:23:08
93,401,996
6
3
null
null
null
null
UTF-8
Python
false
false
1,692
py
#!/usr/bin/env python # -*- coding:utf-8 -*- __author__ = 'MFC' __time__ = '2019-09-30 01:57' """ 2019 bilibili https://www.nowcoder.com/practice/80ce674313ff43af9d7ac7a41ae21527?tpId=98&tqId=33025&tPage=11&rp=11&ru=/ta/2019test&qru=/ta/2019test/question-ranking 时间限制:1秒 空间限制:32768K 题目描述 从业 666 年的 BILIBILI 网络安全工程师 Ki...
[ "testerlyx@foxmail.com" ]
testerlyx@foxmail.com
54107b6985d401fa0d316f5ea9cbd1ea3c652877
df1254b56f35b24644e00493c50d4b6eb3c15b7b
/colour/examples/models/examples_rgb.py
9cb77791edfb081c02f842df37b99e12120c0531
[ "BSD-3-Clause" ]
permissive
colour-science/colour
908400b227cf81668675e41099256ce50b23ae4b
1fdf3b3042922e8d4f86b989b00a06e7e5d81102
refs/heads/develop
2023-09-01T23:17:07.186869
2023-08-26T09:40:45
2023-08-26T09:40:45
17,114,363
1,756
301
BSD-3-Clause
2023-09-14T10:24:37
2014-02-23T18:55:40
Python
UTF-8
Python
false
false
2,371
py
"""Showcases *RGB* *colourspaces* computations.""" import numpy as np from pprint import pprint import colour from colour.utilities import message_box message_box('"RGB" Colourspaces Computations') message_box('"RGB" colourspaces dataset.') pprint(sorted(colour.RGB_COLOURSPACES.keys())) print("\n") message_box('"...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
a3f5eabaab314062ef6ff511debc3e23ba3d7cc4
e40b164391060a7c66fa480996f751c4797d6f29
/QuoteEngine/PDFIngestor.py
bb4cb9e0681c9c203996a5fe5e9d94e49035c363
[]
no_license
Mehaktoor/Motivational-Meme-Generator
f4fdd745fb37935c07975cf02645108e463ff38d
ec8f191f1c049f41801989e142b6625e64e004f8
refs/heads/main
2023-03-17T12:51:27.922306
2021-03-07T00:14:06
2021-03-07T00:14:06
338,726,769
0
1
null
2021-03-02T21:56:35
2021-02-14T04:13:34
Python
UTF-8
Python
false
false
1,026
py
from typing import List from time import time import os import subprocess from .QuoteModel import QuoteModel from .IngestorInterface import IngestorInterface # ingest PDF file format. Create list of QuoteModel objects. class PDFIngestor(IngestorInterface): allowed_extensions = ['pdf'] @classmethod def ...
[ "mehaktoor1999@gmail.com" ]
mehaktoor1999@gmail.com
654fa1db75fd03efbbb973cc2d28997f58c507b5
bf0901b2cf3bbaf7c6e44030e0139376e0f90b4b
/cee6110hydroinfo/hw/hw1/hw1.py
28c6b3515b34ffe8ff21644a8f44c3ddec5bfcad
[]
no_license
karunmj/usu-coursework
a978fb859932e0894f8ada9e769fde51bf6f021a
40dfb9447b34d5476e390a7e53e748706a37af3e
refs/heads/master
2020-09-24T21:25:43.059344
2016-11-22T08:22:44
2016-11-22T08:22:44
67,301,294
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
##Plotting pH and dissolved oxygen levels import pandas as pd import matplotlib.pyplot as plt import numpy as np #csv file contains logan river data for 2015 from water lab site loganriverdata = pd.read_csv('iUTAH_GAMUT_LR_WaterLab_AA_RawData_2015.csv', skiprows=68) #plotting ph plt.plot(loganriverdata['pH']) plt.yla...
[ "karunjoseph@Karuns-MacBook-Pro.local" ]
karunjoseph@Karuns-MacBook-Pro.local
26e1176c7c2ac4ffa6357771cf0eaf657df56097
aa8ad65d801cf9c292e318e41f106c1974fe96b9
/inflight-entertainment.py
25f0f5786faab7df4fb96eaf6fafbbf29aaf0ed4
[]
no_license
gautamgitspace/interview-cake
fbc3f95d2af82a46d735f07e7d5746ec3d7412ce
0f3c533df091571661b7b95db514870b3b790aef
refs/heads/master
2021-01-20T07:53:47.161093
2017-06-09T23:53:38
2017-06-09T23:53:38
90,061,214
5
1
null
null
null
null
UTF-8
Python
false
false
846
py
#nested loop approach: outer - first_movie_length, inner - check for condition #flight_length-first_movie_length = second_movie_length for every item in outer loop. #this gives O(n^2) """ for item in m: fml = item for item2 in m: if (fl-fml==item2): return True """ #A better approach is to u...
[ "agautam2@buffalo.edu" ]
agautam2@buffalo.edu
1c9920c6563c7225e4224537335ab439b2822a2b
4b31372a907f446a36e2461d3160e809603cf7ef
/Python 3/1002.py
cbecad92dd877a8a0d1fefa56a97547e223b0a1a
[]
no_license
lcar99/URI
60c65438f557fcc2b846444d8daf79ddd782d3eb
bded0ac6564036976a9acab451981752a4dac36d
refs/heads/main
2023-02-24T03:27:23.963643
2021-02-03T07:06:01
2021-02-03T07:06:01
335,168,807
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
r = float(input()) pi = 3.14159 a = pi*r*r print ("A="+'%.4f'%a)
[ "noreply@github.com" ]
noreply@github.com
667ad84dd8023e2e0b9f6efb93424a1527f4165d
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v11/enums/types/feed_origin.py
7b7ab37117859b624d16463ece35dabae7420511
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,121
py
# -*- coding: utf-8 -*- # Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
noreply@github.com
e7b1c65afc5f4fe30f3a62488bda704c7df580ec
b49a54a159caf47fba66316256169fb8062eff11
/currency/admin.py
b33c7a9b10e67dec23bbfdb5cca6282a2491b599
[]
no_license
Minyeob/Currency-Calculator
d4b3f54ad268fbdf4fa5a73a0a7c2200593c89e2
4ae9abf265d968550ffe6817f1e3d928db93b0cd
refs/heads/master
2021-01-12T17:07:33.763190
2016-10-04T16:00:51
2016-10-04T16:00:51
69,980,399
0
0
null
null
null
null
UTF-8
Python
false
false
326
py
from django.contrib import admin from currency.models import CurrencyEUR, CurrencyCNY, CurrencyGBP, CurrencyJPY, CurrencyKRW, Choice admin.site.register(CurrencyKRW) admin.site.register(CurrencyEUR) admin.site.register(CurrencyCNY) admin.site.register(CurrencyGBP) admin.site.register(CurrencyJPY) admin.site.register(C...
[ "nmy2511@gmail.com" ]
nmy2511@gmail.com
8300bac3852392251d6b3d01ec530edeffea27fc
80d1e7d12e21383c795eab1b7a59fabece827f45
/10 Days of Statistics/Quartiles.py
a3c4cce799b52ae54de591077d2fbad6d610b014
[]
no_license
nikhiljsk/HackerRank
df7716d3bae91defee97df1efd34273c5fa48cc3
33a0925c8a03f3119348f3abf440b2b3b9082474
refs/heads/master
2022-11-08T11:16:27.535386
2020-06-19T17:59:46
2020-06-19T17:59:46
272,817,936
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
def cal_median(numbers): # print(numbers) n = len(numbers) if n%2 == 0: return (numbers[n//2 - 1] + numbers[n//2])//2 return numbers[n//2] n = int(input()) numbers = list(sorted(map(int, input().rstrip().split()))) # print(numbers) middle = n//2 if n%2 != 0: print(cal_median(numbers[:m...
[ "nikhiljsk98@gmail.com" ]
nikhiljsk98@gmail.com
564f13656023dfb3964fd387bb6d1581976fb9df
893ccb3eafc2bf91667c755bda0534850c85986a
/proxy_api/server_run.py
145136c05ca91f6d7a18865ddea1ae21d6750cba
[]
no_license
BoyYongXin/proxy_pool
978443e5d5aebddbecf1b85997691848003324d2
1fc05097bfdfd1906fa81a5fa48a42f85144e642
refs/heads/master
2020-08-13T15:01:31.227107
2019-10-14T08:28:02
2019-10-14T08:28:02
214,988,763
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# -*- coding: utf-8 -*- ''' Created on 2019-10-10 01:55 --------- @summary: 启动代理接口程序 --------- @author: Yongxin_Yang ''' import tornado.web import tornado.httpserver import tornado.ioloop from tornado import gen import os import json from utils import tools import random from db.redisdb import RedisDB redis = RedisDB(...
[ "13717827309@163.com" ]
13717827309@163.com
03e9120f357635fb7ffca4d6a3fe9f71d28a8685
3dbf79d16490d03001abcfc29b7c674fdcb8af38
/src/Torcs_5/Torcs_5/splash/component/source_linear_x.py
f39cbbeebe8c5506bdb6e1111e9b493adba46e2d
[]
no_license
cheonghwa-lee/dev_ws
113c58d87f6408c6a18778c8d74d12a3a656f805
e185ab1961dcb97f0ef3de50f192a206cf7226b3
refs/heads/main
2023-06-25T03:29:54.334763
2021-07-22T00:33:45
2021-07-22T00:33:45
315,225,399
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
''' Generated automatically by Splash Code Generator for source_linear_x ''' from std_msgs.msg import Float32 from geometry_msgs.msg import TwistStamped from scl.components import * from scl.impl.singleton import Singleton from ..factory.factory_0 import Factory0 class SourceLinearX(Component, metaclass=Singleto...
[ "hayaclee@snu.ac.kr" ]
hayaclee@snu.ac.kr
9ba27ec47692291528c3632b1221583c88a010aa
1d640906754a591ecca623a7531196976985d9f2
/tictac/transform.py
1a586093c625cd906dae645efe1ee55c580a0272
[]
no_license
nestedsoftware/tictac
971f971c2eb4c77aed0c3231a9000cf720baae23
220bbdc6103ff012ec60b5b424e1566205349588
refs/heads/master
2021-09-26T04:35:01.768442
2020-01-15T04:32:17
2020-01-15T04:32:17
192,117,298
24
26
null
2021-09-22T19:11:29
2019-06-15T19:37:37
Python
UTF-8
Python
false
false
1,175
py
import numpy as np class Transform: def __init__(self, *operations): self.operations = operations def transform(self, target): for op in self.operations: target = op.transform(target) return target def reverse(self, target): for op in reverse(self.operations):...
[ "2969361+nestedsoftware@users.noreply.github.com" ]
2969361+nestedsoftware@users.noreply.github.com
f9cd8f7fa1c0852d57d2bb121a13e89181237fff
08b22b6619ad84613484018fd8445212d18445ba
/setup.py
32103883e3399c3b89d4282870acc8b14687cbc2
[ "MIT" ]
permissive
sravel/pibooth-pimoroni11x7
6cc21c20526c205ca203b85e15460363fc44dbb8
53ce5bd79e91c68a5947ece242b1ddbe79191219
refs/heads/master
2023-06-27T12:58:17.489182
2021-07-22T08:57:13
2021-07-22T08:57:13
268,804,770
0
0
null
null
null
null
UTF-8
Python
false
false
1,970
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import sys from io import open import os.path as osp from setuptools import setup HERE = osp.abspath(osp.dirname(__file__)) sys.path.insert(0, HERE) import pibooth_pimoroni11x7 as plugin def main(): setup( name=plugin.__name__, version=plugin.__ver...
[ "sebastien.ravel@cirad.fr" ]
sebastien.ravel@cirad.fr
03af47df44cbfb9bfd1864ba2a4f4483c9fbca4f
7d748aa915be71588ce96605dc7050a86b10f5ae
/src/oryxbot_arm_controller/script/oryxbot_pick_arpy.py
dbf9dcd2fff3f946acb0e682aa2f5189e2412771
[]
no_license
DylanLN/oryxbot-sim
8da3924663eb8e59e6f51325df62af0eefc1bdb6
49a1411b17d7be5d327eef7ce4395c963887a94a
refs/heads/master
2022-04-23T13:24:41.791537
2020-04-26T09:36:08
2020-04-26T09:36:08
258,961,974
0
0
null
null
null
null
UTF-8
Python
false
false
5,192
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- '''robot_pick ROS Node''' # license removed for brevity import sys import os import math import threading import rospy import time from oryxbot_msgs.srv import * from oryxbot_msgs.msg import * import tf class ORYXBOT_PICK(object): CAMREA_X_MAX=20.0 CAMREA_Y_MAX...
[ "825255961@qq.com" ]
825255961@qq.com
a5e68b11c8a13478b4dfbb1872a987caed729e92
5e26a16d75c408399c4e434ca187a96e4e79b6cc
/6Benches/performetrics/comma seperated binary.py
ffaf925e8711251f3182c8c6c3f58776ab87b71b
[]
no_license
Gaayathre7/mylib
6005df5f241627865ca21cd3c79ebae9cdbb00aa
c0a9e5d262bedf8fa742fd766e6475a500a33436
refs/heads/master
2022-04-08T22:08:58.606045
2020-03-10T06:40:35
2020-03-10T06:40:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 3 16:18:24 2020 @author: rajas """ #write an prgm which accepts a sequence of comma seperated 4 digit binary numbers as its input and then check whether they r divisible by 5 or not items=[] num=[x for x in input().split(',')] for p in num: x=int(p,2)...
[ "noreply@github.com" ]
noreply@github.com
b671d1899ce6df4b4f5966b87c864960f9a7c4bb
8bc537deb77d32ff42b226200af494b1351de01e
/dexenv/bin/pyrsa-decrypt
1844b4d391de0bf2a36811bc1d3ddb4c289231c7
[]
no_license
bopopescu/ELearning
00478324f898dc8767d23b61d10b282945bb9058
2484b8921ee22871a8dc478696e1e3e0c27690b9
refs/heads/master
2022-11-26T08:38:33.739521
2020-05-08T22:27:03
2020-05-08T22:27:03
280,945,464
0
0
null
2020-07-19T20:31:36
2020-07-19T20:31:35
null
UTF-8
Python
false
false
228
#!/home/dex/Dex/dexenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from rsa.cli import decrypt if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(decrypt())
[ "abhinav10p@gmail.com" ]
abhinav10p@gmail.com
32326006e5bb1689d8ba85188848f20fbc1eef7b
fb7e2563f78008bb2fd1e082c46309bf86d2644f
/tests/python/unittest/test_operator.py
5ef79cfb63145d2a53943df5c5fe3a513f495983
[ "Apache-2.0" ]
permissive
achao2013/mxnet-quantify
ddbf03d8f5a4dc4694b4d729e364c6465f4fb887
ae77c896da6db35530390e3cf8e524d553bba112
refs/heads/master
2021-01-18T22:41:24.798766
2017-04-05T02:05:51
2017-04-05T02:05:51
87,065,611
4
0
null
null
null
null
UTF-8
Python
false
false
44,528
py
# pylint: skip-file import numpy as np import mxnet as mx import random from numpy.testing import assert_allclose from check_utils import (check_numeric_gradient, check_symbolic_backward, check_symbolic_forward, reldiff, _np_reduce) def same(a, b): return np.sum(a != b) == 0 def np_softm...
[ "chao_jichao@hotmail.com" ]
chao_jichao@hotmail.com
b695c25a6c407051dcf0672150ad0a2044ae0099
5fae2c70329586526b83f1343397b23b065448b2
/indoor_load.py
635ee49de29f65bc34030b66f33d5cf32a674582
[]
no_license
salbali/simulation-of-vav-system-
735b9e569efae7979250bdfb226b0f42e62f12ca
e5192553d25bd52af0a8457eb9b060e75cc4aec5
refs/heads/master
2021-09-22T09:33:54.448674
2018-03-08T13:59:42
2018-03-08T13:59:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,894
py
# !/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np import difference_methods import readcsv import air import solar_radiation import load_window import matplotlib.pyplot as plt ## 热负荷计算programme # 1. 数据输入和计算准备 # 1.1 air.py的import和系数 # 表面热传达率 alpha_o = 23 alpha_i = 9.3 # 室内侧热传达对流辐射比 kc = 0.45 kr = 0.55 ...
[ "oikiou@yahoo.co.jp" ]
oikiou@yahoo.co.jp
f1eb1e35f47c959e4faab077721558c55ff4e254
0be76c7ff5fcaf526fa2d12b0c647ae7dac4ee01
/MODUL_6/No8.py
958a10d772865fa9dd529f0b1ee1f5e89cffe9e3
[]
no_license
L200180148/algostruk_f
3d9723987942d5b64144501883bed5ec69c51151
85173cac3a3c4b274ef9d64edb57ff493e5e2d3c
refs/heads/master
2021-02-13T05:51:17.191202
2020-04-26T06:12:18
2020-04-26T06:12:18
244,667,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
#Nomor 8 class Node: def __init__(self, data): self.data = data self.next = None class LinkedList: def __init__(self): self.head = None def appendList(self, data): node = Node(data) if self.head == None: self.head = node else: curr = self.head while curr...
[ "noreply@github.com" ]
noreply@github.com
d22003a046bb6dd576dff86e3577f296aea4223d
d9e68125b8f02a618f6cf83c18face5bead8e43d
/recommendation/autoencoder/user_per_cost.py
ccbe795bbf7bbbdd2a6b7c1eedf9051b8b970e9c
[]
no_license
CHENLONGREN/Autoencoder-research
ec201d5375f76c2a76cf864395b6adccaa440606
f2e5264f87a793ee40457324dca6a93a355d253c
refs/heads/master
2023-03-07T00:12:04.277901
2021-02-23T08:16:23
2021-02-23T08:16:23
204,639,844
0
0
null
null
null
null
UTF-8
Python
false
false
321
py
import matplotlib.pyplot as plt import pandas as pd data = pd.read_csv("C:/Users/chenl/PycharmProjects/research/traning/per_auto.csv") plt.plot(data['epoch'], data['cost']) plt.xticks(rotation=2) plt.xlabel('epoch') plt.ylabel('avg_cost') plt.title('traning cost') plt.savefig('./user_per_cost.png') plt.show ...
[ "noreply@github.com" ]
noreply@github.com
8797c07640c0f21cdbed37a5c6c1746df8d0c1cd
f22642f05adc6a35d226b32623990f71d41db8e4
/ele/wsgi.py
32bf8f35a7e79c119cfea7baabf180a4f1d45bbe
[]
no_license
wormchaos/ele
6ee1faf3dafe8478e97fb0b8e36867f01380776f
db99a3f6fa331d226616f7dbe499bb7b545bcda1
refs/heads/master
2021-01-22T04:57:21.713747
2016-09-18T11:30:32
2016-09-18T11:30:32
68,516,993
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
""" WSGI config for ele project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTINGS...
[ "wenqiang.zhang@mi-me.com" ]
wenqiang.zhang@mi-me.com
838ad524a7ec16b8d6a02bc3bd7163119b6ec67d
d52413173437ba73ecdf822ca895e659f00a8ce7
/kiwibackend/application/submodule/fanyoy/reset_template.py
0c8e2e20620eb8a9ce28057d1fa7136f012b03b0
[]
no_license
whiteprism/mywork
2329b3459c967c079d6185c5acabd6df80cab8ea
a8e568e89744ca7acbc59e4744aff2a0756d7252
refs/heads/master
2021-01-21T11:15:49.090408
2017-03-31T03:28:13
2017-03-31T03:28:13
83,540,646
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
# /usr/bin/env python # -*- coding: utf-8 -* from django.core.cache import get_cache def decorate_active_player(view_func): @wraps(view_func) def decorate(request, *args, **kwds): player = request.player if player and player.is_end_tutorial(): _add_active_player(player) re...
[ "snoster@163.com" ]
snoster@163.com
c2cb537f158dd780c9a2af8848369339e53f997f
c8a0a370e3bdba7a159911ef9bee0c2bf9401dc7
/Problem Solving with Algorithms and Data Structures using python/05 Sorting and Searching/Sort/01 bubble sort/bubble_sort.py
80ee3147218deed1736d2b5f7fb8255f54b89013
[]
no_license
ht-dep/Algorithms-by-Python
c47d08c27b3e8cb8b9f3f5ebd9c50f6b099281b5
5c5ed701944f6b5ebed1f933d65cc8c31ec42245
refs/heads/master
2020-03-06T23:43:10.988589
2018-01-21T14:54:20
2018-01-21T14:54:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# coding:utf-8 # bubble sort:循环比较两个相邻位置之间的大小关系 def bubbleSort(num_list): L = len(num_list) while L > 1: for i in range(L-1): if num_list[i]>num_list[i+1]: temp = num_list[i] num_list[i] = num_list[i+1] num_list[i+1] = temp L -= 1 ...
[ "1098918523@qq.com" ]
1098918523@qq.com
bea9db81ee8001e8b8990c331daaa096dabb2f2a
37b5947f77a2e84f17831642f8f610fd92738774
/docs/ch7/anonymous/238.py
cfea98b0656605a0d8fa39635b90b21f8523eff0
[]
no_license
reversalSpring/algoStudy
a75cad011fff19739ef28dc7bcb6d66e8fc66c5b
64408f04ca00ff377f972b3aaa4e067efeaac3df
refs/heads/master
2023-06-26T06:13:30.499499
2021-07-24T09:15:42
2021-07-24T09:15:42
389,052,360
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
from typing import List # https://leetcode.com/problems/product-of-array-except-self/ """ Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. Constraint: It's guaranteed that the product of the elements of any ...
[ "p_illusion@naver.com" ]
p_illusion@naver.com
f839f33d95a315e4f7e94c2daf3afdac8b04f301
4f3b92efcd5202d1242b7a833816674f30bb3af2
/tools.py
b3a75b08393c8f5bbcb899ac5f4b4f4eb25e92c5
[]
no_license
niyasl2/auto_gui
9ea9d9fa1f7c78c03fea83463d04231c15956bfa
59dee5492b819b32713e60aa04073e60fc56b097
refs/heads/master
2016-09-06T17:32:56.540743
2012-10-26T14:38:40
2012-10-26T14:38:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,251
py
#------------------------------------------------------------------------------- # Name: module1 # Purpose: # # Author: Administrator # # Created: 29/06/2012 # Copyright: (c) Administrator 2012 # Licence: <your licence> #-----------------------------------------------------------------------------...
[ "nsait@nvidia.com" ]
nsait@nvidia.com
c6d78cf5cce4c612fcd874fb058bfddc9d24d3d7
0be66219fa89953dfbd3fdce0d4f5cc1127722d2
/trans_pb/pb.py
b34e951dcdc5fa0e14df148cb508268b40d54f80
[]
no_license
qaz734913414/transfer-.meta-to-.pb
ce60f082073d16bb9191e8e4c7313a225f36fd16
5648e5dd3193d7526b49dc6f96c35359477841e4
refs/heads/master
2020-08-05T04:29:51.602122
2018-07-12T05:45:35
2018-07-12T05:45:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
#coding:utf-8 import tensorflow as tf from mtcnn_model import P_Net,R_Net, O_Net #1.input placeholder #2.定义网络结构,输入是placeholder; # 定义网络结构时把“if training”部分去掉了,只留下inference部分 #3.restore 旧的ckpt文件(名称类似于xxx.ckpt.data-xxx)的参数值(如,weight); # 如果直接freeze旧的ckpt文件和meta文件为pb文件,会发现print出的节点名字会对不上,直接拿来用也会报错,是不是可以认为训练图和infer...
[ "noreply@github.com" ]
noreply@github.com
e8bc12338eb61113054e424095b8b5968be09657
30a6024818586766020ce957be386f9240986acb
/mysite/mysite/settings.py
a71bf8e575a7eca99b71d9df16e5d14870a560cb
[]
no_license
Sobakenshi/my-first-blog
474b881623ff66ca98c05f207deb586b391e94f8
a6540c959c068c57ea8649d31cdc4ddac688617d
refs/heads/master
2020-06-02T02:09:22.856261
2019-06-09T20:56:55
2019-06-09T20:56:55
191,002,278
1
0
null
null
null
null
UTF-8
Python
false
false
3,221
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "beckhanbark@gmail.com" ]
beckhanbark@gmail.com
ffabe999a7beb5c6360d7919db313c9839e0d31f
c279b5c30e2b782efc1b58cd1f8e0b8b325ede6d
/quizy/admin.py
d124df10841f90438ce350f0c12f57896b9036af
[]
no_license
kapisolec/examsite
00f1fdc986903b8b2f670f34a245b490bca6554d
48bb854c759465fbca02baa1ef40723146a5fb3e
refs/heads/master
2022-12-24T03:13:23.421588
2020-10-05T14:09:40
2020-10-05T14:09:40
267,034,896
0
0
null
null
null
null
UTF-8
Python
false
false
1,160
py
from .models import * # Register your models here. from django.contrib import admin from django.utils.translation import gettext_lazy as _ # class OdpowiedziAdminListFilter(admin.SimpleListFilter): # title = _('pytanie') # parameter_name = 'pytanie' # def lookups(self, request, model_admin): # pyt...
[ "60718448+kapisolec@users.noreply.github.com" ]
60718448+kapisolec@users.noreply.github.com
9cd23e4e159c5e653cde08597a57d5b95149950f
cb1e63db3a045680997315076c950d8f8bdb9ada
/docs/conf.py
6303a36e20ead580b4eb3593976902c779864cfc
[]
no_license
cloverfeed/ranko
c222979ffad45af71edf88f3f92ee0190f44eaf7
92075b5337097e9e6baf43442ef7f4f5b7177b69
refs/heads/master
2016-09-05T12:27:17.685142
2016-01-16T17:08:19
2016-01-16T17:08:19
19,494,776
1
0
null
2016-01-20T20:21:18
2014-05-06T13:15:31
Python
UTF-8
Python
false
false
8,266
py
# -*- coding: utf-8 -*- # # ranko documentation build configuration file, created by # sphinx-quickstart on Wed Oct 22 09:29:08 2014. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All...
[ "me@emillon.org" ]
me@emillon.org
a1fc2862dd9837a78a4d8d46bbf085b30291de55
b835a371d6e96e3bf01e157825367fa8cb977101
/website/userprofile/apps.py
70d5a409abeb2888060e2f4758c296436885962c
[ "MIT" ]
permissive
SebastiaanZ/minigigscyclingteam
c832858c5164c66782a082301bf46df15ded7fc4
6c8c4f7ae41a5b01a551c592dc81fd37fd4f686e
refs/heads/master
2022-11-29T18:22:58.005902
2020-01-28T22:15:42
2020-01-28T22:15:42
196,997,653
0
0
MIT
2022-11-22T05:16:55
2019-07-15T12:49:03
HTML
UTF-8
Python
false
false
616
py
import logging from django.apps import AppConfig from django.contrib.auth import get_user_model from django.db.models.signals import post_save log = logging.getLogger(__name__) class UserprofileConfig(AppConfig): """App configuration for the extended user profile.""" name = 'website.userprofile' def r...
[ "33516116+SebastiaanZ@users.noreply.github.com" ]
33516116+SebastiaanZ@users.noreply.github.com
86f0947a9ea548fee059c7e04aef7f9aa0889a43
b46f5825b809c0166622149fc5561c23750b379c
/AppImageBuilder/app_dir/runtimes/classic/helpers/factory.py
9d6ba258dac58c56ed53f44df74516b7789429da
[ "MIT" ]
permissive
gouchi/appimage-builder
22b85cb682f1b126515a6debd34874bd152a4211
40e9851c573179e066af116fb906e9cad8099b59
refs/heads/master
2022-09-28T09:46:11.783837
2020-06-07T19:44:48
2020-06-07T19:44:48
267,360,199
0
0
MIT
2020-05-27T15:42:25
2020-05-27T15:42:24
null
UTF-8
Python
false
false
1,768
py
# Copyright 2020 Alexis Lopez Zubieta # # 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...
[ "contact@azubieta.net" ]
contact@azubieta.net
bcca1deb423debb367d356f3667ac15b70b767b0
fc5f1e70b48651e3bcd983a8ea2f2e8c64cd25eb
/method_plain_cvxopt.py
95a3d82d84f07479421451e1605f9328e022fb3e
[]
no_license
vishalbelsare/multitask
62d69df764436347a42bdeb6c1681a9b9bb2c819
b8ce676ecb778b17dc39d06878523299fd693bc3
refs/heads/master
2020-04-07T10:30:27.518466
2014-02-01T12:59:33
2014-02-01T12:59:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,567
py
#!/usr/bin/env python2.5 # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # Written (W) 2009 Christian Widmer # Copyrig...
[ "cwidmer@cbio.mskcc.org" ]
cwidmer@cbio.mskcc.org
3c4f9c3b72ec831f2ab07a24009b2d30da34cdb4
60f1ecf60ffd240ab30a7282d00063fdf9610c03
/scripts/lightsensors.py
77df8c6cd7fb3cc74a923cbc6717184ca77d4ad8
[ "BSD-3-Clause" ]
permissive
nzhoo/pimouse_ros
e5d4b9220b0069349c2103e077fe65c20da083b3
47f3c3aed88bca45722849b9cf7383cfd1e25f0d
refs/heads/master
2021-05-14T00:02:07.282355
2018-01-25T15:18:21
2018-01-25T15:18:21
116,532,134
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
#!/usr/bin/env python #encoding: utf8 import sys, rospy from pimouse_ros.msg import LightSensorValues def get_freq(): f = rospy.get_param('lightsensors_freq',10) try: if f <= 0.0: raise Exception() except: rospy.logerr("value error: lightsensors_freq") sys.exit(1) r...
[ "nzh_star@zzzstar.com" ]
nzh_star@zzzstar.com
8ad9d860ae0c5298d003124bad94cdfcca6b2a0f
8fb49480682a5085e7bc3b31a37e209598a1aa72
/TimeEval/NetworkPolicy_0/t1.py
74b1c6d001dc65d190ca98d1e42fd2156766e809
[]
no_license
vasu018/IoTSecurity
3063edad1d67f9bd1b93d0a2c322d52b2bb78c18
62de6b64dd27109192258f0bfa78db22d2398c28
refs/heads/master
2021-09-17T23:48:28.684601
2018-04-03T17:01:13
2018-04-03T17:01:13
113,246,729
0
0
null
null
null
null
UTF-8
Python
false
false
3,536
py
from c4 import * import sys from timeit import default_timer as timer def get_nnodes(n,parent,poltype,translations): pass def get_network(node): if node in nn: net = nn[node] else: i = re.search('(.*){(.*)}',node) net = "->".join([i.group(2),i.group(1)]) if i.group(2) els...
[ "vasudevan@Vasudevans-MacBook-Pro.local" ]
vasudevan@Vasudevans-MacBook-Pro.local
6d0a7d8c0ab32af15ba6dc222b31a043a5970055
ce6ace34704e74c2a53e9b38b2630876d9cd52e2
/mdias_addons/metro_park_maintenance/models/export_produce_plan_wizard.py
73bbf97f7f5bd04a847592c2975e317e4c8985b6
[]
no_license
rezaghanimi/main_mdias
e3cfd8033204d8e7e484041f506892621a3e3479
13b428a5c4ade6278e3e5e996ef10d9fb0fea4b9
refs/heads/master
2022-09-17T20:15:42.305452
2020-05-29T05:38:35
2020-05-29T05:38:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,164
py
# -*- coding: utf-8 -*- from odoo import models, fields, api import pendulum class ExportProducePlanWizard(models.TransientModel): ''' 导出生产计划 ''' _name = 'metro_park_maintenance.export_produce_plan_wizard' end_month = fields.Many2one(string='结束月份', comodel_na...
[ "619851623@qq.com" ]
619851623@qq.com
ded5d4b6cbbedfbc0b3d0a7450050a050dd73c7a
079d34639c394e511f772af7cd7f01a7ccdc5111
/flask-structure/web/resource/sample.py
3c9d2ff89a9e24739310ec839981fb6e0cd58bb2
[]
no_license
hinczhang/demo-repository
ffd03013137ba68fbb8f96f04931b89f5c572a4b
f980a00cf8a5bb9e14f7a75be149678657bf5710
refs/heads/main
2023-01-03T02:54:14.038388
2020-11-03T12:28:35
2020-11-03T12:28:35
308,655,500
1
0
null
null
null
null
UTF-8
Python
false
false
506
py
from flask_restful import Resource from flask import Response,request import json #return useful information class Sample(Resource): def get(self):#block get method pass def post(self):#open post method print(json.loads(request.data)['mode'])#the data delivered from frontend to backend are stored in the request....
[ "noreply@github.com" ]
noreply@github.com
119f5a12bb5beddeb2cede2d0f3562ae1b6a9630
6d8bb00e42aa128cd47dab310c75be2e5b9d1c97
/crawl2/douban/douban/middlewares.py
1d79896b30e8c5fe16195f046f178dd5c215c758
[]
no_license
LayneIns/CrawlerProject
dcff0dbc7cdfd0a5496f7d03a5d03b31777cbfb6
48cdae511dfb671f3e6d52040f4d98069f2bac33
refs/heads/master
2021-04-15T14:43:58.669794
2018-03-25T16:33:12
2018-03-25T16:33:12
126,717,553
1
1
null
null
null
null
UTF-8
Python
false
false
4,459
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals import random,base64 from fetch_free_proxyes import fetch_all class DoubanSpiderMiddleware(object): # Not all methods ...
[ "1400012879@pku.edu.cn" ]
1400012879@pku.edu.cn
f51656b89eb01e0650b076ccb826d8a2aecd11c4
0605abd822f659156b290c75d93006ec6a91e13f
/accounts/models.py
abf8f62baf08471b6310dd7a09ee366bac7cc748
[]
no_license
nickcarva/django-agenda
0bf06b7e0aae22f79914d961bbd50c1c2c6b5f3b
5ddaf7255122ccfdcc58b6e408c352eadbc8b9d6
refs/heads/master
2022-12-08T04:31:04.280272
2020-08-25T15:07:09
2020-08-25T15:07:09
289,528,569
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from contatos.models import Contato from django import forms class FormContato(forms.ModelForm): class Meta: model = Contato exclude = ()
[ "carvalhonick2002@gmail.com" ]
carvalhonick2002@gmail.com
edec94f06021805f99c337437bd84728ff5f22fe
8853462a79608b7e5b7af94dbfa6c0a63c1f6b6a
/CustomEnvs/Gym envs/2. Crawler/Quadruped_54/Quadruped_54/envs/Quadruped_54.py
3e119be601c9806a60345098a9fbe20c4f692a7b
[]
no_license
Ashish017/CASNET
eaae2552f8d56413f756c7d3839cd6f548a6e1ef
73ec542c4c3fa1f97686796f0c385c71cad3e8d5
refs/heads/master
2023-02-06T06:53:27.362356
2020-12-27T04:43:34
2020-12-27T04:43:34
270,657,078
0
0
null
null
null
null
UTF-8
Python
false
false
5,433
py
import numpy as np from gym import utils from gym.envs.mujoco import mujoco_env import time class model_data: def __init__(self): self.num_legs = 4 self.leg_lengths = [[0.2828, 0.1697, 0.5656],[0.2828, 0.2828, 0.5656],[0.2828, 0.2828, 0.5656],[0.2828,0.2828, 0.6221]] self.leg_starts = [[0.2, 0.2],[0.2, -0.2],[...
[ "ashishmalik7017@gmail.com" ]
ashishmalik7017@gmail.com
e8aa0117f38aa251e8d8d3669a7a3773d6d5901d
fc978655927aa593f13690b9622217fd3b6b2930
/other/plot_missing_rate.py
d65568a6c28e40e7d799bb49f23a71cc5718c041
[]
no_license
QixinWangCpsLab/Hypoxemia-MLPred
c159dcf1da9fb4a460dafcc1f3afb7bc78c67e29
f18a60dac0a42f504026b9791f1a1e01f5ed6735
refs/heads/master
2023-05-03T11:07:18.343397
2021-05-27T19:26:45
2021-05-27T19:26:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,973
py
from utils.utility_analysis import * from utils.utility_preprocess import PatientFilter, LabelAssignment, DataImputation import numpy as np import matplotlib.pyplot as plt df_dynamic = pd.read_csv('../data/data_frame/dynamic_dataframe.csv') filling_ratio = feature_value_filling_ratio(df_dynamic) feat_name = ['invDias...
[ "hanyang.liu@wustl.edu" ]
hanyang.liu@wustl.edu
c2fdcfabae899f009f29bec8b1ab76bc09a461dc
5e6549f2dbce8abaf6c107b320e6eb56080f88fe
/website/articles/permissions.py
de270272bd1d508cbba52c45b476ddf395132bd5
[]
no_license
nicholasjuncos/genesis_challenge
fdde1d19ed37c4da3a53b56cda115f492bc19b73
1410a947e91e5996792d5fcfe2641ae8dfde656b
refs/heads/main
2023-03-06T10:58:10.447452
2021-02-20T18:57:25
2021-02-20T18:57:25
340,441,697
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
from rest_framework import permissions class IsAuthorOrReadOnly(permissions.BasePermission): """ Object-level permission to only allow authors of an object to edit it. Assumes the model instance has an `author` attribute. """ def has_permission(self, request, view): return bool( ...
[ "nicholas.juncos@agfc.ar.gov" ]
nicholas.juncos@agfc.ar.gov
346f11569af34e57c2985048448a6df2c9cf2053
556db265723b0cc30ad2917442ed6dad92fd9044
/tensorflow/python/kernel_tests/matrix_exponential_op_test.py
19091a7b070247232290715794580bd2fc461ee0
[ "MIT", "Apache-2.0", "BSD-2-Clause" ]
permissive
graphcore/tensorflow
c1669b489be0e045b3ec856b311b3139858de196
085b20a4b6287eff8c0b792425d52422ab8cbab3
refs/heads/r2.6/sdk-release-3.2
2023-07-06T06:23:53.857743
2023-03-14T13:04:04
2023-03-14T13:48:43
162,717,602
84
17
Apache-2.0
2023-03-25T01:13:37
2018-12-21T13:30:38
C++
UTF-8
Python
false
false
9,441
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
308b0d02dca29100fbdf8b0d39b67404e91d0d0d
4da25f06c5b24c7820fbfb84b21c57ffc3fcf884
/button_serial_port.py
9cdb186c8bb49016859e23c89ac107784832a722
[]
no_license
aplinxy9plin/coffee-bot
4ca9026dea5e14639e06947b40722d81efbe2922
13aad2e754867e6ea43682da14af7b237ee18753
refs/heads/master
2020-04-02T01:41:03.594832
2019-01-18T02:53:24
2019-01-18T02:53:24
153,869,451
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
import RPi.GPIO as GPIO import requests url = "http://localhost:1337/" payload = "YES" # led = 4 key = 3 GPIO.cleanup() # GPIO.setmode(GPIO.BCM) # GPIO.setup(LED, GPIO.OUT) # GPIO.output(LED, GPIO.LOW) GPIO.setup(KEY, GPIO.IN) print("IT WORDS!") while True: if GPIO.input(KEY) == False: response = requests....
[ "evilberry@icloud.com" ]
evilberry@icloud.com
9bba0eea777a34656bae8ba6fecf68e5ac398b7d
65a1c4b7a9b1fcc8717b7d6c8ff7208f629d4c18
/examples/general_image-fetch_py/general_image-fetch.py
248bddf8afbc58b295cc1577cec1b467beae1846
[ "MIT" ]
permissive
ScranchNew/AI_Soccer
7da2e16027f7a59590bbc9be0943711332029d7a
1bf5e29a369a2dcd577aaf8830510150a1f0302d
refs/heads/master
2020-09-29T15:23:34.037599
2019-12-17T12:27:36
2019-12-17T12:27:36
227,062,336
0
0
null
null
null
null
UTF-8
Python
false
false
9,841
py
#!/usr/bin/python3 # Author(s): Luiz Felipe Vecchietti, Chansol Hong, Inbae Jeong # Maintainer: Chansol Hong (cshong@rit.kaist.ac.kr) from __future__ import print_function from twisted.internet import reactor from twisted.internet.defer import inlineCallbacks from autobahn.wamp.serializer import MsgPackSerializer f...
[ "flovobe@gmail.com" ]
flovobe@gmail.com
e21455b3d626aa0bc0e3bf9b392747e1f9b49898
c942e898ab37539cd580abe165b534ce5e1091e1
/exercise files/Ch2/classes_start.py
4e8f8254a592d547d9b6fa3e685b255270d0e4f5
[]
no_license
Carmiej/Learning-Python
4c7c16b6d8c4bfe7f0a6a55fdc65b3bdd5a52fcf
382edfbbe860125be6254dcf3e2b306d70cc3b16
refs/heads/main
2023-01-08T10:27:26.678034
2020-10-30T03:23:27
2020-10-30T03:23:27
308,513,260
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
# # Example file for working with classes # class myClass(): def method1(self): print("myClass method1") def method2(self, someString): print("myClass ,method2 " + someString) class anotherClass(myClass): def method1(self): myClass.method1(self) print("anotherClass method1"...
[ "noreply@github.com" ]
noreply@github.com
f3cdae6081e906458eedf1db091b5d53cb5464ab
3b9194499503f9e06dbebe113c53afad0b572ab2
/Visualization/VisualizeBrainSpanExpression_plotly.py
23b6877c726642d0d3c2209dba5b38d0c81b22ca
[]
no_license
JulseJiang/DrugKBPrototype
0bffa42b2913996d22e40942d24c4da0feb76f33
34567630fe8febb1ea6827541fd3d92f42935ecc
refs/heads/main
2023-03-19T17:57:14.822743
2021-03-18T11:54:22
2021-03-18T11:54:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,299
py
# -*- encoding: utf-8 -*- # ------------------------------------------------------------------------------- # @file: VisualizeBrainSpanExpression # @Author: GuoSijia # @Purpose: # @Created: 2018-09-25 # @update: 2018-09-25 11:34 # @Software: PyCharm # ---------------------------------------...
[ "32893370+Liuzhe30@users.noreply.github.com" ]
32893370+Liuzhe30@users.noreply.github.com
1305e53dfc974a72d2087f4b8cb7312977d8f002
365bbcc1dbcc14d4f737ec6218dcf46114c8dc9d
/rango/env/bin/pip3.6
24c3cff5b6d0f3f82c7368dd5bd82ee8aac1aa93
[]
no_license
kimm9/PythonDevelopment
f52c88bd00be07c9774a2fe2f717a67f81b952dd
03c77b10f684caca6c650eeb6c810f1fd89e0c6e
refs/heads/master
2022-12-09T08:23:50.206527
2018-03-26T17:13:11
2018-03-26T17:13:11
116,835,012
0
0
null
2022-11-22T02:15:17
2018-01-09T15:37:23
Python
UTF-8
Python
false
false
254
6
#!/Users/Matthew/Documents/PythonDevelopment/rango/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "matt.kim712@gmail.com" ]
matt.kim712@gmail.com
1e7cc99a08d573612aee1a48bd305b9b768359a5
cc264f36850fb9bda302d437f67491f7cdef69b1
/code/nnet_layers.py
1cd805084384a5de9b39e7822e335b3717ace550
[]
no_license
xiayandi/Bilingual-Sentence-Classification
7c0982fbd6de80f42fce3b6c6f05213cbfdd0293
56c21208553e80b71ea94b4d4bc4b49072e41b5b
refs/heads/master
2020-04-14T13:09:45.115020
2016-04-19T16:45:32
2016-04-19T16:45:32
41,878,066
1
2
null
null
null
null
UTF-8
Python
false
false
17,904
py
__author__ = 'xiy1pal' import numpy as np import theano import theano.tensor as T from theano.tensor.signal import downsample import theano.tensor.shared_randomstreams from theano.tensor.nnet import conv # different non-linearities def ReLU(x): y = T.maximum(0.0, x) return (y) def Sigmoid(x): y = T.nne...
[ "xiayandi@gmail.com" ]
xiayandi@gmail.com
b6e3f87d7064f4e4cfaea9c68abcc286b4a1f124
7cf945655903bb922c669cabe9e9b28bf718540d
/TinyFlow/Loss.py
963dd834773ca2b98984e09f89b52b3ce815c0a0
[ "MIT" ]
permissive
JyotinderSingh/TinyFlow-Deep-Learning-Framework
fe224c5694bad6135068c7a7fc8faa87fd9fdb78
1a57f273d05cf1ac940da61fa4713c5265b4c46d
refs/heads/master
2023-06-13T08:19:51.937261
2021-07-12T05:46:55
2021-07-12T05:46:55
258,977,602
0
0
MIT
2020-10-27T12:02:18
2020-04-26T08:21:51
Python
UTF-8
Python
false
false
6,640
py
import numpy as np # Common loss class for regularization class Loss: # Regularization loss calculation def regularization_loss(self, layer): # 0 by default regularization_loss = 0 # L1 regularization - weights # Only calculate when factor greater than 0 if layer.wei...
[ "jyotindrsingh@gmail.com" ]
jyotindrsingh@gmail.com
a00b7db0fb468d6c6bdac17cf46dda3eefb44c31
10a380e4c43ce690a989f30b37638658fa028575
/news/urls.py
60357954c04df8720027a8dd72cac4263a581c06
[]
no_license
killerbees1982/pierwsza
6c9948b473183a8ae172665533fcea7a947a6807
f1ca0a525c0a4ecbe535825d54a9d133ba5a7c8d
refs/heads/master
2021-01-01T19:43:34.015530
2017-07-28T14:13:36
2017-07-28T14:13:36
98,656,348
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
from django.conf.urls import url from . import views from django.contrib.auth.views import logout from django.conf import settings urlpatterns = [ url(r'^$', views.post_list, name='post_list'), url(r'^post/(?P<pk>[0-9]+)/$', views.post_detail, name='post_detail'), url(r'^post/new/$', views.post_new, name='...
[ "killerbees1982@gmail.com" ]
killerbees1982@gmail.com
ef50171deae3603d843305ba9702ab004c926836
625d241ef84ec8b182a9f67fd5dc0a9296a3270c
/2_Python/Final_Project/bikeshare_2/Finished Functions/time_stats.py
c3c119fb6ac0669a1ea9d95edfba2c5572cb0f3f
[]
no_license
jhl0204/Udacity-Programming-for-Data-Science-Nanodegree
fd75bd10560031fe1c242bac622297c0379061e6
51aeef515d78da5e117e0e85b01d044bad372a4c
refs/heads/master
2020-08-07T12:56:52.393218
2019-10-07T18:50:30
2019-10-07T18:50:30
213,459,789
1
3
null
null
null
null
UTF-8
Python
false
false
1,230
py
def time_stats(df): """Displays statistics on the most frequent times of travel.""" print('\nCalculating The Most Frequent Times of Travel...\n') start_time = time.time() # Use df.mode() to compute most often data --> outputs it as a tabular data with row 0 # and then access it with indexing (ie ...
[ "noreply@github.com" ]
noreply@github.com
a1b98c507f1b74e406d7754fa7373a7ca7f4e62c
b5c230cc699dec2494f82555db3c607d27f5c37d
/app/nyt_api.py
5ce2a4cecd5a247f66aac8b7e327317a6d28c170
[]
no_license
ande3674/avidreader
53f1a9cb07f0d0ea68844073791bbb7b7dc363bc
224ce08b1cd2562e4e89240f6873c94ec8a8501e
refs/heads/master
2020-04-08T18:02:57.351501
2018-12-20T18:14:49
2018-12-20T18:14:49
159,591,784
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
from config import Config import requests import app.api as google_api def get_nyt_bestsellers(): # FICTION !!! data = requests.get(Config.NYT_URL).json() results = data['results'] books = [] for i in range(8): book_info = {} current_book = results[i] book_info['title'] = curre...
[ "email@email.com" ]
email@email.com
611309507d45b4622968a0088a144df244863380
f77b0f2cc709b9670e6b4dc7145a6ea5368585d2
/project/handlers/ajax/__init__.py
1e7699ae21b1884559d32695109ecdcf81442bf6
[]
no_license
sgammon/StonerHub
45ccac6bd349200bbc75c494002c3ffeb082dcb8
a81f7fdd2c7118c6cea3c25ef9f53f272d27b0cc
refs/heads/master
2021-01-20T10:54:47.546251
2011-11-07T12:02:20
2011-11-07T12:02:20
2,664,437
0
0
null
null
null
null
UTF-8
Python
false
false
2,336
py
import config import logging from google.appengine.api import quota from project.handlers import WebHandler try: import json except ImportError: try: import simplejson as json except ImportError: try: from django.utils import simplejson as json except ImportError: logging.critical('No valid JSON adapte...
[ "sgammon@bluestatedigital.com" ]
sgammon@bluestatedigital.com
2e9c0c678b0f5efa189a956eda7cb328d897e492
dc66def991cf9abda24f057ad8b67432d6d3d9b6
/nsd_prepare_rois_rdms.py
2dadab04bac86b15fde993ddaf19ef5a079ba3dc
[]
no_license
Charestlab/nsddatapaper_rsa
4b3860717e85e2b171e52f10e60672ed85f01e4d
59d5838d0eb661509f651351d2a23b2eed7bf59b
refs/heads/main
2023-03-20T06:47:34.223395
2021-03-11T09:44:25
2021-03-11T09:44:25
343,485,836
4
2
null
null
null
null
UTF-8
Python
false
false
4,342
py
import sys import os import time import numpy as np import nibabel as nib from scipy.spatial.distance import pdist from nsd_access import NSDAccess from utils.nsd_get_data import get_conditions, get_betas from utils.utils import average_over_conditions """ module to gather the region of interest rdms """ sub = int...
[ "i.charest@bham.ac.uk" ]
i.charest@bham.ac.uk
29a4c87a5d495cf30a51cc3fd20fcaba4adc14ae
feef80ed0a0182e6ff74b60dc3a743d9c19c439e
/tensorflow_datasets/scripts/create_checksum_file.py
dcef257a4a7e7d8dd179d27ce11f5e5572fcba41
[ "Apache-2.0" ]
permissive
brettkoonce/datasets
7bd6f73ee77b5185db398290172250d499f76bf2
55bb2a80ab674c2f6254ac74d90bd6e5f478e895
refs/heads/master
2020-04-10T07:55:01.226854
2018-12-08T00:09:42
2018-12-08T00:10:04
160,892,533
0
0
null
null
null
null
UTF-8
Python
false
false
5,300
py
# coding=utf-8 # Copyright 2018 The TensorFlow Datasets Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
[ "copybara-piper@google.com" ]
copybara-piper@google.com
9ae1e0fe144eb142631419a238ee090ea1448322
defec7e7c44c4bde470cd9de102a83f176311e90
/ProjectEuler040.py
5a090b9875e878e4e581c2358d550ecc69bb2993
[]
no_license
edimaudo/Project-Euler
5ebd27ed91f5fcf4697a00d0deaa239f2b8309b9
06f74b46fc421510d9ea9ef86784679b914eb779
refs/heads/master
2020-04-10T14:57:41.692212
2016-11-06T20:55:04
2016-11-06T20:55:04
41,200,209
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# Project Euler 40 beginvalue = "" for value in range(1,1000001): beginvalue += str(value) tenlist = [1,10,100,1000,10000,100000,1000000] templist = [] for value in range(len(beginvalue)): if int(value) in tenlist: templist.append(beginvalue[int(value - 1)]) #print (templist) multval =...
[ "edimaudo@gmail.com" ]
edimaudo@gmail.com
d8d99df99bca6478674badf0816e5d6693c73d13
94838674ffd175df6194437c1ccc3f90ab409d6c
/pillowV3/log/2018-12-30 14:56:17.161287
fa70ed1172c1f299ee4907ddba242cb4c2972552
[]
no_license
WojciechKoz/MyFirstNeuralNetwork
4fdb3140d8f02257599d005638598f78055c1ac8
3cd032aba80ecd71edb0286724ae9ba565b75a81
refs/heads/master
2020-04-02T03:02:48.680433
2020-02-29T17:57:43
2020-02-29T17:57:43
153,943,121
0
0
null
null
null
null
UTF-8
Python
false
false
400,307
161287
#!/usr/bin/env python3 # -*- coding: utf8 -*- from __future__ import print_function # new print() on python2 from datetime import datetime import sys import numpy as np from mnist import MNIST # Display full arrays np.set_printoptions(threshold=np.inf) mndata = MNIST('./data') images_full, labels_full = mndata.loa...
[ "246992@student.pwr.edu.pl" ]
246992@student.pwr.edu.pl
af57c105f9af7b30476ecc5a144a100b6270c134
08ca3425d5f08326398b2ece9c081091a279521f
/beast/web/flaskwebapp/capture.py
ef797c976e14b870282897dc0001cd12d8f58f4d
[]
no_license
PraveerT/RPI_MDX
b7d77e1b899d3d6306b1733a70260e4bd112c61c
c284b4389e929355d60ae0b8e7a7d2e4881cc8b9
refs/heads/master
2021-09-22T09:00:41.359135
2018-09-06T19:08:31
2018-09-06T19:08:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
# import the necessary packages from picamera.array import PiRGBArray from picamera import PiCamera import time import cv2 # initialize the camera and grab a reference to the raw camera capture camera = PiCamera() camera.resolution = (640, 480) camera.framerate = 32 rawCapture = PiRGBArray(camera, size=(640, 480)) ...
[ "praveertowakel@yahoo.com" ]
praveertowakel@yahoo.com
f19fc5c3330d8fcb12ebc6be3886966f8a5d6b8c
4d76bdfbe24b76b3acffc163ceaeec5fb7196d46
/xNes.py
90822e1d01aeea7aad84d678f053b4f028e82eef
[]
no_license
oden41/Reinforcement_OpenAIGym
2521c4ea6e11a1b2ac8c5ae37f721d3b277df95f
812b2a79dd228ed7163288106200bfe42db22a47
refs/heads/master
2021-01-16T20:41:58.990839
2016-08-08T14:31:13
2016-08-08T14:31:13
64,726,040
0
0
null
null
null
null
UTF-8
Python
false
false
2,800
py
#! /usr/bin/python # -*- coding: utf-8 -*- import gym import numpy from scipy.linalg import expm # import csv def doOneIteration(episode, env): Lambda = 8 M = 5 T = 200 sigma = 0.5 B = numpy.identity(4) I = numpy.identity(4) eta_sigma = eta_B = (3 * (3 + numpy.log(4))) / (5 * 4 * numpy.sqr...
[ "iamoden41@gmail.com" ]
iamoden41@gmail.com
553f25fa2fcddfe3e7ab25743929f0fafa63ec55
120a32a1e7ac25a37bd74995e8f466c05b24ddb4
/yWait/models.py
72a29ab72151cbcaea1081e4870b360dec8506b1
[]
no_license
nkmerrill/yWait
26b16f1d9affa61daf6a1293a9080c857fb0f6d1
b0b6b2f60cd359e32e14d0ef4a11a0f68773b62e
refs/heads/main
2023-08-22T04:10:53.307410
2021-10-07T01:40:15
2021-10-07T01:40:15
392,822,449
0
0
null
null
null
null
UTF-8
Python
false
false
5,239
py
TEST = False #WARNING: Seeing to False will use LIVE DATA that can incur a cost! Please only set to False when live data tests are needed! For testing data, edit the values in sampleresponse.json instead! TESTRESPONSE = "yWait/sampleresponse.json" from django.db import models from django.contrib.auth.models import Use...
[ "nkmerrill@protonmail.com" ]
nkmerrill@protonmail.com
7ffc7004a4767c645f7ddca86bae2f5ff4bbc9df
d668a6d561f181913c50c0c94bf725198e1680a1
/RL_basics/value_iteration.py
5f933ff76808dc02da8b7a7daf29fbafd6f1e354
[]
no_license
achyut-srivastava/Reinforcement-Learning
23944ee580f305ddad509f31bcfb7639bf0d7fd8
ab2f9a2111ab585a330e5d15cf54ab86a579a41b
refs/heads/master
2022-06-03T19:06:51.517985
2020-05-05T01:33:08
2020-05-05T01:33:08
261,335,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
import numpy as np from grid_world import standard_grid, negative_grid from iterative_policy_evaluation import print_values, print_policy SMALL_ENOUGH = 10e-4 GAMMA = 0.9 ALL_POSSIBLE_ACTIONS = ('U', 'D', 'L', 'R') if __name__ == "__main__": grid = negative_grid(-.1) print("rewards: ") print_...
[ "noreply@github.com" ]
noreply@github.com
3a35a4f0d70df9f2a9d6cc4836f51145303da749
65aab5e31fe8d415b55d2a50ca4e9d5c5525a7c6
/exercise-tdd/main.py
83f155998450f122a8fabe1416f130506f8ceb6e
[ "MIT" ]
permissive
csoehnel/DSR-Testing
a4578d4ac92b339cd19c28ec71642d49e45478fd
3a28fb893ad6a46934c46123efaf77e3a40f2977
refs/heads/master
2020-04-26T04:34:28.688589
2017-01-31T17:08:22
2017-01-31T17:08:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
75
py
import unittest # Returns the nth Fibonacci number def fib(n): return
[ "steve.j.upton@googlemail.com" ]
steve.j.upton@googlemail.com
13eb91841cc9ea67908bd23dae98c76394f14d93
90a63ba41e6f462ea0c869bc415ae3d8d4f8342a
/classroom/models.py
9085146a1e5bc0d9b78522d8a72e484a6a5168ad
[]
no_license
buypolarbear/childcare-app-1
d8ee0f5ce5cfa94f89b2e8a04eb78b6bc4a892dc
8acecb2611de5b9b8957a239efa5eb5c787f6a06
refs/heads/master
2020-05-06T15:39:15.864117
2013-11-11T14:35:37
2013-11-11T14:35:37
180,201,165
0
0
null
2019-04-08T17:39:12
2019-04-08T17:38:55
Python
UTF-8
Python
false
false
2,010
py
from django.contrib.auth.models import User from django.db import models from child.imagegenerators import GalleryThumbnail from child.models import Child from childcare.models import Childcare class Classroom(models.Model): name = models.CharField(max_length=100) description = models.CharField(max_length=255...
[ "matej.ramuta@gmail.com" ]
matej.ramuta@gmail.com
5ba22dd5545bb52f3c63a5bf0e88a0481fe9e92b
b522a33dd1d0b42a1817ccc0d81ba75e765d51ff
/sales/sales/doctype/floor_rise_master/test_floor_rise_master.py
3333ec4585d9676334f4172a51bc831474f6d942
[ "MIT" ]
permissive
dngupta78/sales
ae2d2d38b5722e526ac116acd6d226d473083198
aee6be4ac46f6b63e85f819f68f14c242f1c9480
refs/heads/master
2016-09-05T15:55:07.999526
2015-10-23T13:22:28
2015-10-23T13:22:28
42,845,935
1
0
null
null
null
null
UTF-8
Python
false
false
270
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, d and Contributors # See license.txt from __future__ import unicode_literals import frappe import unittest # test_records = frappe.get_test_records('Floor Rise Master') class TestFloorRiseMaster(unittest.TestCase): pass
[ "erpnext4@erpnext4ubu12.erpnext4ubu12.i9.internal.cloudapp.net" ]
erpnext4@erpnext4ubu12.erpnext4ubu12.i9.internal.cloudapp.net
c48be57faa453f5f6f03d5164d04197f4fda3136
1612752a34dbd848de952430736fcabdaf28af46
/Assignment_6/approximateUser.py
da3c088aaf01753f57160d8cd21763d48d2b5d62
[]
no_license
pshk04/anwala.github.io
5a4de651a8d0f47c93bdcd31315c1cb7406310a3
4f33cab7cbd5712ef8eb549f59fc63dcbabecf45
refs/heads/master
2022-10-20T12:32:48.621496
2018-05-01T16:20:29
2018-05-01T16:20:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,177
py
from operator import itemgetter matchingUsers = [] myAge = 27 myOccupation = 'student' myGender = 'M' userMoviesDict = {} userMovieRatingDict = {} finalTopThree = {} finalBottomThree = {} userMovieRatingsList = [] movieRatingsList = [] matches = '' bottomCount = 0 topCount = 0 listSize = 0 with open('users.txt', 'r'...
[ "noreply@github.com" ]
noreply@github.com
c8ec4b2595b08a6a47592bb7d473604b5a04ce0b
bc88f23d872d52c77d7837393a2409c6c993a12f
/python/arrays_and_strings/1.1/is_unique.py
12c1eb526cabb975240ae19f4a778628093da5e4
[]
no_license
Shikkic/cracking-the-code
4076c7eb55c81211996002eb6bd4e6a52507d114
afa1b59999af2ffc84ab352d4a2c1ce4f4df8e75
refs/heads/master
2021-01-10T23:31:37.457545
2016-10-01T03:35:01
2016-10-01T03:35:01
69,712,097
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
def is_unique(s): if len(s) < 1: return False characterDict = {} for char in s: if characterDict.has_key(char): return False else: characterDict[char] = 1 return True
[ "Shikkic@gmail.com" ]
Shikkic@gmail.com
4883a6e3a0a778d3603243e35ac8d859bea0f498
e268c3b21914dba8e2a9194975ade2a64ed7b704
/DrOptimize/optimize/test.py
14df39dc63bac2592693662d7b0bf9677940dee5
[]
no_license
dwinkelman/dwinkcode
108bb84e7cd7dba66dc3daef622d660544603a26
6ddd783ace5c5c89cfe5df3d41de8d9cef69d07b
refs/heads/master
2021-01-01T20:07:37.690930
2017-07-30T20:52:54
2017-07-30T20:52:54
98,769,342
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
import _dijkstra as dk cons = [ (0, 1, 7.0), (0, 2, 2.0), (0, 3, 3.0), (1, 2, 3.0), (1, 4, 4.0), (2, 4, 4.0), (2, 8, 1.0), (3, 12, 2.0), (4, 6, 5.0), (5, 7, 2.0), (5, 11, 5.0), (6, 8, 3.0), (7, 8, 2.0), (9, 10, 6.0), (9, 11, 4.0), (9, 12, 4.0), (10, 1...
[ "dwink3141@att.net" ]
dwink3141@att.net
901c175641a9bff6b41da9341a5e03bb5421d8ac
476cc933d384a3586dd80b186b37161d62494235
/pyramid_fullauth/events.py
47cbe3689533dde1bd80c261c1ea3612c98f57fd
[ "MIT" ]
permissive
pronebel/pyramid_fullauth
4a28022acc77bf06f9cc3b7458de63c71645298d
7280660bda44879d8fe2ca340868d73e5ea2d6ce
refs/heads/master
2021-05-13T22:39:15.048808
2018-01-05T12:11:21
2018-01-05T12:11:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,132
py
# Copyright (c) 2013 - 2016 by pyramid_fullauth authors and contributors <see AUTHORS file> # # This module is part of pyramid_fullauth and is released under # the MIT License (MIT): http://opensource.org/licenses/MIT """pyramid_fullauth emits these events during whole cycle.""" class _BaseRegisterEvent(object): ...
[ "fizyk@fizyk.net.pl" ]
fizyk@fizyk.net.pl
f37a3867f87a9c74a9e8745f4624efc6a482d43f
a7f777a2dcb6a77f738d7e79fdd6629b01564182
/funciones.py
44387bdd64b05782a994cc4f046c37ecaedc0d11
[]
no_license
vantoara/Proyecto-Algoritmos-2021-1
1d905201a8f4a7509dc59e26784c02d96132da92
532e61cc0a9435066ac56bc0d37b384f32f8718b
refs/heads/main
2023-03-30T12:26:02.439070
2021-04-06T03:29:40
2021-04-06T03:29:40
354,208,054
0
0
null
null
null
null
UTF-8
Python
false
false
29,987
py
from Player import Player from Guessing import Guessing from Word_Search import Word_Search from Crypto import Crypto from Hangman import Hangman from Math import Math from Python import Python from Boolean import Boolean from Number import Number from Shuffle import Shuffle from Quiz import Quiz from Memory import Mem...
[ "a.tovar@correo.unimet.edu.ve" ]
a.tovar@correo.unimet.edu.ve
4943a44793928a8c14faa931914ef6e92390821e
d147d5c4d15ff602243716fd1833827cad97d1cb
/IFin/IFApp/migrations/0011_auto_20190103_1408.py
83851741af5c9e3f981200ddc6d132a2b449862b
[]
no_license
makachat/IFIN
76d75e32f820e6031933454990373e13eecb1c5c
df30c75d80028b24ee87390d50e37902f2d0dfee
refs/heads/master
2021-06-18T01:06:47.030866
2019-07-03T14:31:49
2019-07-03T14:31:49
164,739,060
0
0
null
2021-06-10T21:06:28
2019-01-08T21:49:07
Python
UTF-8
Python
false
false
958
py
# Generated by Django 2.1.4 on 2019-01-03 19:08 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('IFApp', '0010_auto_20190103_1406'), ] operations = [ migrations.AlterField( model_name='site', name='address', ...
[ "amred7@gmail.com" ]
amred7@gmail.com
ea1686d108c62cec07db162f4db36b7d4cf71ee8
d7bc9f6a968de928f2bfc82aee93762c3b893c23
/applications/home/models.py
c2744a0ea2279bc94db44b0242c9e70b61c96539
[]
no_license
Diego-David/Prueba2
04e47d4a1fbfd5c8f89a0f7b46deb4f728ca4916
261ca23d34ea1d59a6d79e3ce2ef5d524a0ad052
refs/heads/master
2023-07-06T19:00:24.604487
2021-07-22T04:00:07
2021-07-22T04:00:07
376,198,913
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from django.db import models # Create your models here. class Prueba(models.Model): titulo = models.CharField(max_length=100) subtitulo = models.CharField(max_length=50) cantidad = models.IntegerField() def __str__(self): return self.titulo + ' - '+self.subtitulo
[ "diego.gavilanes8343@utc.edu.ec" ]
diego.gavilanes8343@utc.edu.ec
d200ffe9828f5211da2758b5183039836393cb8c
133b46dbe2ec0acbe9e9d1c84c1598e22cc205e9
/Contours/contours.py.py
6426e01d0fe6836335343458446ecaa72d324b82
[]
no_license
kanishk307/crack-detection-beproject
dbaf601c791356ffcc7a1b84094918518de8522d
a07a9e4ba017c4223dde4f681ae9229837bda60e
refs/heads/master
2021-07-14T10:14:23.562819
2020-06-19T18:25:41
2020-06-19T18:25:41
172,304,081
15
6
null
null
null
null
UTF-8
Python
false
false
1,551
py
import cv2 import numpy as np areasum=0 src = cv2.imread("a3.jpg", 1) #image path dalo height, width, channels = src.shape # print(channels) gray = cv2.cvtColor(src, cv2.COLOR_BGR2GRAY) # grayscale, jarurat naiye but incase image hoga toh rehnediya. vaise abhi binary hi hai so no issues blur = cv2.blur(gray, (3, ...
[ "ysj30797.kj@gmail.com" ]
ysj30797.kj@gmail.com