blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
f931f93487dee0b1d116ef38d52fa5222198b620
b6c09a1b87074d6e58884211ce24df8ec354da5c
/345. 反转字符串中的元音字母.py
f259c3af854c1e4b250ef47b593bf61f4f86067c
[]
no_license
fengxiaolong886/leetcode
a0ee12d67c4a10fb12d6ca4369762ab5b090cab1
4c0897bc06a297fa9225a0c46d8ec9217d876db8
refs/heads/master
2023-03-18T22:16:29.212016
2021-03-07T03:48:16
2021-03-07T03:48:16
339,604,263
1
0
null
null
null
null
UTF-8
Python
false
false
444
py
""" 编写一个函数,以字符串作为输入,反转该字符串中的元音字母。 """ def reverseVowels(s): query = "aeiouAEIOU" vow = [] idx = [] for i, j in enumerate(s): if j in query: vow.append(j) idx.append(i) vow = vow[::-1] s = list(s) for i, j in zip(idx, vow): s[i] = j return "".join(...
[ "xlfeng886@163.com" ]
xlfeng886@163.com
0efac6e3d7417f91494c5e8208d5faffb89d643d
5edf72a6e86f35fb00a34670a6f9ca61d96c2db8
/kmeans.py
11b764d161a4957b8d65b733c9e8080f2df3de7d
[]
no_license
isabellekazarian/kmeans-algorithm
b94008ed80ec198f2d8cb7def960025dfdfad53e
7378cdf56f1c51c953c34f1e11c76499850d07c1
refs/heads/master
2023-03-11T19:37:57.830724
2021-02-08T18:39:13
2021-02-08T18:39:13
337,162,531
0
0
null
null
null
null
UTF-8
Python
false
false
4,487
py
import matplotlib.pyplot as plt import numpy import csv import random from collections import defaultdict DATA_FILE = './dataBoth.csv' NUM_CLUSTERS = 4 NUM_ITERATIONS = 4 # returns distance between two data points def distance (x1, y1, x2, y2): square = pow((x2 - x1), 2) + pow((y2 - y1), 2) return pow(squar...
[ "rosekaz13@gmail.com" ]
rosekaz13@gmail.com
8ffe7365488fff3d284791da93f2ec10bd6e22b7
e45060b2fb6c5911249f930703db06af74292a14
/src/misc.py
2ef953d46b21e269cfe78df97b2fb7c04182704b
[ "MIT" ]
permissive
Guigouu/clonesquad-ec2-pet-autoscaler
a6dd350acaa559fba6caf209c439579a5c7ab15a
33eee544a5c208caf548869c2e714d9ebc7f0be6
refs/heads/master
2023-01-07T01:27:33.725418
2020-11-05T21:28:02
2020-11-05T21:28:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,784
py
import os import sys import re import hashlib import json import math import gzip # Hack: Force gzip to have a deterministic output (See https://stackoverflow.com/questions/264224/setting-the-gzip-timestamp-from-python/264303#264303) class GzipFakeTime: def time(self): return 1.1 gzip.time = GzipFakeTime() ...
[ "jeancharlesjorel@gmail.com" ]
jeancharlesjorel@gmail.com
19d14b124965f2f461568792ad34bb6bbd4dc10d
5fe72bb13baf3649058ebe11aa86ad4fc56c69ed
/hard-gists/367ff95d4d3d3770fa7b/snippet.py
6cd51cef4fd2bff70541bd8d5ea0c23646114dd5
[ "Apache-2.0" ]
permissive
dockerizeme/dockerizeme
8825fed45ff0ce8fb1dbe34959237e8048900a29
408f3fa3d36542d8fc1236ba1cac804de6f14b0c
refs/heads/master
2022-12-10T09:30:51.029846
2020-09-02T13:34:49
2020-09-02T13:34:49
144,501,661
24
20
Apache-2.0
2022-11-21T12:34:29
2018-08-12T21:21:04
Python
UTF-8
Python
false
false
1,003
py
from collections import defaultdict from django.db.models.signals import * class DisableSignals(object): def __init__(self, disabled_signals=None): self.stashed_signals = defaultdict(list) self.disabled_signals = disabled_signals or [ pre_init, post_init, pre_save, post_sav...
[ "42325807+dockerizeme@users.noreply.github.com" ]
42325807+dockerizeme@users.noreply.github.com
22eb63305890280ff00427e395dc7ee12f3f314c
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/223/users/4330/codes/1594_1800.py
0302eb5caf63f16066aa6406b53455d42458aa87
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
a=int(input("Insira o valor de A")) b=int(input("Insira o valor de B")) c=int(input("Insira o valor de C")) x = (a**2)+(b**2)+(c**2) y = a+b+c t=x/y print(round(t,7))
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
f2ab8dfb0b4f100d21c732dc63482a3816c4a33e
9629daa92c3a002dcfb5e81ba1870c8bf22c4ae3
/Shop/forms.py
721799ae0e2fa7dfb43d4f8c56df47d172623992
[ "MIT" ]
permissive
forhadsidhu/Django-E-Commerce-App
ce61e15836a9dd4d808b52768ab4d592c0f7890f
5c07b0c2e562fc0bb8dcc6803a7595b889ea8954
refs/heads/master
2023-03-16T14:58:06.391665
2021-03-15T10:50:00
2021-03-15T10:50:00
248,206,652
2
0
null
null
null
null
UTF-8
Python
false
false
618
py
from django import forms from .models import ImageUploadModel,Post from django.contrib.auth.forms import UserCreationForm from django import forms from django.contrib.auth.models import User # Now create customized user creation form like for adding email field in default django form. class CreateUserform(UserCreat...
[ "forhadsidhu@gmail.com" ]
forhadsidhu@gmail.com
65ece97ccb16002fa54a5cd663cf837dc9ccdf3f
96bf70c65bbca98f85112e09d51ca749eeeaeb6b
/selftf/tf_job/inception/slim/ops_test.py
fa6b41c009c903fcb6a101d5c69b220604dc8b40
[]
no_license
MLSysTune/MLTuner
13f3ad91ce243224bf54e4b1af0a39046c4c45cb
82fbeadb64a476a6d37afc7f34bd29ca2627740e
refs/heads/master
2023-08-01T08:17:08.112017
2021-07-30T12:19:19
2021-07-30T12:19:19
407,482,737
0
0
null
null
null
null
UTF-8
Python
false
false
29,284
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "fafaoc@me.com" ]
fafaoc@me.com
d839e4467adb97c603f1bbf720207d83942d87d2
46267e38d63bb487ccef4612593676412ea956d7
/astraeus/core.py
268d58bf9ad346c038f6b1a1989ccc7a00c0339b
[ "MIT" ]
permissive
eos-sns/astraeus
17f63fc02e27b8b40b8470fb8202b9bb4b50e3d6
bbbe820bdc02d7c0209854b80b1f952bfaaf984a
refs/heads/master
2020-04-25T12:56:35.666259
2019-09-18T12:15:04
2019-09-18T12:15:04
172,793,341
0
0
null
null
null
null
UTF-8
Python
false
false
4,379
py
# -*- coding: utf-8 -*- import abc import datetime import uuid from astraeus.models.memcache import MemcacheClientBuilder, MemcacheFacade from astraeus.models.mongodb import MongoDBBuilder class Hasher: """ Something that hashes something """ @abc.abstractmethod def hash_key(self, key): return ...
[ "sirfoga@protonmail.com" ]
sirfoga@protonmail.com
f316549e5a2ecc6bd4a40922f52af9d83adf665c
55e79a84cc8f416ef354c9457f53ba0ddf1dde09
/tweets/migrations/0003_auto_20200120_1407.py
107537f578f2235605ad5eb7b08cfa7cced2601d
[]
no_license
montionugera/twitter-api-drf
fdb9935b924ca406a4d472b0d38a13c06988bd7d
e1a6e7d4e88b8946548f7c7a301061871e65206c
refs/heads/master
2020-12-14T23:50:41.866101
2020-01-20T15:01:34
2020-01-20T15:01:34
234,916,558
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
# Generated by Django 3.0.2 on 2020-01-20 14:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tweets', '0002_remove_tweet_pub_date'), ] operations = [ migrations.AlterModelOptions( name='tweet', options={'ordering': ['...
[ "montionugera@gmail.com" ]
montionugera@gmail.com
d2feecf8c86df8ebfbb1a826ff254b1b98455ddf
4ac6c008882c1a7321bf9477ba532b88bb113741
/ThiNet_TPAMI/ResNet50/analysis_reid.py
9e4300e6213e6eaf5645e641d6a0213350804a8f
[ "MIT" ]
permissive
QQQYang/ThiNet_Code
cbd67470838b0d1d0a1803ae66a9a74a899adf89
850525c8ca85b63e5f7cec1a73b1b681178a5786
refs/heads/master
2020-09-18T05:36:23.093997
2019-12-05T11:54:39
2019-12-05T11:54:39
224,130,726
0
0
MIT
2019-11-26T07:37:29
2019-11-26T07:37:28
null
UTF-8
Python
false
false
6,649
py
#coding=utf-8 ''' This file is used for analysing the filters and activations of a network, which inspire us of new ideas about network pruning Author: yqian@aibee.com ''' # import ptvsd # ptvsd.enable_attach(address = ('0.0.0.0', 5678)) # ptvsd.wait_for_attach() import caffe import numpy as np from PIL import Image ...
[ "yqian@gpu002.aibee.cn" ]
yqian@gpu002.aibee.cn
aea6c3de83c23b1dc7a355b74d2d31cefade985e
dd9f643d5833a3a4707a08eac38e30e03819a5f8
/scomp/migrations/0014_blogmodel_blogparamodel.py
8b5a0b8680eb54ca0f8280f9415cd36845bdfcdc
[]
no_license
Ashwary-Jharbade/services
e65e99be5508c9854797124f0392c2d32477ee7a
2e514117e374fee4feef908e85cf8853f830f390
refs/heads/master
2023-03-04T10:10:35.499854
2021-02-18T19:12:16
2021-02-18T19:12:16
304,116,261
0
0
null
null
null
null
UTF-8
Python
false
false
1,590
py
# Generated by Django 3.0.4 on 2020-08-27 07:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('scomp', '0013_servicemodel_desc'), ] operations = [ migrations.CreateModel( name='BlogModel', ...
[ "ashwary.jharbade999@gmail.com" ]
ashwary.jharbade999@gmail.com
49c8129426eeffff345ae304991e2b9e7e5cf774
147b94f148dcaf10dbc3dfbcf571c1fa6d47a115
/code/enclosure_test.py
26a9cf737d3f2212aab46b39dd207bbf3572cbeb
[]
no_license
indra-n/env-context-detection
4ad608af9a7b32920d57339d7b9e450862622b46
433d377448c3e807ac0ff833a4f1733e12e6931a
refs/heads/master
2021-01-22T01:38:33.787931
2017-09-02T21:27:39
2017-09-02T21:27:39
102,221,193
0
0
null
null
null
null
UTF-8
Python
false
false
18,074
py
import numpy as np import pandas as pd from sklearn import ensemble from sklearn.model_selection import ShuffleSplit from sklearn.metrics import confusion_matrix import matplotlib.pyplot as plt import random import csv random.seed(42) # Tests if location is surrounded by walls #Load the data fp_indoor_cutsark_in1_sp...
[ "indra.niedre@gmail.com" ]
indra.niedre@gmail.com
dab971b8321388507ca5447b0771da8ff6b6cbe4
9ecfdfbe098070079c9d96eb41ddb73f95857f93
/Problems/Fahrenheit/main.py
a79b42503b60d7e0b1dac928368c284aaae7d333
[]
no_license
sathishkumar8594ys/Simple_Chatty_Bot
0e850c616bc6dbd1a970596a3a6105d38960f59a
b07c148fa057bd3171a86e6bb456342fbfd38bfe
refs/heads/master
2023-03-09T21:13:13.150854
2021-02-28T04:07:00
2021-02-28T04:07:00
343,017,024
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
def fahrenheit_to_celsius(fahrenheit): cel = ((fahrenheit - 32)*(5/9)) return round(cel, 3)
[ "sk@kali" ]
sk@kali
49735df185c393c2ec9eacd961fb3a5fade967e1
b3a9740a5099c490c2f21ca9a9bbf507ad2bd2bf
/blog/apps/aricle/migrations/0002_auto_20190725_1259.py
edfa89f55b029a422eb06d9951b52e75e5453e68
[]
no_license
JummyWu/drf_blog
c27d39237fa0953650d092f40cfcc73beb238652
b192485ad460eb1f05322dd09d0e97a63c476d4f
refs/heads/master
2022-12-08T11:40:41.594820
2019-08-24T02:13:26
2019-08-24T02:13:26
164,213,480
1
0
null
2022-12-08T01:48:34
2019-01-05T12:36:00
Python
UTF-8
Python
false
false
1,515
py
# Generated by Django 2.1.5 on 2019-07-25 12:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('aricle', '0001_initial'), migrations.swappable_dependency(setti...
[ "929440925@qq.com" ]
929440925@qq.com
80bd00d96dd1eb06ab47528bd9e4e22aa23bbe46
152eae1f0febe35268c65b80ac218480486f2123
/py/my_collections/test/test_sorting.py
44a05787466dec2edb9df712b10793728e81a659
[]
no_license
Crescent617/code-practice
a02b65516d296db15e72b2c2d1412f5befd7034f
f3dd8a3cf0bc9b1d00ed37793d02f1a89d8d5a96
refs/heads/master
2023-06-28T02:30:30.987862
2023-06-22T14:41:08
2023-06-22T14:41:08
218,738,764
0
0
null
2023-06-22T14:41:09
2019-10-31T10:17:55
Python
UTF-8
Python
false
false
1,378
py
from sorting import * from dllist import DoubleLinkedList from random import randint from cProfile import Profile max_num = 5000 def random_list(count): numbers = DoubleLinkedList() for i in range(0, count): numbers.shift(randint(0, 10000)) return numbers def is_sorted(numbers): node = number...
[ "lihuaru617@outlook.com" ]
lihuaru617@outlook.com
7b4f54884801a64b393131a5a772f15a7ccfe5aa
45a70554091ea06afc63d86ddb2724053513189b
/dataset/__init__.py
6db9f41c3b178cc49530593183e883df9f08deb2
[]
no_license
mponza/keyphrase-annotation
d10705c2ccf9ae7b2d2e3d8aa1901460de564976
14abbd4ebcf449f65f1b1c392235b55eb051005b
refs/heads/master
2021-06-13T00:21:49.108263
2017-01-04T14:09:00
2017-01-04T14:09:00
77,946,796
1
0
null
null
null
null
UTF-8
Python
false
false
664
py
from duc import DUCDataset from icsi import ICSIASRDataset, ICSIHumanTranscriptDataset from inspec import InspectTrainingDataset, InspectValidationDataset, \ InspectTestDataset from nus import NUSDataset def make_dataset(dataset_name): """ Factory-style method for getting dataset from stri...
[ "mponza@gmail.com" ]
mponza@gmail.com
1e4bc752b2c1a4e95cfc85a70366502bdad4f7cf
dfc4dc5d823dada86216bc7df451127bffab00bb
/authors/apps/products/views.py
f7e50a3347930b55f6672439a7e79b8ee513a0c9
[ "BSD-3-Clause" ]
permissive
hoslack/jua-kali_Backend
311250360574495052adab9267dc7c07f48ba0e7
e0e92aa0287c4a17b303fdde941f457b28c51223
refs/heads/master
2022-12-21T02:17:35.808370
2019-02-05T12:26:05
2019-02-05T12:26:05
158,075,591
0
0
BSD-3-Clause
2022-12-08T01:20:29
2018-11-18T11:13:48
Python
UTF-8
Python
false
false
374
py
from .models import Product from .serializers import ProductSerializer from rest_framework import generics class ProductList(generics.ListCreateAPIView): queryset = Product.objects.all() serializer_class = ProductSerializer class ProductDetail(generics.RetrieveUpdateDestroyAPIView): queryset = Product.o...
[ "hoslackochieng@gmail.com" ]
hoslackochieng@gmail.com
e063920acaa40258008dba8ae5ed79c9bd2b66b7
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/ENTERASYS-VLAN-AUTHORIZATION-MIB.py
c846ff1eb1ce291ffe2d355f4fb5cea046a7128a
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference", "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
12,071
py
# # PySNMP MIB module ENTERASYS-VLAN-AUTHORIZATION-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ENTERASYS-VLAN-AUTHORIZATION-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:04:50 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Pyt...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
abc7888375db7b5790e14fedfa8dedb11c05d33e
d2e6823851e236312e4b99acca53a293dff5b1a7
/BlogApp/managers.py
eedf596bd527a60656aea2a3e09bf9a12dcf89b5
[ "Apache-2.0" ]
permissive
devvspaces/nimrodage
f061378692e94b8dc9b15ae2f3fdcd587bfdfe1d
578eb14e2e8f7dc7ae58913b6131fd60c1596c0b
refs/heads/main
2023-05-09T03:41:22.345841
2021-06-04T03:47:56
2021-06-04T03:47:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
from django.db import models class PostQuery(models.QuerySet): def get_authors_post(self, username): return self.filter(author__username=username) class PostManager(models.Manager): def get_queryset(self): return PostQuery(model=self.model, using=self._db) def get_posts(self, username...
[ "netrobeweb@gmail.com" ]
netrobeweb@gmail.com
e5b94ab47de93b8731f125af0e33149260abb4fe
6a515e3eaec9ddc9a0f5d61a8295ef26b250a520
/run_tests.py
88d89d01c2be113fec3bb199ac59b13e114a55df
[]
no_license
EventsExpertsMIEM/backend_19288
88146d0e1e0140318040e2f9fc68da14e180a76b
f4a98b325366ef7bbdbe9243f9b742a6998d6da3
refs/heads/dev
2020-09-14T14:17:51.939454
2020-04-23T14:45:49
2020-04-23T14:45:49
223,153,250
1
1
null
2020-04-10T10:34:15
2019-11-21T10:56:04
Python
UTF-8
Python
false
false
172
py
from app import db import bcrypt import testsuite pw = bcrypt.hashpw(str('1234').encode('utf-8'), bcrypt.gensalt()) db.create_tables(pw.decode('utf-8')) testsuite.run()
[ "mvalkhimovich@miem.hse.ru" ]
mvalkhimovich@miem.hse.ru
00ff92f5206a95948024ec7a6e5ea5fa74bdedc7
d5f31dbe958d5e8ddcf0dd042050925b5206c7c7
/.vscode/寻找空间中的向量投影.py
23e5f2dd1e0d29100620dc3deb4baaeee142ffec
[]
no_license
dertaek/a-b-test-projects
b88910ffca421b8b5d3c47d84142ebe6fa6f0239
5637b833064b8992d9eb7ba115477b7a9723d492
refs/heads/master
2023-03-17T00:45:30.337383
2020-10-26T05:26:11
2020-10-26T05:26:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
33
py
# 利用矩阵来描述投影。
[ "w664578037@gmial.com" ]
w664578037@gmial.com
e19cb658c575b3bf49becb8695d95500b966fddc
0967182e0b2c59448305870aaa193e051dd0eafa
/visualizer.py
79f1191df0144cfdc55d0ebf0481a7b094b9d15b
[]
no_license
DT021/fake-tradingview
43dcd483328193fb7d401b783bfa390c02c539d2
4c1c2ba1a58263c85545ac11abff555fa747c09a
refs/heads/master
2023-01-30T22:15:48.790656
2020-12-04T15:06:23
2020-12-04T15:06:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,812
py
import datetime import logging import time import numpy as np import pyqtgraph as pg from pyqtgraph import QtCore, QtGui from pyqtgraph.dockarea import * from candlestickItem import CandlestickItem from utils import Worker, logger from volumeProfileItem import VolumeProfileItem class Visualizer(DockArea): def _...
[ "minh020698@gmail.com" ]
minh020698@gmail.com
425ccb10cc834c44b5fad2c6f6259a5ce46223e7
3babd5887c70ff85a2254882c36e35b127a8905d
/dbhandler.py
756e6cefac6a212f9c4f414705806bf6d4b51364
[]
no_license
angyay0/demo-devops-users
1109e443fbaf087e9e632e8902bfcb968bb0cc34
f170ae65358993a48f6a073895ca2585fa087ba1
refs/heads/master
2022-12-02T06:09:55.470309
2020-08-13T21:36:10
2020-08-13T21:36:10
287,142,220
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
from userapi.models import LoginResponse import psycopg2 import json #Load and return json as dict def ReadFromJson(): with open("db.json") as file: return (json.load(file)) #Database operations to retrieve and save users class DBHandler: def __init__(self): self.credentials = ReadFromJson() ...
[ "aperez@mstecs.com" ]
aperez@mstecs.com
a9812104f466c0374fbccf71d0cd2b8edbf21fb8
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/network/v20200601/route_filter.py
91eecb201ea5a51babd94a74b8238698682e23f2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,170
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
fc72058027cff3d6df1073e107bb3a426e164f7b
85b6e009c45f2dd530d8ae186feb7e6e67d076a8
/cohesity_management_sdk/models/protection_job_request.py
3109e3d98f4406b033242dbb266e3567bd18c46e
[ "MIT" ]
permissive
priyambiswas0/management-sdk-python
4a60153b038d0a04de02f2308362a2531b0ff9cb
5807c85e003f271ce069b52529b31abfd08ec153
refs/heads/master
2021-10-20T05:43:34.626369
2018-05-22T06:04:20
2019-02-25T23:56:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,335
py
# Copyright 2019 Cohesity Inc. # -*- coding: utf-8 -*- import cohesity_management_sdk.models.alerting_config import cohesity_management_sdk.models.cloud_parameters import cohesity_management_sdk.models.environment_specific_common_job_parameters import cohesity_management_sdk.models.time_of_day import cohesity_...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
345af0510923871e7c277fa605b5fbb91b36acd5
357048e2990a572be19f2816a9890fdb10b4ef71
/bmips.py
2b0713eb577cd1cf89d6eeb2eb0ee707691543e2
[]
no_license
brightp-py/bmips
444771a8b46edd7bded2e048dc58573cee2007ca
59308e55f5eb4b56937044e932383216b1a0c8c7
refs/heads/master
2023-04-03T01:58:14.517627
2021-04-10T19:52:42
2021-04-10T19:52:42
356,678,928
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import sys from src import simulator, parsemips if len(sys.argv) < 2: print("FAILED: Expected a file name.") print("'python bmips.py [filename] (-d)'") sys.exit() simulator.DEBUGPRINT = False simulator.REPORTPRINT = None wantreportfile = False for arg in sys.argv[2:]: if wantreportfile: if ar...
[ "brightp@umich.edu" ]
brightp@umich.edu
15cfbda2f912b5560429a9729b5ac0d60497f097
97495220db95d0ba4a4a7e7ad1863f8a49fc97df
/feat_ext/nets/resnet_v1.py
ee92afabd43407f356494d1605f8b9191ecc746a
[ "Apache-2.0" ]
permissive
forwchen/HVTG
cfdbc7a774fb3b911519a0e83b9edf88f772653a
b800ea3e1b9067389db98e4a9f6de3ce702aa081
refs/heads/master
2022-12-07T03:48:45.334685
2020-08-25T03:01:24
2020-08-25T03:01:24
278,540,659
17
2
null
null
null
null
UTF-8
Python
false
false
16,634
py
# Copyright 2016 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 applicable ...
[ "forwchen@gmail.com" ]
forwchen@gmail.com
1f3ff6b0e0ffd238536bc4cba66923da5ef896f3
b8be27aa871f298e9b9a53f417219ebb080378d6
/deep-dive-convolutional-neural-networks/vgg/vgg.py
b4985404ee4a610b23290e35edbb125bbbe411be
[]
no_license
Bayesian4042/computer-vision
f0d9e010ecf043b72b49a8118cf334310200f031
afe969a1be2e8f396f2fe6282d0027534f88281d
refs/heads/master
2023-02-15T20:03:34.237416
2021-01-10T16:30:35
2021-01-10T16:30:35
135,942,815
0
0
null
null
null
null
UTF-8
Python
false
false
5,644
py
from collections import OrderedDict import numpy as np import tensorflow as tf from models.model import Model from preprocessing.imagenet.bgr import resize_crop from weight_loading.numpyfile import load_weights from helper.layer import fc, conv class VGG(Model): """ VGG16 model definition for Tensorflow ...
[ "singhabhilasha4042@gmail.com" ]
singhabhilasha4042@gmail.com
315d23bf96cfe201a6c72c58d0333896da2bea03
649eabe3d4bef9c866c2884474f58c997a64f8d5
/papers.py
4dec4263add2da77a2e1abc163a3cbb8e88b5b83
[]
no_license
ValeriaFakhrutd/Memory_model
091c78a537b5ea4f7391c0d686c976711f43d339
62d787eb6e5d02899c727d28d401fb0d169ebede
refs/heads/master
2022-12-07T12:31:54.710748
2020-09-03T21:25:13
2020-09-03T21:25:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,178
py
""" === Module Description === This module contains a new class, PaperTree, which is used to model data on publications in a particular area of Computer Science Education research. This data is adapted from a dataset presented at SIGCSE 2019. You can find the full dataset here: https://www.brettbecker.com/sigcse2019/ ...
[ "valeriia.fakhrutdinova@mail.utoronto.ca" ]
valeriia.fakhrutdinova@mail.utoronto.ca
39b208a82a1ddf4a4bdc0162879768521bb9893d
30b0b79b5d5258aefbeb4faf129483fae456c9fa
/shoe/models.py
40a94f5d75503d82fd4a3ab753daf5b3f513b6dc
[]
no_license
arturAdr/easyResource
bcee8fefeffb13bc2de648a2d0220eb3dc1b1d71
ffff2818c481191a0133b8b44b9b3e53f9de9e94
refs/heads/master
2020-06-10T08:44:01.352198
2019-06-30T02:19:45
2019-06-30T02:19:45
193,625,570
0
0
null
null
null
null
UTF-8
Python
false
false
1,083
py
from django.contrib.postgres.fields import ArrayField, JSONField from django.db import models from EasyResource.fields import JSONSchemaField class Shoe(models.Model): sku = models.CharField(max_length=100, unique=True) name = models.CharField(max_length=100) details = models.CharField(max_length=5000) ...
[ "artur.adr@hotmail.com" ]
artur.adr@hotmail.com
9258811529068e0ef737d4531c5f0d6ea7426561
4d6975caece0acdc793a41e8bc6d700d8c2fec9a
/leetcode/1692.number-of-ways-to-reorder-array-to-get-same-bst/1692.number-of-ways-to-reorder-array-to-get-same-bst.py
00644cb83012c5b2e15d2232e9f6f7f861427b4f
[]
no_license
guiconti/workout
36a3923f2381d6e7023e127100409b3a2e7e4ccb
5162d14cd64b720351eb30161283e8727cfcf376
refs/heads/master
2021-08-03T10:32:02.108714
2021-07-26T04:38:14
2021-07-26T04:38:14
221,025,113
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
class Solution: def numOfWays(self, nums: List[int]) -> int:
[ "guibasconti@gmail.com" ]
guibasconti@gmail.com
e30926a419b5d166b02a76f3f5c8ed329de20e60
ff9fedd28f7436ba9945421e061fd2e1dadbf5c3
/Alogithms/Dijkstra/dijkstra.py
3d1510e8e6c59b494d2b934513ca7381f575586b
[]
no_license
ritwikbadola/Empirical-Analysis-Of-Algorithms
0ed1b9c2c92813d11af33405527a4ecced8b2845
7ffb7a03e9d356d5368d2d79a49a8dabf49ed6c7
refs/heads/master
2022-08-19T12:39:24.875859
2020-05-16T03:53:35
2020-05-16T03:53:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,979
py
# Python program for Dijkstra's single # source shortest path algorithm. The program is # for adjacency matrix representation of the graph # Library for INT_MAX import sys class Graph(): def __init__(self, vertices): self.V = vertices self.graph = [[0 for column in range(vertices)] for row in range(vertice...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b0eab76f789da136a8a281e69b3f5b956c7456b4
d0a2df49e95881b3e3cdde806e55d5ef7ca84526
/logistic_regression.py
e8f81f7f32d6b1273b8f2a77b8c6408ec5b2571b
[]
no_license
nhan-dam/svgd-variance-reduction
b288d35f0ad7c342be57043d14104a8cdc905a66
7f626a198cf0cf3aab083e1ac720ea58d3c9b7b9
refs/heads/master
2022-04-18T07:07:30.940649
2020-04-06T08:35:31
2020-04-06T08:35:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,968
py
from __future__ import print_function, division, absolute_import import numpy as np ''' Logistic Regression: The observed data D = {X, y} consist of N binary class labels, y_t \in {-1,+1}, and d covariates for each datapoint, X_t \in R^d. p(y_t = 1| x_t, w) = 1 / (1 + exp(-w^T x_t)) ''' ...
[ "ndam@deakin.edu.au" ]
ndam@deakin.edu.au
580cbb2d0c363236cfddb8740feec72eacf3119a
e9db45dc23454e256decaabc697016b18cc79cd1
/game.py
d06e0fa7b641346b8909d0745de62f4ebd0f241d
[]
no_license
siyan38000/WikiGame
4d7eebe41546ac7d8e038933b9065c96e0950979
5bd3949cddca71c5add7923384caa010754a4490
refs/heads/main
2023-03-07T08:53:24.773947
2021-02-15T11:03:43
2021-02-15T11:03:43
326,699,328
0
0
null
null
null
null
UTF-8
Python
false
false
4,233
py
from bs4 import BeautifulSoup import requests import urllib.request import random import tkinter as tk window = tk.Tk() window.title('Wikigame') var = tk.StringVar() global start_links global startURL #Definition des deux pages aléatoires def getRandomPage(): return requests.get('https://fr.wikipedia.org/wiki/Sp...
[ "yanis.petit@epsi.fr" ]
yanis.petit@epsi.fr
9102058651fbf91cbac1b616a121c35f0eb0973e
8ab173ee437170afd5e4179f4e44d46b829f3ab0
/Validation/RecoTrack/python/plotting/html.py
04c09289f18ce2745bf5d1c2b56af89db89b9cc2
[ "Apache-2.0" ]
permissive
suchandradutta/cmssw
6b085313fe15868bd3f7dfddfb850debe111410e
ed3aa96ca24548294076d466db17b0bca44d1359
refs/heads/Phase2Digitizer_91X_170420
2023-06-25T09:47:56.111691
2017-04-20T09:59:31
2017-04-20T09:59:31
12,500,444
1
1
null
2018-11-06T10:34:46
2013-08-31T04:15:48
C++
UTF-8
Python
false
false
25,818
py
import os import collections def _lowerFirst(s): return s[0].lower()+s[1:] _sampleName = { "RelValMinBias": "Min Bias", "RelValTTbar": "TTbar", "RelValQCD_Pt_600_800": "QCD Pt 600 to 800", "RelValQCD_Pt_3000_3500": "QCD Pt 3000 to 3500", "RelValQCD_FlatPt_15_3000": "QCD Flat Pt 15 to 3000", ...
[ "matti.kortelainen@cern.ch" ]
matti.kortelainen@cern.ch
7b97ec507375533d56ca683bf1a913138e0a7955
e52bf115107bc31cd812cb5573bfa85900ecfaff
/eval-parcial-primer-bimestre/Ejercicio_1.py
e12c51a086dfa575494f7ea564cfe9d2509f06cc
[]
no_license
cfjimbo/fp-utpl-18-evaluaciones
cd0cbc793cb11f0d297c9dd2c445991d2b183e9a
0353656bae322848d7732edb39d7d7f25e1bb275
refs/heads/master
2020-03-14T04:43:58.676649
2018-05-01T06:36:55
2018-05-01T06:36:55
131,448,076
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
"""Realizar un programa en Java que permita ingresar por teclado la longitud y la anchura de una habitación, realizar los procesos respectivos que permita obtener la superficie de la misma, además se debe presentar en pantalla el valor de la superficie, finalmente tomar en consideración que se debe presentar el valo...
[ "noreply@github.com" ]
cfjimbo.noreply@github.com
2f827b2603f3b2e2da3faa274a618d5620244e37
6b2794ac7ee275654f753659c83e9c6f115b4bbc
/budget/migrations/0008_auto_20190311_1818.py
d6e2d7ac6e8893eb63a9eb2da9d501d480441d49
[]
no_license
mtmbutler/simplefi
5ae667b93a69b77070652ecf6d1808badc68cc46
e1afd06c525a1231a01dd4760d2aa145c9862be9
refs/heads/main
2021-06-25T01:27:32.008217
2020-12-22T18:48:30
2020-12-22T18:48:30
183,545,508
1
1
null
2020-12-24T17:21:16
2019-04-26T02:51:31
Python
UTF-8
Python
false
false
1,214
py
# Generated by Django 2.1.7 on 2019-03-12 01:18 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('budget', '0007_auto_20190311_0740'), ] operations = [ migrations.AlterModelOptions( name='statement', options={'orde...
[ "mtmbutler@icloud.com" ]
mtmbutler@icloud.com
0ab0e12de59845ee780146749d355e57acb66977
1783102b22fae04b4c32552d9b6191cc18ef6eee
/app/map_maker_app.py
51fbfc331ab15d54e43e89c3068c288cbbe14ab8
[]
no_license
ryanbeales/photo_library
61b3f13db19ccd3e4cd45441aceced9793ce2b5f
41295b26d7fde5a1783fce72e932472ec704bd3b
refs/heads/main
2023-08-16T22:00:24.539270
2021-10-15T14:58:09
2021-10-15T14:58:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,441
py
from config import config from processed_images.processed_images import LockingProcessedImages from progress.bar import Bar from datetime import datetime import folium import folium.plugins as folium_plugins import os import base64 import io from PIL import Image from concurrent.futures import ThreadPoolExecutor, ...
[ "ryanbeales@gmail.com" ]
ryanbeales@gmail.com
d42d3fd35bef84a4bc8c882075bcd8e35c62b2e5
3d2d7c223314acf338d9e1aedb9463ac780ed8aa
/fujiblog/urls.py
49f160e2124df99f58dd2dfb8b7729694d1f2342
[]
no_license
fuji97/fujiblog
79b4d751c466e8fd6a82d99385f6bf3d7248258d
d00b6652cad3673a9b4ecc6ca37c0e17ecebc58c
refs/heads/master
2021-01-20T10:05:12.595966
2017-06-08T22:54:54
2017-06-08T22:54:54
90,153,486
0
0
null
null
null
null
UTF-8
Python
false
false
1,055
py
"""fujiblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "fuji1097@gmail.com" ]
fuji1097@gmail.com
e8e564dd8a81a7204c2c1219c8828de5d75a5b39
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-Cocoa/PyObjCTest/test_nsexpression.py
10aca71722b9813074d199da83ce3d260fed8d3b
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
from PyObjCTools.TestSupport import * from Foundation import * class TestNSExpression(TestCase): def testConstants(self): self.assertEqual(NSConstantValueExpressionType, 0) self.assertEqual(NSEvaluatedObjectExpressionType, 1) self.assertEqual(NSVariableExpressionType, 2) self.asse...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
1fceb20404030a5fec787e594da373dd6185278b
20dc3427454e86c949e4d0e44c89a9f0ec0ff76a
/tests/watcher.py
9ce156b16248902bfd948f5e076ea084b2367399
[ "MIT" ]
permissive
simonwittber/fibra
a0d01e1b1a040ea8d8d84c6150c781bfa63b4ebe
1761ba79cb643b0392bb82d7e80ce9e55bb75275
refs/heads/master
2021-01-23T13:16:53.985148
2011-05-31T02:21:14
2011-05-31T02:21:14
1,824,259
1
0
null
null
null
null
UTF-8
Python
false
false
253
py
import fibra def task(): yield None print 'raising' raise Exception('ARGH') def watcher(e): print "watcher received:", type(e), e schedule = fibra.schedule() t = task() schedule.install(t) schedule.watch(t, watcher) schedule.run()
[ "simonwittber@gmail.com" ]
simonwittber@gmail.com
6e6ab7d02971a974af8aa461a3f148f5f4eb1a9a
d0ee0d199ee5595ba38615ecd89ada5be334a0f9
/button.py
886e4b542c33024d533ee064950f15c00beb24ca
[]
no_license
davidChibueze/Alien-Force-Invasion
ab045388aee61a0e9c3c6ced726a83cb8e50531a
68fe0634273a1a019a0a3dfe06c34b9a7e0603de
refs/heads/main
2023-04-22T06:06:52.932349
2021-05-14T12:06:19
2021-05-14T12:06:19
367,349,070
2
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
import pygame.font class Button: def __init__(self, ai_game, msg): """Initialize button attributes.""" self.screen = ai_game.screen self.screen_rect = self.screen.get_rect() # Set the dimensions and properties of the button. self.width, self.height = 200, 50 self.button_color = (0, 255, 0) s...
[ "noreply@github.com" ]
davidChibueze.noreply@github.com
186e04c580756ed5fcd2b7e91ca54ec476d908a3
017b95b21359aedb77b5a1df390ecb4130c2a9ea
/django_blog/myblog/models.py
1dfdff15fced66ab2951b1a2b5374413de70c0a9
[]
no_license
havidri/Django-Blog
721880a1eddc7d62a9b75f34d8a039e5b404dee9
db79e155bf326ede2b88ae120356d8def2a30d97
refs/heads/main
2023-07-04T12:44:59.372176
2021-08-12T06:35:00
2021-08-12T06:35:00
394,821,246
0
0
null
null
null
null
UTF-8
Python
false
false
1,665
py
import reserve as reserve from django.contrib.auth.models import User from django.db import models from django.contrib.auth import get_user_model from tinymce import HTMLField from django.urls import reverse User = get_user_model() class Author(models.Model): user = models.OneToOneField(User, on_delete=models.CAS...
[ "havidriyono@yahoo.com" ]
havidriyono@yahoo.com
c33583ccd6b33f5b384c1373a54f70a46388cc88
9888ef3bb4408a4cef8b2ad49d3b6eb873056694
/multiclass_allH5_data/step2_write_all_H5_tfrecord.py
f34eb929cb07fbe2d0d0722c4d6dff8cd268ecc1
[]
no_license
MeiliLiu-STEM/TFSeg_BraTS
bd3d52a8cbfeeea1b188fc268f0dfb74c0171efa
d6f482a57a859b59a5c507094efa928a21239198
refs/heads/master
2021-04-08T02:41:10.564845
2018-08-20T14:45:17
2018-08-20T14:45:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,577
py
# -*- coding: utf-8 -*- # @__ramraj__ from __future__ import division, print_function, absolute_import import tensorflow as tf import sys import numpy as np import cv2 import os from sklearn.utils import shuffle from sklearn.model_selection import train_test_split import config import h5py def _int64_feature(value...
[ "cramraj8@gmail.com" ]
cramraj8@gmail.com
06c79cf2ab054537d61dc9f297aec93bfa26b767
4f43cb4a2cbdafde4d9070aace0edca633cb6ab4
/stats.py
bfb89069fc6f8e55e8d7ab98671bde3a69d70d0a
[]
no_license
trevorc/blackscholes
72a05ec97b52e2c4d15b2bfd5db86991724ffda3
2b927a5f0c469ea52b7de6709572a3a8f2105ffc
refs/heads/master
2016-09-05T19:20:58.816374
2010-08-09T00:53:14
2010-08-09T00:54:53
825,545
1
0
null
null
null
null
UTF-8
Python
false
false
551
py
import collections import math import scipy.optimize Errors = collections.namedtuple('Errors', ['rss', 'r_squared', 'rmse']) def lm(f, y, x, b0, **kwargs): def compute_residuals(b): return y - f(x, b) return scipy.optimize.leastsq(compute_residuals, b0, **kwargs) def errors(f, y, x, b): Y = f(x,...
[ "trevor@caira.com" ]
trevor@caira.com
d6f9576e15f4246ceca27311ec1c907b2dde14b7
e06a996c9f78bd8767bde431951e91859dc6ae8a
/experimentalComponents/gupta_paper_brian2.py
8f6e78cb4d1b3abc295fc6460508c62b8b415f08
[ "MIT" ]
permissive
Jbwasse2/snn-rl
7dbe8bd5c23837cb76f492e7b911081dee7a4e4a
29b040655f432bd390bc9d835b86cbfdf1a622e4
refs/heads/master
2020-08-07T10:28:16.533162
2019-10-07T15:21:02
2019-10-07T15:21:02
213,411,865
0
0
NOASSERTION
2019-10-07T14:53:54
2019-10-07T14:53:54
null
UTF-8
Python
false
false
852
py
#While reading fninf-08-00006.pdf I copied some useful snippets of code here #Leaky integrate and fire with refractoriness G = NeuronGroup ( number_of_neurons, 'dv/dt = -(v - v_0)/tau_m : volt # membrane potential', threshold='v > v_th', reset='v = v_0', refractory='(t-lastspike) <= 2*ms'); #Random in...
[ "tartavull@gmail.com" ]
tartavull@gmail.com
c4b60be269cb804c222514ca84f971ba53fe0a2b
7590d16f6db2c0b16982fc644b5d536ab1f98c7e
/src/webapp/apps/profiles/management/commands/followers_from_csv.py
7da4fdec687f5479e19b365a51ac2a350a0c6591
[]
no_license
GeoRemindMe/GeoRemindMe_Platform
33444bd8e2fcbf1c8fc42a78140fa5848441ae84
30436fba4f16cd787903a667302a3b34a2b8a8e2
refs/heads/master
2016-09-05T22:02:51.526975
2012-07-12T20:08:26
2012-07-12T20:08:26
2,743,081
3
0
null
null
null
null
UTF-8
Python
false
false
838
py
# coding=utf-8 from django.core.management.base import BaseCommand, CommandError from django.contrib.auth.models import User from apps.timelines.models import Follower import csv import sys class Command(BaseCommand): args = '.csv' def handle(self, *args, **options): file = csv.reader(open(args[...
[ "javier@georemindme.com" ]
javier@georemindme.com
e17345f6cf00a1d2eedbf04969bc6da4e66e9878
cce1b624c5d41d8a5e832217a928225b45f62b15
/mysite/polls/models.py
93d1e0a3856579251dbc219036c60bdf13f0f39c
[]
no_license
SauravL3010/Django
8b192c9d57606ebd3d1f0f310689b3c14ad6e2f6
021c80357e98ebafc2bbb6e60b1a5a473a79f20f
refs/heads/main
2023-02-06T15:34:11.876571
2020-12-31T01:56:38
2020-12-31T01:56:38
324,661,065
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import datetime from django.db import models from django.utils import timezone class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def recently_pub(self): return self.pub_date >= timezone.now() - datetime.timedelta(days=1...
[ "slgurhal@uwaterloo.ca" ]
slgurhal@uwaterloo.ca
24b6a392193af3ed499ed5481be0d574615aa635
fa0f12a6d63be22b588133bfb9c130f1eeecab3d
/myvenv/lib/python3.7/site-packages/pip/_internal/cli/autocompletion.py
1295e23141c110930d3bf02637af4990d0143b8e
[]
no_license
8th-caulion/high-hat
6b2c455be14b5e617bf993cfb67c68975df3aa65
fc1f9793747892b7b58f066c45ab95d3f0269db9
refs/heads/master
2023-08-02T12:07:36.540488
2020-06-03T17:36:32
2020-06-03T17:36:32
267,542,957
0
6
null
2021-09-22T19:09:26
2020-05-28T09:04:29
Python
UTF-8
Python
false
false
8,237
py
"""Logic that powers autocompletion installed by ``pip completion``. """ import optparse import os import sys <<<<<<< HEAD from itertools import chain from pip._internal.cli.main_parser import create_main_parser from pip._internal.commands import commands_dict, create_command from pip._internal.utils.misc import get_...
[ "rldnjs9347@gmail.com" ]
rldnjs9347@gmail.com
d3a7bdf0bdf102bef366ae9b245a8a5f800eb96d
8def256b361cb117e291d435f20ee9b4b27fe9f7
/getpubmed.py
50d5e9323f6ec327c212519d69d01d401f6dd248
[]
no_license
dvdmrn/citation_scraper
44011afc4cda515b512ce6aceb32fc7412e6c292
ff5a81dca7e31463c1793755863dedc11c7f7215
refs/heads/master
2021-05-13T23:51:09.950508
2018-01-14T04:18:42
2018-01-14T04:18:42
116,526,891
0
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
import metapub import confidence as c import helpers fetch = metapub.PubMedFetcher() listOfCitations = [] def get_pmid(descriptor): """ gets the pmid of an article based off a descriptor descriptor: name or doi returns: pub med id, or False """ candidates = fetch.pmids_for_query(descriptor) if len(candidat...
[ "damarino@cs.ubc.ca" ]
damarino@cs.ubc.ca
5574fa697c20b9926bc62f49277b71d1dcd3a57d
672fa6128c88e43bf14b4168c7c08c60061477bd
/day5/page_object/loginPage.py
89fcacd15f93afadc07573b5f125d363b627bcad
[]
no_license
zuhui940615/selenium7th
80128efc75f58bfa1e296506e60c3102d871b8e0
a752edd16311424360cef4d0b746259b4e424cc4
refs/heads/master
2020-03-21T10:42:49.519768
2018-06-24T08:46:12
2018-06-24T08:46:12
138,466,923
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
#这种框架的设计思想,叫做page—object设计模式,是一种高级框架设计思想 #这种思想的主旨是把业务逻辑和代码技术分离开 #测试用例的类,专门负责业务逻辑 #元素定位和操作交给 网页对象 #在pageObiect这个类中,把每个网页看成一个类 #其中,网页中的每个元素看成类中的一个属性 #针对这个元素的操作,看成类中的一个方法 #元素的信息,定位是名词性,所以可以看成属性(成员变量) #元素的操作是动词性的,所以可以看成是方法 #那么,下面我们封装一下登录这个网页 #这个类主要做的就是把元素定位,改一个易于理解的名字 '''driver.get("http://localhost/index.php?m=user&c=pu...
[ "15032683126@163.com" ]
15032683126@163.com
f4005d99185dc2e01e9b1daf8d65d901d29911ca
b7d155502d3494866becbfbd5237a45425054b5d
/DAY_9/Face detection using HAAR CLASSIFIERS/Face_Eye_Detection_in_OPENCV.py
955641f2f9d7c0002059b15cac205a066bebffc3
[]
no_license
IEEESFIT1/31DaysOfCode
1b1f01fb73efde32ab68d170a4ecb1dc18824cff
2eac7a720ad15734a7020dcb3aab31a2d6d55cc8
refs/heads/main
2023-08-06T09:20:49.980701
2021-10-01T14:03:09
2021-10-01T14:03:09
317,566,761
7
3
null
2021-10-01T14:03:10
2020-12-01T14:27:11
Python
UTF-8
Python
false
false
870
py
import cv2 from numpy.lib.type_check import imag face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('haarcascade_eye_tree_eye_glasses.xml') frame = cv2.VideoCapture(0) while frame.isOpened(): _,img = frame.read() gray = cv2.cvtColor(img...
[ "noreply@github.com" ]
IEEESFIT1.noreply@github.com
950cc3ec633927641e6bc1b3f51f4408ecff16e7
5f5ea1011786269376ec09f43c3b9bb246e9d98b
/login-robot/src/services/user_service.py
4a581e0d11c439c7d0e7adfb1f74d0ea2493329a
[]
no_license
tholsti/hy-ohtu-syksy-2021-tehtavat
30561b84e0da768f15b9f6787e34136f60bf6d00
5613e033fbddb5833f7e69b3c148204554c5dd3a
refs/heads/main
2023-04-04T23:44:26.248025
2021-04-18T11:10:48
2021-04-18T11:10:48
334,141,980
0
0
null
null
null
null
UTF-8
Python
false
false
1,501
py
from entities.user import User import re class UserInputError(Exception): pass class AuthenticationError(Exception): pass class RegistrationError(Exception): pass class UserService: def __init__(self, user_repository): self._user_repository = user_repository def check_credentials(self...
[ "tomi.holstila@gmail.com" ]
tomi.holstila@gmail.com
b9132f16bfc5b5e0cc2704d85af65a089cffd7cb
eee647635af1583d9b1150b7cd3195336291e1d2
/ABC133/c.py
eb49ffdc05d6db403c85c8227196668dd8d288ac
[]
no_license
lilium513/competition_programing
42f69222290b09b491477b8a2b9c2d4513ebe301
45082bf542224b667e753ad357cf145f683fde54
refs/heads/master
2020-06-22T03:16:34.510906
2019-07-31T18:22:31
2019-07-31T18:22:31
197,619,005
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
def do(): L, R = list(map(int, input().split(" "))) ans = 10 ** 15 if R - L < 5000: #差が小さい場合は全探索 for i in range(L,R + 1): for j in range(i+1,R + 1): if (i*j) % 2019 < ans: ans = (i*j) % 2019 else:#そうでなければ確実に一つ2019の倍数がある ans = 0 print...
[ "lim.intefx@gmail.com" ]
lim.intefx@gmail.com
d871c5cfc9ab2fb5f9fd61aa0dca96c2093b5d22
d15db6af7db42745262775a7402877bcee37e22b
/HaiZhiTestEngine.py
86915fb8c4b7fb93d612043b3e5712e3833f47a9
[]
no_license
NotTodayNotMe/HaiZhiInterface
0838916245f56ae369a7de3a64d597cc40065b7d
7ad1c555fbc9b3bf53a1235c523c24910d1cf71a
refs/heads/master
2020-03-28T22:36:16.689070
2018-08-27T09:28:34
2018-08-27T09:28:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,519
py
#coding:utf-8 import datetime import json from HistoryTrading import HistoryTrading from RealTimeTrading import RealTimeTrading from HaizhiData import HaizhiData '''装饰器''' def input_checker(func): ''' 用于监测函数输入是否合法,code,volume均转化为str :param func: :return: ''' def _input_checker(self,**kwargs)...
[ "787162506@qq.com" ]
787162506@qq.com
38a31c1facdab62182e07fb91d89b3bbd83243e6
15961f319555c38ebb80b4801edcc84a24f9415b
/loader.py
13c80e259f87a77668787c28d9ab90ed9859d98e
[]
no_license
elifiner/crmz
f4a7897cbbcc6b7d0fac4fc8ad7705bc55e81c5f
cd15ff574a1e523aa1594f2929b62c3f3f75d153
refs/heads/master
2020-12-26T02:49:29.500188
2015-06-29T12:56:44
2015-06-29T12:56:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
import sys companies = [] for line in open(sys.argv[1]): companies.append(eval(line.strip())) print(companies)
[ "eli.finer@gmail.com" ]
eli.finer@gmail.com
e798b57fa3a276c7acb65be428cc91e5a58aca43
e3f2ab2999a851121897c02ee81bd85c2543bb96
/ketan/codes/ee18btech11030/ee18btech11030_1.py
7034225e0dcac1c1afe24ced57259387f4318dfb
[]
no_license
yashwanthguguloth24/control
ee38822c00d709ab63a35a9ebf7be886abae7eb7
cff91230294686a4ee9432b04aea4333198512c1
refs/heads/master
2022-09-16T14:49:10.111030
2020-06-01T03:21:08
2020-06-01T03:21:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,349
py
################################################################### # This is python code for Bode plots. # By Moparthi Varun Sankar # April 28 , 2020 # Released under GNU GPL ################################################################### from scipy import signal import matplotlib.pyplot as plt from pylab ...
[ "gadepall@gmail.com" ]
gadepall@gmail.com
8b3bfe75a888d9cb49b2f4c56c83b47f04bfaa01
7de174ec684fe60717b2757fe5e194cc597fee38
/plugins/plugin_clone.py
312d2f5ae7f840bba90736e8b0d4e3c654b8abc7
[]
no_license
oma256/repo_scan
41ad4972908859f947d7226dd80f09a6f582301c
03971eea701a0079d9a824261f6ee0e21c1d2f79
refs/heads/master
2022-03-26T06:40:20.388127
2019-12-05T15:09:11
2019-12-05T15:09:11
222,365,319
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os import subprocess import sys from loguru import logger from plugins.base import Command from utils.parser import create_parser class Clone(Command): def execute(self) -> None: parser = create_parser() args = parser.parse_args() if not args.repository: create_parse...
[ "oma.dulatov@gmail.com" ]
oma.dulatov@gmail.com
e257d259dbfc021d53cf6ad1b76045bdfbe6eb01
1567a3af5e8bec0735cde692a2ed9e25614b3625
/TestEnv.py
788e1611dfe604cdb92aea8610742f919662db88
[]
no_license
lroin/Py_Cralwer
bbae9022299ffa28d8ef3833af7d67585ffe6bf6
84ccab0ecdc260e59e149893ff12871b7ba9951b
refs/heads/master
2023-03-21T02:43:08.184180
2016-12-19T09:03:18
2016-12-19T09:03:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,200
py
from MajorCrawler import * # ==============================<<func>>============================== def getBJ(): #北京, dic->DB, 有验证码 url_i='http://www.bjcourt.gov.cn/ktgg/index.htm?c=&court=&start=&end=&type=&p=' header=['省级行政区','网址','内容'] flag=True for i in range(1,10): #url=url_i+s...
[ "eyu.yang@gmail.com" ]
eyu.yang@gmail.com
c9f81bef1f3181735e2d92ff5e734356f7d6e16f
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/SQLAlchemy/sqlalchemy/cimmutabledict.pyi
1a1a3006afc360bf3f13c4a33677a997d14fb729
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
737
pyi
from _typeshed import SupportsKeysAndGetItem from collections.abc import Iterable from typing import Generic, TypeVar, overload from typing_extensions import final _KT = TypeVar("_KT") _KT2 = TypeVar("_KT2") _VT = TypeVar("_VT") _VT2 = TypeVar("_VT2") @final class immutabledict(dict[_KT, _VT], Generic[_KT, _VT]): ...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
06d8642d821b8be29fbef654e1e24ef1fe4d3a1e
f480589c6f8c1d33fccb0dad4380dada77340660
/migrations/versions/ac3f2179013d_.py
90ab319f620ac1efe4ff2779223877201e2f8817
[]
no_license
carlosribas/backend-coding-challenge
519cb35bfd57caf014dfcd4505a7a84da6ae9bda
32b9fa7dd7940a27a10eff3af01f4ce2e93ccdbd
refs/heads/master
2020-04-05T04:29:42.085218
2018-11-12T12:28:26
2018-11-12T12:28:26
156,553,812
0
0
null
2018-11-07T13:53:30
2018-11-07T13:53:30
null
UTF-8
Python
false
false
926
py
"""empty message Revision ID: ac3f2179013d Revises: Create Date: 2018-11-07 20:12:02.753303 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ac3f2179013d' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "caduribas@gmail.com" ]
caduribas@gmail.com
58bb65a58ddad2e7ba4755e15c3698f3ff9b3301
cb33113c4063867fa41cb74943d0a056a383b6a1
/codexpert/Snake.py
bf0365b45c2712a8fdc2e057e76157dea480dae5
[]
no_license
manuck/Algorithm
9c6280095da6b88473460da52d07fb23ee6c3f9f
4c15ff42f39224eb9b29728544c92dce9341fdfa
refs/heads/master
2020-04-18T02:06:53.437576
2019-06-26T08:59:16
2019-06-26T08:59:16
167,148,058
0
0
null
null
null
null
UTF-8
Python
false
false
48
py
import sys sys.stdin = open("Snake_input.txt")
[ "snc9000@naver.com" ]
snc9000@naver.com
9023e00f19ae2dd73801a944716c50ce967f6522
ff99e4847f91a288cec57124d7beb4b672db2f1e
/maestro/providers/aws/vpc_location.py
c79afa0de62d6c133d13b85bc2d0e8b0932e1234
[ "Apache-2.0" ]
permissive
tunein/Maestro
e50afdbc9fe61340a2c4e82511bcec4d50957567
789205fdbe85242189c50e407445c57ca916e42c
refs/heads/development
2021-09-29T23:21:14.327896
2021-09-21T21:06:31
2021-09-21T21:06:31
130,405,209
12
2
Apache-2.0
2021-09-21T21:06:31
2018-04-20T19:26:32
Python
UTF-8
Python
false
false
2,463
py
#Import external libs import boto3 import sys import json import os from botocore.exceptions import ClientError #This is only here for printing pretty colors class color: PURPLE = '\033[95m' CYAN = '\033[96m' DARKCYAN = '\033[36m' BLUE = '\033[94m' GREEN = '\033[92m' YELLOW = '\033[93m' RED...
[ "mmoon@tunein.com" ]
mmoon@tunein.com
6daa8b703512b7e2e3c7130d9d9b62f52575be17
5d049b79b10480e0e03dbd699c496b5eaa050eb5
/tests/test_preprocessing.py
26b4df9beff58bd1556114ab91b4a684dcb652f5
[]
no_license
isseychua/type-hints-demo
96bd46fd3c54acd5fa2f14913a2e1c1522d109dd
2e2ae03e9b2c1254807a7f01bc47869ecea6bb24
refs/heads/master
2023-08-02T16:36:36.479644
2021-10-10T11:26:19
2021-10-10T11:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,073
py
import unittest import numpy as np import pandas as pd from sklearn.tree import DecisionTreeClassifier from pandas.testing import assert_frame_equal, assert_series_equal from src.preprocessing import (add_derived_title, add_is_alone_column, categorize_column, impute_nans, train_model) ...
[ "davidtan@thoughtworks.com" ]
davidtan@thoughtworks.com
6399e8279ba126093ebb5008d5f3db2f7f0e9f0f
e4c1cc89b0014ec932014eb25302c0f431800017
/polls/models.py
0264edf31be5314445db6416b6f03c6d2ca17f62
[]
no_license
jungdoyoon/polls_example
f3b5f98adb68a0fc87d6b591fffcc1ada4baf63b
c05f5841867dbf08a4c21bf5ea1864a5f94c0484
refs/heads/master
2022-07-27T17:45:52.365080
2020-05-20T05:57:48
2020-05-20T05:57:48
265,464,171
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
from django.db import models # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date=models.DateField('date published') def __str__(self): return self.question_text class Choice(models.Model): question = models.ForeignKey(Question, on...
[ "jungdo8016@naver.com" ]
jungdo8016@naver.com
84b0c5269b2439b5b470b7c84eed3eb96c57cd6d
28979d6e7873687ee5dd2ff3b838629d03baaa58
/djangoTutorials/djangoTutorials/wsgi.py
6aa24c0f51532e0f8900408e467b4426e5ffbffd
[]
no_license
NSNSingh/tryingDjango
469768d92b5b2398042aef27016ae3d3078233d4
22acaa189c5ce2f22bb861a41a72f970a52706df
refs/heads/master
2021-01-02T08:44:40.961863
2017-08-03T12:35:46
2017-08-03T12:35:46
99,059,026
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
""" WSGI config for djangoTutorials 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJA...
[ "sachinsngh64@gmail.com" ]
sachinsngh64@gmail.com
c23e2c7b72b4b8a49f79f3091cb3eb3ca241fb0f
a3123495438f8054f15711be138e10bef4b8c8ce
/parallax_eddie_robot/src/parallax_eddie_robot/msg/_Velocity.py
c57d36e43ccd2d56f604a02ce4b991f1402545b3
[]
no_license
haikalpribadi/haikalpribadi-ros-pkg
53aeb2335dee131bcc626afb13ceb39a56f00556
a3f9c2580e82beabe83a463cdbe46c40dc70ea1b
refs/heads/master
2021-01-10T20:32:15.132608
2020-05-20T13:41:45
2020-05-20T13:41:45
3,742,934
2
2
null
null
null
null
UTF-8
Python
false
false
3,195
py
"""autogenerated by genmsg_py from Velocity.msg. Do not edit.""" import roslib.message import struct class Velocity(roslib.message.Message): _md5sum = "9d5c2dcd348ac8f76ce2a4307bd63a13" _type = "parallax_eddie_robot/Velocity" _has_header = False #flag to mark the presence of a Header object _full_text = """fl...
[ "haikal.pribadi@gmail.com" ]
haikal.pribadi@gmail.com
047660a9b15f645d34c790dbd31c938415f1e740
bad62c2b0dfad33197db55b44efeec0bab405634
/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2021_02_01/models/__init__.py
82c172aa1eb5e798e13af3d8f39e6216f291614d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
test-repo-billy/azure-sdk-for-python
20c5a2486456e02456de17515704cb064ff19833
cece86a8548cb5f575e5419864d631673be0a244
refs/heads/master
2022-10-25T02:28:39.022559
2022-10-18T06:05:46
2022-10-18T06:05:46
182,325,031
0
0
MIT
2019-07-25T22:28:52
2019-04-19T20:59:15
Python
UTF-8
Python
false
false
12,525
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" ]
test-repo-billy.noreply@github.com
64b7d70b08eb9417de61cee04e088e8fa686e7e3
9f4705a8472dc42427c5509ccce94106c38bd9ee
/Q3.py
dc28bed1e17d458d14072f3e05e63b542a27a38d
[]
no_license
Aniket-Bhagat/Computing_tools_8
305382aaa6bb3d6020ccf00d10aa3e2783c5de67
109a21b6647fadd3c5e7e9503b517b3c010a0d8f
refs/heads/master
2020-04-22T04:13:18.329327
2019-02-11T11:12:44
2019-02-11T11:12:44
170,115,525
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
import numpy, matplotlib.pyplot as plt from scipy.stats.kde import gaussian_kde data = numpy.loadtxt('data.dat', dtype='float', delimiter='\t', unpack=True) def probdist(colno): global data plt.subplot(2,2,colno+1) kde = gaussian_kde( data[colno] ) dist_space = numpy.linspace( min(data[colno]), max(data[colno]), ...
[ "noreply@github.com" ]
Aniket-Bhagat.noreply@github.com
31af98181d7dd6927e3d2117e9d1f89471704af2
23a8b03599b0e97157739c367168b481f046726f
/vocabchallenge/dictionaries/french_dict_edit.py
2861d4fd9f9037fe02a7f792bde2f9ad0a532a0f
[]
no_license
lzbotha/VocabChallenge
04be101d5a6bf49dcaf895417a9ecf095b69fd14
5abff66a397c66c9ce79aaf2fd27925289013db9
refs/heads/master
2021-01-19T18:11:07.222922
2014-03-17T07:59:59
2014-03-17T07:59:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
f = open('french_dictionary.tsv','r') outpt = open('french_dictionary_v1.tsv','w') def remove_formatting(text): temp = '' for c in text: if not c =='[' and not c==']' and not c =='#': temp = temp + c return temp # as it stands now this seperates all words with a direct translation for...
[ "leonardzbotha@gmail.com" ]
leonardzbotha@gmail.com
f96decde8d13d57b8a17e6a18603082d48517ed8
091d605dcd15b61abb88b7e7c00fc2ccadc5c51a
/KIM_dipole.py
a27f6fed3ffb721d594d6ec9241146fad23d6f0b
[]
no_license
yqian1/OpenKIM
cb0abeee3f5e3d3b9d649118d8c85a5e283c8ab6
2f8d7469b4f67eac4c20265ef11815838307c04e
refs/heads/main
2023-01-06T09:28:46.923355
2020-10-28T23:51:23
2020-10-28T23:51:23
308,100,239
0
0
null
2020-10-28T18:40:50
2020-10-28T18:01:31
Python
UTF-8
Python
false
false
6,077
py
import numpy as np import itertools ''' This script generates MD++ supercells for core energy calculations The dislocation plane normal is along the x-direction The dislocation line is along the z-direction Nicolas Bertin, 08/31/2020 ''' def find_burgers_coord(theta, c2, n2, c3, n3): # compute Burgers vector...
[ "noreply@github.com" ]
yqian1.noreply@github.com
7ab15aaa9ab86f2169fe7e677124ec25d9b66c6e
6071edc45eace43e4c9335650986c7588652a714
/NER-AV.py
7094e5d9ba46880ceadb3e9846542cde72daefe5
[]
no_license
Chadni-Islam/cybersecproject1
47e685ab34e544f2229bac39895a6bac3275a9d8
e3b5892295637f814924c66e9e9bfe37dea27bca
refs/heads/master
2020-04-12T00:41:51.842388
2018-12-16T06:09:56
2018-12-16T06:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,170
py
# Named Entity Recognintion on Alien Vault blog posts # Scrapes info about malware/threats from page and attempts to extract threat data import utils import spacy import pandas as pd import csv from bs4 import BeautifulSoup import requests import pprint from OTXv2 import OTXv2 from OTXv2 import IndicatorTypes from goog...
[ "a1706489@student.adelaide.edu.au" ]
a1706489@student.adelaide.edu.au
68d7bf5e288f8d694bff5efa73f76d5d085e833e
24c8c76dee0cfbeaa3bc61666e63801aaf86afbc
/acmicpc.net/2798/test/script.py
3b02d2dfb3a6b5edce5714ff49fb0809cb7d0a71
[]
no_license
developers-algorithm-study/mjy9088
e018f93f87394e106163259659a913b2ec2dd7f5
04f8fa0611a76aba45956ef82218b0e15152faa9
refs/heads/master
2022-09-16T17:55:21.387115
2022-08-18T14:32:35
2022-08-18T14:33:46
173,717,731
0
1
null
null
null
null
UTF-8
Python
false
false
495
py
import sys from os import path, sep from importlib import import_module base_path = path.dirname(path.dirname(path.abspath(__file__))) root_path = path.dirname(path.dirname(base_path)) sys.path.append(root_path + sep + 'test') if import_module('pipe').test( prelaunch_tasks=[['cargo', 'build']], popen_params=s...
[ "mjy9088@naver.com" ]
mjy9088@naver.com
6e0e7be32af312f6e4e5c22864d619f58343b46b
07ec5a0b3ba5e70a9e0fb65172ea6b13ef4115b8
/lib/python3.6/site-packages/qtconsole/usage.py
9748f0e934f04e3c18259feed28ecd2d79a87874
[]
no_license
cronos91/ML-exercise
39c5cd7f94bb90c57450f9a85d40c2f014900ea4
3b7afeeb6a7c87384049a9b87cac1fe4c294e415
refs/heads/master
2021-05-09T22:02:55.131977
2017-12-14T13:50:44
2017-12-14T13:50:44
118,736,043
0
0
null
2018-01-24T08:30:23
2018-01-24T08:30:22
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:4999bdffa49207a0fc3b0d1a32be17cab386bc93cb7e7f592a5154ee85dcc4e9 size 8349
[ "seokinj@jangseog-in-ui-MacBook-Pro.local" ]
seokinj@jangseog-in-ui-MacBook-Pro.local
7ab25735908dffad4ff145d77a16b3adf7334ef5
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/lib/python3.6/site-packages/djcelery/tests/_compat.py
4969b5c033405ba7bf924e2166b838b11922e304
[ "Apache-2.0" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
113
py
# coding: utf-8 try: from unittest.mock import patch except ImportError: from mock import patch # noqa
[ "leibingye@outlook.com" ]
leibingye@outlook.com
4b2a96ef55a632d0fcb49ebd4f0e74caf63bdc4b
6804c33960e66afa43c54f147e4ca86f32b2ee70
/stands/recognizer/gender_detect.py
76806f349f582ea4cc556999d2079cddb56533c8
[]
no_license
ApiProdject/apiproject
9cd6be2781f75338a41c2376e8303b910bbc4307
6e35244e0c003b6b5331def17c8c1d7ad671dab2
refs/heads/master
2022-07-10T16:44:50.954386
2020-05-17T05:37:54
2020-05-17T05:37:54
244,185,069
0
0
null
null
null
null
UTF-8
Python
false
false
1,047
py
import os import cv2 import numpy as np from apiproject.settings import STATIC_DIR from infoPoints.models import InfoPoint from stands.recognizer.SSRNET_model import SSR_net_general class GenderRecognizer: __instance__ = None @staticmethod def get_instance(): if not GenderRecognizer.__instance_...
[ "egorgavrilenko6@gmail.com" ]
egorgavrilenko6@gmail.com
20a079bd1af4db6c499e81e182bb3635f71069b9
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/I_to_M_Gk3_no_pad/pyr_Tcrop256_pad20_jit15/pyr_3s/L8/step09_3side_L8.py
492f375600b24d9111789d8a77bc4776a8444e6d
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
82,606
py
############################################################################################################################################################################################################# ##################################################################################################################...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
586bebcb89179bee8bb4bb171079ab83e1625aa4
e0da81d30c5178cee999801c8d6673d782878bfa
/create_tables.py
b7b8e401daa01509b4388a3ae021767ff7398c3c
[]
no_license
as234545/Sparkify_ETL
22bf7c233dcf7f53e1870c304fd564f5e16a0628
ecc6758e44e79736f4ad8d3b0d5bfb86be9234e9
refs/heads/master
2022-10-17T08:50:40.238072
2020-06-11T18:16:31
2020-06-11T18:16:31
262,396,049
0
0
null
null
null
null
UTF-8
Python
false
false
1,713
py
import psycopg2 from sql_queries import create_table_queries, drop_table_queries def create_database(): """ - Creates and connects to the sparkifydb - Returns the connection and cursor to sparkifydb """ # connect to default database conn = psycopg2.connect("host=127.0.0.1 dbname=postgres ...
[ "noreply@github.com" ]
as234545.noreply@github.com
00158ec2eee07a649a6064356b537bc1f351953c
d292e8094cdfbd2dd6e35d775f6edfa8e209db47
/src/tests/test_profiled_forward.py
8d869d8d2f7ad953dbfc20f8331029c0c13c6f71
[ "MIT" ]
permissive
SpookyWoogin/robot2018
81562d96ffd42aa3642f8f746a8126a2940827ec
a8ddf6a64b883904b15031e0ae13b2056faed4f5
refs/heads/master
2020-09-02T01:05:00.897963
2019-01-26T05:00:02
2019-01-26T05:00:02
219,100,518
0
0
MIT
2019-11-02T03:55:26
2019-11-02T03:55:26
null
UTF-8
Python
false
false
2,129
py
from unittest.mock import MagicMock from data_logger import DataLogger from robot import Rockslide from commands.profiled_forward import ProfiledForward def test_ProfiledForward1(Notifier): robot = Rockslide() robot.robotInit() command = ProfiledForward(10) command.initialize() command.execute()...
[ "ellery-newcomer@utulsa.edu" ]
ellery-newcomer@utulsa.edu
c830596b2f898d2ead4f94528ad2f3100de2be7b
7786de317489fa258c7504b2fc96341e970e45db
/tests/unit/test_cf_storage_object.py
40cecc402ed6e56b9c96465a85a7524220df10d6
[ "MIT" ]
permissive
tvaught/pyrax
7207158d832721ca6ccde2e9c328855155a60915
8a310435239c536921490e04a984ff8a82b18eb8
refs/heads/master
2020-12-25T10:10:54.714401
2013-05-30T19:56:21
2013-05-30T19:56:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,903
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import random import unittest from mock import patch from mock import MagicMock as Mock import pyrax from pyrax.cf_wrapper.storage_object import StorageObject import pyrax.exceptions as exc from tests.unit.fakes import FakeContainer from tests.unit.fakes import...
[ "ed@leafe.com" ]
ed@leafe.com
fd2de93e61b8ec7175144413c12aa76acc68faf3
16841aa873355de23833f4a78e77cf7440345f6d
/code/server/es_run_all.py
e6aba881549458302a29449b1c089f8ed433b300
[]
no_license
ShyGuyPy/Shiny_Forecasting_Automation
bf42ad603fbcd3c82849c79e4667e0c4391d428d
60f060bacf90ed593c92e2f17092c44480b2fd77
refs/heads/master
2023-05-04T22:05:06.680250
2023-04-18T19:50:03
2023-04-18T19:50:03
224,223,991
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
##this is a workaronud to an issue were win32com module would not #import properly whe run through r reticulate module import win32com.client import win32gui as wg import win32con import time # # if (__name__ == '__main__'): def open_and_ID(prog_ID, win_ID): program_handle = win32com.client.Dispatch(prog_ID) ...
[ "luke.vawter1@gmail.com" ]
luke.vawter1@gmail.com
96a1a69d636663d00ed646ff53f6c1fde2ee639b
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9zsDKijmBffmnk9AP_4.py
f1bdc518936ccc7193328054c14e0aff9757174a
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
def programmers(one, two, three): return max(one, two, three)-min(one, two, three)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ce0c8512a2373bffac1635858e730b38b204d9dd
37bc60b070be22a5e22321655c8490df2285b07c
/translate.py
5f414fdbd164ef00cfcaa2c3eddd47a0378d4518
[]
no_license
TheWover/DidierStevensSuite
2ab56d33472a242a5d49359d643c4e669c7a7e04
17f08aee76b98f95fc94b4e9c6131786d62b4716
refs/heads/master
2020-07-30T01:00:00.497949
2019-09-17T18:46:00
2019-09-17T18:46:00
210,027,232
1
0
null
2019-09-21T17:32:54
2019-09-21T17:32:53
null
UTF-8
Python
false
false
27,454
py
#!/usr/bin/env python __description__ = 'Translate bytes according to a Python expression' __author__ = 'Didier Stevens' __version__ = '2.5.6' __date__ = '2019/02/26' """ Source code put in public domain by Didier Stevens, no Copyright https://DidierStevens.com Use at your own risk No input validation (neither outp...
[ "didier.stevens@gmail.com" ]
didier.stevens@gmail.com
9f17a97976b8031844c5b47af19eedcf16363869
e03250b86ba042c55f05882998c6a19cd4f39c31
/sicknote_app_v00_01.py
d3a1e941ef6455949b2f67cfab4e0366544cf4a2
[]
no_license
nzwi/sicknote-flask-endpoint
a467d519a0fd31b5ff9d45b8dfd8306cb88eadc7
cf7241c951b04292df9a4b8161446e30db8b4f84
refs/heads/master
2020-03-09T06:50:36.832533
2018-04-08T14:32:04
2018-04-08T14:32:04
128,649,960
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
## # Title: Python Flask endpoint within Amazon Virtual Private Cloud (VPC) # to allow lambda to communicate with ethereum helper functions # Version: v00_01 # Author: Nzwisisa Chidembo <nzwisisa@gmail.com> ## from flask import Flask, jsonify, request # Replace <helper function file> with your helper python file impor...
[ "nzwisisa@gmail.com" ]
nzwisisa@gmail.com
abc4485dd7fd0ee1e358442f4b46caf996041df3
7c9425e73f12622042bdc783b014976e8e8498dd
/django/pages/views.py
38dcfa4cb9e002ace8e4c2f9a3a79d003575ad7b
[]
no_license
SameerKhan5669/python-WebFramworks
7f6822780ac7d133e2f2f54d3ad53c816db37943
62d1d1d61d698d9dd4b4aba386b9e75aa14cf676
refs/heads/main
2023-08-31T18:17:27.791069
2021-10-04T17:22:16
2021-10-04T17:22:16
407,669,507
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from django.shortcuts import render # Create your views here. # pages/views.py from django.http import HttpResponse def homePageView(request): return HttpResponse('Hello, World!')
[ "sameer.khan@freshbooks.com" ]
sameer.khan@freshbooks.com
d59306979796aafc1ce71802b7397335571e7929
e4df66483ef535aa89e6348b72a7d683f472b034
/products/migrations/0004_auto_20210703_1331.py
b7d13cbbb8a1cea2c4dcab80894d85b6efbcce80
[]
no_license
Summersby95/james-boutique
595b083c996dfd2f78f6912058b83118e77627a2
ceeeddd796fe9a807d24d4ed222536762e565cf1
refs/heads/master
2023-06-20T09:27:54.979372
2021-07-14T21:52:42
2021-07-14T21:52:42
381,137,290
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
# Generated by Django 3.2.4 on 2021-07-03 12:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0003_auto_20210629_1032'), ] operations = [ migrations.AlterModelOptions( name='category', options={'ver...
[ "47246572+BigbyWolf95@users.noreply.github.com" ]
47246572+BigbyWolf95@users.noreply.github.com
5f7755aabf8fbe67914c3bbf540ddcfad5fe2dca
036fb4fc50bb1fab2cca125484bfe3a0726894bc
/note.py
8f21429c0e16dfa22801f6af73dc70acbbde5a8c
[]
no_license
SWC-Painist/Backend_Api
8df5ebc46bde9831dbd04e63be47bf4815868d16
34924745985780eb832edaf5d3c4f809c86b1d30
refs/heads/main
2023-04-14T04:17:34.969567
2021-03-29T10:58:22
2021-03-29T10:58:22
351,360,190
0
0
null
null
null
null
UTF-8
Python
false
false
4,986
py
NUM_NOTENAME_LIST = ['Not Piano Key' for i in range(0,109)] TELVE_TONE_TEMPERAMENT = ['c_','c#_/db_,','d_','d#_/eb_','e_','f_','f#_/gb_','g_','g#_/ab_','a_','a#_/bb_','b_'] #Generate Notename List for i in range(0,109): if i < 24 : continue else: octa,num = int((i-24)/12), ((i-24)%12) ...
[ "noreply@github.com" ]
SWC-Painist.noreply@github.com
c58f1c2970ecc1f52452603ec752fee605c737c0
053221e1d90b365f68701dbd5b6466f30d1f6fd7
/Day2/vd9.py
fd7cce53fa7b1ae816f5b6dbeb603d15b41e478e
[]
no_license
pytutorial/py2011E
eceb4d563cc807294b08b818edadd521ed8da488
306437369b0bfe55a2fa827b098283856242e731
refs/heads/main
2023-02-28T23:57:32.851536
2021-01-30T14:56:12
2021-01-30T14:56:12
318,186,117
1
1
null
null
null
null
UTF-8
Python
false
false
397
py
# vd9.py # Chương trình dự báo thời tiết # Cho T(độ C), w (km/h), p(atm) # In ra : Có mưa ? T = float(input('Nhiệt độ (C):')) w = float(input('Tốc độ gió (km/h):')) p = float(input('Áp suất khí quyển(atm):')) rain = False # default if T >= 21: if w >= 3 and p > 0.87: rain = True else: if w >= 7 o...
[ "duongthanhtungvn01@gmail.com" ]
duongthanhtungvn01@gmail.com
5088ff9a441d0a89a9acc0d64fff0a8dc6f8e028
9c0f298d56ef554b6bb004545dcd02988211df7d
/uebung07/uebung07-examples/tasks-show.py
fde8acdb8d610cd2ba32c22be0559d10cc9a70d5
[]
no_license
n1tr0-5urf3r/InTech-2020
96d418360b47c17a7c2e4f00d32680fcb603a802
43d5659907586e6f5b55eb872cc8136c0b059678
refs/heads/master
2022-11-17T20:58:31.782540
2020-07-14T12:05:45
2020-07-14T12:05:45
259,252,184
2
2
null
null
null
null
UTF-8
Python
false
false
811
py
#!/usr/bin/python3 # coding=utf-8 from tasks_lib import read_all_tasks, get_done_tasks, get_open_tasks from tasks_lib import print_header, print_tasks, print_footer, print_form, print_navigation import cgi form = cgi.FieldStorage(encoding='utf8') # Welchen Zustand sollen die angezeigten Tasks haben? Default-Wert: a...
[ "fabi@ihlecloud.de" ]
fabi@ihlecloud.de
449d5c2f3a0a020d0c74ca688990cf14ec87f350
c99b89e8b4d5ebdae4aaaf26c33dd8075e61b5e4
/AnchorDxLimsApp/RandDTaskAssignment.py
852174993b8a463ae1c594f0e83a627c6404016d
[]
no_license
ranandrom/Lims
1afa9f86829b5c09b10bc802501f745c489045c6
8a762cad72a334054f4211e46a4b36b403dc06c2
refs/heads/master
2020-03-12T00:14:45.192049
2018-04-23T09:44:45
2018-04-23T09:44:45
128,862,965
0
0
null
null
null
null
UTF-8
Python
false
false
8,184
py
# encoding: utf-8 from django.shortcuts import render from AnchorDxLimsApp import models from itertools import chain # Create your views here. #coding:utf-8 from django.shortcuts import render,HttpResponse # 研发样本实验任务分配首页 def RandDExperimentalTaskAssignmentHomePage(request): try: username = request.sessio...
[ "ramandrom@139.com" ]
ramandrom@139.com
047c84b87840d1b7ec7ee3291c29a71e590f7b89
8341678973612363868a36d89b1c464cbe0f4a79
/app.py
c3b2815b752fcfd98f7940020234f803e7b9c6ed
[]
no_license
sveco86/magiogo-iptv-server
45c80ce8e21d6488933e6cd4be9ed3873c013581
00610e6e73cfd0b79c136c48dcf4f87c08239040
refs/heads/master
2023-03-26T12:04:46.038199
2021-03-10T12:29:42
2021-03-10T12:29:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,348
py
import atexit import gzip from pathlib import Path import xmltv from apscheduler.schedulers.background import BackgroundScheduler from flask import Flask, redirect, render_template from magiogo import * from parse_season_number import parse_season_number app = Flask(__name__, static_url_path="/", static_folder="publ...
[ "lukas.kusik@gmail.com" ]
lukas.kusik@gmail.com
8be8b9d514ef8af40f16b0f5750beca00056be18
661ccc272af5d72a4aea6cecebd59879ab8458f5
/test_scores.py
8bbbb94312640aef4bdc7d5c8d9fba98e5442c39
[]
no_license
Monitor-Wang/ERMDA
9e03718292404f5a0a8cf0bb29974ef2ea981675
cdafa1e3bba24b16f81c427c29009ecbbc716a88
refs/heads/main
2023-08-30T19:32:34.156473
2021-11-05T12:52:03
2021-11-05T12:52:03
424,944,508
0
0
null
2021-11-05T12:42:11
2021-11-05T12:42:11
null
UTF-8
Python
false
false
1,979
py
# -*- coding: utf-8 -*- from sklearn.metrics import roc_auc_score import numpy as np def calculate_performace(num, y_pred, y_prob, y_test): tp = 0 fp = 0 tn = 0 fn = 0 for index in range(num): if y_test[index] ==1: if y_test[index] == y_pred[index]: ...
[ "noreply@github.com" ]
Monitor-Wang.noreply@github.com
a5a11cfef9f4349cd1bbbda6164070d5f154324b
ad682d2145f440c078a431a40d2153a204771026
/method/DepBased/WM_OLPDM.py
7889685fa719f8816d1f5051b2aece6f7cb45c2f
[]
no_license
barry800414/NewsCrawler
d81f1ee4b0e0c4a997dda1efd24d1430e222d318
18c10f10508558600f734d659e724d4e27f071a3
refs/heads/master
2021-05-03T13:11:29.696108
2015-07-01T16:38:05
2015-07-01T16:38:05
26,075,910
0
0
null
null
null
null
UTF-8
Python
false
false
10,697
py
#!/usr/bin/env python3 import sys import json import math from collections import defaultdict import numpy as np from scipy.sparse import csr_matrix, hstack from sklearn.grid_search import ParameterGrid import WordModelImproved as WM import OneLayerPhraseDepModel as OLPDM from PhraseDepTree import loadPhraseFile fro...
[ "barry800414@gmail.com" ]
barry800414@gmail.com
8cb2376ed52ba4138dc95464f109798211500d6a
4d9b71dc822dd62cade383629ea8ef469d2e83ae
/planning/SpCoNavi0.1.py
d05de2b52e4530add0ef3afd16f9a86a6519b889
[ "MIT" ]
permissive
sunnySKYwhy/SpCoNavi
cb2eaded8de5c0d5ec254d415dcc3418783db7f1
88edac8b204ad58380a00685f7d5159d5d937271
refs/heads/master
2023-03-19T23:52:29.411030
2020-02-19T11:57:54
2020-02-19T11:57:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
46,383
py
#coding:utf-8 ########################################################### # SpCoNavi: Spatial Concept-based Path-Planning Program (開発中) # Akira Taniguchi 2018/12/13-2019/3/10- ########################################################### ##########---遂行タスク---########## #テスト実行・デバッグ #ムダの除去・さらなる高速化 #######...
[ "a.taniguchi@em.ci.ritsumei.ac.jp" ]
a.taniguchi@em.ci.ritsumei.ac.jp
10235484ece4de8311785cbc4ef11abeb245c5aa
577aa26c18c7ae5a2be3b1d4ef6cc4a88f0f455a
/bot.py
379414f1d2d588c384aa3390f91f5be270390603
[]
no_license
boringcactus/head-receiver-bot
add9f78ee771b597be8e342d914601a1270abcfe
e8012db3c2cae22771e1f68965eff7ff85a14014
refs/heads/master
2021-04-18T17:42:25.066518
2020-03-24T02:31:15
2020-03-24T02:31:15
249,567,910
0
0
null
null
null
null
UTF-8
Python
false
false
2,972
py
import logging import os from io import BytesIO import telegram from telegram.ext import Updater, MessageHandler, Filters from dotenv import load_dotenv, find_dotenv from PIL import Image, ImageDraw, ImageFont load_dotenv(find_dotenv()) font = ImageFont.truetype("SourceSansPro-Regular.ttf", 48) def apply(name, ph...
[ "melody@boringcactus.com" ]
melody@boringcactus.com
c3269a9d2921b1dd7aedb9e987d48a9a1cb04198
99a5e59f1f6dccd580989e92fc148143bef9ae23
/store/models/customer.py
b9b79996b4d8e12facf7e9df4adc870b19fb17d9
[]
no_license
Sachin-Kahandal/eshop
743ce2c48c913f6aa41c6388395478b3fc01c1aa
c58b7f959ff4294c069bba1f1bca8f78294a4483
refs/heads/master
2023-02-22T13:01:22.113343
2021-01-26T14:56:57
2021-01-26T14:56:57
331,246,562
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
from django.db import models from django.contrib.auth.hashers import make_password, check_password class Customer(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30) phone = models.CharField(max_length=10) address = models.CharField(max_length=100) ...
[ "54132749+SachinKahandal@users.noreply.github.com" ]
54132749+SachinKahandal@users.noreply.github.com
565584f78e17bf14cc57d09723b4166b4d3c8e6f
a0a7c9997676217387738f4c89e0665fd403b2c0
/basic/perceptron.py
aa96363c3aeeb78fe704d83b5dcbfd81f0ff02d7
[]
no_license
whoisalan/MACHINELEARNING
86f51bd64fc46c68574b89846d6a11c88cf94272
3a658eae6e8818a8286045665b7e3e4d23c284db
refs/heads/master
2020-04-09T18:15:47.313308
2018-12-05T14:23:02
2018-12-05T14:23:02
160,506,425
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import random import numpy as np import matplotlib.pyplot as plt def sign(v): if v>=0: return 1 else: return -1 def train(train_num,train_datas,lr): w=[0,0] b=0 for i in range(train_num): # 随机梯度下降 x=random.choice(train_datas) x1,x2,y=x if(y*sign((...
[ "alanznala@163.com" ]
alanznala@163.com
8ea369755709ea09b07fed508e95099cc47b316a
406d942b98d15f45393cb864b21ee3345eb9cc8f
/Coursera_Algorithms/max_mult.py
e81e650090f64723bc6c303c457c8ff250116381
[]
no_license
msekhar12/Algorithms_Exercises
c3804d64f9cf43da92e20b151807952b41ac89c3
c2454987060f8c0404d4fdb215c7b2eb6f8c677a
refs/heads/master
2020-04-07T06:17:24.602842
2019-02-03T14:34:49
2019-02-03T14:34:49
158,129,159
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
# python 3 # Max product of 2 numbers from an array of integers # Input will be 2 lines. # The first line will contain the number of elements in the array, and the second line will be space separated numbers: def find_max_product(n, l): if n <= 1: return None comps = 0 if l[0] > l[1]: ma...
[ "sekhar@Sekhars-MacBook-Pro.local" ]
sekhar@Sekhars-MacBook-Pro.local
35dcdc43f617001a03482a66d869671fe3c327ec
867b776ad26475b4fffb28cb4a7dbbff167863dc
/src/CsvReader.py
4f5a987fa9454f377b78579e649bdbeb273161f7
[]
no_license
knp56/Calculator
2e108bb144edc98523c5bf055e5daa3c39bad867
4e8ff3064ebbc6ecf511c6283b29f84c184c39a1
refs/heads/main
2023-06-22T12:04:52.687412
2021-07-01T21:02:11
2021-07-01T21:02:11
382,148,891
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
import csv #from pprint import pprint def ClassFactory(class_name, dictionary): return type(class_name, (object,), dictionary) class CsvReader: data = [] def __init__(self,filepath): self.opdata = [] with open(filepath) as text_data: csv_data = csv.DictReader(text_data) ...
[ "knp56@njit.edu" ]
knp56@njit.edu
f5ec3f1b0f0acf25ad487555a7f33120f6d5522a
63cb8173f398a99b69c6345e05943ec1c5bdccd6
/main.py
53e4564a5e1c358618aff9084bc49191c9e348c7
[]
no_license
Blender3D/Deskboard
596ff809ae1f7ad15bff0eca4f8e36e44ee8976f
693361c010c1b1a7489480c406ec92354d8dc766
refs/heads/master
2021-01-22T05:24:36.441601
2012-09-17T03:07:52
2012-09-17T03:07:52
5,835,678
0
0
null
null
null
null
UTF-8
Python
false
false
3,024
py
#!/usr/bin/env python2 import os, re, sys, json, datetime, time, glob, ConfigParser, subprocess from functools import wraps import psutil import dbus from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtWebKit import * from dbus.mainloop.qt import DBusQtMainLoop from WebkitQObject import WebkitQObjec...
[ "452469+Blender3D@users.noreply.github.com" ]
452469+Blender3D@users.noreply.github.com