blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
74954a4c64c61e9deec8064b7a13a216efe99b56
bdfa1bd3541da92717894c44fd0b03897a762e24
/questionnaire/views.py
e21344588067fe9ddf0d68a00e075e38c30a5ac3
[]
no_license
nidhinkandoth/Questionnaire
c1d7f12ce46feb547b00f24222bdb626cbe21171
2fad265403cac402f2a75237eb0e22ea64c5c48c
refs/heads/master
2021-01-11T22:12:04.267260
2017-01-15T02:42:14
2017-01-15T02:42:14
78,936,052
0
1
null
2018-10-31T16:02:15
2017-01-14T11:22:19
Python
UTF-8
Python
false
false
918
py
from django.shortcuts import render from questionnaire.models import Questionnaire # Import the model classes from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponse import requests def questionnaire(request): questions = Questionnaire.objects.all() context = {'questions':questions...
[ "nidhinkandoth2016@gmail.com" ]
nidhinkandoth2016@gmail.com
748aa1056cea636a435f299c958b481e84cf4ecc
488e9cc7a8928e687ab0fdb68e1631c08db1201f
/GeradorPseudoAleatorio/TratamentoExcecao/Estepe.py
012ded65eb74b768c8d3bf6371604fb0f621ff79
[]
no_license
VitorAndreo/Programas_Python
43f6fe2edfc352fda4130a322a047768c6460461
5e01895a238af5e49024d64f225417fb573780f3
refs/heads/master
2023-09-06T07:18:22.183920
2021-11-04T18:12:32
2021-11-04T18:12:32
421,616,902
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
import time def semente(numero, imprimirAte): print("Semente inserida: ", numero) print("Número de pseudos: ", imprimirAte) aleatorio(numero, imprimirAte) def aleatorio(numero, imprimirAte): repetido = set() cont = 0 i = 0 lista=[] while numero not in repetido: cont += 1 ...
[ "vitorsaraivaandreo@gmail.com" ]
vitorsaraivaandreo@gmail.com
d7db9754a8b6bbf84b7a4de1c90f1a7ec627a1f8
3a9f76cda884152ab083ca713b57570d5d195a79
/locations/choices.py
7d3c412a3970317af58e06134cf6b1d703bc0ef9
[ "MIT" ]
permissive
MahmoudFarid/django-locations
9b9790dfef5de0214169e04640e9a4f0ab6c0961
af25d0e4492fd3476b6be1c7f1ef8471be13751c
refs/heads/master
2020-07-17T11:47:38.806163
2015-11-14T23:41:25
2015-11-14T23:41:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,069
py
from localflavor.us import us_states STATE_CHOICES = us_states.US_STATES # ISO 3166-1 country names and codes adapted from http://opencountrycodes.appspot.com/python/ COUNTRY_CHOICES = ( ('GB', 'United Kingdom'), ('AF', 'Afghanistan'), ('AX', 'Aland Islands'), ('AL', 'Albania'), ('DZ', 'Algeri...
[ "dstegelman@gmail.com" ]
dstegelman@gmail.com
c1251e1ae5e559c7dc2824d4924ee3a4ba712f7d
b2ea6b20be05762a66996d3dd02c7d0010dfb7d3
/model_driven_method/main.py
81bafb6441de2e3a2429b6ec5663b8a3bc146a50
[ "MIT" ]
permissive
Yidan-Zhang/IRSTD
1ecd14e996f5ba0a7fb1e354c26a07e6b3a8a610
5311d5ebabf2b079352de82d3d8c7201ecf314ce
refs/heads/main
2023-06-01T00:43:51.923928
2021-07-10T14:56:25
2021-07-10T14:56:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,511
py
""" Model-driven approach for IR Small Target Detection Concept based on: C. Gao, D. Meng, Y. Yang, Y. Wang, X. Zhou and A. G. Hauptmann, "Infrared Patch-Image Model for Small Target Detection in a Single Image," in IEEE Transactions on Image Processing, vol. 22, no. 12, pp. 4996-5009, Dec. 2013, doi: 10.1109/TIP.2...
[ "0vjhansen@gmail.com" ]
0vjhansen@gmail.com
2ab00653756f1a974149ea20746f1d28e975f1aa
bfdab27f224d9cac02e319fe55b53172fbf8d1a2
/motion_editor_core/data/atlas_old/positions/leg/vi4_leg8r.py
5e747dc2e1385126fc1654323f987d7f36d3526c
[]
no_license
tu-darmstadt-ros-pkg/motion_editor
c18294b4f035f737ff33d1dcbdfa87d4bb4e6f71
178a7564b18420748e1ca4413849a44965823655
refs/heads/master
2020-04-06T12:37:30.763325
2016-09-15T14:11:48
2016-09-15T14:11:48
35,028,245
2
3
null
2015-05-05T13:20:27
2015-05-04T10:18:22
Python
UTF-8
Python
false
false
64
py
{ 'vi4_leg8r': [0.3032, 0.3181, -1.745, 2.447, -0.848, 0.0711]}
[ "martin.sven.oehler@gmail.com" ]
martin.sven.oehler@gmail.com
01a504a88f12eefb9a0ca666b1def57bcbc38ce9
3dd41b987900042546754c8285f5fa5ef08e0a10
/settings.py
944ad613c03fb879383893d9f65ea3f38c6f6b5f
[]
no_license
ushakov/thehat
41e27b77f7fe271bc2699d84967e6a976d1cbfdc
61975204e0da5a3b4d308972e875188dca6e1cdb
refs/heads/master
2022-06-04T01:36:59.118520
2020-04-11T23:23:49
2020-04-11T23:23:49
254,965,635
0
0
null
2020-04-11T22:22:58
2020-04-11T22:22:58
null
UTF-8
Python
false
false
516
py
from os.path import isfile from envparse import env import logging log = logging.getLogger('app') log.setLevel(logging.DEBUG) f = logging.Formatter('[L:%(lineno)d]# %(levelname)-8s [%(asctime)s] %(message)s', datefmt='%d-%m-%Y %H:%M:%S') ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) ch.setFormatter(f) log....
[ "vova@odin.com" ]
vova@odin.com
a0f25e60f3f52968dd73cbeef708a57ec75154f7
5725d37fb2fd349bda412ec86d3be59a28c6c776
/centralized/python/DNSWrapper.py
b74c47a07ff7ce7b69564bcabf9d304cad0b34ef
[]
no_license
AmoVanB/master-thesis
eb0a2b94930b92e1456b7bde1a16efbdc32e1a7a
45eb8bacf562d67faaccea43e672bc85a78e809a
refs/heads/master
2016-09-09T20:11:55.312408
2015-06-18T12:56:24
2015-06-18T12:56:24
30,586,722
1
0
null
null
null
null
UTF-8
Python
false
false
5,779
py
#!/usr/bin/python2 # -*- coding: utf-8 -*- """ /centralized/python/DNSWrapper.py Part of master thesis "Using Service Discovery to Apply Policies in Networks" at University of Liège 2014-2015. by Amaury Van Bemten. Entreprise: Cisco Contact entreprise: Eric Vyncke Advisor: Guy Leduc """ import dns.resolver import d...
[ "amaury@vanbemten.com" ]
amaury@vanbemten.com
13831a901c508c5850ab17affbc5573fc23a54dc
0605658821da789bab2d4954450d9d217bacbc90
/launcher/tasks.py
f07dd47125090bc8504781cf2394aab21eaa4b77
[ "MIT" ]
permissive
davidvoler/ate_meteor
68039e2273bda00f84de6bbed587279cc2f5b2a0
d7ac20638a30e941e0ca8740499743bc26dd57be
refs/heads/master
2021-01-18T13:51:57.107799
2015-10-06T17:12:47
2015-10-06T17:12:47
39,888,710
0
0
null
null
null
null
UTF-8
Python
false
false
5,566
py
from celery import Celery import time from random import randrange from redlock import RedLock import uuid from api.python.locks import ExecutionStatusLock, SharedWaitResource from tornado.options import options import pymongo app = Celery('proj', broker='amqp://localhost//', backend='redis://localhost') import config...
[ "davidl@crow.co.il" ]
davidl@crow.co.il
db445a50bd65ce2877f008f0e4a60a1491861e04
d68a59fa21a267a837bc5aa18c3d60bac480a7fa
/tests/test_nodes.py
702441d9e6778e4fc47e7a4a3ca950cfa199cd5d
[ "MIT" ]
permissive
matejbasic/pycln
3f3f45d5083e4dc7e26fcc6162051998fb2e4b1c
35996f42fb4acf59634aa53958715f059b8b98ab
refs/heads/master
2023-06-16T05:13:57.988608
2021-06-29T21:01:44
2021-06-29T21:01:44
381,378,244
0
0
MIT
2021-06-29T21:01:44
2021-06-29T13:40:17
Python
UTF-8
Python
false
false
3,608
py
"""pycln/utils/_nodes.py tests.""" # pylint: disable=R0201,W0613 import pytest from pycln.utils import _nodes class TestNodePosition: """`NodePosition` dataclass test case.""" @pytest.mark.parametrize("line, col", [(1, 0), (1, None)]) def test_init(self, line, col): position = _nodes.NodePositi...
[ "alqattanhadizaki@gmail.com" ]
alqattanhadizaki@gmail.com
2ee909561d1842ec4b159cb6c8b37fb7222b1280
93b8b6e038f7237c8ce28ac26533b07d1abb4589
/day9.py
1d226baf017e43249bcba239cd0958bb6b2bdd6a
[]
no_license
Chong1455/Advent-of-Code-2020
7000f578b2ae53058495b156e453b1f448582480
992aad21fc9432904ba5fb7fcc96e886d6768c4b
refs/heads/master
2023-02-02T17:27:56.547695
2020-12-25T09:11:49
2020-12-25T09:11:49
321,230,545
0
0
null
null
null
null
UTF-8
Python
false
false
788
py
f = open('day9.txt') data = list(map(int, f.read().split('\n'))) start = 0 end = 25 # Part One def check_valid(num, arr): for i in arr: if (num-i) in arr: return True return False invalid = -1 while start < len(data)-end: next = data[end] if check_valid(next, data[start:end]) == Fa...
[ "ckh_5316@yahoo.com" ]
ckh_5316@yahoo.com
ccefb9800777cb3c74d7e87d7736daf68f3b4d36
0a3da7d8ee3453beec7798a62003014187b714b1
/data/ai/99_others/nlp/text-classifier/text-classifier-rule-resume/cv-filter.py
2b008e6920d75a57b8bf8f0c003819bffd2f9aba
[]
no_license
atfly/atlib
635d1b0804af01c090a92048ed09758cb03820bf
2c15fa47b2b915c1d998e89bbd69ff24dba52137
refs/heads/master
2021-05-16T12:51:50.157911
2017-11-16T06:50:33
2017-11-16T06:50:33
105,330,432
1
0
null
null
null
null
UTF-8
Python
false
false
4,299
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ import sys reload(sys) sys.setdefaultencoding("utf-8") cv_basic_patterns = {"name": ["姓名"], "phone": ["手机", "电话"], "email": ["邮箱", "e-mail"],"age": ["年龄"], "address": ["通讯地址"],"location": ["居住地"], "hukou": ["户口"], "gender": ["性别", "男", "女"]} cv_edu_patterns = {"university"...
[ "atflysun@outlook.com" ]
atflysun@outlook.com
bd91849c6e0178cc50c1ed0556c48b3bb025f12b
7433a330a30d1ac80c5810a32773f911a160e4de
/dp_connect_to_bookmark.py
0fa317cd17a3ab29fac2543b6937a7fdada27031
[]
no_license
nofxboy1234/dp_connect_to_bookmark
51a470e5c66f1a3fda6479538920c1bfb75139d5
c204efb8590276d61aadedbed8454eefcd160305
refs/heads/master
2021-01-02T08:40:26.823015
2014-09-07T21:51:23
2014-09-07T21:51:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,598
py
import nuke import os def connect_to_bookmark(): if len(nuke.selectedNodes()) == 0: nuke.message('Please select a source node to connect from.') return src_node = nuke.selectedNode() bookmarkNodes = {} for n in nuke.allNodes(): if n.knob('bookmark'): if n.knob('boo...
[ "nofxboy1234@yahoo.ca" ]
nofxboy1234@yahoo.ca
ec60600c93fbe6641d650db62704e02359e5a514
73ab8d0ac0b6d159022e2ec67453713789d92d3d
/key/disco.py
ba633294bbd744b96ae57da4f84e40b1e9eeb9cb
[]
no_license
ZEUP330/ubuntu14-indigo
36af56c7c05a0249c5eef4ca72cbd12e0ecfe12b
5e9ac712762db781441382038e9b30867166cf47
refs/heads/master
2020-04-29T04:25:05.001093
2019-03-25T10:47:53
2019-03-25T10:47:53
175,846,377
1
1
null
null
null
null
UTF-8
Python
false
false
3,312
py
#!/usr/bin/env python # simple_disco.py: Move the fetch arm through a simple disco motion import rospy from moveit_msgs.msg import MoveItErrorCodes from moveit_python import MoveGroupInterface, PlanningSceneInterface # Note: fetch_moveit_config move_group.launch must be running # Safety!: Do NOT run this script near ...
[ "noreply@github.com" ]
noreply@github.com
09c4d503aed61e80d4d4a09cddc15e187782154b
3cd1246ff58f26329021f2d13caa62221c91d5a4
/testdata/python/binary/and_.py
2e3721fee8e99a5e1844d9ed4aba6a89bdea90f4
[]
no_license
mwkmwkmwk/unpyc
0929e15fb37599496930299d7ced0bf1bedd7e99
000fdaec159050c94b7ecf6ab57be3950676f778
refs/heads/master
2020-12-01T14:01:57.592806
2016-03-21T14:11:43
2016-03-21T14:12:01
230,650,936
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
x = b & 2
[ "koriakin@0x04.net" ]
koriakin@0x04.net
627705e4e64d998e1202e8aad35cf88d26421433
d8dc885993a3509bccdb8bb081a4b8479ee7d8ae
/commentapp/migrations/0001_initial.py
5186055deb0e594f1a9bd70b95f1b2039dd96335
[]
no_license
Lks9172/Pinterest
a7d67026f9f9f3bd689ff90a5f7da487d05bf1f4
bbebb101bbfd059d0096395c5ecb94fb0cd03497
refs/heads/master
2023-02-20T23:49:54.436705
2021-01-27T13:11:02
2021-01-27T13:11:02
327,586,645
0
0
null
null
null
null
UTF-8
Python
false
false
1,028
py
# Generated by Django 3.1.5 on 2021-01-11 10:43 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('arti...
[ "ekdan9172@naver.com" ]
ekdan9172@naver.com
0d676f5a372f4ac8e0e8422ca923b37fc9a482c8
40fe9004b894e42ba0fc0d5dcc38c074026ca7a9
/Cadenas4.py
c78a4edd015498c882eefec01eda3ddc1f759790
[]
no_license
AlfredoGuadalupe/Lab-EDA-1-Practica-9
2bee96c24ec7400274cb63387246a2bccae0c95a
ed93f911e4ea55102060945b55d93fe896974d01
refs/heads/master
2021-05-19T11:31:38.056056
2020-04-04T22:38:33
2020-04-04T22:38:33
251,675,872
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#Cuando se agrega un numero dentro de {#}, el valor la variable que se encuentra #en esa posicion dentro de la funcion format{}, sera impreso cadena1 = 'Hola ' cadena2 = 'Mundo' num_cadena = "Cambiando el orden: {1} {2} {0} #".format(cadena1, cadena2, 3) print(num_cadena)
[ "noreply@github.com" ]
noreply@github.com
31de212efcb5d50fcb3367d377e85b6075ec485d
a8b41eae219c0d803932fe196e132c56b8ea9b34
/test/test_main.py
6230c57eb64a543398b7ebc196e80d9695bec69e
[]
no_license
hadenwIV/HyperlinkVerifier
73075d9ef9f7df881d2d41531611496a1892a648
711e5d8f7160cabe80df1ac4ca307275ef3e46eb
refs/heads/main
2023-04-30T23:13:49.850960
2021-05-10T23:35:42
2021-05-10T23:35:42
363,235,061
0
0
null
2021-05-10T23:35:43
2021-04-30T19:07:31
Shell
UTF-8
Python
false
false
236
py
""" Test Cases """ from import def test_check(): """Test case to test the check() function""" assert check() is True print('URL works.') def test_troverdurls(): """Test case to test the troerdurls() function"""
[ "caldwella2@allegheny.edu" ]
caldwella2@allegheny.edu
813d716ab03589249fe810d8d84a5d07a1b55d1e
b7a8cedcd7df9a70eda8432866bdbe8a33833dab
/Day 21 Pong/paddle.py
2f516c4df342c4d0729bf59403abaa4d6838a597
[]
no_license
shidoken/100DaysofPython
55bcd703382fa2ca875e428aee902652efaf4d27
3808560893dc7097d82fd59c545d647278415c8f
refs/heads/main
2023-04-03T18:10:08.202986
2021-04-16T07:12:16
2021-04-16T07:12:16
329,128,523
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
from turtle import Turtle, Screen class Paddle(Turtle): def __init__(self, positions, controls): super().__init__() self.shape("square") self.color("white") self.penup() self.shapesize(stretch_wid=5, stretch_len=1) self.goto(positions) screen = Screen() ...
[ "noreply@github.com" ]
noreply@github.com
3a51657dd911d9e5465df27c3f7846b704f35d29
f326dd2571edcd7cd069652945852096bb880978
/cases/test83.py
86291079612a1db00faba5290d3e485a422c0622
[]
no_license
ritayanwy/TestRepo
876ee968bca8d14cee6606862ac3fd51a2b8a1e5
e11eff3617033d54999a450342b6d504dee76ac9
refs/heads/master
2016-09-05T12:07:18.610997
2015-06-17T07:19:18
2015-06-17T07:19:18
37,319,070
0
0
null
2015-06-17T07:19:41
2015-06-12T11:45:55
Python
UTF-8
Python
false
false
4,391
py
import json import time mailbox_path = None account_id = None hash1 = '' counter = 0 clv = '' ResourceId = None def folderlist_handler(response): print response.text res = json.loads(response.text) global mailbox_path global account_id if res['error_code'] != 0: return False if len(res...
[ "ritayan.das@webyog.com" ]
ritayan.das@webyog.com
365d720aaddea255805825ad6ddbff6db0576e2e
0e3836b9ff47e59e9b6220b4cbdc092bd7dc420c
/code/utilities/motifdb_loader.py
01f8f053cb1b3cf8fce36303bcb31e6302d6d968
[ "MIT" ]
permissive
mwang87/motifdb
7ba30af13d3037de9b180929012dada1f449eb0e
ea5e47688bcf5cadfe49e6cc7db368a55c260498
refs/heads/master
2020-03-21T06:36:35.322394
2018-06-08T07:34:52
2018-06-08T07:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,212
py
# -*- coding: utf-8 -*- import glob import os import numpy as np METADATA_FIELDS = ['COMMENT','NAME','ANNOTATION','SHORT_ANNOTATION'] def load_db(db_list,db_path): # loads the dbs listed in the list # items in the list should be folder names in the dirctory indicated by db_path filenames = [] for dir...
[ "simon.d.rogers@gmail.com" ]
simon.d.rogers@gmail.com
68dcec422deb5cb1317d477dfe735d954d025253
a3f8ff3b3bb48f62f470db6adfaea5af141e13a5
/Desktop/attention/model.py
65ff1d5504720da82db74c578013c39e889614d6
[]
no_license
YerinMin/Lynn
987ad42aef48ecc1485fc9f55e5f081252754368
e5b42c5bf91cdb1954a1ce08005cfa18bb138d59
refs/heads/master
2020-04-22T00:09:08.962502
2019-02-15T15:05:13
2019-02-15T15:05:13
169,969,190
1
0
null
null
null
null
UTF-8
Python
false
false
2,469
py
import torch import torch.nn as nn from torch.autograd import Variable from torch import optim import torch.nn.functional as F import numpy as np from preprocess import * use_cuda = torch.cuda.is_available() class EncoderRNN(nn.Module): def __init__(self, input_size, hidden_size): super(EncoderRNN, self)...
[ "m960112@gmail.com" ]
m960112@gmail.com
20f767755bfdf8ace049d04e6710526963e82714
6b2bd375d72fae1471213058968ceeaefed973fe
/add2group.py
6439a0751b582fe6a8738a99656ffb8e92279c1a
[]
no_license
freeleague/TelegramScrapers
72e2057b4286609e81e403d797eff7b9aa4b24cf
8cc6431300c0e5b78ec7c4e226f1643f1adb27d5
refs/heads/main
2023-05-02T11:36:14.160226
2021-05-27T02:40:56
2021-05-27T02:40:56
371,224,283
0
0
null
null
null
null
UTF-8
Python
false
false
3,903
py
#!/bin/env python3 # Modified by @AbirHasan2005 # Telegram Group: http://t.me/linux_repo # Please give me credits if you use any codes from here. from telethon.sync import TelegramClient from telethon.tl.functions.messages import GetDialogsRequest from telethon.tl.types import InputPeerEmpty, InputPeerChannel, InputPe...
[ "noreply@github.com" ]
noreply@github.com
9fcbf6174066e4d047c0bf42aa04c836e249211f
519f0b5308941e693d4768101225b75dbd34a14b
/bioinformatics/simple-phylogenetic-tree/recursive-tree.py
63add914cf61b5e2699884571d696a54d562b3f9
[ "MIT" ]
permissive
gorgitko/bioinformatics-chemoinformatics
a3a5502f6b4c8e311098ada2fe1794b2d49af86d
b780783abe8ee7ccda88f92eacf1232c2456d046
refs/heads/master
2021-01-17T14:45:41.452341
2016-10-19T18:26:16
2016-10-19T18:26:16
55,147,152
4
1
null
null
null
null
UTF-8
Python
false
false
1,807
py
import turtle as t def recursionPrint(text, level): print(level * "\t\t" + text) def treeSimpleVerbose(length, angle, minlength=10, level=0): recursionPrint("level: {} | length: {} | angle: {}".format(level, length, angle), level) if length < minlength: recursionPrint("length < {}, returning\n".f...
[ "fg-42@seznam.cz" ]
fg-42@seznam.cz
4cbd58be9c0a75640734503160b3eb437bf7da9c
a1de302f76b3b5bf3e4c29e4c31984a8bf081820
/autobahn/autobahn/websocket.py
cef09eb844e6ac6f837ba77d200f08e2ebb9e956
[ "Apache-2.0" ]
permissive
jhargis/AutobahnPython
ce4d085e40b1e71823aef6387dd568f01c6288c1
30aed5538059ef5df9e0793938eaabee47d3c569
refs/heads/master
2021-04-15T05:47:01.777634
2012-07-17T19:13:43
2012-07-17T19:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
144,851
py
############################################################################### ## ## Copyright 2011,2012 Tavendo GmbH ## ## 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 ## ## ...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
d0d76f63c0475f78d1062683c3de2370e4c53de6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_152/ch4_2020_09_11_17_51_58_429714.py
e3254130811b41145b6e3da216c09d9b3ffa527c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
def classifica_idade(idade): if idade >= 18: return 'adulto' elif idade >=12 and <= 17: return 'adolescente' else: return 'crianca'
[ "you@example.com" ]
you@example.com
38f75064d38400c09fb4cf93e9b1b5e98b04e4d6
3d209b9c6f247f1646c89081d3f02403dfa3369c
/sungem/serializers.py
cd063a924c6a86b66571f1f9871bca6f4e07e6c6
[]
no_license
horned-sungem/HornedSungemBackend
e3af224b04f60ad5ab5a7f9396096df64f2d0a7b
0436d8e5e009f184ace691269167021c2b22f2ea
refs/heads/master
2023-08-18T00:18:10.666450
2021-10-03T20:00:42
2021-10-03T20:00:42
299,439,037
1
0
null
null
null
null
UTF-8
Python
false
false
289
py
from rest_framework import serializers from sungem.models import Vote class VoteSerializer(serializers.ModelSerializer): # TODO: evaluate if this class is needed. Vote serializers are not used anymore class Meta: model = Vote fields = ['user', 'module', 'score']
[ "lenmisch@gmail.com" ]
lenmisch@gmail.com
113c1796117340d57f20d3b9f8f7d9db9fa12748
b0d0c11338f874fb35d4d6b2a009ef5b09f8c626
/aravindpn007@gmail.com/Complete.py
c3b9b6a5165a1e104263d2e516900754ad7c2a02
[]
no_license
ieee-mace/15-days-of-code
65df6360db0a0e77fc84ccdfda431b927518e9cc
8470468c09eaef9c54628d48c42e83bb25b15cff
refs/heads/master
2023-08-25T03:22:04.398408
2021-11-02T14:13:31
2021-11-02T14:13:31
262,568,227
3
29
null
2021-11-02T14:09:25
2020-05-09T12:41:16
HTML
UTF-8
Python
false
false
2,870
py
# About the Project: Web Scraping Using Python - Track prices of products in Amazon.in # Objective is to build a Python Script that helps us to track the price of a product that we wish to buy, # so that we need not check the website all the time to see whether the price has dropped and instead Python will # take care...
[ "59879083+AravindPN@users.noreply.github.com" ]
59879083+AravindPN@users.noreply.github.com
f9189acf64b187975a6f8a483aca6a9ed2995c98
8c3206754fc3d3334770b0a2e9c7531fdd9567d9
/src/pouring_world.py
685ca9ce86ee9c7049eb4e22b42c5743d8160ba9
[]
no_license
airballking/pybullet_sandbox
40788eeeebc62b21c764d788ae3647a0c8e461c6
561fd399f729807d99dde592a469884f615fa240
refs/heads/master
2021-05-13T12:51:54.439427
2018-03-03T20:40:57
2018-03-03T20:40:57
116,687,764
1
1
null
null
null
null
UTF-8
Python
false
false
3,777
py
import pybullet as p import pybullet_data import numpy as np import rospy import rospkg class PouringWorld(object): def __init__(self): self.physicsClient = p.connect(p.GUI)#or p.DIRECT for non-graphical version self.period = 0.01 self.gravity_vector = np.array([0,0,-9.81]) p.setAdd...
[ "georg.bartels@cs.uni-bremen.de" ]
georg.bartels@cs.uni-bremen.de
b7a5ecad3b664cf39b6d31b61bd7515f2586ad75
57cb844b9d42f1e464099b9c61c174ef693b384e
/Lab08.py
341777d477696ad7a8218a73c0898caacf3d7987
[]
no_license
Stardust255/ESP32_MicroPython_FFT
b312f3f1dbcc196cdb4e06e2a5657f16e368b4f3
211165331f8a69a47c162e2ad3db4828fd83c750
refs/heads/master
2023-08-05T03:42:13.232671
2020-10-15T03:13:43
2020-10-15T03:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
from flag_fft import FFT from flag_pwm import PWM from machine import Pin import time # 電話按鍵聲 0~ 9 低頻 low_hz = [941, 697, 697, 697, 770, 770, 770, 852, 852, 852] # 電話按鍵聲 0~ 9 高頻 high_hz = [1336, 1209, 1336, 1477, 1209, 1336, 1477, 1209, 1336, 1477] # 電話按鍵聲 0~ 9 低頻閾值 low_loss = [740, 740, 740, 800, 800, 800, 900, 900, ...
[ "al2m027109@gmail.com" ]
al2m027109@gmail.com
f859471060ec07ed037ebafc2e7ec0a2f4882215
07bf322899a82230c3ce466094c4b11329283f5d
/desarrollo_web/config/db.py
3e08680875356ef8944290de29a044177150168b
[]
no_license
Georgeh30/Curso-Django
822842d12fe7cf9fc1b663725cdb6a4188dada6e
7cbea3436617214b302a173571363e336ab8fe36
refs/heads/main
2023-05-03T19:11:42.580732
2021-05-15T16:11:24
2021-05-15T16:11:24
367,672,048
0
0
null
null
null
null
UTF-8
Python
false
false
1,677
py
from pathlib import Path BASE_DIR = Path(__file__).resolve().parent.parent # PARA CONECTARSE POR DEFAULT SQLITE = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': BASE_DIR / 'db.sqlite3', } } # PARA CONECTARSE A POSTGRESQL SE DEBE INSTALAR psycong2 POSTGRESQL = { 'default'...
[ "johncrotf2@gmail.com" ]
johncrotf2@gmail.com
6024da4d1748ba8f8c1730fab64ef8c9d6a30fa6
55e7f3adb536c7addc7fe69c6d11ce795f58f9d0
/composite_plate.py
588e84b8549d1c0074036593af3e3bcb9e6906ce
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jr226atbuffaloedu/Composite-Plate
d24118fc99aaa746f793b4a8c9e6102aac3b5086
d3b60f5b827c442403ae898acc8bcddaf3e69653
refs/heads/master
2021-01-10T09:26:31.096628
2016-01-10T05:52:03
2016-01-10T05:52:03
49,343,728
1
0
null
null
null
null
UTF-8
Python
false
false
22,148
py
######################################################################## # John Robinson # # 2015-10-14 # # # # Objects needed for c...
[ "john.rbnsn@gmail.com" ]
john.rbnsn@gmail.com
f6191bdd6a05f815963ba04af327353cb75d527b
e65a30fa396085f2d9796d551fcf9a5f5245bea5
/kademlia_modules/network.py
b95b2e5e27e6b06c5829dc82f6b4ec9ac0b14c3d
[ "MIT" ]
permissive
sivanagarajumolabanti/Chromata
cafdcef7d1617e2916c8aae7309cf6db2196f84e
5c3346f0f7fb0f5aefe3dc4497060a0677d4799a
refs/heads/master
2022-10-06T09:59:23.270692
2019-08-26T22:57:57
2019-08-26T22:57:57
204,575,578
0
0
MIT
2022-09-23T22:27:36
2019-08-26T22:56:13
Python
UTF-8
Python
false
false
9,377
py
""" Package for interacting on the network at a high level. """ import random import pickle import asyncio import logging from kademlia_modules.protocol import KademliaProtocol from kademlia_modules.utils import digest from kademlia_modules.storage import ForgetfulStorage from kademlia_modules.node import Node from ka...
[ "42317024+sivanagarajumolabanti@users.noreply.github.com" ]
42317024+sivanagarajumolabanti@users.noreply.github.com
47408d0fe773f7f754b5f01f64faa8b1b272145b
bbf2c707dfafc784c992a670412a3cbaa2fc5ef1
/jobs/migrations/0006_auto_20200825_2128.py
fce451232053b2043dd4e811d34f27085f915398
[]
no_license
rajaabhaysingh/workgent_bend
198c48f8241c629d96e39e4386a046d180c925a7
3b7e2b815d2be1aa42088aa115bbb1f2797bf887
refs/heads/master
2023-01-09T17:01:17.854761
2020-11-09T04:26:40
2020-11-09T04:26:40
292,546,213
0
0
null
null
null
null
UTF-8
Python
false
false
2,884
py
# Generated by Django 3.0.5 on 2020-08-25 15:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0005_job_job_address'), ] operations = [ migrations.RemoveField( model_name='job', name='job_address', ...
[ "rajaabhaysingh233@gmail.com" ]
rajaabhaysingh233@gmail.com
b17674ce197221481c2d56fe499659beed4445e5
f47e04ae2be6b7b80962f9dd993d21d68d888080
/passwordGenerator/passwordGenerator/urls.py
4a3699d4c71c02d7d86dca1518e49b0894b9dd8d
[ "MIT" ]
permissive
zahrakoohestani/passwordGenerator
e3c4a18bacd785149874d9515d67a9e446ca57fa
c8a912ce159f04b488dabbbddcd8446672075be2
refs/heads/master
2022-11-07T23:32:51.029080
2020-06-19T17:52:18
2020-06-19T17:52:18
272,779,013
1
0
null
null
null
null
UTF-8
Python
false
false
880
py
"""passwordGenerator URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') C...
[ "zahrakoohestani11@gmail.com" ]
zahrakoohestani11@gmail.com
2eb0e04cbf98eb39a6c920a04901fe777673aa45
31c77e4002bea7b8a3b09eef1c96b0925b8f3490
/src/spaceone/inventory/connector/aws_ecr_connector/__init__.py
52d970d20f7f7f9ead201c388d6dfede55d095f4
[ "Apache-2.0" ]
permissive
Jeoungseungho/plugin-aws-cloud-services
109e33440ac9ec0932bd71339849e13f15b4b0fa
2a4df525599dcc77bd67c8b677b7cc93dc177439
refs/heads/master
2023-03-10T07:11:27.789611
2021-02-24T02:39:33
2021-02-24T02:39:33
330,849,261
0
0
Apache-2.0
2021-02-04T08:15:02
2021-01-19T03:08:10
Python
UTF-8
Python
false
false
82
py
from spaceone.inventory.connector.aws_ecr_connector.connector import ECRConnector
[ "bluese@megazone.com" ]
bluese@megazone.com
942f4e4b8e6adee7c98e968e77463fd85e324bc6
d741350282c2d634c3ee5280767916d76ca93823
/snakes.py
1ac88953305ad15f5a4cfc347f56b2937216573f
[]
no_license
aartisathvara/SnakesGame
0c7954d93c610d39d2fc705a2bff6cbfecbb5abd
251e2217e2d626514dab67d0e0390e34478932bf
refs/heads/master
2022-11-09T19:21:23.275888
2020-07-02T09:50:57
2020-07-02T09:50:57
276,609,167
0
0
null
null
null
null
UTF-8
Python
false
false
5,168
py
#version=1.9.6 import pygame import random import os # The beginning steps on importing and initializing pygame. # The pygame package is made of several modules. # Some modules are not included on all platforms. pygame.init() pygame.mixer.init() #color white=(255,255,255) red=(255,0,0) black=(0,0,0) #create window...
[ "aartisathvara6722@gmail.com" ]
aartisathvara6722@gmail.com
7c25c1a1e75e8714fd3bcf8c51bdee0a102ede74
9b92ebb59226b8dd8b8b73fec8888f5a56459247
/w2/guess.py
fe5501b996c2589bc410b4fd0480fa5a0a6c1632
[]
no_license
rivergillis/mit-6.00.1x
98b58a0f02cc783ef2a4236fe8ce9eb5c4ded354
63088012ae4b83f69110eb4446b200eb728dfe06
refs/heads/master
2020-12-06T03:25:35.838565
2016-11-03T03:36:39
2016-11-03T03:36:39
67,894,768
1
0
null
null
null
null
UTF-8
Python
false
false
705
py
# guess the user's number low = 0 high = 100 guess = (low+high)//2 answer = "" print("Please think of a number between 0 and 100!") while (answer != 'c'): print("Please think of a number between 0 and 100!") print("Is your secret number " + str(guess) + "?") answer = input("Enter 'h' to indicate the guess...
[ "jrivergillis@gmail.com" ]
jrivergillis@gmail.com
074fea474ada199da2341663a3361ad9c806139c
1ff9adfdb9d559e6f81ed9470467bab25e93b5ab
/src/ta_lib/_vendor/tigerml/core/utils/stats.py
dc81eb055a7defec79beb1790a276d8acedfe3f6
[]
no_license
Seemant-tiger/housing-price-prediction
a39dbefcb11bc460edeeee92e6becf77d35ff3a8
be5d8cca769c7e267cfee1932eb82b70c2855bc1
refs/heads/main
2023-06-24T00:25:49.776720
2021-07-18T16:44:28
2021-07-18T16:44:28
387,222,852
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
import itertools import numpy as np import pandas as pd def woe_info_value(target_series, idv_series, target_counts=None): """Compute Information Value (IV) from WOE (weight of evidence). Parameters ---------- target_series: pd.Series of target variable idv_series: pd.Series of categoric...
[ "seemantsingh1199@gmail.com" ]
seemantsingh1199@gmail.com
35088a0b555a400c222bac000a83ceed5a66d07e
6cd1b6414922bb9db8db4c2837cc1e5fc6c8cb15
/app/cap_views.py
4c3614f3835ad5b315e7369db9f54aba7185838f
[ "Apache-2.0" ]
permissive
zulily/dubweb
3e9c1bdbaf8a3a7f0c6d98b913b6b8f002962e42
f6476fd59e26f6b630206d63a461fb25465bd045
refs/heads/master
2021-01-18T02:14:48.859347
2017-08-23T15:06:15
2017-08-23T15:06:15
37,740,420
5
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
""" flask container for capacity views/html in dubweb """ from flask import render_template from app import app import app.utils as utils import app.capdb as capdb @app.route('/hostmap.html') def datacenter_hostmap(): """ Hostmap web page, which uses jquery to load datacenter hostmap API """ ret...
[ "bstone@zulily.com" ]
bstone@zulily.com
f5d5070dfd95a9c48e025862f3e84e7be37600bf
a30ac0f418a3be66685f80c8b5dbf4cdc4e898b1
/cbir/descriptors/alexnet.py
b83c24f6c619163703519cb90c368060f38315d1
[]
no_license
IdealDestructor/CBIR
9ae22b03d30993bd1eecc2ce16c3da712c7b0ab9
200c6b5aa64684c5696e36ae2a210f60fcfc977e
refs/heads/main
2023-08-15T10:48:47.993129
2021-09-14T09:29:54
2021-09-14T09:29:54
362,438,182
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
import torch import torchvision from .descriptor_base import DescriptorBase from .. import utils class AlexNet(DescriptorBase): def __init__(self): super(AlexNet, self).__init__("data") device = "cuda" if utils.is_cuda_capable() else "cpu" self._device = torch.device(device) self....
[ "wdqjj@qq.com" ]
wdqjj@qq.com
cede91defda61f28f1dff9cdf697cbfe37b1165c
8658576021dd4278ae82a203fa752bf64eac4175
/ex011_plus_minus.py
412a6c890a1a9354f07f6d31456c5474fc88aabd
[]
no_license
ruizcauich/python-exercises
d609b97eda4bf0721e9fdeb60674506943256484
3dca09c9c82397936b72ac479ca365709f1041c3
refs/heads/master
2023-09-04T02:30:57.271090
2021-10-14T02:11:40
2021-10-14T02:11:40
308,053,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
"""Given an array of integers, calculate the ratios of its elements that are positive, negative, and zero. Print the decimal value of each fraction on a new line with places after the decimal. https://www.hackerrank.com/challenges/plus-minus/ problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v...
[ "augusto.ruizcauich@gmail.com" ]
augusto.ruizcauich@gmail.com
a5f5fae5c2400770e9c60326d43bb7a6df9a01a0
9a7e20c864462bf63c4937a48d8f8870ea177fe9
/anjvke/anjvke/my_middlewares.py
83d11772f588aee1985d071cae3f12d81a1c6e54
[]
no_license
name-TT/spider
e957b44d3a043039acd568521de60d20d2e71be2
80de654713e9645080b5a9e48ca4ebdb1f68e375
refs/heads/master
2022-11-22T10:26:01.192311
2020-07-29T06:50:58
2020-07-29T06:50:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
import re import io import base64 import random from fontTools.ttLib import TTFont from scrapy.http import HtmlResponse from anjvke.custom_settings import custom_settings class My_Middleares_Download: """自定义下载中间件""" def process_request(self, request, spider): request.meta['proxy'] = random.choice(cus...
[ "deffyx@163.com" ]
deffyx@163.com
64939adb5b7c20d17f5646b58a5ed3254750f9b1
9cb4c2c547efc57c884d5fceb50c9081f5d1b51c
/Socrata_dialog.py
999158768588c388159c1c40e4b2a7c5d13eaec6
[]
no_license
sumarin/Socrata
81c331001299138581492be5fca3fc4e4f70b688
c92d2906acc8e24d03395b7c51bda3cd2f1efaca
refs/heads/master
2021-01-11T09:15:32.391913
2016-03-31T12:48:02
2016-03-31T12:48:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
# -*- coding: utf-8 -*- """ /*************************************************************************** SocrataDialog A QGIS plugin Automatically Download or Upload to Socrata ------------------- begin : 2016-03-01 git sha ...
[ "peter.moore@socrata.com" ]
peter.moore@socrata.com
902e98b35c5450d76c95698bb4298ca431977880
b910a1b9f1fc3cc3fd006778db3b89de0afe16b9
/registro_resultados/urls/reportes.py
3dee3166a1503a3165473d373e99dc96e9547419
[]
no_license
karentng/coldeportes
10cc5053b8daa68002e081652a4f23a32df17a45
fb8f55e7a5e740f6fd25c8fac70ba7ff5866ed35
refs/heads/master
2021-06-01T07:40:35.394452
2016-07-26T19:26:59
2016-07-26T19:26:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
from django.conf.urls import patterns, include, url from django.views.generic.base import TemplateView urlpatterns = patterns('registro_resultados.views.reportes', url(r'medalleria-genero$', 'medalleria_genero', name='reporte_medalleria_genero'), url(r'tabla-medalleria$', 'tabla_medalleria', name='reporte_tabl...
[ "karentnathalia@gmail.com" ]
karentnathalia@gmail.com
785823daf0c6021b57e5de394a425498b30194d3
4d332c45578246847ef2cdcdeb827ca29ab06090
/modules/Bio/NeuralNetwork/BackPropagation/Network.py
7c9b53f69f6bef0be388469fab4eaa6abe4a286f
[ "MIT" ]
permissive
prateekgupta3991/justforlearn
616cc297a2a6119fa959b9337a5e91c77a11ebf7
3984c64063b356cf89003e17a914272983b6cf48
refs/heads/master
2021-03-12T22:09:12.184638
2014-01-28T10:37:07
2014-01-28T10:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
/usr/share/pyshared/Bio/NeuralNetwork/BackPropagation/Network.py
[ "prateekgupta.3991@gmail.com" ]
prateekgupta.3991@gmail.com
49fe31375638bed2795a72afc32b5763982933c6
d81e4a4fefaab100a032111d0dfe24e20c421c17
/python_work/car.py
cd7d313db98296bc3f8ecf90376b45ff6c6a47fd
[]
no_license
BiaoChan/LearningPythonCrashCourse
30bda79bed15b8c91765704ff95be4a1301d558a
c398b29be017818373136a70d90c6d387a6da591
refs/heads/master
2020-06-13T00:22:41.875650
2019-07-27T07:18:02
2019-07-27T07:18:02
194,472,136
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
class Car(): def __init__(self, make, model, year): self.make = make self.model = model self.year = year self.odometer_reading = 0 def get_descriptive_name(self): long_name = str(self.year) + ' ' + self.make + ' ' + self.model return long_name.title() def re...
[ "39757734+BiaoChan@users.noreply.github.com" ]
39757734+BiaoChan@users.noreply.github.com
02786c59d2cf9e90a7fb6700ed31bc99cfca740b
bebacae90aa17ad2ab4c9111a2e5cfa0f8cf13a6
/Python-3/basic_examples/python_breakpoint_examples.py
82779156f60abb7de9db164c20fc32e1fa246595
[ "MIT" ]
permissive
ayanakshi/journaldev
5b0d73c53bc9a5292a8629c6c0320196abeab76e
a61cba22232e8cc9c40264c31aaba0bd17ff2522
refs/heads/master
2020-03-27T21:52:15.081736
2018-08-31T11:51:28
2018-08-31T11:51:28
147,182,378
1
0
MIT
2018-09-03T09:28:38
2018-09-03T09:28:38
null
UTF-8
Python
false
false
388
py
x = 10 y = 'Hi' z = 'Hello' print(y) # breakpoint() is introduced in Python 3.7 breakpoint() print(z) # Execution Steps # Default: # $python3.7 python_breakpoint_examples.py # Disable Breakpoint: # $PYTHONBREAKPOINT=0 python3.7 python_breakpoint_examples.py # Using Other Debugger (for example web-pdb): # $PYTHONB...
[ "pankaj.0323@gmail.com" ]
pankaj.0323@gmail.com
e440be23d50a24dd44b762ca577d4fb2e8b31101
84e3a4a0ab37739c922678b1365c30631a2411b3
/test_bce.py
7325cf1c886503b4f3a790a7f9dfabbb5a2100a4
[]
no_license
hussamh10/Ynet
3f296fc2b4d2e466ebb806cd6acca9a67e96e18d
05fda076eca4c03f26d93d9ea9c4e708fab8bafe
refs/heads/master
2021-09-10T15:40:06.909705
2018-03-28T18:01:22
2018-03-28T18:01:22
113,289,501
1
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
from keras import backend as K from keras import losses as L import tensorflow as tf import os import numpy as np from cv2 import imread import cv2 def bce(y_true, y_pred): return K.mean(K.mean(K.binary_crossentropy(y_true, y_pred), axis=-1)) def mse(y_true, y_pred): return K.mean(K.mean(L.mean_squared_error(...
[ "hussamh10@gmail.com" ]
hussamh10@gmail.com
f0d87d4e9655f8c642fd0ffa7a450a2914c25aba
37234a3d197f4c426025570f74d8388dad47f26e
/simulation.py
176449e8f871307a175d713f663ebdd2b1f4dd3b
[]
no_license
moxior/2D-sand-physics
dd44f41ea08fc1366ef7dcdf1f8b8d79fb367ba4
6139d50bc0f17f00a12c66312a4ad8710901585d
refs/heads/main
2023-04-17T23:33:57.821641
2021-04-17T22:10:36
2021-04-17T22:10:36
358,992,372
0
0
null
null
null
null
UTF-8
Python
false
false
2,708
py
import random, time, replit class Cell: def __init__(self, id="Empty"): self.id = id self.Position = [0, 0] self.Rendered = False if id == "Empty": self.Icon = "⬜" elif id == "Brick": self.Icon = "⬛" def __repr__(self): return self.Icon ...
[ "noreply@github.com" ]
noreply@github.com
dad674788bd4ad57dd44a807995b90ddee337678
0548348fc40c745af95e38d66b0f5e60b326d403
/urlhandler/urlhandler/settings.py
dd6c7920274c99d9c373cb4eebfe770d612dcd24
[]
no_license
yingyingyueyue/yingyingyueyue
4f11e13c6d85933b90a716a81ab6c73430dfa086
68f6f35c9640c78a0b04c62a57c95e21280be443
refs/heads/master
2021-01-22T11:54:36.167890
2015-08-26T00:43:36
2015-08-26T00:43:36
40,647,555
1
0
null
null
null
null
UTF-8
Python
false
false
2,909
py
""" Django settings for urlhandler project. Generated by 'django-admin startproject' using Django 1.8.1. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build p...
[ "slf12thuss@163.com" ]
slf12thuss@163.com
8585dc1c6a67405bfbadd689c5dfa61ef7313685
7f2b4df0b5a453df3048ebd0869b32c72fcb4e0a
/main.py
dbdcd8349153a76c1662019b8f06beaf195fc31a
[]
no_license
a-tak/rgb-led-matrix-disp
eb1c7add107561984d000c0325cf80579301f750
40be80c28a8cdeae9b4748b9e2f0e6a77fc69d67
refs/heads/master
2023-05-28T22:48:47.345000
2021-06-15T12:23:26
2021-06-15T12:23:26
374,044,643
0
0
null
null
null
null
UTF-8
Python
false
false
3,046
py
#!/usr/bin/env python3 # coding: UTF-8 # RGB LED Matrix Main Module from meigen_disp import MeigenDisp from matrix import Matrix from setting_controller import SettingController from clock_disp import ClockDisp from date_disp import DateDisp from temperature_disp import TemperatureDisp from mode import Mode f...
[ "hoge+git@a-tak.com" ]
hoge+git@a-tak.com
15ac28c93a0fdf4e7478095b022b6c24caa494aa
bb7396a5f94f3d4a76df39e01eb4fd7ce800c78a
/scripts/set_lang.py
fd73cd1b7731896019845c0c60ca0f26a74f3da4
[]
no_license
vzaliva/scripts_and_configs
4bebb1c093653f62e1136db9606b39bd9ed56a53
c2e10531a537b3197f9866e476d0658d1794d8f8
refs/heads/master
2023-08-10T00:08:23.251799
2023-08-09T01:45:31
2023-08-09T01:45:31
73,980,670
2
2
null
null
null
null
UTF-8
Python
false
false
1,335
py
#!/usr/bin/env python3 # # Script to toggle between the two last used language in Gnome # # History: # # Original script by Jacob Vlijm # Saving last language and togging: Vadim Zaliva # # See also: http://askubuntu.com/questions/871678/how-can-i-quickly-switch-between-two-out-of-multiple-languages # import subproces...
[ "lord@crocodile.org" ]
lord@crocodile.org
fe6a38fac541821dda0a01b6c4bc892e4abeca2c
07de3bd295dc0125ff1c93817ff0526c038821cf
/Ignorância zero/Aula 017 - For.py
290d473ef6bf43db7638ad9498c1e45d6e0d1d56
[ "MIT" ]
permissive
marcelelvis/Estudos
56febab1bf27ff9ba5a6bd89f6a9141a279d11ef
ce78e6595debba79fb51e374899fec56eba6ab3a
refs/heads/main
2023-04-21T05:18:11.322170
2021-05-06T15:10:07
2021-05-06T15:10:07
329,413,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,178
py
#Fatorial for ''' a = int(input()) fat = 1 for i in range(a,1,-1): fat *= i print(i) print(fat) ''' ''' a = int(input()) fat = 1 for i in range(2,a+1): fat *= i print(fat) ''' #Com while ''' a = int(input("Digite: ")) cont = 0 fat = 1 while cont < a: cont += 1 fat *= cont print(cont) print(fat...
[ "68438786+marcelelvis@users.noreply.github.com" ]
68438786+marcelelvis@users.noreply.github.com
44466b80ee08da41a447dcde539586964f8287b9
ac6ad04370f8511c86f5dd190dfe563ca74349b3
/Other/M-SOLUTIONS プロコンオープン 2020/C.py
ccf847eb51876740ef4a7b847b7e658f25ffc248
[]
no_license
KunitakeYuto/AtCoder
5811a87ebd1db960d21b5c088c34a8791187f897
b06fec92c3ed7ade8780fcfbc0fbcaaaa0d99c86
refs/heads/master
2022-12-25T11:36:09.418894
2020-09-22T11:34:06
2020-09-22T11:34:06
263,839,498
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
N,K = map(int, input().split()) AList = list(map(int, input().split())) A=str(K) i=int(A) j=0 while j<=N-K: #BList=AList[j:i] if j==0: MAE=AList[j] elif MAE>=AList[i-1]: print("No") MAE=AList[j] elif MAE<AList[i-1]: print("Yes") MAE=AList[j] i+=1 j+=1
[ "k.yut.online@gmail.com" ]
k.yut.online@gmail.com
06a58dd21d4d11b841a5789647a39945d931ad9c
860fa9c7d58b211981ddab34964301d4932dc329
/kickstart/node_modules/keccak/build/config.gypi
ce0574ceee20d73812141251ebb88266f9decf66
[ "MIT" ]
permissive
altcoinrockerxyz/SolidityBasics
f258b2a3907bbade10ead0fabd1e36ecded1ad78
6da4cc8b63dacaf3889b838fbbef7d28a3114796
refs/heads/master
2020-03-22T15:08:24.000604
2018-10-09T02:59:09
2018-10-09T02:59:09
140,231,318
0
1
null
2018-12-09T17:17:07
2018-07-09T04:30:03
JavaScript
UTF-8
Python
false
false
5,306
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "debug_http2"...
[ "sam@oceanmoon.rocks" ]
sam@oceanmoon.rocks
f1c370f96a3c3d757b816ed8c6d234b793a44085
712ca1e47fa500a6628594d47e98652fae424da2
/student/myapp/models.py
bf8655528b7c2a60fec05defb6a372dbe1c07746
[]
no_license
Ashithashyamjith/Student-Manage
1646aaa0f631341db5d7950dddb789e1dd3b9981
bdd4277647a5559fc747fc2ae154b11017eb0b1c
refs/heads/master
2023-07-28T01:36:29.892486
2021-09-09T15:27:24
2021-09-09T15:27:24
404,772,293
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
from django.db import models # Create your models here. class Login(models.Model): username=models.CharField(max_length=25) password=models.CharField(max_length=25) class Registration(models.Model): user_id=models.ForeignKey(Login,on_delete=models.CASCADE) name=models.CharField(max_length=25) ...
[ "ashithaashi1798@gmail.com" ]
ashithaashi1798@gmail.com
e17fa19d0234e0cb0d4618330d5f2854ba8d7bd1
01481ea92854c93a092fae4abb42db78fec80e72
/contacts/migrations/0002_auto_20191129_0729.py
a605d2bf12348b90a65c1b756a75ceb8e4953002
[]
no_license
ryanbraving/Real_Estate_Project_Django_PostgreSQL
5984c0da9b914eaeed13d299b18241857f1a8468
33ba0c07f98665448db5dd8267d5442004a4d783
refs/heads/master
2023-04-29T05:08:41.815606
2019-12-01T13:45:27
2019-12-01T13:45:27
223,867,816
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Generated by Django 2.2.7 on 2019-11-29 07:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('contacts', '0001_initial'), ] operations = [ migrations.AlterField( model_name='contact', name='listing', ...
[ "ryan.braving@gmail.com" ]
ryan.braving@gmail.com
547c2f518620f1dbd9458e385de42fae78f99dd2
0b11b2c358a795170fa643810e8d97c4020cf447
/users/migrations/0001_initial.py
c5ab1cf37573e3c953374a8e4505aed1762f6d86
[]
no_license
koko-js478/blog-site
d8ce370fdb7d6df28ac1aef4935661347b283f6f
a6477064ff725ae1ec97e89e8f95f96f96da9d74
refs/heads/master
2022-12-14T16:51:44.149212
2020-06-03T01:50:51
2020-06-03T01:50:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
# Generated by Django 3.0.5 on 2020-04-27 18:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "engineerwork@protonmail.com" ]
engineerwork@protonmail.com
8b0b3b1b5f9fc5b3106c7a4a28ad6e852359fc6b
90c99ec8b019842868f614e72d377da1715512b9
/water_body_finder/__init__.py
d2ebd258cde82a5bbaec66038fa05fb47402d42f
[]
no_license
Rothschild-hhu/geosmart-water-body-finder
49f7be08489a1c28c65ed592e5b1e8a5b4e0fc56
00e1ced77b2320a67d1323a2fedccf32f2ea3c9b
refs/heads/master
2022-04-18T09:39:51.520814
2020-04-04T15:55:14
2020-04-04T15:55:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
from .find_water_bodies import find_waterbody_mask, extract_features
[ "simongasson@gmail.com" ]
simongasson@gmail.com
5f9e797cd71e80823098700d541c0113daf42085
a7da373b2c01e8f4b7fae13945b8cff30511b0e5
/health/urls.py
58e7ce56f65abe4f9e8bc9113eb8c009ff68b91a
[]
no_license
DevFervid/health
021962ea834b43bdec4cf3960a782fd5e9adfffe
4ce7cc31f5d46be22b94b3f46a580bdbcd76a257
refs/heads/master
2020-04-04T13:16:34.046619
2018-11-03T21:34:52
2018-11-03T21:34:52
155,955,556
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
"""health URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "jackkyalo978@gmail.com" ]
jackkyalo978@gmail.com
7d51ad00952c385a402ae18745b0c2224c9cd731
b8c65f30cd80f1ca3400ff88e02d6e92d83f4137
/eve/exceptions.py
fc0361299e5eabe4201f5841e6de2014895c5ae2
[ "BSD-3-Clause" ]
permissive
cnsoft/eve
e3429d5dade3cac2190ef0a56143e3a033107ea5
f624855c0e83668aa2db4f9c482da38847c699f4
refs/heads/master
2021-01-09T06:49:11.827912
2013-07-25T08:13:35
2013-07-25T08:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# -*- coding: utf-8 -*- """ eve.exceptions ~~~~~~~~~~~~~~ This module implements Eve custom exceptions. :copyright: (c) 2012 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ class ConfigException(Exception): """ Raised when errors are found in the configuration settings (...
[ "nicola@nicolaiarocci.com" ]
nicola@nicolaiarocci.com
9514cb9c976821191bb2b8213ade96207a890224
d4e39ca30e64deb843de367470f5b9bb15d1b37a
/irc/data.py
b2a125f569878e2085ffe547086ab30475279190
[]
no_license
niax/NiaxBot
57250ee8faa606b047877aa02e104e10e44d8139
ebe3edaf2d46d4633283245bad61af6c20358111
refs/heads/master
2020-05-18T00:54:51.436035
2011-07-24T18:32:17
2011-07-24T18:32:17
707,370
0
1
null
null
null
null
UTF-8
Python
false
false
602
py
class Nick: def __init__(self, server, nick, mode=' '): self.server = server self.nick = nick self.op = False self.voice = False self.halfop = False if mode == '@': self.op = True elif mode == '+': self.voice = True elif mode =...
[ "niax@niax.co.uk" ]
niax@niax.co.uk
2a47a74afe109cb92c1c23469d23076c0820a8b8
a75fdfa45a90ebf5db3f3a1986035a7cd73bc5e6
/DanielApi/settings.py
30f8e153c644f5b429ffddc5a54d0cce5518cd34
[]
no_license
Danchiwaz/PracticeAPI
7aa091902f27a57ef397cd39f51ca6de40cf1248
5c86db57ab0300929fd07e84802a39a65f1859a1
refs/heads/master
2023-03-04T12:22:26.261002
2021-02-17T08:14:34
2021-02-17T08:14:34
339,653,324
0
0
null
null
null
null
UTF-8
Python
false
false
3,217
py
""" Django settings for DanielApi project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "mainadanielchiwaz@gmail.com" ]
mainadanielchiwaz@gmail.com
8c71fd2c78e6da10b7385c7465884a7db65682fc
36272b48713793e497c74fe96b94bb389490db42
/Python/Algorithms/PathFindingAlgorithms/find_path_dist_in_matrix.py
209d0265fc7ad109bb371cc0f6aa77513827288b
[ "MIT" ]
permissive
Py-Contributors/AlgorithmsAndDataStructure
d044734fdae300f9320680eaf3fc793a4b3f071b
6b9b8b0dfe4543ec2ca191a5290415e36ae06dbd
refs/heads/master
2023-09-02T17:48:28.712631
2023-08-15T05:11:48
2023-08-15T05:11:48
260,388,831
660
760
MIT
2023-09-07T02:17:02
2020-05-01T05:46:35
C++
UTF-8
Python
false
false
2,751
py
# Given a 2D matrix(binary maze) and a source and destination cell # we will find length of the shorted path if it exists # This can be solved using Breath-first search # https://en.wikipedia.org/wiki/Breadth-first_search ''' INPUT matrix = [ [1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ], [0, 0, 1, 0, 1, 1, 1, 0, 1...
[ "noreply@github.com" ]
noreply@github.com
770f6161c2b5791f1460733e6599363406134e67
41a672c9505b5b53c58a01d5455acc410949aa24
/tests/aoutgoing/acceptance/messaging/p2p/context/C_15457.py
d782e225bd120f95750cafe463d46b88d56df246
[]
no_license
Alexsorgo/mobile_iOS
b045a0ea058726841c88158be8407b7ae45e893e
7e298f890b408cedad9db9d0aefeccd9c10d6002
refs/heads/master
2022-12-12T17:26:14.039876
2020-03-18T06:34:56
2020-03-18T06:34:56
248,154,882
0
0
null
2021-06-02T01:13:05
2020-03-18T06:25:17
Python
UTF-8
Python
false
false
1,322
py
import pytest from configs import config from enums import context_enums from screens.chats.chat_list_screen import ChatListScreen from screens.chats.chat_screen import ChatScreen from screens.chats.location_screen import LocationScreen from controls.menu import Menu from tests.aoutgoing.base_test import BaseTest from...
[ "oleksii_mishchenko@epam.com" ]
oleksii_mishchenko@epam.com
ac91357591573679eaac2333b0030136deb5d156
27018e6be2bc3440391cbca9a35548d7cc4ff18d
/practice/지리정보분석/행정구역별_의료기관현황분석2.py
a3b3dd35c1f507fa2e6a7cf504a80aca65c4b1f0
[]
no_license
2goni/python
70c91d60bd7fb59ab751bc15df0353c8ba99d625
7d0776672c406e22c4b3949a1cfb6ce40e019950
refs/heads/main
2023-03-21T03:51:15.896763
2021-03-19T08:34:50
2021-03-19T08:34:50
345,920,492
0
0
null
null
null
null
UTF-8
Python
false
false
9,005
py
from os import kill import pandas as pd import numpy as np data = pd.read_csv("./지리정보분석/보건복지부_공공보건 의료기관 현황_20161231.csv", \ index_col=0, encoding="cp949", engine="python") #print(data.head()) #공공보건 의료기관 주소 정리 -> 행정구역 파악 #주소에서 시도, 군구 정보 분리 addr = pd.DataFrame(data['주소'].apply(lambda v: v.split()[:2]).tolist(), co...
[ "gh2684@naver.com" ]
gh2684@naver.com
e51322246a7a4a8affc217fde1b516145f7dc86c
18185acc7a682312a2c0042266e8bf301c859d07
/Week01/homework2/homework2/settings.py
4fa7896bd5c2c3427b055b083520f379b9e737ab
[]
no_license
51fx/Python004
566c317d42159a3b09a1393a2ca770558c54e8da
601dfcc5aff92a04c9e1bffe42b6bd637203842c
refs/heads/master
2022-12-16T01:07:04.030600
2020-09-26T11:17:38
2020-09-26T11:17:38
297,919,604
0
0
null
2020-09-23T09:28:57
2020-09-23T09:28:56
null
UTF-8
Python
false
false
3,109
py
# -*- coding: utf-8 -*- # Scrapy settings for homework2 project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/t...
[ "graham_liu@aliyun.com" ]
graham_liu@aliyun.com
f19268f87089240ff6d301069aee42f636e8d4e2
df65082767544b9059dac2015317fd5f7007529c
/hot_100/反转链表.py
877e157fa67f345a3972676716cea45843f64a92
[]
no_license
MinZhangm/Algorithm-DIY
27cbc2bcfe9e92b461544ea781ad44052097949d
b1894901df2eeb0a39213e21276ff19315bf8004
refs/heads/master
2022-12-22T00:13:21.563343
2020-08-23T04:08:02
2020-08-23T04:08:02
270,927,774
0
0
null
null
null
null
UTF-8
Python
false
false
818
py
# 输入链表 # 输出反转后的结果 # 迭代 class Solution: def reverseList(self, head: ListNode) -> ListNode: if not head: return None tmp = head.next res = head res.next = None head = tmp while head: tmp = head head = head.next tmp.next...
[ "noreply@github.com" ]
noreply@github.com
09cd96c304cb09d05cdbb1f58e32cc201a34337d
cbb9152ea4290fb655caff877101eaeb68236dfd
/students/daniel_carrasco/session01/break_me.py
ff4c3a7703aed0d1e8a16d89557714aea8a9a8ba
[]
no_license
pauleclifton/GP_Python210B_Winter_2019
7105a080d105cd9999933936346d5ae29f232d26
661903cd9dc49b294fb9a0c905133a4c3f9d8d0f
refs/heads/master
2020-04-16T04:26:31.951165
2019-03-31T15:22:51
2019-03-31T15:22:51
165,267,180
0
0
null
2019-01-11T15:39:48
2019-01-11T15:39:48
null
UTF-8
Python
false
false
219
py
def nameerror(): print(error) def typeerror(): print(1 + "error") def syntaxerror(): print('syntax error') def attributeerror(): append('error') #nameerror() #typeerror() #syntaxerror() attributeerror()
[ "dac2229@gmail.com" ]
dac2229@gmail.com
026394ded7471d7b73a9f1c7f9378175db476201
48ce37cabe952410751680531c50688695da750a
/creating_api/task/views.py
cd475a3a19e9dd969a44fd30c6f1777b1df3f127
[]
no_license
deepaksaini14896/two_restapi
73840a492c96c226fef50c5d4daac535e49d1c8a
436e2921549402defabd6d7a4e3560d102c1e479
refs/heads/main
2023-02-10T05:41:12.789805
2021-01-02T18:36:26
2021-01-02T18:36:26
326,244,474
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
from django.shortcuts import render from rest_framework.views import APIView from rest_framework.response import Response # Create your views here. class task_one(APIView): def get(self, request, string, number): if number == 0: return Response({ 'Output' : string }) elif number >= len(string): return Res...
[ "deepaksaini14896@gmail.com" ]
deepaksaini14896@gmail.com
e0d18e78a8932c43699f9d69b1724f9c21d1c1d3
09299b835ca8ab8e573e6c128d9fcbeb45efa05d
/wordcount/views.py
42acfe808998787947fcb4ac56678733cc0e12a7
[]
no_license
yjp789/Hellowordcount
119e737c5ffd012cb4330537662a3d39b8cd0273
abe0f6fecf3a18d5475bb66553365447c847a555
refs/heads/master
2020-05-27T09:25:16.521513
2019-05-25T12:58:48
2019-05-25T12:58:48
188,564,339
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from django.shortcuts import render # Create your views here. def home(request): return render(request, 'wordcount/home.html') def about(request): return render(request, 'wordcount/about.html') def count(request): full_text = request.GET['fulltext'] word_list = full_text.split() word_dictio...
[ "" ]
914a3c12beb49fa2d21f087ef44535f27e80a774
9d65b26affcb08a64a8dce7762c7b757b4c83679
/hello.py
32315646818ed50b81dbe9352f390b5ad975f780
[ "Apache-2.0" ]
permissive
StrongBoy998/ihome-project
ac06097324bc1267bc993e68e3e0fd81c2a8f0ee
c2af0e17d5d41339ae71b42420674a8219ab1e16
refs/heads/master
2020-06-21T07:05:07.991588
2016-11-26T05:16:29
2016-11-26T05:16:29
74,799,211
0
1
null
2016-11-26T05:22:37
2016-11-26T02:10:54
JavaScript
UTF-8
Python
false
false
73
py
# coding=utf-8 print "first test" print "second test" print "third test"
[ "xue998@outlook.com" ]
xue998@outlook.com
5c1948278e75e3ff8b2fba43c5b2c56bff5ce1f9
0793a634ce31b3c2370ba0f945993ee80bf1a8b4
/mirage/thesisPresentation.py
96edde9b9e908147fbf31dcb8cb3e0476b311c96
[ "MIT" ]
permissive
ruizmic0100/Mirage
a5079793124f54052257af1d084b0390e421c43f
33ad0d07322953ac6fc5c26b4f6fe7d17e4784dd
refs/heads/master
2023-07-30T10:52:57.956239
2021-09-12T04:15:56
2021-09-12T04:15:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import numpy as np from mirage import lens_analysis as la def overlay_sizes(result,num): from matplotlib import pyplot as plt fig = plt.figure() for res in result: x,y = res.lightcurves[num].plottable("uas") label_sz = "%.3f $theta_E$" % res.parameters.quasar.radius.to(res.parameters.theta...
[ "jkoeller12@gmail.com" ]
jkoeller12@gmail.com
c7d6ab6f311d02557d7107aa0aee22092a91a342
a62ede637f24eb569ed1028f259faf3583e25c97
/profiles_api/models.py
30fadfcefe97fd3a691bcf0ce74e00cbea3fdc4f
[ "MIT" ]
permissive
DavidVerduin/profiles-rest-api
b61f9f0d2ef7f8c97a231f549baa6534ce36916a
8fba9a6fe2ce5fb310bed0b5d29a8337aaa5a56a
refs/heads/main
2023-01-08T12:24:24.327738
2020-10-29T20:47:50
2020-10-29T20:47:50
305,154,737
0
0
null
null
null
null
UTF-8
Python
false
false
2,421
py
from django.db import models from django.contrib.auth.models import AbstractBaseUser from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.models import BaseUserManager from django.conf import settings class UserProfileManager(BaseUserManager): """ Manager for user profiles """ def ...
[ "davidverduincortes@gmail.com" ]
davidverduincortes@gmail.com
8d10f5437baa0f65e4609811e0822992df9f0ba2
4b62774fb7958d8917ff0eca29b105c160aa3408
/Mypi3dCodes/pi3d/event/Keys.py
eb14f27c508963168bbffed5f3412c467d8201bb
[]
no_license
talhaibnaziz/projects
1dd6e43c281d45ea29ee42ad93dd7faa9c845bbd
95a5a05a938bc06a65a74f7b7b75478694e175db
refs/heads/master
2022-01-21T08:00:37.636644
2021-12-30T01:58:34
2021-12-30T01:58:34
94,550,719
0
0
null
2021-12-26T02:01:24
2017-06-16T14:16:24
Java
UTF-8
Python
false
false
6,601
py
KEY_ESC = 1 KEY_1 = 2 KEY_2 = 3 KEY_3 = 4 KEY_4 = 5 KEY_5 = 6 KEY_6 = 7 KEY_7 = 8 KEY_8 = 9 KEY_9 = 10 KEY_0 = 11 KEY_MINUS = 12 KEY_EQUAL = 13 KEY_BACKSPACE = 14 KEY_TAB = 15 KEY_Q = 16 KEY_W = 17 KEY_E = 18 KEY_R = 19 KEY_T = 20 KEY_Y = 21 KEY_U = 22 KEY_I = 23 KEY_O = 24 KEY_P = 25 KEY_LEFTB...
[ "talhaibnaziz6343@gmail.com" ]
talhaibnaziz6343@gmail.com
c7f7e4aa1efc2446b503bd9c8ed99a72da2ce9c9
d2b53b3568890dd805575035d09635c422c6bc4d
/rllib/execution/rollout_ops.py
c199e15b9b41dca7c3828a3af4f362e9c6b5d70b
[ "Apache-2.0", "MIT" ]
permissive
mehrdadn/ray
939deda7099eb30371cbb920a9725b314c58c0b5
3506910c5da257215d38d02f424acc4f419ddbaf
refs/heads/master
2020-09-03T15:33:35.578248
2020-07-31T21:33:27
2020-07-31T21:33:27
219,498,150
2
1
Apache-2.0
2019-11-04T12:37:23
2019-11-04T12:37:22
null
UTF-8
Python
false
false
8,816
py
import logging from typing import List, Tuple import time from ray.util.iter import from_actors, LocalIterator from ray.util.iter_metrics import SharedMetrics from ray.rllib.evaluation.metrics import get_learner_stats from ray.rllib.evaluation.rollout_worker import get_global_worker from ray.rllib.evaluation.worker_se...
[ "noreply@github.com" ]
noreply@github.com
ba9a9f6ba60a81293d7b7eaa9ce97f4b6b1d919b
e02506da0c661c8241fed00efdd0d6b2f8b147df
/textattack/constraints/overlap/levenshtein_edit_distance.py
8e7863c9daeb4621e5bbc89f9b080d68255b60b1
[ "MIT" ]
permissive
SatoshiRobatoFujimoto/TextAttack
2592a828f128fd8bf0b8ce5578e9488df5b2ac97
a809a9bddddff9f41750949e26edde26c8af6cfa
refs/heads/master
2022-07-11T02:10:24.536157
2020-05-14T13:29:44
2020-05-14T13:29:44
263,941,825
1
0
MIT
2020-05-14T14:43:47
2020-05-14T14:43:46
null
UTF-8
Python
false
false
719
py
import editdistance from textattack.constraints import Constraint class LevenshteinEditDistance(Constraint): """ A constraint on edit distance (Levenshtein Distance). """ def __init__(self, max_edit_distance): if not isinstance(max_edit_distance, int): raise TypeError('max_edit_di...
[ "jxmorris12@gmail.com" ]
jxmorris12@gmail.com
c380835831f8c41526e64814112f5f23d2c0673b
ae10b60cb92a69146bfb05ef5dde735a0aa45d4b
/examples/Extended Application/sklearn/examples/calibration/plot_compare_calibration.py
2740807f47b521cb56cd402223342f85c841602d
[ "MIT" ]
permissive
kantel/nodebox-pyobjc
471cea4c5d7f1c239c490323186458a74edcc214
068ba64c87d607522a240ab60c3ba14f869f6222
refs/heads/master
2021-08-14T18:32:57.995445
2017-11-16T13:42:23
2017-11-16T13:42:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,821
py
""" ======================================== Comparison of Calibration of Classifiers ======================================== Well calibrated classifiers are probabilistic classifiers for which the output of the predict_proba method can be directly interpreted as a confidence level. For instance a well calibrated (bi...
[ "karstenwo@web.de" ]
karstenwo@web.de
e0cc017891024f3f9aaf43b29c5b45d31bb2ad5c
0b193f4da7547d95b7c50fbc1b81276da8163372
/actions/models.py
9f242b017204d32441280c09d1083d6557d8d2a2
[]
no_license
jzxyouok/bookmarks
4b071023af57a2b87fb4fcb034affd5a16719e85
c1bf5ce731f20c8771f6ff5038839c938a2562d8
refs/heads/master
2020-06-06T15:22:37.096495
2019-04-08T03:51:17
2019-04-08T03:51:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
from django.db import models from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey # Create your models here. class Action(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE, 'action...
[ "2582347430@qq.com" ]
2582347430@qq.com
2806d426ef177fabe238c3972b32b08be7a96687
77d962ed5765c3ccc178187c718b7a0d8100eef7
/packages/pmpptx/pmpptx/create_and_fill_ppt_table.py
63436a60e5330d7835bbc3ba0f9544aff12f13ce
[]
no_license
AdityaGoyal91/python-scripts
1790eaa9a8d2cee224886a816e69c85199c14944
c95dad44c61f4882298ea9b712ba27f020e62590
refs/heads/master
2021-07-20T09:59:25.530015
2021-01-19T15:31:55
2021-01-19T15:31:55
234,613,153
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
from pptx import Presentation from pptx.dml.color import RGBColor from pptx.util import Inches, Pt from pptx.enum.shapes import MSO_SHAPE from pptx.enum.text import PP_ALIGN from pptx.enum.text import MSO_ANCHOR from pptx.enum.shapes import MSO_SHAPE def create_and_fill_ppt_table(row_names, col_names, slide, act_df, y...
[ "32312004+AdityaGoyal91@users.noreply.github.com" ]
32312004+AdityaGoyal91@users.noreply.github.com
8d89526a280ed66e32b9cc765fb12a5149b6b77a
2537b30394d2a170968a74cbeb1e3ebc386fd103
/biet_web/campus_life/migrations/0006_auto_20210105_1653.py
15450baf9a03b22a8ecee3317c072bbf2fed83d2
[]
no_license
ergauravsoni/Biet_website
ffb151dab4dee27313a1b679ba14ee6fefeaaa44
12d37ba6b37a0916f9a32aa4dda3b9d2c7ed9e6a
refs/heads/master
2023-03-14T14:44:16.260160
2021-03-10T09:05:56
2021-03-10T09:05:56
265,287,169
2
5
null
2020-07-06T18:01:44
2020-05-19T15:31:29
HTML
UTF-8
Python
false
false
524
py
# Generated by Django 3.0.8 on 2021-01-05 11:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('campus_life', '0005_sac_intro_text'), ] operations = [ migrations.AlterField( model_name='graduation_year', name='ye...
[ "root@server.bietdvg.edu" ]
root@server.bietdvg.edu
7ab12903fcfc457fcf28cae3c815ab1ead1b5e2f
6c7a14ed505d87151f61e21d854ea9d608143398
/chatapp/src/models.py
2ff9917311b822208499c91e059aa0cef42b428a
[]
no_license
Chris-C3A/ChatApp
3f343d58b04d08ef665b0c60e60f5786ebf883e0
c22ff1dc3e5d6e2024e727b0e656454450e06520
refs/heads/master
2022-07-14T07:09:50.703911
2020-05-13T16:51:49
2020-05-13T16:51:49
256,286,013
0
0
null
2020-05-07T19:16:48
2020-04-16T17:37:52
HTML
UTF-8
Python
false
false
1,531
py
from datetime import datetime from chatapp import db, login_manager from flask_login import UserMixin @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(db.Model, UserMixin): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(20), u...
[ "anon_c3a@outlook.com" ]
anon_c3a@outlook.com
65c00251260427467579e012a905b1394fd56c8b
a64c5ed932a75f7504cca8605d9e7a1ab32d69aa
/modules/puWeightProducer.py
2d7e0af14b0693d3705e7812046feb2f451ad296
[]
no_license
uniovi-hepex/xuAnalysis
593ea58458281b49fd39e0e0fef27ccfcd70acbd
d71f8501671b93e97272e35cd490e522cbea1b12
refs/heads/master
2022-04-14T05:15:56.158166
2020-03-31T10:51:46
2020-03-31T10:51:46
223,435,326
0
1
null
2020-03-31T10:51:48
2019-11-22T15:46:07
Python
UTF-8
Python
false
false
5,350
py
import os,sys basepath = os.path.abspath(__file__).rsplit('/xuAnalysis/',1)[0]+'/xuAnalysis/' sys.path.append(basepath) import ROOT ROOT.PyConfig.IgnoreCommandLineOptions = True class puWeightProducer: def __init__(self,intree, myfile,targetfile,myhist="pileup",targethist="pileup",name="puWeight",norm=True,verbose=T...
[ "juan.rodrigo.gonzalez.fernandez@cern.ch" ]
juan.rodrigo.gonzalez.fernandez@cern.ch
6f723753a3c7af8e3569542f7b33fdb7cd4e65f6
23d6751a539eb625326235748a0b3b7bcaa9767b
/4-basic-daemon-foreground/main.py
c73ebdf82a3fcc7cd949a66709e66adbbf633ef0
[]
no_license
LeeJaeWonLJW/python3-daemon
1890f9de16d4cf2090110e627030a983f6a7ed00
c8d8d5289c0065ea123b76d950f6cb2cfb04114c
refs/heads/master
2021-09-19T06:02:38.379558
2018-07-24T02:04:11
2018-07-24T02:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,750
py
import os import sys import argparse from miku import SingingMiku def run(foreground, log_file): singing_miku = SingingMiku(foreground, log_file) exit_code = singing_miku.main() exit(exit_code) def daemonize(args): # double fork, first fork pid = os.fork() if pid > 0: # parent procrs...
[ "filepang@gmail.com" ]
filepang@gmail.com
fa8160655f29d23f7a4674f26b66153cc3c04efc
cb256358e3d7260f3977e156c08114c24f0dd5f4
/01-Python/11-lemon tree/http_api_test/testcases/test_audit.py
6b8ff973bdf4edfad4f5058d164593bf2043ee82
[]
no_license
jiaoxiaoyou/study
96b2d8c180468a71ce62cccfb656d97f6c1287ea
29b7862471dbf1376359dfda2bac38d4f9ada0aa
refs/heads/master
2022-10-07T13:35:06.447828
2020-06-08T01:34:23
2020-06-08T01:34:23
265,433,808
0
0
null
null
null
null
UTF-8
Python
false
false
3,904
py
# @Author : 小坚强 # @StudentId : 2188 # @Time : 2019/9/9 18:03 import os import unittest from common.mylogger import log from common.config import config from common.do_mysql import DoMysql from pack_lib.ddt import data, ddt from common.do_excel import DoExcel from common.constant import DATA_DIR from common.http_reques...
[ "15202938614@163.com" ]
15202938614@163.com
585d3ceb6d4b6de1c0a332107e0e397f3be944fa
f30783d6087509ba8afaf60f66fc2d824ae5b511
/backend/mastersoftastemobile_1636/urls.py
0dca63503fb39a6b80820ec4f500fc0e7e8b95df
[]
no_license
crowdbotics-apps/mastersoftastemobile-1636
fd75f2ad60e4ebf46789d91675e5ebfb360c44fd
93c241332ad323246c73b5115f1c3bf8e8e9ddbb
refs/heads/master
2022-04-15T07:15:30.033047
2020-02-10T19:03:28
2020-02-10T19:03:28
239,589,630
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
"""mastersoftastemobile_1636 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d3ccdcddade3d97c3ffc8798355cf8b23182d5f6
bd22c443f6dc543b6aabf298c797776770f1df8f
/populartimes/__init__.py
fb99df2b17e32dd3ed757f044aea8ad4522eead1
[]
no_license
bonfirefan/populartimes
d80d7e3492d2228da9c9b4e9d5d4178a31add6f0
932d863fd3aa0fe16d2b175d1fcb039ae362b86b
refs/heads/master
2021-05-06T22:53:50.318342
2018-01-12T04:12:01
2018-01-12T04:12:01
112,870,019
0
0
null
2017-12-02T19:21:00
2017-12-02T19:21:00
null
UTF-8
Python
false
false
1,360
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from .crawler import run from .crawler import get_current_popular_times """ ENTRY POINT """ def get(api_key, types, bound_lower, bound_upper, n_threads=20, radius=180, all_places=False): """ :param api_key: str; api key from google places web service :para...
[ "martin.wrzr@gmail.com" ]
martin.wrzr@gmail.com
d106059d970e58822acb60ca0f9d2965aa8d056b
8eb5008ad4ab98f72666c54e3f83a8b17ac096f6
/UIPackage/LoginMainWindow.py
24f8c8e4d9b92506b4e5f5c80ca2d2e029873bb5
[]
no_license
caojiaju-2017/HSShareKowledge
ff60d28a894807462de9402a2fdd28a1723c0ddf
e511439444959c518a4962ea4b6590f7c28bd112
refs/heads/master
2020-03-30T08:45:40.620897
2018-11-11T12:34:04
2018-11-11T12:34:04
151,037,473
0
0
null
null
null
null
UTF-8
Python
false
false
6,612
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.Qt import * from ByPlatform.Base.OutPutHelper import * import sys from UIDesigner.LoginUI import Ui_MainWindow from tinydb import TinyDB, Query from ByPlatform.Base.TimeHelper import * # from UIPackage.Wait...
[ "jiaju_cao@hotmail.com" ]
jiaju_cao@hotmail.com
40aca2c2b3dd91a28dcda5a9d2dc2200f445b7df
c1cc8d8be73b2baa997c68543734a4462cf66df1
/base/migrations/0001_initial.py
cf626496de276f88b36e829b28a4920fa8bab59e
[]
no_license
Kimxons/PubQ
43c3423f51e79533f93ccee9f571ed6fe3189fff
974ae448304fab3a18ddc708b135d3bcb13a51ac
refs/heads/master
2022-12-19T19:38:34.287508
2020-10-30T22:14:14
2020-10-30T22:14:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,298
py
# Generated by Django 3.1.1 on 2020-09-30 18:31 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "kevingtxz@gmail.com" ]
kevingtxz@gmail.com
c8d54f70f9c467a30e3010aff7a5afe810debe31
8d46cf39d641244cd8a4bd368779d91ff75dbf78
/map_neigh/urls.py
d95fbfed5bade45038e9cce34215fc1eed5e2b50
[]
no_license
RanneKapcie/nofences
9242d8e9bfe740c20ddf9d2b0393eabf10ee5c3a
a4c3ee5e8f1c546c505e6ffa5a294d0c9b3d5e79
refs/heads/master
2020-12-20T05:33:00.225046
2020-04-23T13:35:52
2020-04-23T13:35:52
235,978,087
1
0
null
null
null
null
UTF-8
Python
false
false
1,042
py
from django.conf.urls import url, include from django.urls import path from . import views from django.contrib.auth import views as auth_views app_name = 'map_neigh' urlpatterns = [ url(r'^$', views.index, name = 'index'), url("register/", views.register, name='register'), url("logout/", views.logout_reque...
[ "kurasz.leszek@gmail.com" ]
kurasz.leszek@gmail.com
c52b9e2749a32ae03898373d124f48c41f8c77f2
c035acc1bc3e46b8d680c9fad197ae593d8c0793
/2017/day1.py
44c11a5190343751c7e19fd833bf6d78d9e82a27
[]
no_license
altef/AdventOfCode
61bcae245cc3db85313faa4ff4d49f5575f4b275
3bd4967f456af9541b4a8975b576d58248a6364a
refs/heads/master
2022-12-12T15:31:58.905509
2022-12-07T04:12:15
2022-12-07T04:12:15
47,253,353
1
0
null
null
null
null
UTF-8
Python
false
false
2,620
py
str = '5162992814911695127194252761945964242912687126971558636518469379259284569588136244281562184683314238584226134719621657564238377568565197545249857597637475597112579773612283576782935726988397544447528988353133998157485625199583299279118616547842163554893199955662974998362959859438993736152233752712311289147452731...
[ "bradgill+github@gmail.com" ]
bradgill+github@gmail.com
10a57f45023bd99e590058c70fed50cd5dbdabde
d6d20681f41102df3feb2b438ef80569bd73730f
/Uge4-numpy/.history/exercises_20200218211509.py
721a35c816eab099a775532e7a3d12f563a27947
[]
no_license
MukHansen/pythonAfleveringer
d0ad2629da5ba2b6011c9e92212949e385443789
4107c3c378f757733961812dd124efc99623ff2e
refs/heads/master
2020-12-22T13:27:19.135138
2020-05-22T11:35:52
2020-05-22T11:35:52
236,796,591
0
0
null
null
null
null
UTF-8
Python
false
false
4,051
py
import numpy as np import matplotlib.pyplot as plt from collections import OrderedDict filename = './befkbhalderstatkode.csv' data = np.genfromtxt(filename, delimiter=',', dtype=np.uint, skip_header=1) neighb = {1: 'Indre By', 2: 'Østerbro', 3: 'Nørrebro', 4: 'Vesterbro/Kgs. Enghave', 5: 'Valby', 6: 'Vanløse',...
[ "cph-mh752@cphbusiness.dk" ]
cph-mh752@cphbusiness.dk
ab5f5aaf705c61d6d3a52fe6a016b2045c35009c
099256b28df65fb7c90c077b060dca16b8655235
/math/0x00-linear_algebra/100-slice_like_a_ninja.py
e1589c7bf3ddf30431df2717bebb8ee713b0f971
[]
no_license
Immaannn2222/holbertonschool-machine_learning
1cebb9a889b363669bed7645d102dc56ab943c08
80bf8d3354702f7fb9f79bbb5ed7e00fc19f788d
refs/heads/master
2023-08-01T05:35:00.180472
2021-09-22T20:28:17
2021-09-22T20:28:17
317,624,526
1
0
null
null
null
null
UTF-8
Python
false
false
321
py
#!/usr/bin/env python3 """ advanced task """ def np_slice(matrix, axes={}): """ slices a matrix along specific axes """ new = [] for x in range(len(matrix.shape)): if x in axes: new.append(slice(*axes[x])) else: new.append(slice(None)) return(matrix[tuple(new)])...
[ "imennaayari@gmail.com" ]
imennaayari@gmail.com
9bb4daab4e01164a9e5d6c69c7be37c96542ca6d
80376d81359b6c55b8d30b24f6d51eed7e430c15
/DecisionTreeTest.py
518b91013ee8f5f2571ffc3626f8c566448fc5cc
[]
no_license
raghu-maghu/pyml
99c84b00a92bf8c250212ca2dbbbdeb60b689674
f917d861720d928d4e1ff5fa1062d530f88201bd
refs/heads/master
2023-07-09T17:25:57.731368
2021-08-23T04:52:30
2021-08-23T04:52:30
358,522,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,141
py
from sklearn.tree import DecisionTreeClassifier import pandas as pd from sklearn.metrics import confusion_matrix dataset=pd.read_csv('C:/Users/rs6134/Downloads/MLDATA/pima-indians-Diabetes.csv') print(dataset.head()) train_features=dataset.iloc[:80,:-1] test_features=dataset.iloc[80:,:-1] train_targets=dataset.iloc[:80...
[ "gorur.raghu@gmail.com" ]
gorur.raghu@gmail.com
c9a90b23eb671c7219ad9278f4ac679745cbf9ca
ee2760ca8ecc7f4cc45acf7aa8ff3513a54ae54d
/backend.py
ca334a742603306665b90c15f41491195c0974ff
[]
no_license
Jeff-python/group_project
2c7437c7ec51f36abc637c98fe64932abaad0646
61149f87ad9428cb5905d954978e8efb86db8057
refs/heads/master
2020-11-27T05:55:10.908672
2019-12-20T20:05:22
2019-12-20T20:05:22
229,328,844
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
import os from flask import Flask, render_template, request app = Flask(__name__) APP_ROOT = os.path.dirname(os.path.abspath(__file__)) @app.route("/") def index(): return render_template("frontend.html") @app.route("/upload", methods=['POST']) def upload(): target = os.path.join(APP_ROOT, 'images') pri...
[ "jeffreyzheng@Jeffreys-MacBook-Air.local" ]
jeffreyzheng@Jeffreys-MacBook-Air.local
362256309f64099f741fe946051a9818ac3ae214
ae1ee7ae9d7aaffd8368f892b87954c532c74b78
/wxpy/web/web7.py
703c73c39137cf67ea56f8922c910a2f69d2587e
[]
no_license
sguillia/UrbanBeacon
0ae97c1cd371ce62a94372539bed611c348fe6f8
a9408227b3e5157d122cd074508eba1689ede417
refs/heads/master
2021-01-16T20:37:57.453132
2018-05-16T12:38:04
2018-05-16T12:38:04
59,966,185
6
1
null
null
null
null
UTF-8
Python
false
false
1,096
py
import wx import wx.grid as gridlib ######################################################################## class MyForm(wx.Frame): """""" #---------------------------------------------------------------------- def __init__(self): """Constructor""" wx.Frame.__init__(self, parent=None, t...
[ "labelec@mac-labelec-01.42.fr" ]
labelec@mac-labelec-01.42.fr
46c76e0d3eb537ce604a81dac123172a9acd19db
eae39dcab9a9105cdce477c97a003930eae94af2
/reddit-downloader-soup.py
b040a9bb94af53ba3e3f68b42822c7999381148a
[]
no_license
ajayhk/reddit-downloader
5407837fe0e54f88527c7e8646d3061d83bdcdb5
b12e8ffb01b11fb0ed7ba0207930b2151cd4626c
refs/heads/master
2021-01-22T17:14:23.888849
2019-05-28T23:55:15
2019-05-28T23:55:15
40,729,560
1
0
null
null
null
null
UTF-8
Python
false
false
2,879
py
from pprint import pprint import requests import json import re, praw, requests, os, glob, sys from bs4 import BeautifulSoup imgurUrlPattern = re.compile(r'(http://i.imgur.com/(.*))(\?.*)?') def downloadImage(imageUrl, localFileName): response = requests.get(imageUrl) if response.status_code == 200: ...
[ "ajay.harikumar@gmail.com" ]
ajay.harikumar@gmail.com
72bd08f8da20278722d1155bfcb8cba06a4925dd
9d7d3e605602b3a4f003cc5424fa24868b8a4d57
/PerformanceAssessment_App/pysimmusic-extended_rhythm_error_visualization/tests/test_chords.py
c8abd2d0a1f3a28f185f66522866bf8a30bff84f
[]
no_license
RamoonRoomeu/AutomaticAssessmentSax
a57bdb72473541a06a6c2d7e4fedd0155e35c5ff
c96c3e48febd812598a9127c7274cbf5db89b375
refs/heads/main
2023-05-21T22:41:34.550973
2021-06-17T11:18:09
2021-06-17T11:18:09
377,793,913
1
0
null
null
null
null
UTF-8
Python
false
false
2,725
py
import unittest import json import os import pychord_tools.common_utils as common_utils import simmusic.extractors.chords as mc_grade from simmusic.utilities_chords import SimUidAndAudioPathExtractor, load_file_list pysim_chords_test_data_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), 'data/chords')) d...
[ "ramonpuntromeu@gmail.com" ]
ramonpuntromeu@gmail.com
212d09a4456e12f04c1dd011f8663396b53d9d2d
bb8be794baff0e4ef1c7fb80672772d55b7813ec
/utils/scp_utils/sketchSCP.py
22a0a95c4af6dc552ca67ca41f49ccf1530dc17e
[]
no_license
lihr04/corel2m
eaa9b1076f4629f8c545090a251c61a7834e3b0d
f1f9e9f4f85c7eb076e3c15e2390c9d612adabdf
refs/heads/main
2023-06-12T19:33:03.730078
2021-06-28T02:28:41
2021-06-28T02:28:41
315,796,136
0
0
null
null
null
null
UTF-8
Python
false
false
12,686
py
__author__ = "Haoran Li" __copyright__ = "Copyright (C) 2020 Haoran Li" __license__ = "Public Domain" __version__ = "1.0" from copy import deepcopy import math import torch from torch import nn from torch.nn import functional as F class SketchSCP(): def __init__(self, model: nn.Module, device='cuda:0', alpha=0, n...
[ "lihr04@outlook.com" ]
lihr04@outlook.com
67f860c7be0bdabfc052d7d9700a90da99e76b81
d72bfa081c6b07cc84a25848104aa9b814a0f8ad
/first-table_query.py
7f2ae455144f3ede8cee72b00b4051de3a46010e
[]
no_license
AbeTavarez/Python-SQLite-Sandbox
97a20155c9ade4e618398964440ec740f8cc1cd9
938ae75668f85bc2c19bd563dc9353c45c6adb49
refs/heads/master
2023-06-01T16:14:57.936869
2021-06-12T01:47:02
2021-06-12T01:47:02
375,184,698
0
0
null
null
null
null
UTF-8
Python
false
false
275
py
#======================== # Query Person Database #======================== import sqlite3 connection = sqlite3.connect('test_database.db') cursor = connection.cursor() query = "SELECT * FROM People;" results = cursor.execute(query) row = results.fetchone() print(row)
[ "abeincwireless@gmail.com" ]
abeincwireless@gmail.com