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
6798d9a3adab57003ce56bdaa03cc9394888b242
3471378dcdf9e26e1c19905beac48b32edfa40f0
/scripts/after_processing.py
693ac9b9fb1041a62ab4082a871f411c9b45e23a
[ "MIT" ]
permissive
shohei-kojima/MEGAnE
19a197533ffbce6618c2133242a766057949b45e
478671a606e89782b4f3f57f7f97f63c2b03602b
refs/heads/master
2023-04-13T18:22:23.651841
2023-03-07T07:15:48
2023-03-07T07:15:48
229,880,456
10
1
null
null
null
null
UTF-8
Python
false
false
31,762
py
#!/usr/bin/env python ''' Author: Shohei Kojima @ RIKEN Copyright (c) 2020 RIKEN All Rights Reserved See file LICENSE for details. ''' import os,gzip import utils import math from statistics import mean import pybedtools from pybedtools import BedTool import log,traceback def grouped_mei_to_bed(args, params, filena...
[ "26kojima@gmail.com" ]
26kojima@gmail.com
1f44b4b6d3e46f04b442fb65029b4ba093647a51
9ae936a9689832a5b22cd12998c5dc5047aee164
/December_2020/December_2020/5_dec_2020/test.py
b410a47a0763433f3d18e060eca479c4c3ca3919
[]
no_license
inderdevkumar/2020-Python-Projects
218320335f352dc340877d1ef62b65605ce4ccfd
210154d092021d8de5f30797af9ad8e193e3c68e
refs/heads/master
2023-02-04T08:47:05.952342
2020-12-25T15:33:27
2020-12-25T15:33:27
322,878,822
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
#===================== Function Defination to check prime numbers================================= from itertools import count, islice primes = (n for n in count(2) if all(n % d for d in range(2, n))) print("100th prime is %d" % next(islice(primes, 99, 100))) #===================== Function Defination to Euler of ...
[ "id0102yadav@gmail.com" ]
id0102yadav@gmail.com
b0686e980691f4bc751d90ea12b21028fa20e7a0
8ca36d091c1592c57aba7fac8d3fb908282a9123
/src/model.py
a27988fc08a09bf3ce45ad81819e7f9b3dc6ce68
[ "MIT" ]
permissive
ocastel/exact-extract
2c1870de25c29940599eacf191535b88e9fd09c8
ccce4305ee3aaa4a30af197e36c55a06f11d8c23
refs/heads/main
2023-07-18T00:21:50.528314
2021-09-02T06:47:26
2021-09-02T06:47:26
394,207,700
12
1
null
null
null
null
UTF-8
Python
false
false
28,289
py
from __future__ import annotations import itertools import pickle import sys import os from timeit import default_timer as timer import traceback from typing import List, Optional, Tuple, Union import json from transformers import AutoModelForSeq2SeqLM, AutoTokenizer from torch.utils.data import DataLoader from pytorch...
[ "or.castel@gmail.com" ]
or.castel@gmail.com
29c0a30e3982af6079d53b392785579d23b7ea4b
e757ad85c2ef3c06ed284695091becad00ec8fc7
/EjecForm2.py
fb8dd6d6ef14894354d860cb90c490f8b6beae77
[]
no_license
jonasdominguez1402/Formulario_Evaluacion
93bfc6e3e11c003dcfcd31d0aae61f6a4c11e1c4
33e5fb38b0ca1cdc4e7a0e435ffc7bf8c7e6420f
refs/heads/master
2020-08-24T01:07:32.816824
2019-10-22T06:26:18
2019-10-22T06:26:18
216,738,112
0
0
null
null
null
null
UTF-8
Python
false
false
6,835
py
""" Formulario De Profesores Jonathan Eliseo Dominguez Hdz. GITI11071-E Version 1.0 22/Octubre/2019 """ from PyQt5 import QtCore, QtGui, QtWidgets, QtSql from PyQt5.Qt import QSqlDatabase import sqlite3 from pprint import pprint class Ui_mainWindow(object): def setupUi(self, mainWindow): ...
[ "noreply@github.com" ]
jonasdominguez1402.noreply@github.com
62b2d3ae8b6c692e897b88f46edcf24719c689dd
0262f25e1300c5137a0f6e04ca47610ffb9d2d6e
/conf/default.py
53c878026bf033293e4abc8c90a59782c4871aa7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference", "MIT", "Apache-2.0" ]
permissive
crazyjazchu/zhuzhigang
fc5167cdc6bd69a31d255dc722d356b5471839c5
3277b7e3d90ffb1d606d28189931f502ba019f47
refs/heads/master
2020-05-14T14:54:16.448263
2019-04-17T14:28:38
2019-04-17T14:28:38
181,842,704
0
0
null
null
null
null
UTF-8
Python
false
false
12,190
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云(BlueKing) available. Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obt...
[ "zzg.script@gmail.com" ]
zzg.script@gmail.com
283875cea940fcedf35028d030e797b5b1dccc75
763fc9a03883fce8cd333d3503314c536a25cdc9
/palindromesrecursive.py
acffa9577c4c83a2da02bff121a00b3d6db2b5f8
[]
no_license
kegenrodrigues/ShortPrograms
ac367206f724a318062b7eecad62f58caa37066f
0f2cb7ace72e0d3ab4a7bda7ec3535e7d7ee0889
refs/heads/master
2021-01-22T05:47:55.755458
2017-02-12T07:54:07
2017-02-12T07:54:07
81,711,371
0
0
null
null
null
null
UTF-8
Python
false
false
606
py
# Define a procedure is_palindrome, that takes as input a string, and returns a # Boolean indicating if the input string is a palindrome. # Base Case: '' => True # Recursive Case: if first and last characters don't match => False # if they do match, is the middle a palindrome? def is_palindrome(s): ...
[ "kegenrodrigues95@gmail.com" ]
kegenrodrigues95@gmail.com
51e85eef5df89ea6e897b123a36fc3c3e8ca8598
c15849c46c383f725c83d7f339f39f64a3f0e069
/review/models.py
44f25a57f572fea446259641e24bd4794c0a0c17
[]
no_license
Tariqalrehily/iShop
3ff9658a4a0dd1de991e860f44c3ff2c1eb5cf8c
0454106c1ff5b508b734b95f3f6cfe1008d630b5
refs/heads/master
2022-11-24T02:34:03.956204
2020-02-18T19:13:59
2020-02-18T19:13:59
231,911,435
0
1
null
2022-11-22T05:14:54
2020-01-05T12:07:28
HTML
UTF-8
Python
false
false
445
py
from django.db import models class Review(models.Model): RATING_CHOICES = ( (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), ) pub_date = models.DateTimeField('date published') user_name = models.CharField(max_length=100) rating = models.IntegerField(choice...
[ "Tariqalrehily@gmail.com" ]
Tariqalrehily@gmail.com
3ba42d75b8d7773ba4b0b673f1dbbbdaf2f8c9ec
4a41223e8c8ab33d83c6f213692c6097bb96540d
/eelbrain/_stats/permutation.py
b4e3ec6a2a339c793de3982c33ed7a8d87dbda5e
[ "BSD-3-Clause" ]
permissive
rbaehr/Eelbrain
33ceeee24533581ab3e7569c31e0f6a6c6dfcda1
6301dc256e351fdbb58bbe13ab48fde7bfcf192a
refs/heads/master
2021-07-05T19:19:20.573231
2017-10-03T04:35:23
2017-10-03T04:35:23
104,907,464
0
0
null
2017-09-26T16:03:20
2017-09-26T16:03:20
null
UTF-8
Python
false
false
6,505
py
# Author: Christian Brodbeck <christianbrodbeck@nyu.edu> from itertools import izip from math import ceil import random import numpy as np from .._data_obj import NDVar, Var from .._utils import intervals _YIELD_ORIGINAL = 0 # for testing purposes, yield original order instead of permutations def _resample_params...
[ "christianmbrodbeck@gmail.com" ]
christianmbrodbeck@gmail.com
bc36aa2af207337b1f32972a1c363e82700e8bdf
4ad771bef6d1c2f7bb462988bc0af8ec491ce14c
/GO_score/GO_enrichment/myGOenrichment.py
e2f130aad3c464c3836596dc4201f2e618eb2a2c
[]
no_license
DabinJeong/pan-cancer_DMR
aca2baa2668c6e37c85f3d90f30d8f9a99e5510e
63cb2a1586ce4a8ccac176bbce5f9b392e4534dd
refs/heads/master
2023-05-30T19:07:12.182295
2023-05-26T03:05:31
2023-05-26T03:05:31
192,674,793
0
0
null
null
null
null
UTF-8
Python
false
false
4,259
py
#!/usr/bin/env python import sys import argparse import scipy.stats as stats parser=argparse.ArgumentParser( usage='''\ %(prog)s [options] gene2subtype -trait2genes trait2genes example: %(prog)s gene2subtype.txt -trait2genes trait2genes.txt -backgroundGenes backgroundGemes.txt -pcut 0.05 -topK None -o outfil...
[ "noreply@github.com" ]
DabinJeong.noreply@github.com
67768ec9817d3fb0cdb5ad569a52d5eb2cf99485
cab68de86c14ac17a93fb197de5264b0230d064a
/ImageProcessing/edge.py
0a28b64d79f26a6c025958814440b4302bbc8662
[]
no_license
Munins-eye/OpenCVWorkshop
b7723958520de2d44b0f1a4e73b55dfaa2733164
9de3f3c9c8616b3a5246276cb9a91cac256a2b6e
refs/heads/master
2020-08-23T18:48:25.594830
2015-10-04T00:09:48
2015-10-04T00:09:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
#/usr/bin/env python #source - opencv 2.4.6 python samples ''' This sample demonstrates Canny edge detection. Usage: edge.py [<video source>] Trackbars control edge thresholds. ''' import cv2 import video import sys if __name__ == '__main__': print __doc__ try: fn = sys.argv[1] except: fn = 0 ...
[ "strawdog3@gmail.com" ]
strawdog3@gmail.com
04b47d010396b5123f0750112280351703d8512d
99836c9478dfbc42bbc48da13d562ed088ab9e69
/Ecomwebsite/Ecomwebsite/settings.py
622473658aa8b7c068f6293d51935635f566c153
[]
no_license
Labannya969/SHOPEE
9b095aa2d259e11154c2baab74731834f9659f7a
0864d26911b642f097a5e66a9e366ac634a1bca2
refs/heads/main
2023-07-09T00:00:22.864273
2021-08-16T16:04:29
2021-08-16T16:04:29
380,132,914
0
0
null
null
null
null
UTF-8
Python
false
false
3,384
py
""" Django settings for Ecomwebsite project. Generated by 'django-admin startproject' using Django 3.2.4. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pat...
[ "64127385+Labannya969@users.noreply.github.com" ]
64127385+Labannya969@users.noreply.github.com
5af2f7fd4d5c06d6bf0a729619f19050f2580c44
7321af910c4e0db827fd36bd1dd82ea13f8d0815
/rss2pdf/settings.py
ccb6afb2bdb997fbdc5a1d238a87b16a00d16996
[]
no_license
ggfloq3/rss2pdf
057816ad8b6aa3816470de01d2d88084148852e3
1db80735eebb040c613436b1972232779394297d
refs/heads/master
2021-01-17T12:17:52.388476
2017-10-31T22:06:30
2017-10-31T22:06:30
84,064,510
0
0
null
null
null
null
UTF-8
Python
false
false
3,597
py
""" Django settings for rss2pdf project. Generated by 'django-admin startproject' using Django 1.10.6. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os...
[ "ggfloq3@gmail.com" ]
ggfloq3@gmail.com
7cd19258b70e7a03a3c1805e5604ce82897597bc
c3562f863c139e829f5e49bdd231414ab8cce3e6
/Fern.py
453d0b727d7064d76344d701720a85b84820e963
[]
no_license
ZakaryL/Fractals
e733cb7a1b2ce3f77e82f7a52712387c59a2595a
7ee76c5e093bf461a9b263912064fc768bacef03
refs/heads/master
2021-07-02T08:56:10.472676
2020-12-29T04:59:19
2020-12-29T04:59:19
210,098,441
0
0
null
null
null
null
UTF-8
Python
false
false
621
py
import random import matplotlib.pyplot as plt X = [0] Y = [0] for n in range(10000): r = random.uniform(0, 100) if r < 1.0: x = 0 y = 0.16*Y[n-1] elif r < 86.0: x = 0.85*X[n-1] + 0.04*Y[n-1] y = -0.04*X[n-1] + 0.85*Y[n-1]+1.6 elif r < 93.0: x = 0.2*...
[ "noreply@github.com" ]
ZakaryL.noreply@github.com
9a1fb6a9e0f65452bf2b9a16236ff552c2ebb6e6
4d171efb775ccd6bdc997ecbe70467e600f8891a
/main.py
98842ee4ea1c07d41b30e8cb5751bce6e3e68164
[]
no_license
croodsthecraz/dual_paddle
68be1ce90faef30ba5e8108eda69319e732dfc98
4a60eaf09862c4dfa3510d4bec0bf0e45e3ea4d3
refs/heads/main
2023-07-09T05:16:30.583288
2021-08-12T13:36:28
2021-08-12T13:36:28
395,325,854
1
0
null
null
null
null
UTF-8
Python
false
false
4,123
py
from kivy.app import App from kivy.lang import Builder from kivy.uix.screenmanager import Screen,ScreenManager,WipeTransition from kivy.uix.widget import Widget from kivy.animation import Animation from kivy.properties import NumericProperty,ReferenceListProperty,ObjectProperty from kivy.vector import Vector fro...
[ "noreply@github.com" ]
croodsthecraz.noreply@github.com
fb2b2686748656c4270f7e7e1cbdde51a145fb32
0ca43b1752d3324bf930bd4d2ec22e9d07d92f86
/desktop/admin.py
b161369fff8dba59c5354bc8b2c15433c9f44088
[]
no_license
ammandas/Molecular_Methods_App
3a0990e81d046b7f1ba27ecb9a9300b6e8d5d235
b1fe907c4ad44d314d82f5837853d2dd05deeaf0
refs/heads/master
2021-01-01T18:17:32.954166
2015-02-23T15:19:51
2015-02-23T15:19:51
30,081,177
1
0
null
null
null
null
UTF-8
Python
false
false
402
py
# Registers the models with the admin interface from django.contrib import admin from desktop.models import User, Result, Glossary, QQuestion, Answer, Lab, MQuestion, Video #admin.site.register(User) admin.site.register(Result) admin.site.register(Glossary) admin.site.register(QQuestion) admin.site.register(Answer) a...
[ "mattfrost_86@yahoo.co.uk" ]
mattfrost_86@yahoo.co.uk
2babfffb9e6765a49d67d7f9fc2e01dd91bd7767
3ecdb2eece2d958c3bcf9d458a7a80308dd1d890
/python_fundamentals/functions_basic_II.py
6a23fc5b5f77714c3ee1601eb5ac5b9bb6f07d6a
[]
no_license
pikap3w/python_oct_2018
a06d31fdb19102a6b186841c32cc74b0a704fa2a
c72d2fb1d4656b39e1b9441aea534d2dd7a708d2
refs/heads/master
2020-03-30T13:25:13.724792
2018-10-21T04:08:12
2018-10-21T04:08:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
# 1) Countdown def countdown(num): arr = [] for i in range(num,-1,-1): arr.append(i) return arr # 2) Print and Return def printReturn(arr): print(arr[0]) return(arr[1]) # 3) First Plus Length def firstPlusLength(arr): sum = arr[0] + len(arr) return sum # 4) Values Greater than Sec...
[ "pikap3w@Kristens-MacBook-Pro.local" ]
pikap3w@Kristens-MacBook-Pro.local
73c4e490daff71c9c65cf6d1ea1fffcfe7253ff8
cc40dc1725079b19cd93605e236f7aad57e533f9
/reviewboard/oauth/apps.py
7a3748b50cc0563d291513a5eb8322a2ae5aed45
[ "MIT" ]
permissive
bolariin/reviewboard
73ea3a8f9a36d344a9943db2ecb391ddf316e52b
3dde7af0c3dd0ecfac04b2d617fd4fe84afbeb82
refs/heads/master
2020-04-29T09:02:04.860098
2019-03-19T08:21:53
2019-03-19T08:21:53
176,008,790
0
0
null
2019-03-16T18:22:59
2019-03-16T18:22:58
null
UTF-8
Python
false
false
292
py
"""The app definition for reviewboard.oauth.""" from __future__ import unicode_literals try: from django.apps import AppConfig except ImportError: # Django < 1.7 AppConfig = object class OAuthAppConfig(AppConfig): name = 'reviewboard.oauth' label = 'reviewboard_oauth'
[ "barret@beanbaginc.com" ]
barret@beanbaginc.com
01ebc7eb291e960ec42d8dc23255d61ec4d1af5c
71a28d4bc1c0f32dc9185332ba2142ba823d3e53
/core/urls.py
b9dba265ed605e2da34c2ae8c0cdaf56b88c141d
[]
no_license
ekeydar/train_stops_map
51b1e3a86967851ea16f2e822867f881b91d24fe
acbc1a1a250ca6c3e7f5dde8932301bd4b67c96d
refs/heads/master
2016-09-12T21:17:13.771035
2016-05-27T12:54:46
2016-05-27T12:54:46
59,438,833
0
1
null
null
null
null
UTF-8
Python
false
false
209
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^stops/$', views.StopList.as_view(), name='stops'), url(r'^stops/(?P<pk>\d+)/$', views.StopDetail.as_view(), name='stop'), ]
[ "ekeydar@gmail.com" ]
ekeydar@gmail.com
ff792eaaf6aab13d51935a99da6ce2da3404f064
7f37a4da60257917a86e7ba7d34a1107a9bdbba4
/code/models/gaze_base.py
6560ed2ed20873936c44e15bb2efd5d1f4087d1c
[]
no_license
iszff/RGBD-Gaze
9d0545611a68a0ce0d25ac6b4d87aa17b4e87ac7
ee768bf53b0507bcfa6d7a1916fa1aaede30d132
refs/heads/master
2022-12-09T23:59:20.744055
2020-09-10T08:25:42
2020-09-10T08:25:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,026
py
from torchvision.models.resnet import BasicBlock, Bottleneck, ResNet, model_urls import torch.utils.model_zoo as model_zoo from torch import nn import torch as th class ResNetEncoder(ResNet): def forward(self, x): x = self.conv1(x) x = self.bn1(x) x = self.relu(x) # x112...
[ "liandz@shanghaitech.edu.cn" ]
liandz@shanghaitech.edu.cn
8305cb8cffa7575585552abc217622a9595cd7a0
9d30b2ee32c41b07e34aa58b249929262d007c80
/2.py
67095890a963bf457fa059acb6928ef72346d78b
[]
no_license
Dmi-Dor/PYbasics7leasson
540ae76469fe1dae607faff16d12ae0d62430a29
97e204b4c512aba8e01d3571f11e1a867cf0a4bb
refs/heads/master
2022-11-21T15:49:41.401073
2020-07-19T16:49:15
2020-07-19T16:49:15
280,908,840
0
0
null
2020-07-19T16:50:41
2020-07-19T16:48:27
Python
UTF-8
Python
false
false
1,140
py
class Textile: def __init__(self, width, height): self.width = width self.height = height def get_square_c(self): return self.width / 6.5 + 0.5 def get_square_j(self): return self.height * 2 + 0.3 @property def get_sq_full(self): return str(f'О...
[ "noreply@github.com" ]
Dmi-Dor.noreply@github.com
f4de03d4f594c373e50136f0ce0233ff7e897e9c
e3a91ecd77ab23c2ada0cd7702a5eef2f7b8039e
/Dice/most_six.py
4cf6d40bd4ee20ee876db1ad3f6d940369560b19
[]
no_license
varunthind/Dice-program
ad07eb78564dc4ad5e1770c3ddeb1cd9cf0389d6
5a061a65f1bfa33de0dbdf4e441de960ff38a182
refs/heads/main
2023-06-04T01:26:44.564107
2021-06-27T12:41:53
2021-06-27T12:41:53
380,736,697
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
import random while True: diceNo = random.randint(1, 6) randNo = random.randint(1, 6) otherRand = random.randint(1, 6) roll = input('Press Enter(play) Or Space and then Enter(exit):') if roll == 'close' or roll == ' ' or roll == 'exit': exit() elif randNo == diceNo or randNo ...
[ "noreply@github.com" ]
varunthind.noreply@github.com
ec6e6ad22ab5a96295739ceb492638e945ef5cdd
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/dossier/upgrades/to4303.py
0a0901f85458945e5a68304d5dff1c762b0b9236
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
964
py
from ftw.upgrade import ProgressLogger from ftw.upgrade import UpgradeStep from opengever.dossier.templatedossier import TemplateDossier from plone import api from zope.event import notify from zope.lifecycleevent import ObjectModifiedEvent class MigrateTemplateDossierClass(UpgradeStep): def __call__(self): ...
[ "david.erni@4teamwork.ch" ]
david.erni@4teamwork.ch
51c843f65c60601d922c917dd8e9df84d7c0f482
77752f9e5b8c5f854afe44c10c7339d8a02368a3
/intervalosConfianca.py
3c02095b048bf3543040d065e699a46b20016822
[]
no_license
ajffdelgado/projeto1_AM
afc45dadc613c8736314597d4ccde5b17e3e8b3a
73879134bd3f116717897af34d9c79fb653f6a4a
refs/heads/master
2020-04-03T00:05:26.581870
2018-11-29T16:27:39
2018-11-29T16:27:39
154,888,201
0
0
null
null
null
null
UTF-8
Python
false
false
6,958
py
# -*- coding: utf-8 -*- """ Created on Wed Nov 28 20:49:49 2018 @author: Delgado """ import numpy as np import scipy as sp import scipy.stats acuracias = [[78.09523...
[ "ajffdelgado@hotmail.com" ]
ajffdelgado@hotmail.com
5b3558a023a6725d52a2b47aa167635dd4cac157
207f0d9f88f7c728dd16eea40288f40d49795325
/Main.py
e3890c046baa4c5c24fa3c2d8c58630588c23c50
[]
no_license
shaimove/BraTS2020-MRI-Brain-Segmentaion
acbf29e58dd584480be994c24d10bb50e778def7
a4c4770e887011ce664e88b935f3b4f485644ba7
refs/heads/main
2023-02-27T08:16:04.506503
2021-01-17T07:43:57
2021-01-17T07:43:57
330,183,942
4
3
null
null
null
null
UTF-8
Python
false
false
5,671
py
# #Main.py import numpy as np import matplotlib.pyplot as plt import pandas as pd import nibabel as nib import torch from torch.utils import data import model import utils import MetricAndLoss from Dataset import DatasetMRI from Log import SegmentationLoss device = torch.device("cuda:0" if torch.cuda.is_available() e...
[ "47494709+shaimove@users.noreply.github.com" ]
47494709+shaimove@users.noreply.github.com
0a46033393c86559e612e6b1b103cf9acf25da44
6519fdac61df9bb04350f2cd2ccb497879926b5a
/cloudsolv/wsgi.py
c3ede4c3eba8388a7dc52d5651118a021e7e6f32
[]
no_license
Avinash517/cloudsolv
ae3e770f515d1df77a0582df7f0bc5fd5bf33d5f
d280b460126998a2014f5960c765e495851fa6d7
refs/heads/master
2020-08-02T06:26:14.981516
2019-09-27T07:45:43
2019-09-27T07:45:43
210,820,078
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for cloudsolv project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "avinashjadhav@gmail.com" ]
avinashjadhav@gmail.com
f898bc011b7d9345fbef96b0f970ceb599a3409a
6f1d57238f3b395b04696a16768bcc507f00630c
/A_Comparing_Strings.py
283a2e89d3cfcd5b5fe35998a4154d040395da59
[]
no_license
FazleRabbbiferdaus172/Codeforces_Atcoder_Lightoj_Spoj
024a4a2a627de02e4698709d6ab86179b8301287
6465e693337777e7bd78ef473b4d270ce757a3a2
refs/heads/master
2023-07-01T06:32:14.775294
2021-07-27T17:07:37
2021-07-27T17:07:37
271,202,781
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
import sys s1 = list(input()) s2 = list(input()) d1, d2 = dict(), dict() miss = 0 if len(s1) != len(s2): print("NO") sys.exit(0) for i in range(97, 97+26): d1[chr(i)] = 0 d2[chr(i)] = 0 for i in range(len(s1)): d1[s1[i]] += 1 d2[s2[i]] += 1 if s1[i] != s2[i]: miss +=...
[ "noreply@github.com" ]
FazleRabbbiferdaus172.noreply@github.com
76899adc467a3809feeb552b788af2eb41cb4d7a
7e3921d82b3b242704081ef2b01d7c4c07a4daf3
/django_read/tests.py
2d9bda70a30666b4762dfd99cdff7825cae899e5
[]
no_license
JoeJasinski/django_read
45dcae153deb29f2c17835b859364a9300a3ab48
0bd34c2b475ee9b3e0b45f94ea5dac4f1216107d
refs/heads/master
2021-01-20T06:55:07.030539
2014-03-08T21:59:02
2014-03-08T21:59:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from django.test import TestCase class SimpleTest(TestCase): def test_basic_addition(self): """ Tests that 1 + 1 always equals 2. """ self.assertEqual(1 + 1, 2)
[ "joe.jasinski@gmail.com" ]
joe.jasinski@gmail.com
fac0c2b9f5ddb4a198cff2aae5c946f09c610ce1
c78d51931847c2164a4dea08c087732c780ac75f
/dunzo/geek_ans_new_job.py
269e1e9b731fa4a7dd8fb4904adf33f5c0b01b67
[ "MIT" ]
permissive
Akash671/coding
bb9839810a8b218fbc360ea53f7d3ac8d634180b
4ef047f8e227074b660a2c7b41aefa377fdc0552
refs/heads/main
2023-08-07T12:10:15.439001
2021-09-30T09:50:37
2021-09-30T09:50:37
401,483,291
0
0
null
2021-08-30T20:53:42
2021-08-30T20:53:41
null
UTF-8
Python
false
false
362
py
#code for t in range(int(input())): s=str(input()) ans=0 for i in s: if i.isupper(): ans+=1 break for i in s: if i.islower(): ans+=1 break for i in s: if i.isdigit(): ans+=1 break if ans==3: p...
[ "akashsaini454545@gmail.com" ]
akashsaini454545@gmail.com
3bcf98c39c2c723ff9cd0e2bfb64eec449d7d39e
88694aac418f2741d2b6a8192af4d71841e2c715
/docs/source/conf.py
45658872d357313fe1a5d4fdfd15e2bcfc1cd54a
[]
no_license
dydona/turnstatdocs
cbd3a368d716de2f9590da347c02abbb213a7d55
01970888c3158128a2a2b142dc73df46aed63586
refs/heads/master
2021-01-17T17:40:35.552998
2016-07-25T21:53:01
2016-07-25T21:53:01
63,708,127
0
0
null
null
null
null
UTF-8
Python
false
false
8,193
py
# -*- coding: utf-8 -*- # # turnstatdocs documentation build configuration file, created by # sphinx-quickstart on Thu Jul 21 17:37:32 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. ...
[ "d.cardona.rojas@gmail.com" ]
d.cardona.rojas@gmail.com
10e7ac562d394f627511fc1bc4107af7c2f80d90
c2105bde9173e467e21ad75a2cb95511944468e9
/Projects/Calculator/main.py
55ce3e538421ca2af4191f17ba0db8dad7c74594
[]
no_license
BryanHoffmaster/learning-python
8528864e7840bffff38af5a76c6636cdc3b81c04
18f2de765bbf9784254be5902bca6c751e12227b
refs/heads/master
2020-05-21T09:15:06.524454
2017-10-04T04:29:45
2017-10-04T04:29:45
84,609,301
0
0
null
2017-10-04T04:29:46
2017-03-10T23:29:50
Python
UTF-8
Python
false
false
1,025
py
import math_functions import sys quit_calls = ('q', 'quit') help_calls = ('h', 'help') history = [] def print_menu(): _help_text = "\n-----------\nPlease Add, Subtract, "\ "Multiply, or Divide two numbers.\n\n"\ "'f' or 'float' to change the length of the float "\ "dividend acuracy\n\n"\ ...
[ "bryan.hoffmaster@gmail.com" ]
bryan.hoffmaster@gmail.com
59aafe5b7c631da8b47c6bd9ceb8815996636c35
061fd052e35a96b854e21b25aea8c23c79d45829
/apps/support/views.py
a41ab95726f7efba471e3acac5e07983d9a9e3e4
[]
no_license
lexsos/avia35inner
263c3d38ad63656859d7be02e352f9b17fb2117d
d68eb73d7e9b558286cf410b682ee64a6d7f42d1
refs/heads/master
2020-06-05T20:33:13.434483
2014-12-10T06:31:47
2014-12-10T06:31:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,874
py
from django.views.generic import ( ListView, DetailView, FormView, TemplateView, ) from django.db.models import Max from django.shortcuts import redirect from django.core.urlresolvers import reverse from django.shortcuts import get_object_or_404 from .models import Ticket, Comment from .forms import Co...
[ "ale-sosnin@yandex.ru" ]
ale-sosnin@yandex.ru
cabc57c3b8c8f2123a5290d77059ddeed22334e2
6f5d594c26d022483f9e0b91b95c9f7a74ded205
/Image_Compression_with_Kmeans_Clustering/main.py
17815ca30b5eb0ecaff0d8a6228b67fe2d97223e
[]
no_license
FASLADODO/Data_Science_Personal_Project
ee9af21f19f8026368a8bb3b70f6c63f1a0653a0
2cf7a0d8e6f55114d631d1165ab8ad7ab2ec6815
refs/heads/master
2022-11-28T17:32:07.091237
2020-07-30T16:12:12
2020-07-30T16:12:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# -*- coding: utf-8 -*- """ @author: Marcellus Ruben Winastwan """ import numpy as np import os import matplotlib.pyplot as plt import function as f os.getcwd() # read the image image = plt.imread('mutu.jpg') if image[0,0,0] > 1: image = image/255 else: image # Store the image size imageSize = np.sh...
[ "marcellusruben@gmail.com" ]
marcellusruben@gmail.com
c08533a8fde1b415a37ea7b0568b0eb4933ee1cf
3a176a671e21154288984c43444808be5d59ecf8
/scripts/run_augment_bin.py
64c0f13d8bf5ca1a104ada77d6754c7a197fb526
[]
no_license
enikon/pug
a9c45975add53c383d79278f9c6183329901c11e
91089b37fa0740b61a1dcb646d0f4490e2bb8947
refs/heads/master
2023-02-15T00:32:08.696515
2021-01-17T12:13:02
2021-01-17T12:13:02
316,448,996
1
0
null
2021-01-17T12:13:03
2020-11-27T08:55:41
Python
UTF-8
Python
false
false
1,434
py
import argparse import os import data_augmentation_smote_under import data_augmentation_extension def main(_args): parser = argparse.ArgumentParser() parser.add_argument('-i', '--input', help="input folder", default='../dataset_bin') parser.add_argument('-e', '--extension', help="file extension", default=...
[ "templar.of.silence@gmail.com" ]
templar.of.silence@gmail.com
9e9add37ee462a69c648d55aa51fae492d73be5e
bc06ce70f17f49f50344f261afb6ab323cf11d62
/hostel_project/hostel_webapp/migrations/0007_auto_20201126_1135.py
5e2ce70bf7305288fe3f63b52014693578990f4a
[ "MIT" ]
permissive
RidhimaKohli/hostel-web-app
83cbed259f4f56d756d7495286bc77adb2321846
a57fcb356c5665d83b146c6170b075ea898303e9
refs/heads/master
2023-07-31T08:02:04.293674
2020-11-26T19:36:30
2020-11-26T19:36:30
283,858,182
0
4
MIT
2021-09-22T19:32:05
2020-07-30T19:16:06
CSS
UTF-8
Python
false
false
385
py
# Generated by Django 3.0.8 on 2020-11-26 11:35 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hostel_webapp', '0006_remove_complaint_complaint_pic'), ] operations = [ migrations.RenameField( model_name='complaint', old...
[ "saptashrungib@gmail.com" ]
saptashrungib@gmail.com
01339e9925a598cd8837f7053d0d0160959048cd
8b268f5d2deee5a576867d25fcc47fbdef89c80f
/model.py
a41dd961279c9c5363b171eb8c6ac6edd99ec9c5
[ "MIT" ]
permissive
teodorailic98/Vislice
de3bed161e65faa3e26fb779550a24a7adb395d6
d4ea273426af7b204dbd3655f69c6a9817dd516e
refs/heads/main
2023-04-08T02:49:49.633361
2021-04-20T16:27:07
2021-04-20T16:27:07
359,865,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,682
py
import random STEVILO_DOVOLJENIH_NAPAK = 10 PRAVILNA_CRKA = '+' PONOVLJENA_CRKA = 'o' NAPACNA_CRKA = '-' ZMAGA = 'W' PORAZ = 'X' class Igra: def __init__(self, geslo, crke=None): self.geslo = geslo if crke is None: self.crke = [] else: self.crke = crke def n...
[ "teodorailic1998@gmail.com" ]
teodorailic1998@gmail.com
123e5f4f70646928dc69b64772839a25e02b5f58
f78137c438b5cf2e13e49fba9cbca5403eac0c27
/testCase/aigao/testUpdateMediaSdk.py
f34ff0a62ec8bdfb16cfe8637c32f1a47ac3d2b0
[]
no_license
Mayjoy-jiao/smoketest
cfd52db32700979b01e710f32372ed00f9b4d232
f1b1c56d21b83d8f704ee220349bbe792377e0f9
refs/heads/master
2020-06-19T22:55:48.524394
2020-04-09T02:03:24
2020-04-09T02:03:24
196,905,167
0
0
null
null
null
null
UTF-8
Python
false
false
9,605
py
""" 测试媒体包升级 用例运行前,后台页面设置如下: 1.[SDK广告管理_媒体管理]选择:联调媒体包 2.确保联调媒体包的媒体包管理中各控制版本号有对应的正式运行的媒体包 Author: Sun Yaping date: 2019-08-21 """ # -*- coding: utf-8 -*- import time import unittest import paramunittest from common import common from common.Log import MyLog import readConfig as readConfig from common import configHt...
[ "zhangjj@chinamobiad.com" ]
zhangjj@chinamobiad.com
5d080ad148ecc425f0554f9c07c6decbb89a47ca
06d7a6d5a1b136aa9e2145805275b5e74f826a2b
/apps/menu/migrations/0005_category_is_active.py
339410a056a4bcc91d3918c808780581d9cf53eb
[]
no_license
pyeye/gr-backend
6662831bae8a24d6cbd0c5c5d553a4c3193d75a4
d09e1f59c248c3f32ba2e856c415f46c8b6fb313
refs/heads/master
2021-01-02T23:36:10.081027
2019-08-26T16:08:34
2019-08-26T16:08:34
99,502,779
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-09-24 18:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('menu', '0004_auto_20170923_1335'), ] operations = [ migrations.AddField( ...
[ "agw.174@gmail.com" ]
agw.174@gmail.com
213d25bf84577a6d3302247cb04c2a0af37c66c0
1abd2d4fe2f01584bf0aab44d7e98e76f7280f9f
/setup.py
5f1ae46c490365023591c75ca903926ea2fd28c3
[]
no_license
yychuang/GenIce
b370c046cb4eec134ab80f7faa36aeb00f52786e
80b836df7208be3d830bd276924a0a91635eded7
refs/heads/main
2023-06-06T18:24:23.242385
2021-06-28T08:57:25
2021-06-28T08:57:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,652
py
#!/usr/bin/env python3 from setuptools import setup, find_packages import os import codecs import re # Copied from wheel package here = os.path.abspath(os.path.dirname(__file__)) #README = codecs.open(os.path.join(here, 'README.txt'), encoding='utf8').read() #CHANGES = codecs.open(os.path.join(here, 'CHANGES.txt'), e...
[ "vitroid@gmail.com" ]
vitroid@gmail.com
57268792322c40054acf66a0c27b41c53cf231bb
4455bf0616ec573c8e2d143130f41886d598bcbe
/mms/tests/unit_tests/test_model_loader.py
b609dfb00bd8f8af53a3e494d74a937494a67b4b
[ "Apache-2.0" ]
permissive
lupesko/mxnet-model-server-1
dc7bab8c9d64e9fb12dd55a8e7c434a6dfacfb2a
3346199648792afdc5ed6e5eec7b8f4c1dcdc3b7
refs/heads/master
2021-05-11T10:27:16.478058
2018-06-10T10:59:07
2018-06-10T10:59:07
118,103,397
0
0
null
2018-01-19T09:13:42
2018-01-19T09:13:42
null
UTF-8
Python
false
false
383
py
import os import pytest import sys curr_path = os.path.dirname(os.path.abspath(__file__)) sys.path.append(curr_path + '/../..') from mms.model_loader import ModelLoader def test_onnx_fails_fast(): models = { 'onnx': 's3://bucket/prefix/whatever.onnx'} with pytest.raises(ValueError) as e: ModelLoader...
[ "yuruofeifei@gmail.com" ]
yuruofeifei@gmail.com
83e984bf7313b99dd2e24c39e24640b35d45e344
a2706c66c4f2769c00fc5f67e1a85742cfa7e17c
/WebSocket/Handle/console.py
71d912effb8fa4a6b590eaf8e05ac2ba4968e4fc
[ "BSD-3-Clause" ]
permissive
Jeromeyoung/viperpython
48800312dcbdde17462d28d45865fbe71febfb11
ba794ee74079285be32191e898daa3e56305c8be
refs/heads/main
2023-09-01T18:59:23.464817
2021-09-26T04:05:36
2021-09-26T04:05:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,131
py
# -*- coding: utf-8 -*- # @File : console.py # @Date : 2021/2/26 # @Desc : from Lib.configs import RPC_FRAMEWORK_API_REQ from Lib.log import logger from Lib.method import Method from Lib.rpcclient import RpcClient from Lib.xcache import Xcache class Console(object): def __init__(self): pass @stati...
[ "yu5890681@gmail.com" ]
yu5890681@gmail.com
432e4d7dfb9d1711e8dc1a8ddffa9cd8f54be76e
da34178acfaf567a7faa0fb10ea9d50c8ddf0d98
/ccc05j1.py
e1ffdd91408203370c061aa3683e88add9505398
[]
no_license
csgregorian/competition
d81890b940a8912aefd3c724760bef421dcea38e
bd87ca6b104ede1d36b8d3fc475c96694078ebfb
refs/heads/master
2020-05-31T03:56:51.174808
2015-10-15T19:44:17
2015-10-15T19:44:17
24,005,009
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
d, e, w = int(input()), int(input()), int(input()) a = 0 b = 0 a += max(0, d-100) * 25 a += e * 15 a += w * 20 b += max(0, d-250) * 45 b += e * 35 b += w * 25 a = float(a)/100 b = float(b)/100 print("Plan A costs %.2f" % a) print("Plan B costs %.2f" % b) if a == b: print("Plan A and B are the same price.") elif ...
[ "csgregorian@gmail.com" ]
csgregorian@gmail.com
60336c737e406385fe01a079b58435791bb872c7
faa4ce06fdc64bcd3490d8c244cdad4f7bba8d7e
/shop/migrations/0001_initial.py
77c2b82fa8d279c48477a15bd1b57612404899d3
[]
no_license
menyibing/lutto_django_project
71982b0ada0597f7f7fec58ea0c28c0853cbf601
2852784b90fef0d675e79c75c17569cc16a0a6b2
refs/heads/master
2020-04-05T15:40:01.636476
2018-11-07T13:38:50
2018-11-07T13:38:50
156,978,314
1
0
null
null
null
null
UTF-8
Python
false
false
2,011
py
# Generated by Django 2.1.1 on 2018-10-17 01:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='GoodBrand', fields=[ ...
[ "2270487537@qq.com" ]
2270487537@qq.com
1b8b1bb6dfa86f27bd84c71c3ecefe0522283f79
62af4b966c2052d529906bd5ea68c574e33ea5d1
/preprocessing/parse.py
23783d00a855b532bc0469537a56453fd8c34d62
[ "Apache-2.0" ]
permissive
som-shahlab/trove
1bea40e12450ba4d1158b15b43ec59ad35359cb4
291851b45666ad46f30c6c3103295bb8f64f1c8a
refs/heads/main
2023-04-13T21:14:33.743306
2022-10-24T20:28:34
2022-10-24T20:28:34
316,359,795
72
23
Apache-2.0
2022-09-30T20:45:24
2020-11-26T23:56:02
Python
UTF-8
Python
false
false
6,171
py
import os import sys import glob import json import time import logging import argparse import pandas as pd from pathlib import Path from joblib import Parallel, delayed from functools import partial from spacy.util import minibatch from pipes.tokenizers import get_parser, parse_doc from typing import List, Set, Dict, ...
[ "fries.jason@gmail.com" ]
fries.jason@gmail.com
094a892a9dab6508e6fb0e607e408cbaa20a4c05
b683b7694a8b5f81e13f5c6b648c7a33b442c79a
/myprofile/migrations/0002_profile_email.py
06319d4507ba114c1f646b2fa3cdd59b14c0ca4a
[]
no_license
murat-dev/ShopDRF
ca12dacfbb6308c2e09642388da99f8f9cc68718
23f690677bcd3ad22d5c13ae52b0883891ee936b
refs/heads/master
2023-04-13T13:08:34.361549
2021-04-27T09:58:25
2021-04-27T09:58:25
362,063,882
1
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Generated by Django 3.1 on 2021-03-11 15:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myprofile', '0001_initial'), ] operations = [ migrations.AddField( model_name='profile', name='email', fie...
[ "muratbegalyev@gmail.com" ]
muratbegalyev@gmail.com
d7c2b34c95ae59903eaf3e564e0a080c96466b09
bbb57d8224e3df1e89cfa64892864e6fc3538c47
/PY-21/hw_8_cookbook.py
866c8cae9b935ef7e970db799288068c12a90f35
[]
no_license
D2ntes/netology_learn
08848d7304d4091d1fe828a343c4df26013c2610
88cad90d1de279beda5fdecf50cf6578c848b683
refs/heads/master
2022-12-03T17:25:29.039034
2020-03-10T15:29:46
2020-03-10T15:29:46
166,715,195
0
1
null
2022-11-22T05:07:36
2019-01-20T22:14:35
CSS
UTF-8
Python
false
false
7,706
py
# Домашнее задание к лекции 2.1 «Открытие и чтение файла, запись в файл» # Необходимо написать программу для кулинарной книги. # # Список рецептов должен храниться в отдельном файле в следующем формате: # # Название блюда # Kоличество ингредиентов в блюде # Название ингредиента | Количество | Единица измерения # Назван...
[ "gruzdev-n@mail.ru" ]
gruzdev-n@mail.ru
43bb031457d50e9122740259e04359b535cb713f
97d65ce909cee03ed4c8cc9770a5cf55a12a0b90
/motion.py
8613f0735d153c4dc4a45e3ab7178f2fe86a165f
[]
no_license
jdcasey/rpi-motion
499c728d312192bfb67d700e89b6067145ea5bb2
e503ca67673c6d36f6a2bb8cdf3b6869c0242562
refs/heads/master
2020-04-21T20:13:32.422320
2019-02-09T22:37:59
2019-02-09T22:37:59
169,836,141
0
0
null
null
null
null
UTF-8
Python
false
false
363
py
#!/usr/bin/env python3 import RPi.GPIO as gpio import datetime import time gpio.setmode(gpio.BCM) gpio.setup(23, gpio.IN) try: time.sleep(2) while(True): if gpio.input(23): print("PING: " + str(datetime.datetime.now())) time.sleep(6) time.sleep(0.1) except Exception as...
[ "jdcasey@commonjava.org" ]
jdcasey@commonjava.org
289bc0edfd52e02ce3efd5b777628799617507a9
d8bdb06686a2c81ef290afff9cd950eef24ef3b9
/day_test08/test_001.py
fc99ffe2b457f1e6a02a923f80dc2c67db603beb
[]
no_license
sunadruey/hkes_test
7f2622d658bc9289b4278a1eb1bbf5002ad5b0da
b6fa3b63dd5e58e9b74176fcd078fc95cfbfbf59
refs/heads/master
2023-05-04T20:06:05.832422
2021-05-26T14:30:32
2021-05-26T14:30:32
369,708,099
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from day_test08.hogwos import Huogwos class Main: def send_keys(self): pass def click(self): pass def title(self): pass def click_first_link(self): return Huogwos()
[ "sunadruey@163.com" ]
sunadruey@163.com
c03381a3eb66d32c05604a2226fbaea846f8e98c
c7a6f8ed434c86b4cdae9c6144b9dd557e594f78
/ECE364/.PyCharm40/system/python_stubs/348993582/dbm.py
ac53fcf86f8ad981eb28108dc15d60478a2542de
[]
no_license
ArbalestV/Purdue-Coursework
75d979bbe72106975812b1d46b7d854e16e8e15e
ee7f86145edb41c17aefcd442fa42353a9e1b5d1
refs/heads/master
2020-08-29T05:27:52.342264
2018-04-03T17:59:01
2018-04-03T17:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
# encoding: utf-8 # module dbm # from /usr/lib64/python2.6/lib-dynload/dbm.so # by generator 1.136 # no doc # no imports # Variables with simple values library = 'GNU gdbm' # functions def open(path, flag=None, mode=None): # real signature unknown; restored from __doc__ """ open(path[, flag[, mode]]) -> map...
[ "pkalita@princeton.edu" ]
pkalita@princeton.edu
df8fa1dadaeb9af62097dca1ce6ed2f84718704d
bee7d7bcb1fbeedca4421ab081a330b7cbf17ea8
/Project6/partition.py
d6a8cdfd0ca37e4de02106375b78d650fa9e7fd8
[]
no_license
vincy0320/School_Intro_to_ML
a576d3d65aa0223c850db9f8c34c76b6656316ac
9ae339f81fc7134ba9058fe975dec9ac7e3aaba4
refs/heads/master
2020-04-18T21:43:28.444567
2019-01-27T06:11:47
2019-01-27T06:11:47
167,772,856
0
0
null
null
null
null
UTF-8
Python
false
false
2,800
py
#!/usr/bin/python3 import random import math import util def __get_class_indices_dict(data, class_index): """ Get a dictionary whose key is the class name and the value is a list of row indices in the given dataset that has that class name. """ return util.get_class_indices_dict(data, class_inde...
[ "vincy.wscheng@gmail.com" ]
vincy.wscheng@gmail.com
5144aade36d0dec75c11c658719a8e512384ddb9
1870335a3175750d0e3f928a3b1dbcacb7177eee
/game_states.py
4d9c5cfc153f9b621634ebcb24726e60525a6a91
[]
no_license
Abdel-Oued/Projet_Roguelike
b7609e2e01e190bfa0c06c6541cd2d7f391bbcf4
fbcf5da6facb31091ddefe4bbc55313035574201
refs/heads/master
2023-03-22T17:48:05.478295
2021-03-04T14:40:38
2021-03-04T14:40:38
220,295,971
1
0
null
null
null
null
UTF-8
Python
false
false
182
py
from enum import Enum class GameStates(Enum): PLAYERS_TURN = 1 ENEMY_TURN = 2 PLAYER_DEAD = 3 SHOW_INVENTORY = 4 DROP_INVENTORY = 5 TARGETING = 6
[ "noreply@github.com" ]
Abdel-Oued.noreply@github.com
7afe7c980fc2beac69f9d9f0ad9c1bd27ccfa9d8
21a1e6ce3a04b4897b7b64a73f8b25ddee5323f8
/multibHistograms.py
47179516e6b84f90d4a0080941325d83ef72fb37
[]
no_license
fedorov/pyhelpers
a0db84a9762ab60d1b6c5bc379a2aaa3cdfed0e2
142db8ac338d189e465d7550f5a918ab1fb9c4f0
refs/heads/master
2021-01-21T19:09:13.926654
2017-05-24T17:55:33
2017-05-24T17:55:33
92,122,525
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
import makeHistogram, sys def main(argv): import os rootDir = argv[1] subjects = os.listdir(rootDir) label = "OPT. Ax DWI 13 B VALUES - as a 15 frames MultiVolume by GE.B-value frame 0-label.nrrd" maps = ["Slow diff fraction.nrrd","Slow diffusion map.nrrd","Fast diffusion map.nrrd"] for s in subjects: ...
[ "andrey.fedorov@gmail.com" ]
andrey.fedorov@gmail.com
ab0ec41bd693d803f1b8291982b7e7f8e9b98432
76615f88840948671ce7a0944d04c335378bfd59
/bluesky/tutorial-2.py
4fd44709646c2f8b32e245b07f7459512c6f2413
[]
no_license
NSLS-II/NSLS-II.github.io
802e7e29b2a8cd8ab6d720de9f0cce154ecf9d82
f2ec8b415e59d5135517adaadbc3627f7692ad92
refs/heads/master
2023-08-30T21:33:20.808997
2023-08-19T17:03:59
2023-08-19T17:03:59
29,092,632
5
6
null
2023-06-05T15:48:53
2015-01-11T13:30:39
HTML
UTF-8
Python
false
false
268
py
from bluesky.plans import scan from ophyd.sim import det4, motor1, motor2 dets = [det4] RE(scan(dets, motor1, -1.5, 1.5, # scan motor1 from -1.5 to 1.5 motor2, -0.1, 0.1, # ...while scanning motor2 from -0.1 to 0.1 11)) # ...both in 11 steps
[ "Travis@nomail" ]
Travis@nomail
08aa43322c4c2c38e87cc1e6aa5eac604c2e6150
37de565d394ef27dc7d6e43f0e0e4c3a98293bbd
/p9.py
7ba7c056548f23d3ed726618621f831a5b7fff29
[]
no_license
Hemangi3598/chap-3_p9
340ec3bb8b18f1ce3388ff98291226ec9cba7712
7af8da997891732096cfd7bb6bc90960aa66b920
refs/heads/main
2023-08-04T17:18:03.463246
2021-09-17T07:54:23
2021-09-17T07:54:23
407,454,414
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
# wapp to find the rev of the given number num = int(input("enter the number")) if num < 0: print("invalid number") else: print("num = ", num) rev = 0 while num > 0: digit = num % 10 # get the last digit rev = (rev * 10) + digit # use the last digit num...
[ "noreply@github.com" ]
Hemangi3598.noreply@github.com
5bd0a4a788e9d7993b80bcafdfc417e5da471f70
1e25bbceebd3faf748c962325c572722a1d24e9c
/aicollege/message/models.py
419e1022d3345f8531c2093d7005582b5523a627
[]
no_license
qzhsjz/AICollege_backend
31a8c9db5e6f63206903db2c6247c14eecaba15a
4304a193e5b93716b9fb43103eaa1765e24fbdbf
refs/heads/master
2020-03-17T10:27:11.764380
2018-09-09T07:20:12
2018-09-09T07:20:12
133,512,284
1
1
null
null
null
null
UTF-8
Python
false
false
718
py
from django.db import models from user.models import User # Create your models here. class Message(models.Model): id = models.AutoField(primary_key=True) sender = models.ForeignKey(User, on_delete=models.CASCADE, related_name='sender', db_constraint=True) receiver = models.ForeignKey(User, on_delete=mode...
[ "qzhsjz@gmail.com" ]
qzhsjz@gmail.com
583db200a1bda895ae3715b39413a5e19bd97fc1
69b5c22313044010653f57218b612f3536477ca9
/introduction to python (3)/chapter 3/remove_duplicates.py
100e46905d1a45fbb30e6f407b81617b57d17887
[]
no_license
AmeyLaddad/A-Udacity
91700500585069a76ffbf87a2d886b6426d76438
219068014af3f50a1bc91e004804f814e632fa71
refs/heads/master
2020-03-26T01:56:40.737210
2019-02-23T03:17:10
2019-02-23T03:17:10
144,389,509
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
def remove_duplicates(input_list): final = [] for x in input_list: if x not in final: final.append(x) return final print(remove_duplicates(["india","pakistan","nepal","bhutan","USA","USA"])) """ "This is the second way" def remove_duplicates(input_list): for x...
[ "31889511+AmeyLaddad@users.noreply.github.com" ]
31889511+AmeyLaddad@users.noreply.github.com
c5c326fef01f68b470319f1e670f0c87cb312bb0
285c6c329dd20614f3f014dd85006a4b74ee94fc
/MatasanoCrypto/cryptools.py
5fb0c32dc35af7abffa52d782ce8a19693522f51
[]
no_license
sbedell/CodingChallenges
60bc6357d008478b26f5e9428748105dff4550c9
531975ea9fea1b35e58464ad96ff2d6a2b72fa99
refs/heads/master
2021-01-18T05:33:55.403524
2020-06-01T05:47:02
2020-06-01T05:47:02
29,806,946
1
0
null
null
null
null
UTF-8
Python
false
false
3,914
py
import base64 import binascii import string import random import os # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ## Text processing functions: def splitArray(array, n): ''' array - an array or string to be split into a list n - length of the chunks ''' return [array[i:i+n] for i...
[ "bedell.369@osu.edu" ]
bedell.369@osu.edu
a9bd392f278b6f226a6bf011cbda24a2e6f9cf25
f70b4ab08835d7bd59cb468b9a795fd73d1c9d46
/accounts/urls.py
2781dcd916847f2a9cc6b1eebf85e1f514faeece
[]
no_license
xxkaminaxx/XxRelix4U
c4638c7009ca4fd049a31d144acd407c061c36a2
56fe6f0bfd4e7076f1224c9851d28e1b4af28a4e
refs/heads/master
2022-12-10T08:38:36.798928
2020-03-08T08:06:48
2020-03-08T08:06:48
239,625,285
0
1
null
2022-11-22T05:21:11
2020-02-10T22:18:30
Python
UTF-8
Python
false
false
424
py
from django.conf.urls import url, include from accounts.views import logout, login, user_registration from accounts import url_reset # account related urls here then imported into main url. urlpatterns = [ url(r'^logout/', logout, name="logout"), url(r'^login/', login, name="login"), url(r'^user_registrat...
[ "kasolos@hotmail.co.uk" ]
kasolos@hotmail.co.uk
9726a9fbf16f8881db41c4e2da04c76e619bcd5f
00c6ded41b84008489a126a36657a8dc773626a5
/.history/Sizing_Method/ConstrainsAnalysis/ConstrainsAnalysisPD_20210712183638.py
3a1a9c53b9d9a89641bbb3d4af878f7d702672f8
[]
no_license
12libao/DEA
85f5f4274edf72c7f030a356bae9c499e3afc2ed
1c6f8109bbc18c4451a50eacad9b4dedd29682bd
refs/heads/master
2023-06-17T02:10:40.184423
2021-07-16T19:05:18
2021-07-16T19:05:18
346,111,158
0
0
null
null
null
null
UTF-8
Python
false
false
12,856
py
# author: Bao Li # # Georgia Institute of Technology # import sys import os sys.path.insert(0, os.getcwd()) import numpy as np import matplotlib.pylab as plt import Sizing_Method.Other.US_Standard_Atmosphere_1976 as atm import Sizing_Method.Aerodynamics.ThrustLapse as thrust_lapse import Sizing_Method.Aer...
[ "libao@gatech.edu" ]
libao@gatech.edu
cb138abac8d2b7e034cc1403158c58a81f2da182
2785af72c4bd533914e7e9e32cf1a2da81e3270d
/resources/songstolink.py
d7bb58f33741ed988964558dbc18db9c025f5a16
[]
no_license
zackmuc/MediaPortal
6a6db838c597e9b0929e2d767953d7abacf2b2d5
c97abc9d12fa5fdda8dea60aa55d7b499515b005
refs/heads/master
2021-01-16T22:07:54.689689
2013-06-24T16:54:59
2013-06-24T16:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
# -*- coding: utf-8 -*- from Plugins.Extensions.MediaPortal.resources.imports import * class SongstoLink: def __init__(self, session): print "SongstoLink:" self.session = session self._callback = None self._errback = None self._baseurl = "http://s.songs.to/data.php?id=" self.imgurl = '' def getLink(s...
[ "kschmidt2007@googlemail.com" ]
kschmidt2007@googlemail.com
923407afb596f24f329293846a992525aa6538e4
4ff9c71749de4a1311476159190184a5a994b1fa
/constant.py
c6f2fd1b705172d008a54bd220fc706d3560688b
[]
no_license
JayCax/CS-362-Portfolio-Project
a5c364c19dca915637b0b5268e64c0a78e29bd61
5a5d199c38bda2c03ef064c2fdae91c2835bd90f
refs/heads/main
2023-01-27T11:40:59.861000
2020-12-10T08:07:28
2020-12-10T08:07:28
320,201,914
0
0
null
null
null
null
UTF-8
Python
false
false
21
py
SECS_IN_DAY = 86400
[ "noreply@github.com" ]
JayCax.noreply@github.com
f2d88ede145a55a634404601a3248fdd20b69f0c
45de3aa97525713e3a452c18dcabe61ac9cf0877
/src/primaires/perso/stat.py
376ea04b6dc9b0fedb3545626465b19dc441e1d2
[ "BSD-3-Clause" ]
permissive
stormi/tsunami
95a6da188eadea3620c70f7028f32806ee2ec0d1
bdc853229834b52b2ee8ed54a3161a1a3133d926
refs/heads/master
2020-12-26T04:27:13.578652
2015-11-17T21:32:38
2015-11-17T21:32:38
25,606,146
0
0
null
null
null
null
UTF-8
Python
false
false
5,954
py
# -*-coding:Utf-8 -* # Copyright (c) 2010 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # lis...
[ "kredh@free.fr" ]
kredh@free.fr
eebaf1cc5939bf3397f44b7abae4b3301b3f9927
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-cc/huaweicloudsdkcc/v3/model/update_network_instance_request_body.py
ccb6925b1dca4650bfa9c81651ceef569cd52c3e
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
3,407
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class UpdateNetworkInstanceRequestBody: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The ke...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
00a260febb6f5bdbad5f3e248f26b978211197fb
115fa8e854120660b395180dbfe48461d824a7dd
/test_numba.py
f624eda17d63c6d47e8c3853111e30f4d2d87748
[]
no_license
zafercavdar/python2c-compilers
8a123105e0ee148e400dd6258e02950cca08f614
a6cc7de2bb430566b170ec6ed41953faa537d498
refs/heads/master
2020-03-18T16:57:44.677608
2018-05-26T21:42:52
2018-05-26T21:42:52
134,996,222
1
2
null
null
null
null
UTF-8
Python
false
false
3,895
py
from numba import jit from numba.decorators import autojit from time import time from math import log10 import re import numpy as np regex = r"\s+" def op(x): return 2 * x - 1 def split_by_pattern(x): return re.split(regex, x) def read_file(path): f = open(path, "r") return [line for line in f] ...
[ "zafercavdar@yahoo.com" ]
zafercavdar@yahoo.com
6ff299c2cc6c8b9893253d3ebe9d3ea491400c72
60be3894ad491bde502b8f6909a026ee115d952e
/aiosmb/network/tcp.py
3da2e5cbc315e7cbcfde7804212c83c4942ef225
[]
no_license
topotam/aiosmb
7c97c6a9806c84a9fae28fa372cc6903fa6ec0c5
e2ece67bbf380f576b154b09ea5fd63d9b4ecf4c
refs/heads/master
2023-06-25T17:41:03.605226
2021-07-27T18:31:12
2021-07-27T18:31:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,676
py
import enum import asyncio from aiosmb import logger from aiosmb.commons.exceptions import * class TCPSocket: """ Generic asynchronous TCP socket class, nothing SMB related. Creates the connection and channels incoming/outgoing bytes via asynchonous queues. """ def __init__(self, socket = None, target = None): ...
[ "info@skelsec.com" ]
info@skelsec.com
88bb5ceff669f2aa39cc2b11b65ea78a81eef6ce
1d230067a680871af1127f89cc23dda6901f02e3
/python/cursoemvideo/ex095.py
5e8568b9d4e0b1020d9da0c0b584dd403076a433
[]
no_license
pedrocambui/exercicios_e_desafios
981f47d8ef5b37eda5c637da76918c29f4a4d700
65eb86f232aad4abc7cc2e95897ca0d5bb72dcf2
refs/heads/main
2023-03-13T13:28:46.058769
2021-03-30T16:25:08
2021-03-30T16:25:08
353,064,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,339
py
jogador = {} jogadores = list() gols = list() cont = 0 while True: jogador.clear() gols.clear() jogador['nome'] = str(input('Nome do jogador: ')) partidas = int(input(f'Quantas partidas {jogador["nome"]} jogou? ')) for c in range(0, partidas): gols.append(int(input(f' Quantos gols na partid...
[ "pcambuicorrea@gmail.com" ]
pcambuicorrea@gmail.com
f32fd1e50a5d38c4d0457aeee1a638d7bfa345c0
f79efc86aa0f1ca5a5a840e2cea8abf4086ea603
/FproPlay/Dictionaries/fight.py
953da27c15da30a945c5c27f1df42e8ccf675d9a
[]
no_license
tiago-falves/FPRO-Python
6987bc8aa93bd2fb9c1ff16f9c2142c92d776767
28d7b94314cd6403c5f525358ecdfda5f7dcc03a
refs/heads/master
2020-05-28T07:06:16.316112
2019-06-29T20:33:01
2019-06-29T20:33:01
188,916,503
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
def fight(heroes,villain): for i in heroes: if i["category"]==villain["category"]: if i["health"]>=villain["health"]: return "{} defeated the villain and now has a score of {}".format(i["name"],i["score"]+1) else: villain["health"]=villain["health"]-i[...
[ "tiago.falves98@gmail.com" ]
tiago.falves98@gmail.com
a3092c3007fd7565350f5de588f2ca1ec176508d
d942f8a8cc99fa32b81783b2097b71fbee7981ed
/code/working_files/coldstart_pyspark_matmul.py
49d1b53da026d6242546e4781a8b83d81414c1d8
[]
no_license
jack-epstein/nyucds_1004_finalproject
6cc50fe7785fa90d84f2e5cb30aed2d58510dc39
e4430c48fb165248e52179dd770d4e900091b18d
refs/heads/main
2023-05-04T07:46:27.862210
2021-05-18T22:43:24
2021-05-18T22:43:24
368,677,089
0
0
null
null
null
null
UTF-8
Python
false
false
2,664
py
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Attempt to take in U and V' matrices and get a new R' matrix. Ultimately did not succeed Usage: $ spark-submit --driver-memory 8g --executor-memory 8g code/model/coldstart_pyspark_matmul.py hdfs:/user/jte2004/userFactors_r200 hdfs:/user/jte2004/itemFactors_r200_updat...
[ "jte2004@nyu.edu" ]
jte2004@nyu.edu
a0dfa996b3c2096b9b715337c068974c637741c9
21907b665a7765b4ce65061efe7d149257940b06
/flask/bin/migrate-repository
4cde0f28b4f9a0e98edca683226fedc941925e4d
[]
no_license
692309199/microblog
40c1b9d8af8abf0265602ce9684c482cb87a4ddf
be148949e07b863e099e4802edd0a87d317817c6
refs/heads/master
2021-05-11T10:31:39.467201
2018-01-22T10:08:51
2018-01-22T10:08:51
118,103,125
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/opt/microblog/flask/bin/python # -*- coding: utf-8 -*- import re import sys from migrate.versioning.migrate_repository import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "692309199@qq.com" ]
692309199@qq.com
74c7bb5a685440da68dd5f60b5565430cafaa304
c2ddea0be67445819b85559823bb7b2232b52727
/venv/Scripts/pip3.7-script.py
a2dc6998de19444febefe5feaf8ff0fb84a7afa6
[]
no_license
aaron6347/CPT212-Asn2
eed93526bf5d02c0800d7f3dda12ce90bb74790a
154741c220068aad29e8ceecc026793394f3f038
refs/heads/master
2022-10-08T01:09:23.756596
2020-06-01T11:45:59
2020-06-01T11:45:59
260,435,523
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
#!C:\Users\Aaron\PycharmProjects\CPT212-Asn2\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys...
[ "49943930+aaron6347@users.noreply.github.com" ]
49943930+aaron6347@users.noreply.github.com
82f974dda587b52858bedd38326563eaa89c4553
d556c1d6d334a52624684a294a8e520742bf985d
/nutriplus_back/registration/app_settings.py
3fdd918bf82d88b64b7434ea83b6b8c688c9b56b
[]
no_license
mouradfelipe/nutriplus
db5e5da81db32a54c08de207c938a58111ec2e5e
994d3d01759ceb887f5ee39dc73209a43e7d9ce0
refs/heads/master
2021-06-19T09:00:50.776808
2020-03-07T12:08:17
2020-03-07T12:08:17
206,334,503
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from django.conf import settings from rest_framework.permissions import AllowAny #from rest_auth.registration.serializers import RegisterSerializer as DefaultRegisterSerializer from .serializers import RegisterSerializer as DefaultRegisterSerializer from .utils import import_callable serializers = getattr(settings, 'R...
[ "lucas.tnagel@gmail.com" ]
lucas.tnagel@gmail.com
5585928a7e726d630fd8b22b45e5ffb5b9cd040a
b88b96d96c096da3d69858dfdfaaab5de002bdcf
/main.py
2243c761f7da3588d991e11ec054feec66530593
[]
no_license
BryanArmando/Ocurrencias-de-un-texto
174fc2f8721d684f0dbeec662f1e267e40acf39f
e7c5bbf0815176101790be6d217149cce10a5de2
refs/heads/master
2023-06-02T08:58:59.290275
2021-06-17T02:04:14
2021-06-17T02:04:14
377,676,054
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
import re print("Ocurrencias de un fragmento de un libro\n") archivo=open('Harry.txt',encoding='utf8') linea=archivo.readline() diccionario={} while linea!="": palabras=linea.split() for i in range(len(palabras)): palabra=re.sub('[?|.|!|\|/|;|:|,|”|“|(|)|«|»|-|_]','',palabras[i]) if pa...
[ "66704761+BryanArmando@users.noreply.github.com" ]
66704761+BryanArmando@users.noreply.github.com
39057d7f01b675b8b5992785673f879a433ca69a
e0234338c27428668ac180c6baf475a870dbe7f8
/esp32_drone/python/tcp_test.py
2b3cedc5c4ceebbc8e3c4d01f082a63243591d04
[]
no_license
darcyg/esp32_projects
9cc4245bb19f23a12a4a2b1399c221a004bfc415
4d008b9070a0664ba5de69cb39ba44b66ad178a2
refs/heads/master
2023-05-19T22:05:48.368668
2021-06-06T15:19:48
2021-06-06T15:19:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
import socket import struct import asyncio # Create a TCP/IP socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) # Bind the socket to the port server_address = ('192.168.178.68', 3333) print(f'starting up on {server_address[0]} port {server_address[1]}') sock.bind(server_address) # Listen for incoming co...
[ "dominik.fohrmann@gmail.com" ]
dominik.fohrmann@gmail.com
c61c925a0e0f9a7e7cfb8f89789e3bb008228a43
f55ea1cfc520e6e2ceda961e7400fe2de0ad4e69
/src/rosegraphics.py
c2138ca1fdd9002c0686a7fb42372f18f779db0e
[ "MIT" ]
permissive
chenx16/05b-Exam1Practice
231081cc1284ccdd27b1da57cd19bc656a648eb1
82dbe6a5677732820f32dbb8264c04a028a1a459
refs/heads/master
2020-04-09T20:15:08.721532
2018-12-12T19:01:54
2018-12-12T19:01:54
160,568,393
0
0
null
2018-12-05T19:31:56
2018-12-05T19:31:56
null
UTF-8
Python
false
false
65,517
py
""" rosegraphics.py - a simple Graphics library for Python. Its key feature is: -- USING this library provides a simple introduction to USING objects. Other key features include: -- It has a rich set of classes, methods and instance variables. -- In addition to classes like Circles that are natural for ...
[ "mutchler@rose-hulman.edu" ]
mutchler@rose-hulman.edu
b563a862cc39ee319fc9a4a292dee5f03239fcdc
4dd95ff4e685ad4937651eef199171a58563b23d
/venv/Lib/site-packages/truedata_ws/websocket/internal_tests.py
1d890a276b8cf3f0a4030c600ed43968494f07e9
[]
no_license
webclinic017/Stock-test1
8a7dff8408679ddb3e732a8dd449138236127814
27e212da22d5b2610a581bdfbf9dc49a325abb1d
refs/heads/master
2023-02-09T23:43:13.687509
2021-01-02T15:02:58
2021-01-02T15:02:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,512
py
from .base_tests import get_connection, run_live_tests, run_historical_tests from .defaults import DEFAULT_LIVE_PORT, DEFAULT_HIST_PORT, DEFAULT_TEST_SYMBOL_LIST from colorama import Style, Fore def run_all_tests(user_a, pass_a, user_b, pass_b, live_port, historical_port, symbols_to_test): if live_port is None: ...
[ "shayak1@gmail.com" ]
shayak1@gmail.com
ec9d27e688222690aed28a30726f4cc759f5e9af
9dfae7205fa6edc5ddff876eee08a34b83e37830
/Exercícios/ex057.py
2f79bcf133682f7722bab1f5beb4dc24d12b182b
[ "MIT" ]
permissive
rbpope/AulasPythonMundo2
1ccb49c8e762cda0085e4d92e6b1fcd13bc08115
1120d8e6df37fb54e2f113bb3e2b929781915ba7
refs/heads/main
2023-05-13T11:53:32.594884
2021-06-10T13:46:08
2021-06-10T13:46:08
304,985,886
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
gen = str(input('Qual o seu gênero? [M/F] ').strip().upper()[0]) while gen not in 'MF': gen = str(input('Opção inválida, tente novamente: ').strip().upper()[0]) if gen == 'M': print('Você informou o genero masculino.') if gen == 'F': print('Você informou o genero feminino.')
[ "renato@pope.med.br" ]
renato@pope.med.br
482928edaa2e06cd3b7bed4f4eaec7daf1bdda60
2c74bb301f1ed83b79254944183ac5a18a639fdf
/homeassistant/components/esphome/domain_data.py
01f0a4d6b1369b6f6908d943c821bb3805e59e57
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
2,885
py
"""Support for esphome domain data.""" from __future__ import annotations from dataclasses import dataclass, field from typing import TypeVar, cast from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.json import JSONEncoder from homeassistant.he...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
a1963e2438b34787fe6b7416956480d82b70424c
9aed3c36c72133860001c4578de003245ea00170
/zui/messager.py
e26e8ca8260e4c06b2f0c93f6d3f0936c5554ba3
[]
no_license
seanh/PandaZUI
78ffe263b4b4b83488c07521be131d53b1575c58
7365ec19185273d2fa7bd52387c43a70dd8abb92
refs/heads/master
2020-04-01T09:31:12.888689
2009-05-16T14:49:13
2009-05-16T14:49:13
202,614
4
2
null
null
null
null
UTF-8
Python
false
false
8,610
py
""" messager.py -- a simple message-passing pattern for one-many or many-many dependencies. Useful for event notifications, for example. To send a message use the singleton messager instance: from messager import messager messager.send('message name',argument) You can pass a single argument ...
[ "seanh@sdf.lonestar.org" ]
seanh@sdf.lonestar.org
5a1ed0cd70c637628613bcdc2591471ce0eebf24
b3c8678c1db0b3e256de97e560d7d4d26c1dd6eb
/src/jpl.mcl.site.sciencedata/src/jpl/mcl/site/sciencedata/testing.py
4325448b2a43549da50926c2e47a4028a8f43d2d
[ "GPL-2.0-only", "Apache-2.0", "GPL-1.0-or-later" ]
permissive
MCLConsortium/mcl-site
e4a127235504e7ac5575ef3d73c8fd1bdf02824b
5eb9c16a7fe322192a03461a9f22ecb8c17307fd
refs/heads/master
2021-06-09T23:49:35.775652
2021-04-30T22:59:59
2021-04-30T22:59:59
49,965,919
1
0
Apache-2.0
2020-08-25T15:58:27
2016-01-19T16:24:58
Python
UTF-8
Python
false
false
1,896
py
# encoding: utf-8 from plone.app.testing import PloneSandboxLayer, IntegrationTesting, FunctionalTesting, PLONE_FIXTURE from . import PACKAGE_NAME import pkg_resources, urllib2, urllib, httplib, plone.api class TestSchemeHandler(urllib2.BaseHandler): u'''A special URL handler for the testing-only scheme ``testsc...
[ "kelly@seankelly.biz" ]
kelly@seankelly.biz
7a460b6195a2009a5f4250eefc0f10ed3be48dac
8f4317101fa4b1a86ffd2fc416c51b2e09e6bc9c
/Exercise IULI/Exercise 6 ( Template Matching )/face template matching.py
62a38f4fef0ad706ea900032a7670a03865faf12
[]
no_license
Jphartogi/OpenCV_Uni
90e5234d523aa92f157f25b34a46867e333707a8
0e28426e90c2a1d20a31ef0c44f982ff047c449c
refs/heads/master
2020-05-18T18:19:05.032737
2019-05-02T13:02:49
2019-05-02T13:02:49
184,580,444
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
# -*- coding: utf-8 -*- """ Created on Tue Mar 20 13:44:38 2018 @author: MSI """ import cv2 import numpy as np from matplotlib import pyplot as plt cap = cv2.VideoCapture(0) while(True): # Capture frame by frame ret, frame = cap.read() gray = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) template = c...
[ "joshuaphartogi@gmail.com" ]
joshuaphartogi@gmail.com
1c2efb6403268bce7bdbf32ec39453b0052157f8
94cac43dd648921a14e8ed022df1e86da3c0a413
/高级数据类型/hm_11_字典的其他操作.py
de057130c4764d65530fdb8b508d143ee2238a1a
[]
no_license
HAOWEM97/Python_learning
a0642d091e724ec1b6778795587c96d18beab834
64ef7141e7c003004c47e80bcac2ced5f446d53c
refs/heads/master
2022-07-16T19:50:11.175501
2020-05-17T19:48:59
2020-05-17T19:48:59
264,741,225
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
xiaoming_dict = {"name":"小明", "age":18} # 1.统计健值对数量 print(len(xiaoming_dict)) # 2.合并字典 temp_dict = {"gender": True, "height": 1.75, "age":19} xiaoming_dict.update(temp_dict) # 3.清空字典 xiaoming_dict.clear() print(xiaoming_dict)
[ "noreply@github.com" ]
HAOWEM97.noreply@github.com
d555da4df0ff92fad94428138c04e5725366861c
47542e6b98c19592f44ce44297771c698d4987f7
/ch09/09_08.py
42a496a958555522889a656ddd4e96b4f567131b
[ "Apache-2.0" ]
permissive
sharebook-kr/book-cryptocurrency
235b6998668265ec804451afddd245a52824f51a
847ba97ba096c257b35f5e507cd33fa6a0724860
refs/heads/master
2022-12-14T05:24:52.765589
2022-11-30T01:35:08
2022-11-30T01:35:08
128,632,349
162
141
Apache-2.0
2022-11-30T01:35:09
2018-04-08T11:05:17
Python
UTF-8
Python
false
false
301
py
import websockets import asyncio async def bithumb_ws_client(): uri = "wss://pubwss.bithumb.com/pub/ws" async with websockets.connect(uri) as websocket: greeting = await websocket.recv() print(greeting) async def main(): await bithumb_ws_client() asyncio.run(main())
[ "brayden.jo@outlook.com" ]
brayden.jo@outlook.com
5606d5e545c1fac58c09a834fd3e0717b1e9cf54
7f57d9317c44a7b003fa312dff6f521b2f5eaeb1
/043.py
d95c522700b72af416782c80801e8f364243152e
[]
no_license
concreted/project-euler
ee85e5cd13d2a94df638f1d0894404be24f1007e
cedd1c766bbd6ff8b2abb50734cf2aebeeb2e3f7
refs/heads/master
2016-09-06T05:02:09.903064
2014-08-19T18:44:56
2014-08-19T18:44:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
""" Project Euler Problem 43 ======================== The number, 1406357289, is a 0 to 9 pandigital number because it is made up of each of the digits 0 to 9 in some order, but it also has a rather interesting sub-string divisibility property. Let d[1] be the 1st digit, d[2] be the 2nd digit, and so on. In this way,...
[ "arichuang@gmail.com" ]
arichuang@gmail.com
fb6392d17610ef3bd463e5e9c2c3d3564776dbff
40c9545a2e3b33051522d39804dedadd2f870282
/whatsapp_with_python.py
ce6aa30a8f891d1349fdb4a6b5a355d0cc60dab1
[]
no_license
kavyasri-anupa/voice_assistant
8cacd03b66f22b41c0d41897610122af17e5d95b
81e0935f77b5ce5d25230532e06eb333f7f1349a
refs/heads/master
2020-09-01T12:47:22.055550
2019-11-01T14:05:55
2019-11-01T14:05:55
218,960,807
1
0
null
null
null
null
UTF-8
Python
false
false
3,314
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as ec import time import pyttsx3 import speech_recognition as sr import py...
[ "noreply@github.com" ]
kavyasri-anupa.noreply@github.com
8b68a20b8f3bbe0e4e6c7d6e85f4c3d5dfafa5f9
a876b0eec9d4305640850e0813385f148a4fa806
/3.6_More_Guests.py
a8e80141ea505da0c0f2f3895ff91cea1f130e5e
[]
no_license
Ken0706/Crash_Course_Book_Python
8f422b0ad7041b4b09ac0ac4a1382782c91c91bb
76a43da3cfebbf88d3b13aea61fe8ae68c2c8b52
refs/heads/master
2023-05-31T22:48:47.438291
2021-06-18T12:34:57
2021-06-18T12:34:57
368,716,624
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
from random import randrange guests = ["ken", "nah", "ben", "Sonat", "Luck"] for guest in range(len(guests)): print(f"\t\tWelcome {guests[guest].title()}, welcome to dinner with us - \ Your seat number is {guest + 1}!") guest_cant_go = guests[randrange(len(guests))] seat = guests.index(guest_cant_go) print(f"--> {...
[ "duc.nguyenhuyhcm@gmail.com" ]
duc.nguyenhuyhcm@gmail.com
b158bdf46a2603c770aaf9019b76ed11ecc472fd
ee2ad70e60a4cf5684eb1c85db99a9e4cb0b4641
/caldera/views.py
d4e3eb9b5c050bab5a621312f64cb0e752182fea
[]
no_license
rahmatwidhiyana/caldera-id
05998c032077d90bcaef225a3986b391feab6f5c
227b99f33b608bac11d1bd0c90e91c46d9e8beb8
refs/heads/master
2022-10-17T10:49:41.344048
2020-06-09T14:31:07
2020-06-09T14:31:07
220,808,237
0
0
null
null
null
null
UTF-8
Python
false
false
1,323
py
from django.shortcuts import render, get_object_or_404 from .models import Category, Product from cart.forms import CartAddProductForm from cart.cart import Cart # Create your views here. def product_list(request, category_slug=None): category = None categories = Category.objects.all() products = Product.o...
[ "rahmatwidhiyana@gmail.com" ]
rahmatwidhiyana@gmail.com
0907e493938b08ca78cb28ca7cb0ad08c3cee610
0a481a58880071eed558dca7983b54c1263a51ee
/Web-Scraper.py
64d5701e89fa4ef9da38fd51ce7bcf38bcbfdf45
[]
no_license
thermaltp/class
0c528025f878dc65721d2fb06232c5a5cfc12be7
81b732552d21fa0b0394c412373bfbb95c298d18
refs/heads/master
2020-03-20T01:16:25.521237
2018-07-16T16:04:58
2018-07-16T16:04:58
137,071,100
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
import requests from bs4 import BeautifulSoup url = 'https://pastebin.com/archive' #url = 'https://www.yelp.com/search?find_desc=&find_loc=Augusta+GA' paste_r = requests.get(url) print(paste_r) #paste_r = (paste_r.text) soup = BeautifulSoup(paste_r.text, 'html.parser') #print(soup.findAll('a')) #for link in so...
[ "noreply@github.com" ]
thermaltp.noreply@github.com
0076fb29f2309bfda8ab09cfaf850d6ec7f8cfcd
f4a5f3b3a8a038fe5c9b49f91a678a6d0cce14fa
/ManagementSystem/webservice/vehicles/views.py
23cf396c819047587a11bd2f15ae93b666c0c608
[]
no_license
nikita-reva/SystemArchitectureProject
803a46496e0d5f398a63a9ae3dc8c2ffd3465c0f
8a6b43fcc0c8f6dea49b649c1023b871a39c0cad
refs/heads/master
2022-11-23T19:37:02.034132
2020-07-30T11:36:17
2020-07-30T11:36:17
281,161,664
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
from django.shortcuts import render from django.views.generic import ListView, DetailView from .models import Vehicle class VehicleListView(ListView): model = Vehicle template_name = 'vehicles/vehicles.html' # <app>/<model>_<viewtype>.html context_object_name = 'vehicles' ordering = ['id'] class Vehic...
[ "57528503+NikoReva@users.noreply.github.com" ]
57528503+NikoReva@users.noreply.github.com
953322509d2314ae1bdedfc3fbc4e2d39e83c00d
19bebc7530516885928ced22b08357813fa48593
/fab/common_features/__init__.py
b324d4122751dce608eceaf383398854b005dc81
[]
no_license
funkystyle/fbb
97af1187db5280e37d740e95abb0b367ec22d1b6
683dd67af4519b15679881eeb06d49a1554ae1d7
refs/heads/master
2021-01-21T01:02:48.073823
2017-04-22T18:50:04
2017-04-22T18:50:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
89
py
from login_decorators import user_login_required from views import * from hooks import *
[ "c_sveges@qti.qualcomm.com" ]
c_sveges@qti.qualcomm.com
6b1308a92bd30267af62dd4f25cabf61610cbbe2
eb5b9791349f1cc75b8e47fd80896e4fe9bf6061
/games/tetris/games.py
8beff569c277ec816ecc06d50003d1e6958bd3ba
[ "MIT" ]
permissive
Hellorelei/oc-2018
4cbaacbe443886e6c93cf74486f0027e21fc462a
7961de5ba9923512bd50c579c37f1dadf070b692
refs/heads/master
2022-07-09T07:36:04.121651
2019-06-21T08:05:41
2019-06-21T08:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
""" File: games.py Author: Raphael Holzer Date: 27.01.2019 This module imports 6 SenseHAT game modules : - morpion - game2048 - mines - tetris - connect4 - labyrinth """ from sense_hat import SenseHat from gamelib import * import morpion import game2048 import mines import tetris import connect4 import labyrinth de...
[ "hugo.ducommunditverron@bugnon.educanet2.ch" ]
hugo.ducommunditverron@bugnon.educanet2.ch
647b95ab69e4db8e87fa88c1ddb61b2b286a953d
f5816d67d235c992af171831f07e273cca56ec40
/books/books/urls.py
fdef9f4efdb703778cd1c44f8e2779e0b3988a37
[ "MIT" ]
permissive
ToteBrick/DRF
19e27f40ccef2251c4513c56f75c54e0c04c01b3
1b6a51314ecf3784bd6fe84489f6564e1a30a4d4
refs/heads/master
2020-06-05T02:17:20.728393
2019-06-19T02:09:12
2019-06-19T02:09:12
192,279,099
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
"""books 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-base...
[ "402981948@qq.com" ]
402981948@qq.com
f53a88ff3344ca5bafbd2aaf313dd87c96ad25d5
a0b9d5b509602f3bd5fd17d8987df76df2d800be
/AntiEvilTwin.py
0ebeaa890b6849feb56548bf746062534fa80496
[ "Apache-2.0" ]
permissive
Danielgimp/Evil-Twin-AP
8503d3cf16f022b2028904f225ce51a67f7b6d75
3eedddd0361f70565c611853286f9e962eadc184
refs/heads/main
2023-06-30T22:33:42.154936
2021-07-29T10:32:24
2021-07-29T10:32:24
390,113,356
0
0
null
null
null
null
UTF-8
Python
false
false
3,133
py
import os import sys import time from scapy.layers.dot11 import Dot11Beacon from scapy.sendrecv import sniff WifiNetworks = {} EvilTwinWifiNetworks = {} def scanEvilAP(pkt): if pkt.haslayer(Dot11Beacon): # Check if the packet has an Wireless information if pkt.type == 0 and pkt.subtype == 8: ...
[ "noreply@github.com" ]
Danielgimp.noreply@github.com
1f80b008f647abe0f8150c2b78046cdac3ed2395
ce8b0b2aca794d7c5b68a94806eb50dab8bfeb98
/model.py
8e69d2a73cf5f3aa9014fb2da277ae80f621b732
[]
no_license
rtiwari5317/Salary-Prediction-Problem-Till-Deployment
9b350fb59c81a947a9a2bb74460e91fa3b3db27c
1574df54e7ce98a0b2d1401ef27a46e11b32dc29
refs/heads/master
2023-03-20T03:40:39.368275
2020-06-12T16:29:19
2020-06-12T16:29:19
271,839,199
0
0
null
2021-03-20T04:19:39
2020-06-12T16:07:51
Python
UTF-8
Python
false
false
526
py
# -*- coding: utf-8 -*- """ Created on Fri Jun 12 14:46:30 2020 @author: Rahul3.Tiwari """ import pandas as pd #mport numpy as np import pickle dta_st = pd.read_csv('C:\\Users\\rahul3.tiwari\\Desktop\\salaries.csv') X = dta_st.drop(['Salary'],axis=1) y = dta_st['Salary'] from sklearn.linear_model...
[ "noreply@github.com" ]
rtiwari5317.noreply@github.com
9a4b55c49ddbd6bf15ee9f95c0e49e1c0aa461d2
0c7e54178e89a4dad98deb8265c2cb41ca3399b9
/backend/strawberry_forms/tests/test_mutations.py
470971ab95ea4f9bf7f8c47ae52ac75af4feafda
[ "MIT" ]
permissive
marlenebDC/pycon
4394bf7a0aecc5aa8ae0b378900d86c2afc7fab7
175f2ee9e8698bbcf15dd33d2eb4739fee04c6d7
refs/heads/master
2023-07-07T00:34:39.932779
2020-01-21T01:00:24
2020-01-21T01:00:24
235,290,754
0
0
MIT
2023-06-23T23:35:11
2020-01-21T08:30:15
null
UTF-8
Python
false
false
1,670
py
import strawberry from django.forms import Form, IntegerField from strawberry_forms.mutations import FormMutation def test_form_mutation_without_context(): class TestForm(Form): a = IntegerField() def save(self, *args, **kwargs): return "hello" class TestMutation(FormMutation): ...
[ "marcoaciernoemail@gmail.com" ]
marcoaciernoemail@gmail.com
225c14407e2eba431953f219ed8ecc4582a965c5
8b54570140861ffbe464e244f9f49ba55e341577
/linux/ovirt-guest-tray.py
cdc740419735bb0eb6c99bfa8f3a70c09adf3c55
[ "Apache-2.0" ]
permissive
vinzenz/ovirt-guest-agent-tray
36569d149b7082e8129fbe5c462869bfeb8bf779
581a73f3ff4431a6a17f6ff9bc3d64f2b23ff586
refs/heads/master
2016-09-06T07:41:07.988384
2014-07-30T13:55:46
2014-07-30T13:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
#!/usr/bin/env python import gtk class TrayIcon: def __init__(self, *args, **kwargs): self.icon = gtk.StatusIcon() self.icon.set_from_file('ovirt-icon-48.svg') self.icon.connect('popup-menu', self.on_popup_menu) def on_about(self, *args, **kwargs): dlg = gtk.Dialog("About the ...
[ "vfeenstr@redhat.com" ]
vfeenstr@redhat.com
9a6f1583701d24e3546563c643bd0c71b2b8b0e9
462d0746a917974ab8a166ef060fe665a40eedb6
/multivar-multiply.py
dfa490e6e5b046b4b5b27bc55485259dd53b8242
[ "MIT" ]
permissive
meghdadFar/mv-ncc-extractor
4c2f84007782cbeb9aeb4cd6cb006ed7b21522fa
5e9c4ef1ce2372cf8be7c7ec2e3d923c8c5337e0
refs/heads/master
2020-04-11T19:17:54.194796
2018-12-16T18:34:50
2018-12-16T18:34:50
162,029,450
0
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
import scipy from IO import read_sdma, read_pmi, read_score, reddy_ncs from util import element_wise if __name__ == '__main__': sdmas = read_sdma('/Users/svm/Resources/non-comp/ncs/reddy_sdma2.txt') pmis, npmis = read_pmi('/Users/svm/Resources/non-comp/ncs/_pmi_npmi.txt') additive = read_score('/Users/sv...
[ "meghdad.farahmand@gmail.com" ]
meghdad.farahmand@gmail.com
6a99400f10f09d4c70a14c23a6f38abae3506ed9
a4cf5929b8e635555f692406e8add1095a8485f5
/benchmark/indexes/containment/utils.py
a3872932acfc9c0df52d2208f871c378071bae53
[ "MIT" ]
permissive
ekzhu/datasketch
6004513baa14bc22b4b7bed102a1b515c77bd6e4
d24c9838be9020090c8525ca29e7447e2289b00a
refs/heads/master
2023-09-04T00:10:33.286427
2023-09-02T02:40:25
2023-09-02T02:40:25
32,555,448
2,208
320
MIT
2023-09-12T07:57:40
2015-03-20T01:21:46
Python
UTF-8
Python
false
false
827
py
import numpy as np def get_precision_recall(found, reference): reference = set(reference) intersect = sum(1 for i in found if i in reference) if len(found) == 0: precision = 0.0 else: precision = float(intersect) / float(len(found)) if len(reference) == 0: recall = 1.0 ...
[ "noreply@github.com" ]
ekzhu.noreply@github.com
18eca07b025774850fbd69e33abf2544c170f3ae
58d9da41bacd775007c97e639d6051cd443a1148
/user/views.py
a4ca5b4705bcd5144ff54527dae6993548a29872
[]
no_license
arhamshaikhSWE/Django-Rest-API
bd5b875bdf162b7aae46167444cd3102684a6f04
25fe833bf884a66240fb87b88d174d894545d1ae
refs/heads/main
2023-04-17T05:17:01.804788
2020-10-30T22:14:12
2020-10-30T22:14:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
from django.contrib.auth import get_user_model from rest_framework import generics, authentication, permissions from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from user.serializers import UserSerializer, AuthTokenSerializer class ListUserView(generics.ListA...
[ "med.elkhalki0@gmail.com" ]
med.elkhalki0@gmail.com
899792034c993806533598690dee73c774e0f116
5c52e6c32477a75334ff144e4d1fa23031cd62e3
/create_features.py
cc87c2b7e3f42b3c69b1089a6ffe981086fd4647
[]
no_license
mlaugharn/WideDeep-MIND-metric-learning
f66eae48111fa6e11472e3b3d663f3d6401ef0c8
7f1ac584629162f1a3874fd6900a23dee77fb9ae
refs/heads/main
2023-04-30T05:29:32.423042
2021-05-16T20:21:06
2021-05-16T20:21:06
367,757,361
0
0
null
null
null
null
UTF-8
Python
false
false
14,537
py
# creates X_wide, X_tab, X_wide_te, X_tab_te and saves them to csv files import pathlib config = { 'train_folder': pathlib.Path('./smalldataset/train/'), 'test_folder': pathlib.Path('./smalldataset/val/') } from tqdm.autonotebook import tqdm import os import pandas as pd import numpy as np from sklearn.model_s...
[ "mlaugharn@gmail.com" ]
mlaugharn@gmail.com
a910b5b585ed60bf665f352a55e4b400b57059b2
5297baeb39c46e385233668dac0c59c3733f14c5
/code/careerjet.py
bc9c6577fb8716c86223bbffaa295d2874704f68
[ "MIT" ]
permissive
sethchart/DataJobs
03f9623eb966f2473cbd00a0ebd660d3445333a5
4cb2b03c22ad319eb675106f3dde6d56032c98cd
refs/heads/main
2023-03-07T16:01:32.386898
2021-01-28T22:03:36
2021-01-28T22:03:36
322,624,973
1
0
null
null
null
null
UTF-8
Python
false
false
2,534
py
""" This module provides the Scraper class, which encapsulates interaction with careerjet.com through the selenium webdriver. It provides the key methods required for executing a scrape of job postings. """ __author__ = "Seth Chart" __version__ = "0.1.0" __license__ = "MIT" from selenium import webdriver from seleniu...
[ "seth.chart@protonmail.com" ]
seth.chart@protonmail.com
3b5944c68a5832d155a5560b5d9b36cd9f4092f3
a38d4dc96dbb6bebfe35c6379640d736144d6046
/app/helpers/__init__.py
5941b090c16bc2e25d61d1a55b05dd5fe2b84271
[]
no_license
RoadRunner11/Adaya
efdc5199692f47e9143765109a71ac872b9b0cb6
a0a3af719988321adac7d9c60f59d1a37a19a014
refs/heads/master
2023-03-28T19:40:01.359741
2021-04-01T20:53:59
2021-04-01T20:53:59
353,808,140
0
0
null
null
null
null
UTF-8
Python
false
false
140
py
from app.helpers import utility from app.helpers.singleton import SingletonMetaClass from app.helpers.enum import Messages, Roles,Responses
[ "hao@sporule.com" ]
hao@sporule.com