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
13d80f56e85681da4140ed64b47d36026edbf212
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions/v2019_11_01/operations/_subscriptions_operations.py
44a1d6b996b444a635fd1f5eca5b7f564867551d
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
10,390
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
2614cf1f44792beeb55c2a2e4257282366b8da9c
f33b30743110532ddae286ba1b34993e61669ab7
/869. Reordered Power of 2.py
9fecfa97156c715493e1bcf2e58aab9b47cf8034
[]
no_license
c940606/leetcode
fe9dcee7a5daa4d52999d5f53253dd6dd33c348b
631df2ce6892a6fbb3e435f57e90d85f8200d125
refs/heads/master
2021-07-10T14:01:26.164966
2020-08-16T10:46:16
2020-08-16T10:46:16
186,588,449
3
0
null
null
null
null
UTF-8
Python
false
false
299
py
class Solution: def reorderedPowerOf2(self, N): """ :type N: int :rtype: bool """ from collections import Counter c = Counter(str(N)) return any(c == Counter(str(1 << i)) for i in range(32)) a = Solution() print(a.reorderedPowerOf2(16))
[ "762307667@qq.com" ]
762307667@qq.com
3cc89fb96f0e655676a5d37c4ad739b14a702333
55e8d271134c0f6a77e1fe3416df06510b711309
/build/lib/pypi_test/__main__.py
6449cc35d8cdc3fcb31e95ba1437b577579357f4
[]
no_license
stephendarling/pypi-test-sdarling
9bc08445d1e4c3a156177a55755ad31d862f1c09
58b7305262df2f37e2047a24b0933273d1892c95
refs/heads/master
2020-04-15T10:25:08.959164
2019-01-08T10:23:41
2019-01-08T10:23:41
164,595,145
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
import lib.utilities as utilities def main(): return utilities.add_two_values(1, 9) if __name__ == "__main__": main()
[ "stephen.darling@outlook.com" ]
stephen.darling@outlook.com
0e4d898d2098fc6455c2670e9ca36f48ea446dc7
04a0dd75d8c7c57dbe11f5d04169685ac99bc87c
/luizalabs/apps/employee/urls.py
e1656b053f207cc5298667a67fe38a5cc6c85852
[]
no_license
glaucia86/employee-manager-app
2ddfa3b3b1c5f115aa84e7d17e55466cca1782b1
99129f954ab2ccb27f187583d33689a1a8ff8bbb
refs/heads/master
2021-01-13T08:22:33.352884
2017-02-12T04:11:49
2017-02-12T04:11:49
81,622,515
1
0
null
null
null
null
UTF-8
Python
false
false
123
py
from django.conf.urls import url, include from apps.employee.views import index urlpatterns = [ url(r'^$', index), ]
[ "glaucia_lemos86@hotmail.com" ]
glaucia_lemos86@hotmail.com
02d557bd344732d3594ca85a6a9820e0e06a97dc
980c52aad42bf878c12dc91ccf850114dce582d1
/scripts/duplication_wide_to_long.py
ad93d7ef74f4113258ad585280616b8a3fef34d7
[]
no_license
samebdon/samparse
b85bc538acdc988a8bd7d042a5a9f17f534c7d7f
41216d182e461acc41c1dc5d354bfbfa23fbea2a
refs/heads/main
2023-04-03T00:54:23.190651
2021-04-09T14:34:55
2021-04-09T14:34:55
356,230,393
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from docopt import docopt from matplotlib import pyplot from os.path import isfile import sys import re import pysam import numpy as np import pandas as pd dup_df = pd.read_csv("orthofinder/Gene_Duplication_Events/Duplications.tsv", sep="\t") #Orthogroup, species tree no...
[ "samebdon@gmail.com" ]
samebdon@gmail.com
88a1c28c43685c4337fb31b86dc9354426552f35
f95d42e1ee37710bf4b5069dc078ee476be2639a
/movies/templatetags/movie_tag.py
07095b8b2e06d07a34a8464d88ed686ada6d6e5e
[]
no_license
AristokratM/django-movie
23b67a9e002314544aa9e9525f8224155440e8af
5f593dba74f5c6a121d076f89ce601ec4f738d7b
refs/heads/main
2023-02-12T07:15:56.690896
2021-01-17T19:29:52
2021-01-17T19:29:52
328,722,123
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
from django import template from movies.models import Category, Movie register = template.Library() @register.simple_tag() def get_categories(): """Вивід всіх категорій""" return Category.objects.all() @register.inclusion_tag("movies/tags/last_movies.html") def get_last_movies(count): movies = Movie.ob...
[ "61250102+AristokratM@users.noreply.github.com" ]
61250102+AristokratM@users.noreply.github.com
100195dfd715236cf3362301bc411a12a0be41c5
693567f042c6bd93ecdda41cb5db81c55ccf3158
/List/swap two elements in a list (another approach).py
c013b3bb504c2f734752ab41623c4161c62e0bf9
[]
no_license
supriyo-pal/Python-Practice
5806e0045ebfeb04856246a245430e2ab7921ba9
2025369f0d23d603ad27eaff149500137e98dbcf
refs/heads/main
2023-01-25T05:31:58.404283
2020-12-09T19:08:22
2020-12-09T19:08:22
317,021,138
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 2 21:57:25 2020 @author: Supriyo """ number=input("enter the numbers between 0-9:") number_list=list() length=0 for i in range(len(number)): number_list.append(number[i]) length=len(number_list) print("Choose one position between 0 to",length) ...
[ "noreply@github.com" ]
supriyo-pal.noreply@github.com
70d720d10e659214310f4d9a51e83db0617d1d3b
1edc7db0b0bcb7dbc763d65bf39f97fcdd2d639e
/docusign_esign/models/proof_service_view_link.py
8f5520bd29a1fb840ffab4bd05c9c44fd46e32cf
[ "MIT" ]
permissive
harshaboggaram/docusign-esign-python-client
f59031c3e4ac30edb1306b587e555f3d1f683b2f
45b896956369e913dce13a2cb39ce1487ddb3a8d
refs/heads/master
2023-08-25T14:23:33.420231
2021-11-04T20:18:47
2021-11-04T20:18:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,596
py
# coding: utf-8 """ DocuSign REST API The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501 OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.gi...
[ "noreply@github.com" ]
harshaboggaram.noreply@github.com
92dfb2370079d41cc4a85a012de1c4209c13bbe6
1fc12b97b47a35e7232cd85c20d1976d6b85a80d
/evanchow_submission.py
c87d8f76837ca0b55463311cab2ce294a0114500
[]
no_license
richard512/capitalone
6d416a767cca0b0fee4c3732f5f5aaa1f874a468
683949e3109221b44f0ceb1f54750ff2447726a0
refs/heads/master
2020-02-26T16:27:50.008117
2014-03-22T00:32:35
2014-03-22T00:32:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,176
py
############################################################## # Name: Evan Chow # Email: echow@princeton.edu # This script uses Pandas dataframes to find the metrics. ############################################################## import pandas as pd # Read data into a Pandas dataframe. data = pd.read_csv(open('Metro...
[ "evancchow@gmail.com" ]
evancchow@gmail.com
7281be76556fd8d629e4800ad5a8fe24b6f8e645
2880ec0276330b0d3248ad21476769a4959a9f66
/life_expectancy/views.py
78b6b7477419a6eec68e53b376c7cb384fadaf8f
[ "MIT" ]
permissive
Cally99/Data-Labs-with-Python-Tableau
5a13c3b4d241633848c7a16d83977e9ee9ca9599
6fe58cd45d6c2b058abe771b3ffcf108b8832a49
refs/heads/master
2020-07-06T00:47:27.801260
2019-07-03T06:50:27
2019-07-03T06:50:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from django.shortcuts import render def life_expectancy(request): return render(request, "life_expectancy.html")
[ "lucasmalucha@gmail.com" ]
lucasmalucha@gmail.com
39ec4bf8e6a7b867141864c990b093060312ebb6
a82df8590bdcf2bb4e01e0b610a0765706dc0dbe
/python/ofile.py
49b7d15b1658d5ec3c58e05371cceda0bb8ecf3a
[]
no_license
bryankuo/lab
db1923ff1479a0dfe3d4fe6b41fb47f97fb19b37
521865b25f632887d05a951365e2497c4c22631b
refs/heads/master
2023-09-04T00:44:33.832607
2023-09-03T11:08:28
2023-09-03T11:08:28
64,229,571
0
0
null
null
null
null
UTF-8
Python
false
false
495
py
#!/usr/bin/env python3 import sys,csv ''' def open_and_parse(fname): f = open(fname, "r") print(f.readline()) return 0 ''' def open_and_parse(fname): with open(fname, 'r') as csvfile: csv_reader = csv.reader(csvfile, delimiter=',') line_count = 0 for row in csv_reader: ...
[ "cckuo.at.home@gmail.com" ]
cckuo.at.home@gmail.com
919f62f59e07d172d3703788a539f9b1ddd5d54d
d6a0def07da332d6f2cc250f4fd59b314d8f1099
/Cellgraphrt5.py
e89f547e0fbec255c050392c098741c5cc90c747
[]
no_license
ghsalem/exadata_graphs
eb3cfa413a24e0e23b029cd0366a3cc0a47b87b1
dbc788d3aa00b452cd0d05573d5a60d0723d995b
refs/heads/master
2020-03-19T06:31:45.107716
2018-06-04T13:53:41
2018-06-04T13:53:41
136,029,662
0
0
null
null
null
null
UTF-8
Python
false
false
5,009
py
import subprocess import os import pandas as pd import numpy as np from PyQt5 import QtCore, QtWidgets, QtWidgets from matplotlib import pyplot as plt from matplotlib import dates as mdates from matplotlib.pyplot import cm import datetime as dt from matplotlib import rcParams from matplotlib.backends.backend_qt5 impo...
[ "salem.ghassan@gmail.com" ]
salem.ghassan@gmail.com
f735e541e2852a473ab392064cf9429ac1a90ffc
0db19410e9751790af8ce4a0a9332293e379c02f
/configs/body_2d_keypoint/rtmpose/humanart/rtmpose-s_8xb256-420e_humanart-256x192.py
b4263f25e741e25a0ec5b85900ff1b2587d2805d
[ "Apache-2.0" ]
permissive
open-mmlab/mmpose
2c9986521d35eee35d822fb255e8e68486026d94
537bd8e543ab463fb55120d5caaa1ae22d6aaf06
refs/heads/main
2023-08-30T19:44:21.349410
2023-07-04T13:18:22
2023-07-04T13:18:22
278,003,645
4,037
1,171
Apache-2.0
2023-09-14T09:44:55
2020-07-08T06:02:55
Python
UTF-8
Python
false
false
6,656
py
_base_ = ['../../../_base_/default_runtime.py'] # runtime max_epochs = 420 stage2_num_epochs = 30 base_lr = 4e-3 train_cfg = dict(max_epochs=max_epochs, val_interval=10) randomness = dict(seed=21) # optimizer optim_wrapper = dict( type='OptimWrapper', optimizer=dict(type='AdamW', lr=base_lr, weight_decay=0.)...
[ "noreply@github.com" ]
open-mmlab.noreply@github.com
297c1220c8a3ea20bfe4798b655f8387e404042f
5ceac3827bfae3c2c5634efcdac35e5235dfd75f
/authentication/urls.py
040c02edf1761c8a0cc62bb979287496d4f2b276
[]
no_license
jabirjas/jwt-toturial
132d13a5842d68bbb6732fec1d41a0c0400f79c8
e4d2bee71e27d01ec75def9e1910e25266ba8eee
refs/heads/master
2023-02-06T21:53:09.648845
2020-12-29T04:03:53
2020-12-29T04:03:53
325,178,470
0
0
null
null
null
null
UTF-8
Python
false
false
509
py
from django.urls import path # from rest_framework_simplejwt.views import ( # TokenObtainPairView, # TokenRefreshView, # ) from rest_framework_simplejwt.views import TokenRefreshView from authentication.views import UserTokenObtainPairView urlpatterns = [ # path('token/', TokenObtainPairView.as_view(), nam...
[ "jabir@cankado.com" ]
jabir@cankado.com
7944718fd7fe7c269fefe3472a850144761174d5
951036196e1124ae7ea5adaa713b2ca6c14d50a8
/bb102finals/elephant/models.py
c5cae4d28f10737f728b808b3c9187dc1eec197d
[]
no_license
UnCarter25le/python_Django
fadce2b05bb6a994624d9a615b0b4b888f6da137
c5771b37db849c3b8dafd11043867f6fea160f38
refs/heads/master
2021-07-11T04:33:40.272529
2017-10-07T13:26:28
2017-10-07T13:26:28
106,099,356
0
0
null
null
null
null
UTF-8
Python
false
false
11,763
py
from django.db import models from django.utils import timezone # Create your models here. class maplist(models.Model): mapName = models.CharField(max_length=60, null=False) mapDesc = models.TextField(null=False) mapLat = models.CharField(max_length=20, null=False) mapLng = models.CharField(max_length=20, nu...
[ "UnCarter25le@gmail.com" ]
UnCarter25le@gmail.com
399bd0b1cb94fcc4791e6ffda5196a46fa644e85
f0706c139ec7e5e30965786481928be8a5a90505
/pipeline/recognition/tests.py
4a90d94504f908cb4a4eba4ec0789f872f569918
[]
no_license
carlosb1/upc-aidl-19-team4
b17c3ce03233179a1ba2103718f161dba3044b51
4e8e681183452019da001191ac2b67e0ff9a09d2
refs/heads/master
2022-12-13T06:31:09.292596
2019-07-06T14:03:56
2019-07-06T14:03:56
195,061,097
1
1
null
2022-11-22T04:07:13
2019-07-03T13:39:53
Python
UTF-8
Python
false
false
2,840
py
from params import BuilderTrain, MODE_DATA_SARA, SIMPLE_TRANSFORM, OPTIMIZER_ADAM, NORMAL_TRANSFORM, MODEL_SIAMESE2, MODEL_DECISION_LINEAR, MODEL_DECISION, MODEL_SIAMESE1 from train import run import sys if len(sys.argv) > 1 and sys.argv[1] == "aws": PATH_DATASET = '/root/data/cfp-dataset' else: PATH_DATASET =...
[ "carlos.baezruiz@gmail.com" ]
carlos.baezruiz@gmail.com
00f660e0f272fcb8cb93a3a9f9780f5e4e343eaa
e82034a344076bb39182dd9083f887859332cfbc
/applications/users/admin.py
3fe16af878f119bcbc5c5126b3e4f81f99fc05c0
[]
no_license
ergusto/shoppinglist.website
e9eb47ab1c4426d388b5389a79ec979f4ff6433e
4836a1a6cc61312b5b9be9249f109a071ba1381d
refs/heads/master
2022-12-22T19:47:39.078618
2019-11-16T12:59:23
2019-11-16T12:59:23
94,458,073
2
0
null
2022-05-24T23:40:52
2017-06-15T16:24:03
CSS
UTF-8
Python
false
false
911
py
from django.contrib import admin from django.contrib.auth.models import Group from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from .forms import UserChangeForm, UserCreationForm from .models import User class UserAdmin(BaseUserAdmin): form = UserChangeForm add_form = UserCreationForm lis...
[ "fergus.ruston@gmail.com" ]
fergus.ruston@gmail.com
94729ef5c13805a548fadb8522ab0fe5e05564b9
e16130e2c7396c9be5bc02570519671f0aa4e314
/Python/Python_OO.py
4208bcc4a4c78793e7512f86f9707fab01f34c10
[]
no_license
MpRonald/TKinter
713ba746ac438e76407c611e14149bedce273b4e
8bfce7809cbcb35f86941510a37bf376ff45afdc
refs/heads/master
2023-06-20T03:24:58.628117
2021-07-20T15:35:43
2021-07-20T15:35:43
387,835,879
0
0
null
null
null
null
UTF-8
Python
false
false
3,398
py
# -*- coding: utf-8 -*- """ Created on Wed Dec 2 17:30:19 2020 Curso Python OO - Parte II """ class Programa: def __init__(self, nome, ano): self._nome = nome.title() self.ano = ano self._likes = 0 @property def likes(self): return self._likes def dar_likes(self): ...
[ "ronald.mp85@gmail.com" ]
ronald.mp85@gmail.com
38f1848e54986b2542f7d3d133d0e42d9309c0ab
794b110a87c7cb5b2a92bf9606aa61e9b1ea8e7a
/staging/membership/migrations/0015_auto_20151207_2251.py
0e1681391dd359b2e41caf78ff084f1598c4f01e
[]
no_license
Ritaotao/MyFirstDashboard
620707dbe84bc54a0e3bedd2f9539e153f33b3ab
5bd4c4bcbe8e6a7f0d55b2a66c3cf193e0a2f6fd
refs/heads/master
2021-04-28T22:11:13.148257
2018-03-01T20:33:52
2018-03-01T20:33:52
77,756,385
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('membership', '0014_auto_20151207_1400'), ] operations = [ migrations.AlterField( model_name='completesubscriptio...
[ "ritaotao28@gmail.com" ]
ritaotao28@gmail.com
1cc3c3e0a40e800b3eca55bc1f2adf1f5bbcee2a
0fb867b48b5a0bd88f9fefb5cdcad0b4abe720b6
/calculator.spec
646bfee63aa626e392df8c449574bd17d9edbe61
[]
no_license
sparshjaincs/Simple-Calculator
c010181d0ad0bc09719f813e6d91f7b87d990d5d
76c597c2e59a806c8d8a93ad8b798288639e7da1
refs/heads/master
2020-06-21T17:10:16.012591
2019-07-18T19:15:22
2019-07-18T19:15:22
197,511,687
2
0
null
null
null
null
UTF-8
Python
false
false
817
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['calculator.py'], pathex=['G:\\Projects\\Calculator'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_prefer_r...
[ "sparshjaincs@gmail.com" ]
sparshjaincs@gmail.com
c748b44b12e37ab2d37052f32e197c038c8526bc
048f9e77449891794adf9d9d19362038cd44a9f9
/tillfalle1/solutions/uppg3.py
e1cbfc723e675c1cb73a2684f121d76cafb86d32
[]
no_license
mrkickling/pythonkurs
9af03381b7fc5924eca13fc21c6db6ee8a5b6cc2
1ac8064cf6e055a4774b47c38efdda480f2b806c
refs/heads/master
2021-12-25T14:57:57.779951
2021-12-16T19:51:22
2021-12-16T19:51:22
217,728,794
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
# Uppgift 4: Skapa ett program (greeting.py) som tar in ett förnamn # och ett efternamn och åldern och printar ut en hälsning som använder # sig av den informationen, t.ex. “Hej Förnamn Efternamn, du är 18 år” # Ber om förnamn och lagrar det i variabeln fornamn (kommer att vara en sträng) fornamn = input("Förnamn: ") ...
[ "loxdal@kth.se" ]
loxdal@kth.se
f57edfd9043ca819fd75eb58c33096ebcf3207b2
c5e025c124847d816696f93a609a229e60f2a79c
/reconf.py
b55d1c3fe8a8c81addba27238b60a31f96597fed
[]
no_license
abcdnned/pyws
2902fa8ed2fa3383b67d33575767ebdd51edb873
700208d0875ce3b26d289caf5f46bb7d78feaf80
refs/heads/main
2023-08-04T09:38:02.980158
2023-07-21T01:49:43
2023-07-21T01:49:43
70,564,548
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
import os import os.path rootdir='D:\\gitrepo\\dp-benchmarks\\acceptance' pf='acceptance/' def reconf(d,f): try: i=open(f) lines=i.readlines() nl=[] for line in lines: if 'dp-benchmarks/' in line: s=line.find('dp-benchmarks/')+14 e=line.f...
[ "tom.yang01@sap.com" ]
tom.yang01@sap.com
dcd630b6a717b1d970ab25b98c828b29ab2968fb
c0bdf1de6b6fae87b12a1815b76c5589b76474d8
/recapp
d06c0af82f05994b04c4a59788fc008c3f342a37
[ "Apache-2.0" ]
permissive
Doctor-Gandalf/RecApp
e0ce4af13d21b37ef3b9b223a93671679481333d
268ff3304c8eb5e77e15e6dd2eec3782437d2a0b
refs/heads/master
2021-01-16T19:02:43.147855
2016-02-27T16:30:06
2016-02-27T16:30:06
40,322,571
0
0
null
null
null
null
UTF-8
Python
false
false
240
#!/Applications/Kivy.app/Contents/Resources/python __author__ = 'Kellan Childers' from kivy.app import App class RecApp(App): title = 'RecApp' kv_file = 'userinterface/mainscreen.kv' if __name__ == "__main__": RecApp().run()
[ "Kellan Childers@gmail.com" ]
Kellan Childers@gmail.com
43db25ac408cb01f6cd4ceceb5b478064ab72b2e
ecc350977f5960822d49874952719efa030e1680
/modules.py
2e16762111944de5eac0d1b9a709c9e2621639cc
[ "Unlicense" ]
permissive
Hazmatius/project_KID
899b8b981fedab67f8c4b8a47dca9bd64baa2ccb
8df14df6b9d87fd4701da17f97265bae9030955d
refs/heads/master
2020-07-07T04:46:23.127007
2019-09-11T01:23:49
2019-09-11T01:23:49
203,254,412
0
0
null
null
null
null
UTF-8
Python
false
false
13,899
py
import torch import torch.nn as nn from collections import OrderedDict import os import numpy as np import utils as utils import torch.nn.functional as F def downsample(x): x[:, :, 1::2, ::2] = x[:, :, ::2, ::2] x[:, :, ::2, 1::2] = x[:, :, ::2, ::2] x[:, :, 1::2, 1::2] = x[:, :, ::2, ::2] # x[:, :, :...
[ "alexbaranski@gmail.com" ]
alexbaranski@gmail.com
eb07d2a3f8f793245785b8e732d7d785d49671b6
282d0a84b45b12359b96bbf0b1d7ca9ee0cb5d19
/Malware1/venv/Lib/site-packages/scipy/interpolate/fitpack2.py
0f14d84f30435f315adac039526c16ae5d5cd92f
[]
no_license
sameerakhtar/CyberSecurity
9cfe58df98495eac6e4e2708e34e70b7e4c055d3
594973df27b4e1a43f8faba0140ce7d6c6618f93
refs/heads/master
2022-12-11T11:53:40.875462
2020-09-07T23:13:22
2020-09-07T23:13:22
293,598,094
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:422178a9adf00766a95a781c4d8e1837d120bc65542ddd936c9f14decc375ae8 size 62749
[ "46763165+sameerakhtar@users.noreply.github.com" ]
46763165+sameerakhtar@users.noreply.github.com
8cc677a48f04b190927b1c3641a43c3ee1fa6f66
f6bb9607669ebddde78700774fbc3d1c75c5978a
/cbsqt/main.py
e8d4c84f0f8f60ebf886a58c2985a2c2d6cbfedd
[]
no_license
Applelovic/cbs_qt
d2d0adf9400f3188a0e04a0584f76e91f3e2cd32
98df70fe56215eedf3b13a12b173137a631dacd6
refs/heads/master
2020-05-27T17:00:58.020525
2019-06-10T10:18:58
2019-06-10T10:18:58
188,713,648
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
from cbsqt.config import TimeAxis from cbsqt.job import JobBook # from multiprocessing import Pool def run(start, end, jobs=JobBook): # multi = Pool() times = TimeAxis(start, end) for time_tick in times.elements: for job in jobs: job.set_time(time_tick) if job.run_singal():...
[ "applelovic@gmail.com" ]
applelovic@gmail.com
70274af4500e590ef677311dc84936adacc1a325
f8032f2c85291232a51397176df2b88c76415144
/ProjectFiles/project_1/complex_heuristics/assignment.py
ec78ba72284e7512ff8de214e97e1b17b751701e
[]
no_license
jbaker8935/analyzing-the-new-york-subway-dataset
34ba61cbf7381ab7fc72e36c61c170fbb093bb9f
c221715b2848bff6ee2409a9b43b7c7c477a438c
refs/heads/master
2021-01-23T07:21:17.308806
2015-04-06T17:15:05
2015-04-06T17:15:05
33,494,336
0
0
null
null
null
null
UTF-8
Python
false
false
2,871
py
from __future__ import division import numpy import pandas import statsmodels.api as sm import sys def complex_heuristic(file_path): ''' You are given a list of Titantic passengers and their associating information. More information about the data can be seen at the link below: http://www.kaggle.com/c...
[ "farmerjohn1958@comcast.net" ]
farmerjohn1958@comcast.net
994f2c89af3d7a810699ce6e774d15218202a251
a07ab09632549e87c3b08dc486fb77d3bfc32a2d
/Micropython/blynklib_mp.py
42677ca7426a8a2f4047479b92f3b1372c975c20
[]
no_license
ryszard-raby/IoT
c89a193d79c8043e1d14f818ff59bded4d14a705
cd92950be433ba7ea2f8e040a726b1eee0497343
refs/heads/master
2023-08-11T09:04:56.430429
2023-08-05T18:24:23
2023-08-05T18:24:23
123,737,095
0
0
null
null
null
null
UTF-8
Python
false
false
13,304
py
# Copyright (c) 2019-2020 Anton Morozenko # Copyright (c) 2015-2019 Volodymyr Shymanskyy. # See the file LICENSE for copying permission. __version__ = '0.2.6' import usocket as socket import utime as time import ustruct as struct import uselect as select from micropython import const ticks_ms = time.ticks_ms sleep_m...
[ "ryszard.raby@gmail.com" ]
ryszard.raby@gmail.com
f046f12d7b3f16ea03cc78bebd1b08607193f082
c086a38a366b0724d7339ae94d6bfb489413d2f4
/PythonEnv/Lib/site-packages/pythonwin/pywin/framework/editor/frame.py
9e74114d102460a9401b98c1320ac20636a4a733
[]
no_license
FlowkoHinti/Dionysos
2dc06651a4fc9b4c8c90d264b2f820f34d736650
d9f8fbf3bb0713527dc33383a7f3e135b2041638
refs/heads/master
2021-03-02T01:14:18.622703
2020-06-09T08:28:44
2020-06-09T08:28:44
245,826,041
2
1
null
null
null
null
UTF-8
Python
false
false
3,164
py
# frame.py - The MDI frame window for an editor. import pywin.framework.window import win32ui import win32con import afxres from . import ModuleBrowser class EditorFrame(pywin.framework.window.MDIChildWnd): def OnCreateClient(self, cp, context): # Create the default view as specified by the template (ie...
[ "=" ]
=
8a5b3b98db7d4273488bcd017c8b483873753764
91d28b7c2b4e8df88217614453b47e4609720b86
/practical 2/prac2git1.py
53216e95d289fb82a50851e1de4331415ad85817
[]
no_license
adamsut/practical2
16039e805e1ce12f21383cf7f9786534698477ea
1801b8f3ee91219c73b79cfe948e6cb0ba2c57de
refs/heads/master
2016-08-12T08:04:56.750593
2016-04-18T13:05:35
2016-04-18T13:05:35
51,300,526
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
import platform as p print (p.win32_ver()) print (p.machine()) print (p.platform())
[ "user@193.1.165.232" ]
user@193.1.165.232
1c10b542571142609fd929c7bb5db2a96ef660cd
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/H3C-PORTAL-MIB.py
64fd13746f0c6c4162f4bf5d9b6313b40e2af202
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
30,326
py
# # PySNMP MIB module H3C-PORTAL-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/H3C-PORTAL-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:10:13 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
dc2ac1d722a3ed8080215db7b308155a9db3095a
1316187f7b5456c5c43832a45794efdb836cd668
/ENV/bin/alembic
91da4d9b074617ed5362139508d1265e512c233b
[]
no_license
miaoihan/qulook_flask
daedfb425076835e0cf51fd906602603bb7f3826
f95fc8feb615e8a5eb6280d9ed86c13aac6bd5f8
refs/heads/master
2021-01-10T06:28:37.808712
2016-04-13T12:37:13
2016-04-13T12:37:13
54,899,503
1
0
null
null
null
null
UTF-8
Python
false
false
334
#!/home/han/PycharmProjects/qulook/ENV/bin/python2 # EASY-INSTALL-ENTRY-SCRIPT: 'alembic==0.8.5','console_scripts','alembic' __requires__ = 'alembic==0.8.5' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('alembic==0.8.5', 'console_scripts', 'alem...
[ "izhanghan@outlook.com" ]
izhanghan@outlook.com
66359d09f6399c8788b19dd11a0b6191beaf75ae
0be06b34542b3ad7cc76ec4a0607f53cdeff6ae5
/test.py
54dcc6cc25323658b6ff5046cf42246a9f5589f0
[]
no_license
radhesh-kunnath/covid19-data-extraction
10b82c7bbe929e6bba0da3361af1a4790626a1e7
d9884792e490cb3f3119c9a0d8c6e8266bd3b008
refs/heads/master
2022-12-18T20:58:41.188478
2020-09-15T17:48:38
2020-09-15T17:48:38
295,804,571
0
0
null
null
null
null
UTF-8
Python
false
false
784
py
import requests import pymysql import schedule import time from bs4 import BeautifulSoup def mycode(): #dbcon=pymysql.connect(host='localhost',user='root',passwd='',db='scrap') #cursor=dbcon.cursor() #print("database connected") URL = "http://covid19.karnataka.gov.in/covid-dashboard/dashboa...
[ "noreply@github.com" ]
radhesh-kunnath.noreply@github.com
3044b5f1e87199524e827333216ebc4e1128f089
d12195d2f35c59236fed72ec3af99c2cb102423a
/click_weight.py
8a12f5e690e2c179d0a284c9992b6b40837acc59
[]
no_license
anshika01/Machine-Learning-project
270e08122af991e9a83f348fe76751ee815ab9c3
fe61993c86b20c42779a8622672bdb760a6b2cf3
refs/heads/master
2021-01-19T14:22:34.994527
2017-04-06T17:21:27
2017-04-06T17:21:27
75,592,770
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
import pandas as pd import numpy as np from sklearn.cross_validation import KFold def most_relevant(group, n_max=5): relevance = group['relevance'].values hotel_cluster = group['hotel_cluster'].values relevant = hotel_cluster[np.argsort(relevance)[::-1]][:n_max] return relevant filename = "training_2...
[ "noreply@github.com" ]
anshika01.noreply@github.com
a2a2518930512317c83f34ef6273bff3efd67fe4
88a54c5e2cf3d16e5288261a37840428bf6c4834
/src/article_loader.py
8654a31e9a45bdbf8fdbf8d3c4253eac3d4185af
[]
no_license
VitalyRomanov/document-clustering
f2fa1c617ef8f4e2ba69ba0c152d80c919361b25
412a21b857b79a644f77b728b8798dda9e854e29
refs/heads/master
2022-04-07T22:04:30.804892
2018-02-03T18:50:25
2018-02-03T18:50:25
104,849,940
0
0
null
null
null
null
UTF-8
Python
false
false
6,666
py
import json import os # import pickle as p import joblib as p from datetime import datetime import urllib.request import numpy as np def date2int(date): return int(datetime.strptime(date, '%Y-%m-%d %H:%M:%S').timestamp()) def get_date(ts): return datetime.fromtimestamp( int(repr(ts)) ).strftime...
[ "mortiv16@gmail.com" ]
mortiv16@gmail.com
f4b2e300b62275ca716a10c4df1c4a5ce8822b52
b286fbf7f9c00664a009cf57a8aa7a671222c61a
/setup.py
ec186450b5af55dcc10a265c5d514d1c5688f00e
[ "MIT" ]
permissive
xiaorancs/feature-select
860b8ff936018473eeac28ecc0042bb77c5ae43f
14e216e742542272c40c0249a648fac3df925815
refs/heads/master
2020-03-10T00:18:04.577852
2019-03-04T02:52:41
2019-03-04T02:52:41
129,078,564
13
2
null
null
null
null
UTF-8
Python
false
false
891
py
import io from setuptools import find_packages, setup def long_description(): with io.open('README.md', 'r', encoding='utf-8') as f: readme = f.read() return readme setup(name='featselector', version='0.1.0', description='Pythonic Features Selector by Statistics and Model', long_des...
[ "xiaoranone@gmail.com" ]
xiaoranone@gmail.com
2da083f0f04cbb665f2e9de9010e8d809f839b9a
79863574ca9d0ad9ca1a4a992d5991bed22120ac
/code/default/php_proxy/local/web_control.py
bbee9de2799f802b2738fb005c58fb2d0a201241
[ "BSD-2-Clause" ]
permissive
kuanghy/Docker-XX-Net
447c05030edd992b49190710388159b366e37012
91ddaee6be3391ecac289eee16be72c6a5edc949
refs/heads/master
2016-09-12T13:13:53.392017
2016-05-07T03:04:37
2016-05-07T03:04:37
58,246,621
7
5
null
null
null
null
UTF-8
Python
false
false
9,442
py
#!/usr/bin/env python # coding:utf-8 import sys import os current_path = os.path.dirname(os.path.abspath(__file__)) if __name__ == "__main__": python_path = os.path.abspath( os.path.join(current_path, os.pardir, os.pardir, 'python27', '1.0')) noarch_lib = os.path.abspath( os.path.join(python_path, 'lib', 'n...
[ "sudohuoty@163.com" ]
sudohuoty@163.com
aa57d2850c1fe3a915d65f8283fcf7f4d983723a
a0fab2d78c23fc21f2fc4b4c75dc7ec4f2509bce
/8_CART/4_treesCompare.py
5944d676e927e9f70bc568ffa5576501424ad42e
[]
no_license
weiywang/machineLearning
4361a0c2711ec7232dcccb480de63de572231a75
bc1ca07b341a7eda557659ac3a34edbd53eea155
refs/heads/master
2020-05-23T22:33:20.098939
2019-06-03T12:56:37
2019-06-03T12:56:37
186,976,472
0
0
null
null
null
null
UTF-8
Python
false
false
6,453
py
''' Created on Feb 4, 2011 Tree-Based Regression Methods @author: Peter Harrington ''' from numpy import * def loadDataSet(fileName): # general function to parse tab -delimited floats dataMat = [] # assume last column is target value fr = open(fileName) for line in fr.readlines(): curLine = line...
[ "sa517370@mail.ustc.edu.cn" ]
sa517370@mail.ustc.edu.cn
be1d104b2f9883aeb4d68360c1c230337ff776cd
3740de0d6e43ea140fc09ab314e4c492603ba185
/scripts/sources/S_EstimateQuantileMixtureStressTest.py
fb9d5a602ba8a987d718463a4796f474687762ad
[ "MIT" ]
permissive
s0ap/arpmRes
29c60c65fd3e11be1cc31d46494e5b3ebf6e05ab
ddcc4de713b46e3e9dcb77cc08c502ce4df54f76
refs/heads/master
2022-02-16T05:01:22.118959
2019-08-20T16:45:02
2019-08-20T16:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.1.4 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # # S_Es...
[ "dario.popadic@yahoo.com" ]
dario.popadic@yahoo.com
a5cc2d718c689f5c8e0a542115d38f94e4047061
4d42dc68dea307339af72a57a535a945b7c2b226
/source/accounts/migrations/0005_auto_20191104_1030.py
af20585508202c46786cc07a1cd94eb392e8c625
[]
no_license
EvgeniiLipatov/tracker
2773f41c92dffaabac5d0acd127c62c0a0952771
74c12590ea62cb149b8e8a0452e89ea1641c3359
refs/heads/master
2022-12-08T06:36:25.865479
2019-12-11T01:05:27
2019-12-11T01:05:27
211,312,117
0
0
null
2022-11-22T04:47:36
2019-09-27T12:16:15
Python
UTF-8
Python
false
false
482
py
# Generated by Django 2.2 on 2019-11-04 10:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0004_auto_20191104_0119'), ] operations = [ migrations.AlterField( model_name='profile', name='avatar', ...
[ "lipatowqevgeniy@gmail.com" ]
lipatowqevgeniy@gmail.com
78143c4e6942051b155a1e0dc181ef0d38715934
c67f2d0677f8870bc1d970891bbe31345ea55ce2
/zippy/lib-python/3/test/test_genexps.py
cc75ac26ee667116ef05274e3e3a41516ae62aeb
[ "BSD-3-Clause" ]
permissive
securesystemslab/zippy
a5a1ecf5c688504d8d16128ce901406ffd6f32c2
ff0e84ac99442c2c55fe1d285332cfd4e185e089
refs/heads/master
2022-07-05T23:45:36.330407
2018-07-10T22:17:32
2018-07-10T22:17:32
67,824,983
324
27
null
null
null
null
UTF-8
Python
false
false
7,149
py
doctests = """ Test simple loop with conditional >>> sum(i*i for i in range(100) if i&1 == 1) 166650 Test simple nesting >>> list((i,j) for i in range(3) for j in range(4) ) [(0, 0), (0, 1), (0, 2), (0, 3), (1, 0), (1, 1), (1, 2), (1, 3), (2, 0), (2, 1), (2, 2), (2, 3)] Test nesting with the inner ...
[ "thezhangwei@gmail.com" ]
thezhangwei@gmail.com
44acbae65b649a3f770891b1339416a2a6df77d6
93d175f845172504e245a72ea74352d37fb12ce4
/chapter4/c4allMyCats2.py
4b64839c42ab82b449633bad19b2b031f563f74a
[]
no_license
tatsuei/atbswp-code
de4be39b3043d6be2e54bbe36e5fa4a14a0d72f5
b17254205f7e58765607a64f34c1da7d1accefd2
refs/heads/main
2023-02-28T11:02:17.849839
2021-01-26T13:47:51
2021-01-26T13:47:51
332,991,524
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import re # Regular expression library import sys # Checking user input to see if they wanna restart the program def checkRes(): noNames = input('Aww. They don\'t have names yet. Wanna name them?' ' (Y/N)\n') return noNames def floofNaming(): floofNames = [] while True: p...
[ "eiji@tutanota.com" ]
eiji@tutanota.com
5eccf13eebc94af807b3d12ca1a02e2097936d43
080529b6dcc745c0dbbb95080a47575e15de5ee5
/mysite/projectManager/migrations/0005_auto_20160723_1442.py
85607bb23b004c90c382c9d8a5c699c4602e7149
[]
no_license
paryoja/expManager
2a5a33e2bed710069e08c81d27715f91bee0ebd1
162205ba0e2474871cdc92118122a0678bce0f5c
refs/heads/master
2021-01-11T18:31:04.508688
2017-09-01T07:12:36
2017-09-01T07:12:36
79,559,486
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-23 05:42 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('projectManager', '0004_auto_20160723_1432'), ] oper...
[ "yjpark@kdd.snu.ac.kr" ]
yjpark@kdd.snu.ac.kr
d74cb975867f89c208482325ea88b95bfab1eb3b
1d1a0b45f91c68ae26d6df65726b0b4134810ef8
/main/decorators.py
b6b8db24c552d4a9378259b7eb06d2b6be891207
[]
no_license
SergioAnanias/amigos
b5230ca2d69fcaaca0592fc1eb7ef438511ba550
b11b6fddeb5d7e9715bee81f16c11d4872eda5ec
refs/heads/main
2023-06-26T03:10:41.660508
2021-07-24T21:00:34
2021-07-24T21:00:34
389,376,404
1
0
null
null
null
null
UTF-8
Python
false
false
265
py
from django.shortcuts import render, HttpResponse, redirect def loginauth(func): def wrapper(request): if not 'user' in request.session or not request.session['user']: return redirect("/login") return func(request) return wrapper
[ "sergio.ananias.o@gmail.com" ]
sergio.ananias.o@gmail.com
43d2678fe00adbaa6aeb89d3ac85cee449782bf5
2ed86a79d0fcd299ad4a01310954c5eddcf01edf
/homeassistant/components/tankerkoenig/binary_sensor.py
5f10b54f7042763cd7b371c8f9cef7f5b76c43ec
[ "Apache-2.0" ]
permissive
konnected-io/home-assistant
037f12c87bb79e19220192eb918e49db1b1a8b3e
2e65b77b2b5c17919939481f327963abdfdc53f0
refs/heads/dev
2023-05-11T08:57:41.891518
2023-05-07T20:03:37
2023-05-07T20:03:37
109,931,626
24
10
Apache-2.0
2023-02-22T06:24:01
2017-11-08T05:27:21
Python
UTF-8
Python
false
false
2,257
py
"""Tankerkoenig binary sensor integration.""" from __future__ import annotations import logging from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE...
[ "noreply@github.com" ]
konnected-io.noreply@github.com
4eea37a29cef71bf3177edc33f57ff5d01aedb49
995f574f9ce7e35c18b24fa83cef023cb6cb6880
/0072.py
6071b70755a51696c8e74491f1b5f48b4e437fa4
[]
no_license
albertzang/leetcode
99b1ca4f5067565e97257f2b9bc4209e3e067a5f
672d42f4fc8c400d32d7fa9c8ff16df35ec98618
refs/heads/master
2021-09-12T18:18:29.734624
2018-04-19T21:07:34
2018-04-19T21:07:34
120,690,065
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
class Solution(object): def minDistance(self, word1, word2): """ :type word1: str :type word2: str :rtype: int """ m = len(word1) n = len(word2) table = [[0 for _ in xrange(n + 1)] for _ in xrange(m + 1)] for i in xrange(1, m + 1): ...
[ "albertzang.ys@gmail.com" ]
albertzang.ys@gmail.com
affb952b2d0ed78a461de81d919ccab61cc0b2f2
3dffcaf0a99c08b3bc6dc273c32e3510497473ba
/Exercice 17.py
b1ca74caff61b2502288c0d211a24a9ceabcb265
[]
no_license
gnorgol/Python_Exercice
400674f2947467f2edbb86794e50c653bdb8c69d
73494395dd5110d9f8c1cfdc59df45ab0fb9e0fb
refs/heads/main
2023-01-14T09:31:31.411617
2020-11-16T15:17:07
2020-11-16T15:17:07
311,283,645
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
s = input("Saisir une chaine de caractères : ") for each in s: print("le caractére : "+ str(each) + " figure" +str(s.count(each))+" fois dans la chaine s")
[ "noreply@github.com" ]
gnorgol.noreply@github.com
1973a00d90ade7fd622026b0953fc2e3b73b5b26
212c888339b9530e6abf26d6ae79f676335dc39f
/aceui/base/basepage.py
c340b9d69d79e8719dcf0081b650860fb0779b2a
[]
no_license
HttpTesting/aceui
c8434699b45d8bcfb32c9a8e8196648b146894f3
9a63c25da1fd7e2a10d873780d8c46a911bda6d6
refs/heads/master
2023-02-10T13:54:04.749830
2021-01-06T09:30:51
2021-01-06T09:30:51
323,271,661
0
0
null
null
null
null
UTF-8
Python
false
false
18,107
py
""" __doc__: create:2018/10/27 by: yhleng """ import os import time from PIL import Image from selenium.common.exceptions import ( NoSuchElementException, ElementNotVisibleException, UnexpectedAlertPresentException ) from selenium.webdriver.support.select import Select from aceui.lib import gl from aceui.li...
[ "lengyaohui@163.com" ]
lengyaohui@163.com
878ea199022c142618b146acd39e6a8e298d8e7d
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4456629.3.spec
8a2485d2abe4621730ed59fee93f7b17ba12906e
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,301
spec
{ "id": "mgm4456629.3", "metadata": { "mgm4456629.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
79160475b546c0e1a9d4475f04595beef7a90f93
e930b11c3271bec1bc9e76dd0cca27d7f0be4378
/Activity7_BasicManipulations/TransformingImages.py
57380ae58a86ade0188a5aa751d4e50a8149b4ca
[]
no_license
tianyoul/AI-Robotics
c55b0382c850298af9bbc03a3cee93fbecafbe17
01732d90d5099a3ac3b723ff05376d27208d534a
refs/heads/master
2021-04-29T18:03:18.549750
2018-04-30T21:53:15
2018-04-30T21:53:15
121,683,110
0
2
null
null
null
null
UTF-8
Python
false
false
679
py
import cv2 import numpy image = cv2.imread("TestImages/DollarCoin.jpg") cv2.imshow("Original Image", image) cv2.waitKey(0) #Returns a new image that is 100 x 100 pixels, a stretched version of the original resized = cv2.resize(image, (100, 100)) cv2.imshow("Resized Image", resized) cv2.waitKey(0) #Returns a new imag...
[ "wkim@macalester.edu" ]
wkim@macalester.edu
c8983eaece84eaea3e11e2c48d8b55af4c40209d
998e56e8be92a57024fbc2d4b2d098bd4aa316fb
/todoapp/main.py
260a659339a633f28e848daac5dfcb197343f2f2
[]
no_license
Tela96/cc_work
f51a045f102c521b692aaa75e6e15916765ff75e
9b28c44e7ce302799bf766a13e6bc40f35f13ba5
refs/heads/master
2021-01-11T06:49:07.985726
2017-01-24T13:46:39
2017-01-24T13:46:39
72,417,306
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
import pickle import io list_test = [1,2,3,4,5] pickle.dump(list_test, test) list_test = pickle.load(test) print(list_test[3])
[ "tel.akos.2@gmail.com" ]
tel.akos.2@gmail.com
894e2f67bba5c83742d2ce4fd70856440443ba52
b022261b8e6ff3dad97459946b72cb0fad0c468d
/longest_common_subsequence.py
2c57c7c9adf8a809675c34dd810a5731f82f12c6
[]
no_license
alleniac/coding
fb5c9960e4c83c6ace27ff1be4facbff95ef4952
9b9069189ba4b048adbdb085e5d3719b20bf5e68
refs/heads/master
2020-08-17T04:42:26.054964
2019-12-18T00:20:40
2019-12-18T00:20:40
215,609,580
0
0
null
null
null
null
UTF-8
Python
false
false
2,439
py
import time def test(func, testCase): test1 = ['abdca', 'cbda'] test2 = ['passport', 'psspt'] lcl = locals() start = time.perf_counter() result = func(lcl[f'test{testCase}'][0], lcl[f'test{testCase}'][1]) end = time.perf_counter() print(f'function: {func.__name__}, testCase: {testCase}, r...
[ "theallenma@gmail.com" ]
theallenma@gmail.com
93bfb4e8a151b2e4adbc5d836ee68c0d723722e0
b557810d1d4603db7518c7229b5b3466b77a136e
/live_chat/bin/wheel3
e8b4584603a7cf61173da5244c3fc3a3b9cd1994
[]
no_license
royinttime/python_live_chat
c809b3aca411553cda8bda82bda9d6609c5c394c
715d0aad78378fe7144b34c1c32930465dc0df98
refs/heads/master
2021-05-22T01:03:58.335937
2020-04-04T03:24:06
2020-04-04T03:24:06
252,898,438
0
0
null
null
null
null
UTF-8
Python
false
false
258
#!/Users/roytseng/side_project/python_live_chat/live_chat/bin/python # -*- coding: utf-8 -*- import re import sys from wheel.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "royinttime@gmail.com" ]
royinttime@gmail.com
a0ba0f8d5ac0bf71c18e90491831eea9e884eea3
2a91a64f5464c48fb56bd2f0e01668737d4eafa9
/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/resourcesettings/v1alpha1/resourcesettings_v1alpha1_messages.py
b11a7c1f6f7f92eb4e127e2fa1b46f7f49f45edf
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
salewski/google-cloud-sdk
8513faf8c2f5b9180361efb567c4cfb9986d1e21
060174026ac068b6442b6c58bedf5adc7bc549cb
refs/heads/master
2023-08-16T09:44:57.948620
2021-10-05T00:00:00
2021-10-05T16:15:40
417,465,521
0
0
null
null
null
null
UTF-8
Python
false
false
23,806
py
"""Generated message classes for resourcesettings version v1alpha1. The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy. """ # NOTE: This file is autogenerated and should not be edited by hand. from __...
[ "gcloud@google.com" ]
gcloud@google.com
94c88e893fab70eb22becd4d8470f07518bbf6a5
8acffb8c4ddca5bfef910e58d3faa0e4de83fce8
/ml-flask/Lib/site-packages/networkx/algorithms/centrality/tests/test_dispersion.py
ea1ba9e9b7e48392782524321a3dcf960ee5d629
[ "MIT" ]
permissive
YaminiHP/SimilitudeApp
8cbde52caec3c19d5fa73508fc005f38f79b8418
005c59894d8788c97be16ec420c0a43aaec99b80
refs/heads/master
2023-06-27T00:03:00.404080
2021-07-25T17:51:27
2021-07-25T17:51:27
389,390,951
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:831ddc7c07f1bc0699f90cfd23a91ebe38264e16cd0c35dcf82dab49654d5e00 size 1601
[ "yamprakash130@gmail.com" ]
yamprakash130@gmail.com
ff6d19853cc83ff9be398b8e53479f4932609be5
1686fed9d0d40441cc9c1d1274b0dd38368a0cb8
/python/Django/polls/models.py
0b2fef6547c6d8b02ed7e5abf9e6abd60e0b0afa
[]
no_license
yso1983/_docker
256681c482fcd801cf03e2b18ad07a3300dc7ad0
6e33231bdb0dedb96e22a5da5fdd48c2b3bdb317
refs/heads/main
2023-07-09T09:37:56.825056
2021-08-09T05:34:47
2021-08-09T05:34:47
345,030,933
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
import datetime from django.db import models from django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was_publish...
[ "yso1983@gmail.com" ]
yso1983@gmail.com
59009bd5dd01f17d4fb38bd72dd81cf54fcaab2e
f1e0fa146050dac18049be305520885d6592af89
/timeoppgaver/find_rate.py
c36e32501597cf4ee4d54ead0b2f431e1ee8c43c
[]
no_license
ankile/ITGK-TDT4110
cc09a8df95f77e1bb75d463d9c17427a16782a77
a2b738d3e52bd1d115e0c3afcf01012a429695d5
refs/heads/master
2020-04-01T21:53:32.142073
2018-10-18T20:26:58
2018-10-18T20:26:58
153,680,667
1
0
null
null
null
null
UTF-8
Python
false
false
305
py
def find_rate(filename, check_rate, acc): f = open(filename, 'r') for line in f: line = line.strip() liste = line.split() rate = float(liste[1]) if round(check_rate, acc)== round(rate, acc): print(liste[0] + ':', rate) find_rate('USD_NOK.txt', 6.2, 2)
[ "lars.lien@ignite.no" ]
lars.lien@ignite.no
8680c9e92af3922ad6c0d145b8851d2989051fe3
9a16cb0f2d2f8a85c0dfa9c812bd2668b38caba9
/day05/day05_1.py
1f39e5a0552f15afa4badaa51f1e84d62f2eb07b
[]
no_license
ScottLangridge/Advent-of-Code-2020
f37abb4b3d7c87cd8749c1e7fa6db7fe6e9d5f54
9879645bae3017f8a9796896401450ff6a9b7ed2
refs/heads/master
2023-06-10T02:28:17.499520
2021-07-02T13:36:58
2021-07-02T13:36:58
318,517,542
0
0
null
2020-12-12T13:57:50
2020-12-04T12:59:03
Python
UTF-8
Python
false
false
840
py
def main(raw_input): seat_coords = parse_boarding_passes(raw_input) seat_ids = [get_seat_id(i) for i in seat_coords] return max(seat_ids) def get_input(filename): with open(filename) as f: raw_input = f.read() return raw_input def parse_boarding_passes(raw_input): seat_strings = raw...
[ "scott.m.langridge@gmail.com" ]
scott.m.langridge@gmail.com
9e357902fc5b561c2ef46702a81481dc9f93f830
493466f521ebf469434134d61a0c8cadd1f78850
/BBT codes/eda1BBT.py
0788b5b8d7b704778bcf431b8777c54d03424a3b
[]
no_license
chariot1498/Popularity-of-tv-shows-on-tumblr
b95294a51c0793ca91b0fdc8f2d470c4e2f7283f
d5343be19ff044ad7b9c07249eaadf490c5bb7bf
refs/heads/master
2022-07-13T22:05:24.996079
2020-05-08T17:31:05
2020-05-08T17:31:05
115,494,542
0
0
null
null
null
null
UTF-8
Python
false
false
3,967
py
import mysql.connector import numpy as np import matplotlib.pyplot as plt cnx = mysql.connector.connect(user='root', password='sid',host='localhost', database='Sherlock') cursor = cnx.cursor() lu = [] l1 = [] l2 = [] l3 = [] l4 = [] cursor.execute("""SELECT timestamp FROM Text where timestamp<1411385659""") l1 = cur...
[ "f20150023@goa.bits-pilani.ac.in" ]
f20150023@goa.bits-pilani.ac.in
65445b5fb4e4a871a548483e374c5ba709fe7489
8aeac45b73139fa5a760eaeaf4a03892a664d3d0
/meu_projeto/meu_projeto/urls.py
367d0573682b89f959b39a2252a67c3c2e68a6cd
[]
no_license
mabner/fby-aula4
67772d5df7fbba662bbea1a276aee569da0e19cb
14f8eea9928aa26d46c5de0448afe5a4ab8258d4
refs/heads/master
2023-06-09T22:16:47.226545
2021-07-04T00:34:37
2021-07-04T00:34:37
381,869,847
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
from django.contrib import admin from django.urls import include, path urlpatterns = [ path('', include('meuapp.urls')), path('admin/', admin.site.urls), ]
[ "30819867+mabner@users.noreply.github.com" ]
30819867+mabner@users.noreply.github.com
8b18bbf9c096d8be86fcb9300c6d2ebda74a9b51
2b1ee4b583bef5ebdb0de83e5a0c8eea02ed8f74
/cifar10_cnn_example.py
257b834d9378fb846afcf943c58e7e8b128f4a1c
[]
no_license
MinJae1/MachineLearning
1a6508e04b7365129b4e548bd0c59860bf4f2542
b6ce1c678176480715afa3e082c4aefb78d51d19
refs/heads/master
2020-04-17T07:17:57.639374
2019-01-21T03:57:32
2019-01-21T03:57:32
166,363,199
0
0
null
null
null
null
UTF-8
Python
false
false
6,507
py
#출처 http://solarisailab.com/archives/2325 # -*- coding: utf-8 -*- """ CIFAR-10 Convolutional Neural Networks(CNN) Example next_batch function is copied from edo's answer https://stackoverflow.com/questions/40994583/how-to-implement-tensorflows-next-batch-for-own-data Author : solaris33 Project URL : http://solarisa...
[ "dywjdalswo@gmail.com" ]
dywjdalswo@gmail.com
1fc5d80715c8372cd3f272aea6fed8b48b52f579
7dcb698aa42b9d76ccc04931d27b06f6cf16e72e
/Main.py
420d61f60afbb45bdb96da721108a2c59c2bee0f
[]
no_license
VGAIN0/SQLite_b64_saver
98def4856319c83cafc15c6a5e2f4830b8387991
d26b2c10046fb63328a9025d5cc7b6a6b2eef6b5
refs/heads/main
2023-07-16T04:30:38.100763
2021-09-03T02:53:52
2021-09-03T02:53:52
402,624,138
1
0
null
null
null
null
UTF-8
Python
false
false
780
py
import os def menu(): strs = ('Enter 1 for update\n' 'Enter 2 for import\n' 'Enter 3 for add \n' 'Enter 0 to exit : ') choice = input(strs) return int(choice) print("/////") x= int(input('Enter 1 for update\n' 'Enter 2 for import...
[ "noreply@github.com" ]
VGAIN0.noreply@github.com
7d4018d80c1c700ffbcc1aca2277bd38960a2240
203282a1919871b7a39882d349205033c16c19e0
/gp_before_submodule_backup/acados/quadrotor_optimizer_q_mpc_q330_set_p.py
83b5e398c057c3871920254ff9c782eabbba9948
[]
no_license
FanJing1112/MA_Experiment
da5a40e584038009310cff548d4ef6b95050a1ae
2b1e6c6caf61776eb354b92cd6fc6621f9d93752
refs/heads/main
2023-08-15T01:16:02.513069
2021-10-05T14:47:54
2021-10-05T14:47:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,662
py
#!/usr/bin/env python3 # coding=UTF-8 ''' Author: Wei Luo Date: 2021-03-21 22:27:50 LastEditors: Yinfeng Long LastEditTime: 2021-08-30 ''' import os import sys from quadrotor_model_q_set_p import QuadRotorModel from acados_template import AcadosOcp, AcadosOcpSolver, AcadosSimSolver import casadi as ca import scipy.lin...
[ "yinfenglong@hotmail.com" ]
yinfenglong@hotmail.com
ee50c345a81f3fc46700bd9e87309e0b279cdf01
4074a22464d2d832ad70e7b389740410f4917ca1
/run-benchmark
5186a63d3a9448284bdee0df118cd772596a7fba
[ "BSD-3-Clause" ]
permissive
iiPing/lighty-template
72ae37fbe70c091345ec31f01b7a5ba87bd8238a
63834fbb2421506205745bb596ff8ac726361f2a
refs/heads/master
2020-12-11T07:53:43.449757
2012-06-15T06:42:55
2012-06-15T06:42:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
42
#!/usr/bin/python from benchmark import *
[ "undeadgrandse@gmail.com" ]
undeadgrandse@gmail.com
ecd14774b54a42730e50d7553215c1bd7b04b74f
2e14ab5174692c4fc872d1cd4f942b597273c2bd
/models/base_model.py
242f843ec4046883359c43beec13cfad6082f0d2
[]
no_license
Anustup900/africa_poverty
b355bcfd1c6cdb0934c6b184b444eb422e513172
c25ec6bbc89a87122c34719176f19474b6b4c72f
refs/heads/master
2022-11-22T01:40:33.552717
2020-06-11T23:54:35
2020-06-11T23:54:35
286,533,321
1
0
null
2020-08-10T17:03:54
2020-08-10T17:03:54
null
UTF-8
Python
false
false
2,149
py
class BaseModel(object): '''The base class of models''' def __init__(self, inputs, num_outputs, is_training, fc_reg, conv_reg): ''' Args - inputs: tf.Tensor, shape [batch_size, H, W, C], type float32 - num_outputs: int, number of output classes set to None if we are ...
[ "chrisyeh96@gmail.com" ]
chrisyeh96@gmail.com
66694eb7078793966c8a6e9c670afb2ec01a2013
444cde813fd09111953c424200575d0a4efd99c2
/sbhelpkit/utils/extra_typings.py
c8402a4239d08c8138bd419b68fba78d5a463c81
[ "WTFPL" ]
permissive
MapleCCC/Session-Buddy-Helpkit
9763651ec2ee793330ef2fd64d9bc6913ed22d44
c9555834bf7e8ca41a59155fdf2723e4e4869381
refs/heads/master
2020-09-06T17:45:30.602746
2020-01-13T17:15:32
2020-01-13T17:17:55
220,499,154
1
0
null
null
null
null
UTF-8
Python
false
false
302
py
from typing import * # Reference: # https://docs.python.org/3/library/json.html#encoders-and-decoders # https://github.com/python/typing/issues/182#issuecomment-186684288 JSONType = Union[ Dict[str, Any], List[Any], str, int, float, bool, None, ] JSONObject = Dict[str, Any] JSONArray = List[Any]
[ "littlelittlemaple@gmail.com" ]
littlelittlemaple@gmail.com
e231ce0ec8866c4ae5188bd2779dee6f35a69e9e
cd9050426b9404d24aa2c49fff4ce0db0727471e
/0x03-python-data_structures/6-print_matrix_integer.py
55a54fe3389c036f8d2e645c572371a144e977de
[]
no_license
engemp/holbertonschool-higher_level_programming
cef61a7f3057a8a055ea3cccce24f7a5817ce4fa
b7d720d093a77252d19e227d1ffef33dbca0af90
refs/heads/master
2022-07-20T01:18:03.457407
2020-05-15T22:37:00
2020-05-15T22:37:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
#!/usr/bin/python3 def print_matrix_integer(matrix=[[]]): print('\n'.join([' '.join(['{:d}'.format(i) for i in row]) for row in matrix]))
[ "aikomi1726@gmail.com" ]
aikomi1726@gmail.com
d00f8a5113df64077c306d43ae28a8fd05eda42a
ae4e517aebe74a851df977af1a11d2a67120050c
/h2o-py/tests/testdir_munging/unop/pyunit_expr_math_ops.py
970952c2b4e4d21a1f40dda8da7beca2cf42bea5
[ "Apache-2.0" ]
permissive
StephaneFeniar/h2o-dev
8dd06549ddee490d6db5b7dd41f043e061cee121
2c0c69aeda69d08be5edce330bf34898e9b2ab2b
refs/heads/master
2021-01-14T08:51:40.694426
2015-04-18T21:01:23
2015-04-18T21:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,544
py
import sys sys.path.insert(1, "../../../") import h2o import numpy as np import random import math import scipy.special def expr_math_ops(ip,port): # Connect to h2o h2o.init(ip,port) sin_cos_tan_atan_sinh_cosh_tanh_asinh_data = [[random.uniform(-10,10) for r in range(10)] for c in range(10)] asin_acos...
[ "eric.eckstrand@gmail.com" ]
eric.eckstrand@gmail.com
9e3db1a1ac5b4a95bb089cedabe3884181cb513c
779a0dec61b3fd4e005f06fa38fef52315802362
/siteVotes/wsgi.py
36fbd9c14717f58e2563dc0bdb4abd2e63570d6c
[]
no_license
PavelVor94/siteOfVotes
9f55beb4ff6b70a441d33c5f8225aac79ce5bc24
bfbc8ef7c01370a316511516e99c0b455928efb1
refs/heads/main
2023-03-10T22:57:40.871358
2021-02-25T17:34:25
2021-02-25T17:34:25
342,326,591
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for siteVotes 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "f16574@Yandex.ru" ]
f16574@Yandex.ru
38287c4dba1ada604dd4db2c416bb21d3a73d3bf
cd01419108a2c0994ab7692a87b8df1eca6ac81f
/loadingtest.py
5d060b32ba405cbdcf744d14c54248837cdbc0a0
[]
no_license
djbartos93/APC-PDU-Config
fbb8dc8ed7e1a6711855f68f1d0c7373e10af130
07af7bd866ed85578fdcba13c7c24b3b97107d4f
refs/heads/master
2021-01-02T09:02:33.498276
2015-04-02T03:18:56
2015-04-02T03:18:56
33,286,954
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
import sys import time def progressbar(it, prefix = "", size = 60): count = len(it) def _show(_i): x = int(size*_i/count) sys.stdout.write("%s[%s%s] %i/%i\r" % (prefix, "#"*x, "."*(size-x), _i, count)) sys.stdout.flush() _show(0) for i, item in enumerate(it): yiel...
[ "djbartos93@gmail.com" ]
djbartos93@gmail.com
54784ae241ebb27af2105733d27895990c63c635
d024ccbb4cc04af3866a4db1ac1d8c1d7395d909
/boj/4673.py
28d025abbfa54b5cb36be7af6190215810610b63
[]
no_license
demetoir/ps-solved-code
ff0418dddd10f3b053c9b8d32af48027b10c8481
f4d4fd2183176b083f2287c9d89c6d5a1e983cc5
refs/heads/master
2022-10-14T20:11:34.581439
2020-06-12T11:24:11
2020-06-12T11:24:11
68,782,768
1
0
null
null
null
null
UTF-8
Python
false
false
135
py
l=lambda n:n%10+l(n//10) if n>0 else 0 a=[1]*20002 for i in range(1,10000):a[l(i)+i]=0 for i in range(1,10000): if a[i]==1:print(i)
[ "wnsqlehlswk@gmail.com" ]
wnsqlehlswk@gmail.com
b1c4ea7298b6e81c0536a83c6bde99cc7fde0007
6d387d44bcbbae1db1c110554d2accd263b36946
/friends with baylor the game.py
765f68047e2a3b8cec2571d0ef4e4728060179a6
[]
no_license
DaemeonH/Friends-with-Baylor
8524b474e1631d8a1286129d4fc8a4aa85b3aa19
37df4552491ba936900a44c2dc47d8f8f865e3e4
refs/heads/master
2020-04-22T09:03:02.086047
2019-02-12T05:41:15
2019-02-12T05:41:15
170,256,805
0
0
null
2019-02-12T05:30:03
2019-02-12T05:18:56
null
UTF-8
Python
false
false
10,573
py
##import sys ##import os ## ##def resource_path(relative_path): ## """ Get absolute path to resource, works for dev and for PyInstaller """ ## base_path = getattr(sys, '_MEIPASS', os.path.dirname(os.path.abspath(__file__))) ## return os.path.join(base_path, relative_path) import time import pygame ...
[ "noreply@github.com" ]
DaemeonH.noreply@github.com
559c610e46d10f1c51de20f3558bfb1bbd7f5a3b
8ffa792c46bb25a2c8d5fe80c03db67b62ece193
/eval/b05902046/method.py
8f637defbbc74992ad35440b4cd8b12ce36d40e9
[]
no_license
b05902046/AI-Othello
b6836859cc14c69d1d544387a694b9017ef5aeca
c3574e05adee6ac34b85319d0d6ce34116be9fd7
refs/heads/master
2020-03-19T23:16:24.991047
2018-06-24T11:34:45
2018-06-24T11:34:45
137,000,196
0
0
null
null
null
null
UTF-8
Python
false
false
4,160
py
import random def naiive_get_best_move(currentState, myColor): max, maxi, maxj = -1, -1, -1 moves = currentState.get_legal_moves(myColor, True) for [i, j, score] in moves: if max < score: max, maxi, maxj = score, i, j return [maxi, maxj] def min_max_get_best_move(priceTable, currentState, myColor, depth, warn...
[ "b05902046@ntu.edu.tw" ]
b05902046@ntu.edu.tw
5df196843c25b81138c44c75987e86e0af7debc1
3dfa65c42241d866dcf82d2f6faf603e5aec096c
/gladweb/views/index.py
340e3f77f04331b417dcf26cd0303c55a194ac4b
[]
no_license
Dav1dde/glad-web
0ad5f11f4ca0966ae29b4c1972a02295bdd6c47c
ff05bd08efca97c2f40fbf3e9f8fde265b7c8e7d
refs/heads/master
2023-03-07T18:31:52.638325
2023-02-25T16:14:12
2023-02-25T16:14:12
35,337,528
396
74
null
null
null
null
UTF-8
Python
false
false
4,874
py
import json import os import sys import tempfile import zipfile from collections import namedtuple from flask import Blueprint, request, render_template, g, url_for, redirect, flash, current_app import glad.lang.c.generator from glad.spec import SPECS from gladweb.views.exception import InvalidUserInput if sys.versio...
[ "admin@dav1d.de" ]
admin@dav1d.de
02cfd708885095b2ba4e02b81745936c1ea47f59
e224a8680496757bfaad411181062a81ca1824a2
/BinarySearch.py
78dace1202c4ccdc6601a640ff92542c4fb7834b
[]
no_license
Tech-Learner07/DS-Algo
ab9329cf2212363b83b4f086f56c7a65b33c9fe2
d92694040dedfa903afc3b1637c7a1969decd57b
refs/heads/main
2023-02-24T11:20:00.344056
2021-02-02T11:33:19
2021-02-02T11:33:19
334,334,675
1
0
null
null
null
null
UTF-8
Python
false
false
653
py
''' Check it out: https://en.wikipedia.org/wiki/Binary_search_algorithm ''' def binarySearch(theList, target): first = 0 last = len(theList)-1 isThere = False while first <= last and not isThere: mid = (first+last)//2 if theList[mid] == target: isThere = True else: ...
[ "72344536+MR-Hack-403@users.noreply.github.com" ]
72344536+MR-Hack-403@users.noreply.github.com
5ebc3eed3f50f40a3bef822f6948346cd9737775
2867eb59cb2f47e256b7594089ef22837805c577
/models/UNet.py
d38a1974554d51c59b632e7ee41214adaa7d1171
[]
no_license
chiukin/ESFNet-Pytorch
931dd97ea90aa05ccae31c35d6b1b61fea464ce9
9c49e65cbf2929917a32caca8e9e35390c2141f1
refs/heads/master
2020-05-05T08:22:07.816532
2019-03-28T12:03:59
2019-03-28T12:03:59
179,861,160
2
0
null
2019-04-06T16:54:29
2019-04-06T16:54:28
null
UTF-8
Python
false
false
3,459
py
# sub-parts of the U-Net model import torch import torch.nn as nn import torch.nn.functional as F class double_conv(nn.Module): '''(conv => BN => ReLU) * 2''' def __init__(self, in_ch, out_ch): super(double_conv, self).__init__() self.conv = nn.Sequential( nn.Conv2d(...
[ "noreply@github.com" ]
chiukin.noreply@github.com
70e8c66e667510aaf50021798b5fee88f47c4564
aa8a204b727c613c4d635a8ece158490be8f367c
/functional_tests/server_tools.py
5f47b04a1e05cb83771c07f533c0fb4d1b92af97
[]
no_license
AntonioIsas/django-tdd
ed880e7c76bb54ae525d66be71084e1e0272e1f5
69a90f0de61aee4aa68b99b7c1a9fae9edfe359e
refs/heads/master
2022-05-17T19:07:05.777201
2019-12-01T23:21:38
2019-12-01T23:21:38
169,775,323
0
0
null
2022-04-22T21:00:54
2019-02-08T17:48:29
JavaScript
UTF-8
Python
false
false
871
py
from fabric.api import run from fabric.context_managers import settings, shell_env def _get_manage_dot_py(host): return f'~/sites/{host}/virtualenv/bin/python ~/sites/{host}/manage.py' def reset_database(host): manage_dot_py = _get_manage_dot_py(host) with settings(host_string=f'antonioisas87_gmail_com@...
[ "antonioisas87@gmail.com" ]
antonioisas87@gmail.com
e44e9989565a9d1ffcbc9142748500ff5a274785
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201022114431.py
652f1b7cfbfba3d9c2325e1ea062cb799ef42b97
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class Meta: template = 'streams/title_block.html' icon = 'edycja' ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
566b949d5b6105ffa0ac3812e25ae751a59de219
fdd67d3733d3db2fb381f25b0985952e3f7c9a4f
/epdAlarm.py
9fc35afaa5fac12a5bf4482d115b6d71392bd049
[]
no_license
star-controls/epdAlarm
56c6ef50616ea4290217b41d0daf3c4ebf7ee952
4a966e38116344b9d209dd8efc9abfbbc0e4db5a
refs/heads/master
2020-03-21T07:51:27.655488
2019-03-05T15:04:12
2019-03-05T15:04:12
138,303,832
0
0
null
null
null
null
UTF-8
Python
false
false
6,072
py
from epdchan import epdchan import paho.mqtt.client as mqtt from watchdog import watchdog from softioc import builder import time import pandas as pd #EPD PVs builder.SetDeviceName('EPD') #list of all EPD channels as 3-index list npp = 12 ntile = 31 elist = [] #east/west loop for ew in range(0,2): elist.append([])...
[ "jaroslav.adam@cern.ch" ]
jaroslav.adam@cern.ch
de650df458a9ff95cf300012180b8a01322efc8c
c928b3fad4e391a6ab50c692907794b79200876c
/forms/registration_form.py
da482a55059c9c6dce74e1cfa825244ada73610e
[]
no_license
AidasKitm/ZP202Auction
d65a5945a6dac698ae69db5a5bc80be5e959c84e
efb9ba39fc24bc877900e58c458d46f93aa605be
refs/heads/master
2023-03-23T06:59:38.447641
2021-03-10T07:09:57
2021-03-10T07:09:57
337,635,285
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from wtforms import StringField, PasswordField from flask_wtf import FlaskForm from wtforms.validators import DataRequired, Email from wtforms.fields.html5 import EmailField class RegisterForm(FlaskForm): first_name = StringField("Please input your first name", validators=[DataRequired()]) last_name = StringF...
[ "aidas.puskunigis@kitm.lt" ]
aidas.puskunigis@kitm.lt
79f618f49ff37f1fcc46d4c8c90d6c24e380892e
ae75d226fe9c806baa0bc1960f19a57a0c8c6d00
/strava_get_segment_details.py
901e0182963f21250a8be6d4e97dcff56f6b6fc4
[]
no_license
vigi4cure/vigi4cure.github.io
5c06f1fe7bc15fad96c594104d0146abf0c271f7
895e58988731005b33f8a7ab9a2c23256e82a2b6
refs/heads/master
2022-12-10T09:07:22.697163
2019-06-08T16:40:38
2019-06-08T16:40:38
131,753,372
1
1
null
2022-12-08T02:04:15
2018-05-01T19:19:16
HTML
UTF-8
Python
false
false
1,966
py
#!/usr/bin/python3 import csv, time from stravalib.client import Client from retrying import retry @retry(wait_exponential_multiplier=1000, wait_exponential_max=10000, stop_max_delay=30000) def retry_get_segment(client,j): return client.get_segment(j) def main(): # keywords = 'Brossard' segmentlist = [] ...
[ "ywen@vigilantglobal.com" ]
ywen@vigilantglobal.com
fd4c9a5bb433757d1d9b8356a5dbb2cf4c8a67af
cc55ed0b6f822da0ef293efa0261a70506a7d346
/05_Django/05_django_form/config/settings.py
3e4b2f3941030e2dabc3616e0d47a3af75e61a5e
[]
no_license
Gunny-Lee/TIL
4e04a3ce836a845a7726b1899cfccef920f3ce56
8f9847a34ad99b69d746c2237b6518cefacc5338
refs/heads/master
2022-12-27T10:40:30.959182
2019-11-18T08:36:16
2019-11-18T08:36:16
216,502,916
0
0
null
2022-12-08T06:48:21
2019-10-21T07:21:35
Python
UTF-8
Python
false
false
3,361
py
""" Django settings for config project. Generated by 'django-admin startproject' using Django 2.2.7. 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 # ...
[ "student@M150127" ]
student@M150127
7ee8daf4289f9f23986a34994da4d93f21674b33
190a73f2ecfa7d2e53a6879db9dcc645ea8684d2
/main.py
ba00781ab646ef665c894aa1278011568e54acdb
[]
no_license
LucasBarrosDosSantos/algorithm_classification_k-nearest_neighbor
1f9d9f71b20126db7fe8f602878a809a42ae3fed
f4e85b154c4d653f0653d1994e620888e0ee352e
refs/heads/master
2022-12-11T20:28:49.525074
2020-09-16T23:59:51
2020-09-16T23:59:51
296,173,521
0
0
null
null
null
null
UTF-8
Python
false
false
2,920
py
# definindo dataframe df = [] import math # lendo csv com tamanho das colunas with open("breast_cancer.csv", "r") as dataset: for instancia in dataset.readlines(): x = instancia.replace('\n', '').replace('N', '1').replace('O', '0').split(',') df.append( [ float(x[0]), ...
[ "lucas2019.fullstack@gmail.com" ]
lucas2019.fullstack@gmail.com
3ca238515e0251221aaef76561e40ed16ed03328
55f8345165016d4080a0d380dff7be8de3b37643
/rm_background.py
fee59aca194b30594254e25de134b2a081548306
[]
no_license
hamparmin/face_extract
d9c3d8a3c030787b91ade89bbd8d942de79632c5
99bdd00add30b428414d620836aa2d2f204590b2
refs/heads/master
2022-11-06T04:18:22.515467
2020-06-26T13:29:12
2020-06-26T13:29:12
275,145,295
0
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
from torchvision import models from PIL import Image import matplotlib.pyplot as plt import torch import numpy as np import cv2 # Apply the transformations needed import torchvision.transforms as T # Define the helper function def decode_segmap(image, source, nc=21): label_colors = np.array([(0, 0, 0), # 0=b...
[ "43430778+hamparmin@users.noreply.github.com" ]
43430778+hamparmin@users.noreply.github.com
e16438dc36975f45b9ebf78a6a45f4a95b859c51
aef69557d8960205a780e61b7c2dfbb1d7733449
/Code/AshtonSmith/django_labs/django_doc_turotial/mysite/polls/views.py
d9488434e4b59abcd6fe9b5deac77cb5b83dfeab
[]
no_license
sbtries/class_pandaaaa
579d6be89a511bdc36b0ce8c95545b9b704a734a
bbf9c419a00879118a55c2c19e5b46b08af806bc
refs/heads/master
2023-07-18T14:18:25.881333
2021-09-02T22:48:29
2021-09-02T22:48:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,379
py
from django.shortcuts import get_object_or_404, render from django.http import HttpResponse, Http404, HttpResponseRedirect from .models import Question, Choice from django.template import loader from django.urls import reverse from django.views import generic from django.utils import timezone # Create your views here. ...
[ "ashton23@pdx.edu" ]
ashton23@pdx.edu
8487a600e8906b93b9849ec38bb6cbc794d4f4dc
1dbdca507976f65ec3434ffa7c6a37e9de646efe
/012_rgb_led.py
5620c6be287dc15ca8159898577b1823cb6ea045
[]
no_license
hoovejd/raspberry_pi_examples
b8e4861dfa3dd10f0c58347662b7ba877260c17d
0a868b25e24c6eda06f27a1147960642f0a3b8a4
refs/heads/master
2020-03-26T15:58:54.075282
2018-11-09T19:34:51
2018-11-09T19:34:51
145,075,305
0
0
null
null
null
null
UTF-8
Python
false
false
518
py
from gpiozero import RGBLED from time import sleep led = RGBLED(red=9, green=10, blue=11) led.red = 1 #full red sleep(1) led.red = 0.5 #half red sleep(1) led.color = (0,1,0) # full green sleep(1) led.color = (1,0,1) #magenta sleep(1) led.color = (1,1,0) #yellow sleep(1) led.color = (...
[ "hoov85@gmail.com" ]
hoov85@gmail.com
3b34f0811582e8e171f74e10a8ac53405e6d76cb
f7b9c4519a5dcfb4b1cf736bfab339c1fe19d967
/set2/c14_Byte_at_a_time_ECB_decryption_Harder.py
e35d036842e7a15c17d0f8933bf0986ef3109179
[]
no_license
wotmd/cryptopals
e1b016bbc3ca91e9d0dfb50f4dbfc152f4e56d72
f117c42662541c656f3e85af9ca3145ba4df5be9
refs/heads/master
2020-03-22T04:55:45.825375
2018-12-28T06:31:29
2018-12-28T06:31:29
139,530,347
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
from c12_Byte_at_a_time_ECB_decryption_Simple import * from Crypto.Cipher import AES from random import randint import base64 import os Prefix = os.urandom(randint(8, 48)) def prefix_encryption_oracle(plain): plain = Prefix+plain return encryption_oracle(plain) def find_AAA(encryption_oracle, BLOCK_SI...
[ "wotmd8534@naver.com" ]
wotmd8534@naver.com
851218c207bbbafac68c3e7b02fca713e1594cc8
182212d692ec227718721b6c55ae57dc3b2ae69b
/Test/FunctionalTests/CodeEditorTestScripts/CreateNewDocument.py
11256547963a27a211f67d62af50145532f83c78
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
Optis-World/ATF
a4c0cb70ca24c6881e07d95d7daa424183b8479f
ef06985a75b704d712a0109911aa44609952e169
refs/heads/master
2021-12-23T04:07:23.494033
2019-08-22T17:59:53
2019-08-22T17:59:53
101,640,560
1
2
Apache-2.0
2021-09-02T13:44:53
2017-08-28T12:23:53
C#
UTF-8
Python
false
false
632
py
#Copyright (c) 2014 Sony Computer Entertainment America LLC. See License.txt. import sys sys.path.append("./CommonTestScripts") import Test cntOg = Test.GetEnumerableCount(atfDocReg.Documents) doc = atfDocService.OpenNewDocument(editor.CreateNewDocument(".txt")) Test.Equal(cntOg + 1, Test.GetEnumerableCount(atfDocRe...
[ "ron_little@playstation.sony.com" ]
ron_little@playstation.sony.com
020d81e63c587a5791e3740eb9728eb3782c80f2
c770679730937a2dc3e9ec62d721c2782b44e6d0
/ls8/kbtest.py
dcd988ae908c0a764e6b8ade67530a86859fc14a
[]
no_license
Lambda-CS/Computer-Architecture
6156d9fef458183de5918c54f910e47e2b80d4e7
947b28fd319c074313b0b0a0c5df26bbb91c9f32
refs/heads/master
2022-11-20T17:35:21.651380
2020-07-26T02:10:38
2020-07-26T02:10:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
523
py
import curses import msvcrt # def main(stdscr): # # do not wait for input when calling getch # stdscr.nodelay(1) # while True: # # get keyboard input, returns -1 if none available # c = stdscr.getch() # if c != -1: # # print numeric value # stdscr.addstr(str(...
[ "antonyk@users.noreply.github.com" ]
antonyk@users.noreply.github.com
a06b4cdb26e979978b7442a5953e6661148f9c4d
90c6262664d013d47e9a3a9194aa7a366d1cabc4
/scripts/make_contract_tests.py
c5a713b158970664e7323b7f9745d351a8a8b188
[ "MIT" ]
permissive
tqtezos/pytezos
3942fdab7aa7851e9ea81350fa360180229ec082
a4ac0b022d35d4c9f3062609d8ce09d584b5faa8
refs/heads/master
2021-07-10T12:24:24.069256
2020-04-04T12:46:24
2020-04-04T12:46:24
227,664,211
1
0
MIT
2020-12-30T16:44:56
2019-12-12T17:47:53
Python
UTF-8
Python
false
false
5,441
py
from os.path import join, dirname, exists from os import mkdir import json from conseil import conseil from conseil.api import ConseilApi from pytezos import pytezos from tests import relpath from tests.templates import michelson_coding_test_case, micheline_coding_test_case, \ test_michelson_parse,test_michelson_f...
[ "mz@baking-bad.org" ]
mz@baking-bad.org
a3b4529f2a8af100e1863c8d7f61d0522f76b1ce
a46646a707b9d747fcf29a86f67a4ccbcbd0ddb9
/week10/book/76prayme.py
9a15021619c3da6599d23328531d5d56030c674c
[]
no_license
DevooKim/algorithm-study
5720642bb43ea364dae924ee038f97379f2ef85b
830b148defc7f0097abe2f5d3f4e9d8f3333efb0
refs/heads/main
2023-02-23T18:40:28.978111
2021-01-28T12:09:06
2021-01-28T12:09:06
302,206,505
2
1
null
2021-01-28T12:09:07
2020-10-08T01:54:08
Python
UTF-8
Python
false
false
2,155
py
import collections import heapq import functools import itertools import re import sys import math import bisect from typing import List class Solution: def minWindow(self, s: str, t: str) -> str: # T의 크기부터 점점 키워가기 def contains(s_substr_lst: List, t_lst: List): for t_elem in t_lst: ...
[ "dbfpzk142@gmail.com" ]
dbfpzk142@gmail.com
25222e105efb2fc73e5d687d3d5a216295f15d07
db64a89fa291fa3ddbb5a283412d66715acb6912
/tbe/impl/leaky_relu_npu.py
c1e4dd9364c90a387e72eb39491e26845cc81d12
[]
no_license
zyx1999/hw_operator
7f310b6605d2eda5b153bb02087f7ce7c2432fa2
cf5fda7c12b4d516ef51704996dfb7b42e989f41
refs/heads/main
2023-09-05T13:37:18.545373
2021-10-07T16:37:03
2021-10-07T16:37:03
378,068,730
0
0
null
null
null
null
UTF-8
Python
false
false
3,517
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- """ Copyright (C) 2018. Huawei Technologies Co., Ltd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the Apache License Version 2.0.You may not use this file except in compliance with the License. This progr...
[ "18218490078@163.com" ]
18218490078@163.com
20baf6dabfef2f97561aa97f300756ece414e7a8
2975093d6ce2a66e0299510967116de899d8d393
/pruebas/test_size.py
7dd3686e051caa99c64fe34023d85e716540fc4e
[]
no_license
RamsesCamas/D-Pyvot
e4e008ff1c8734869c230a92f1312f211002aeb5
14f32f0e8b8a30f5bff7834ba2a987e62ef69bc2
refs/heads/main
2023-04-14T00:40:07.687132
2021-04-30T21:24:28
2021-04-30T21:24:28
360,339,106
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
import cv2 import numpy as np img = cv2.imread('imgs/susto.jpg') print(img.shape) #382,480 img_rs = cv2.resize(img,(640,480)) img_crop = img[0:200,0:200] cv2.imshow('Imagen',img) cv2.imshow('Imagen redimensionada',img_rs) cv2.imshow('Imagen cortada',img_crop) cv2.waitKey(0)
[ "machiniram@gmail.com" ]
machiniram@gmail.com
67ddf0f228615775a73a1d0de0387e72ea091a88
1038db151d2eb24280272aecb9337053548acced
/Password generator Hard Way.py
2e04239280da0d44c1e46d494e7d70813dd87df2
[]
no_license
mygerges/100-Days-of-Code
75ffeb91ea39c77d0a852c8d64037633574178f4
1e0a01c2853ce05204c3a36bccd8244739050e87
refs/heads/main
2023-02-28T00:48:30.599680
2021-02-06T13:52:19
2021-02-06T13:52:19
336,290,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
# Password generator Hard Way import random letters = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'] numbe...
[ "mina.y.gerges@gmail.com" ]
mina.y.gerges@gmail.com
ba739e1e9487460532edf7325747f1c35b66b048
1e9ad304868c2bda918c19eba3d7b122bac3923b
/kubernetes/client/models/v1beta1_http_ingress_rule_value.py
168b201cfa6cc6450e6154e0ffdd4d11d9e0805c
[ "Apache-2.0" ]
permissive
pineking/client-python
c77e5bd3d476ac852e6dffa96056008baa0f597f
74a64d7325518f4298600d4bb300f92843c29347
refs/heads/master
2021-01-22T22:16:27.368406
2017-03-15T08:21:21
2017-03-15T08:21:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,219
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems im...
[ "mehdy@google.com" ]
mehdy@google.com
16b6d2a2bb371aec5835e7f3d24bccfd8b4ec178
b005d794cfd8e3b063b08d6a266b1e07f0f0f5e9
/src/webapp/geolist/forms.py
37418890337878c9eab7f4a4c60577f54493ef96
[]
no_license
GeoRemindMe/GeoRemindMe_Web
593c957faa5babb3040da86d94a5d884ad4b2db3
d441693eedb32c36fe853895110df808a9959941
refs/heads/master
2021-01-16T18:29:39.633445
2011-11-05T23:50:37
2011-11-05T23:50:37
1,841,418
8
5
null
null
null
null
UTF-8
Python
false
false
928
py
# coding=utf-8 from django import forms from django.utils.translation import gettext_lazy as _ from georemindme.models_utils import VISIBILITY_CHOICES class ListRequestedForm(forms.Form): name = forms.CharField(required=True) description = forms.CharField(required=False,widget=forms.Textarea()) vi...
[ "jneight@gmail.com" ]
jneight@gmail.com
75afb06cb1144006f881e49d5a26f90b5f5c599b
961782dd9414f9fc02643875bb174f2c1692e0f4
/python_data/kFold.py
bd51067ddb93752bb708a0208a9a6dc6fbafa656
[]
no_license
haoyu7/ECE-4424-Final-Project
46da07502f4a06693737eca16cd72e4de4c9778b
9de5e660c3d6ce3f9ea678e5acf8e8ed665ed730
refs/heads/master
2021-08-28T23:19:56.583969
2017-12-13T08:22:11
2017-12-13T08:22:11
114,090,964
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
import pandas as pd import numpy as np from BayesNet import * def kFold(data,k=10,structure=[0,0,0,0,0,0],verbose=True): ''' Carries out 10-fold CV ''' x=np.repeat(list(range(k)),repeats=(len(data)/k)) data['fold'] = pd.Series(x) foldSize = len(data)/k accuracyList = [] ...
[ "haoyu7@vt.edu" ]
haoyu7@vt.edu
93f230054d400799104fcdb3ea09d4509a9a6aed
3a00e5e2ee41d9de0f1e973e5727d5ba36c5858f
/4.py
e9b14b5a4eb4059805cbda94d3644ad1217ab6a4
[]
no_license
Ashok0822/ashok
53380dec5042bcbd7a99c78b9fcdb817abe790f3
9c5cf5806476aee242695d5d6fdbbb9c0578b6dd
refs/heads/master
2020-06-21T02:47:15.166541
2019-07-17T06:44:22
2019-07-17T06:44:22
197,326,217
0
0
null
null
null
null
UTF-8
Python
false
false
76
py
#a b1,d1=input().split() if(len(b1)>len(d1)): print(b1) else: print(d1)
[ "noreply@github.com" ]
Ashok0822.noreply@github.com
738f04c894b1bf7886e3975064d4408d62f67ff1
e3714ffec33610203e0c4d00bebcd6f9c97e2ddd
/cfgs/config.py
7273e6824af83763171e0cd6839b4847a2ddeff7
[]
no_license
Peratham/yolo2-pytorch
21cd092efffd9f38a740ac14ead32833fa9d131a
6a4c2156ef9d0ca8c1ea44c0bde3c296ad42a96a
refs/heads/master
2021-01-21T10:42:10.049098
2017-02-28T16:09:36
2017-02-28T16:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
import os from config_voc import * from exps.darknet19_exp1 import * def mkdir(path, max_depth=3): parent, child = os.path.split(path) if not os.path.exists(parent) and max_depth > 1: mkdir(parent, max_depth-1) if not os.path.exists(path): os.mkdir(path) # input and output size ########...
[ "longch1024@gmail.com" ]
longch1024@gmail.com
01e08f54ced01fc596322abf5335aff753179702
b7a31b27b2ae0386c9a4c96b668a34caa6ce93e6
/models/networks/LeNet300.py
91c652e5a6401db1dccd391f0974f5dd1572c1a8
[ "MIT" ]
permissive
scott-mao/SNIP-it
7663c58025c7639ffe5eb42d969c2555af1d9327
fec11fcda3038d9ad7246ddb1ee9889049f03fc8
refs/heads/master
2023-01-07T10:04:54.215425
2020-06-12T15:18:06
2020-06-12T15:18:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,492
py
import torch import torch.nn as nn from models.Pruneable import Pruneable import numpy as np class LeNet300(Pruneable): def __init__(self, device="cuda", output_dim=2, input_dim=(1,), **kwargs): super(LeNet300, self).__init__(device=device, output_dim=output_dim, input_dim=input_dim, **kwargs) ...
[ "stijn@verdenius.com" ]
stijn@verdenius.com