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
8a94001111da649b92a725b1d7bc961265802cb8
c0ffe8573c627cda23840318bb22ca4bc612897e
/google-practice/Interview-Questions/oneEditOrMore.py
0385c3199cc150292e559094c2c7951376b18795
[]
no_license
ammarasmro/experiments-tuts
284b37c9cce14c02e73a0bce65d36dfa9d85ee74
21395e64fce03c7c3d7590eb48038415f7640245
refs/heads/master
2021-01-22T19:35:57.891498
2017-09-30T07:33:57
2017-09-30T07:33:57
102,421,027
0
0
null
2017-09-30T07:33:58
2017-09-05T01:55:13
Python
UTF-8
Python
false
false
804
py
def isOneEdit(myString1, myString2): if abs(len(myString1)-len(myString2)) > 1: return False counter = 0 str1Iter = 0 str2Iter = 0 while str1Iter < len(myString1) - 1 and str2Iter < len(myString2) - 1: if myString1[str1Iter] != myString2[str2Iter]: counter += 1 if myString1[str1Iter+1] == myString2[str2I...
[ "ammarasmaro@gmail.com" ]
ammarasmaro@gmail.com
fa546a46671df8d5e7d5f0030dbce2f35ebe48ce
1df53d3142563ccf0e47615dc226be0d6b9475aa
/model_utils.py
3ed7b63f1cbafd89e7921c9febda497eb12c891d
[ "MIT" ]
permissive
zjunet/KDDCUP2020_AutoEnsemble
eee94298515db54f6bbc4c03729418913c2ae4ad
88b766eb66e33d51ca350b22485bd9839e193ab2
refs/heads/master
2022-10-27T05:02:11.076782
2020-06-15T03:49:14
2020-06-15T03:49:14
285,231,427
1
0
null
2020-08-05T08:43:58
2020-08-05T08:43:57
null
UTF-8
Python
false
false
20,601
py
import pandas as pd import numpy as np import lightgbm as lgb import torch from sklearn.model_selection import train_test_split from torch_scatter import scatter_add from torch_geometric.utils import add_self_loops, degree, add_remaining_self_loops, remove_self_loops, is_undirected from torch_geometric.utils import to_...
[ "826804116@qq.com" ]
826804116@qq.com
5a0772e1a8a55625488fe06642e451fb792dad75
b0129214b1d493bdec6fc4658727775fb4066a5e
/addons/todo_user/__manifest__.py
373e3f23f73a060a7b0267b94f628db4cc01f954
[]
no_license
gitstalker/docker_odoo
9875636e4f1bf60a8e55c7a66e8c85abf5f61661
c049d93586f1c35300563fc77685da22d9cc4e14
refs/heads/master
2020-05-02T01:10:45.705337
2018-10-20T12:03:20
2018-10-20T12:03:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
{ 'name':'Multiuser To-Do', 'description': 'Extend the To-Do app to multiuser.', 'depends': ['website'], 'data':['views/templates.xml'], 'author': 'hdwolf' }
[ "spacegoing@gmail.com" ]
spacegoing@gmail.com
923934d04555b341a1c5a3b1c3b87d95a95a11b7
07c1bc9e8d85cecd55f9cb4ce7e8a0767064e394
/test.py
6077752e74e79791a9a2072deb1fb0b02ae54077
[ "MIT" ]
permissive
dblume/wine-tasting
2868163d3e95f39e6c338f73dfbe0318e3e73794
53a4ab6b518fb84b89f6752a8bc764fbf27c4b92
refs/heads/main
2021-11-25T10:29:50.903756
2021-11-19T18:13:34
2021-11-19T18:13:34
20,635,814
0
0
null
null
null
null
UTF-8
Python
false
false
3,815
py
#!/usr/bin/env python import sys import unittest from StringIO import StringIO import wine_allocator class Tee(object): def __init__(self): self.saved_stdout = sys.stdout self.stdout = StringIO() sys.stdout = self def close_and_get_output(self): sys.stdout = self...
[ "david.blume@gmail.com" ]
david.blume@gmail.com
ea8340585fbefecf22d761ebd8f68b9adb4a6aab
d2a20d4118dcfadc25ccf8214d1ecb21c3fd8e91
/ye's model/randomForest.py
46407bc51989dfa40404e034de8f38636e8079f7
[]
no_license
jinfy/PopulationSpatialization
b4358e1bb1ca4121583c50736cece392cc1f8c74
a6c468b32effa3a055bd8cfe7f0ab3eb88d3a895
refs/heads/main
2023-08-11T10:24:39.106679
2021-09-16T07:09:44
2021-09-16T07:09:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,543
py
import pandas as pd import numpy as np # 100 200 500 RESOLUTION = 500 N_ROW = 0 N_COLUMN = 0 if RESOLUTION == 100: N_ROW = 1540 N_COLUMN = 1250 elif RESOLUTION == 200: N_ROW = 770 N_COLUMN = 625 elif RESOLUTION == 500: N_ROW = 308 N_COLUMN = 250 grid_src = r"..\Data\gr...
[ "noreply@github.com" ]
noreply@github.com
31ef41bd0fca49eeaa48af78dd411fcbfe5cc11f
5b52b0ea918fbf6160def50541ffbe6aeb5a01ae
/bin/uniprot.prot.py
c7d346f11b2e7773c52fcaa96bef844f247d09c7
[ "MIT" ]
permissive
cossio/ProteoPy
74fe3d1fc17f3b91738da90c0aef0e5eb71a311b
a3569dcef34e4d416863c812e90498d749dc288f
refs/heads/master
2021-09-06T02:43:05.614654
2018-02-01T20:06:29
2018-02-01T20:06:29
111,602,429
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
#!/usr/bin/env python import sys import argparse import ProteoPy PARSER = argparse.ArgumentParser(description='Get basic information from Uniprot from a list of Uniprot IDs') PARSER.add_argument('--prots', type=str, help='list of proteins') PARSER.add_argument('--out', type=str, help='output file') PARSER.add_argum...
[ "j.cossio.diaz@gmail.com" ]
j.cossio.diaz@gmail.com
25161b9b4c4e193d64701617854874c8f308c454
50af049cd65bc2a421d94e2b8a1b103594053d53
/montyhall.py
b7db06f68eaf602112702efb064e07c28869f7c6
[]
no_license
eumesmamente/pequepy
c7daa3f24c3dfbb3a0ba2824df186c823c5d83ec
74450b4e54fb928a86eb6304ad60e838ae1e8a4f
refs/heads/master
2021-06-23T17:46:51.181373
2021-03-19T00:09:20
2021-03-19T00:09:20
73,612,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
#!/usr/bin/python # coding: utf-8 # XOGO: O problema de Monty Hall import random import os os.system('clear') def xogo(): partidas=0 xogando = True cp=0 ncp=0 while xogando: os.system('clear') premio=random.randint(1,3) print " ___ ___ ___" print " | 1 | | 2 | | 3 |" print " | | | | | ...
[ "eumesmamente@riseup.net" ]
eumesmamente@riseup.net
34f53a507b87e722114310cbe682154ef5b603bf
dbad872a1e1b1e03b76197c330f81dbb678372f3
/roman_to_int.py
d4a59953c537747491a7343a35fd021f3c9e62df
[]
no_license
rohitandcode/LC_Easy
6d1e4033af21599e0f49df2fad65239bda3674b2
d6eb1461cbc1a445deae0126523905916d431c9d
refs/heads/master
2020-12-03T09:44:52.398403
2020-06-24T18:18:49
2020-06-24T18:18:49
231,270,964
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# LC13 class Solution(object): def romanToInt(self, s): """ :type s: str :rtype: int """ dicto = {'I':1, 'V':5, 'X':10, 'L':50, 'C':100, 'D':500, 'M':1000} lis = list(s) sums = 0 ...
[ "noreply@github.com" ]
noreply@github.com
63631d49e64a6f1b69225c61c39177874adf39f9
cde31c1b90800c241fd30bd143ac117594bd3f0e
/negPos/utils.py
f9012957fa01dfe219acdcdab192f0ec6e0090c6
[]
no_license
hadarbmdev/interactionAnalysis_thesis
59d8e6a9cddd9d4761725b67c9c0450c38dedcf7
d2649462a521de788fcd45d3ddd2ebf885ebc6a6
refs/heads/master
2023-02-12T04:20:27.092651
2021-01-12T19:37:20
2021-01-12T19:37:20
272,697,447
0
0
null
null
null
null
UTF-8
Python
false
false
3,913
py
import enum from datetime import datetime import pandas as pd import numpy as np import matplotlib.pyplot as plt import csv import json from operator import itemgetter import os import fileinput from py import global_utils import math class BehaviorsEmotions(enum.Enum): posBposT = 1 posBnegT = 2 negBposT ...
[ "hadarbmdev@gmail.com" ]
hadarbmdev@gmail.com
a94191f3db4e9969babddfa2a95463af5918d353
b1bd44b26db3e81368549bb3b2fddf541630649e
/IMCcalc.py
4645a74ef8a82e1c1a3761d8f76864c13203ab58
[]
no_license
josh231101/RGBColorPicker
c8d9e08d1165dad1ac8d6ffbee887491c05356b0
d9f6251b168a686450604512b493baf33f7ac6e5
refs/heads/master
2023-01-16T04:46:08.762524
2020-11-23T00:18:07
2020-11-23T00:18:07
311,843,691
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
import PySimpleGUI as sg def calc_imc(p,h): return p /(h**2) sg.theme('Topanga') layout = [ [sg.T('Peso (kh): '),sg.InputText(),], [sg.T('Altura (m): '),sg.InputText()], [sg.Button("Clear"), sg.Button("Calc"), sg.Button("Salir")] ] window = sg.Window('IMC CALCULATOR',...
[ "wiijosue333@gmail.com" ]
wiijosue333@gmail.com
ed0fe0703252d2b5008aa85f54c93ebe6c1e81fb
ef662f6e004f29f0c4d9623c8655e7562c9994d1
/miniblp/market.py
f6946decb698b9cacf743da5bd8ca9f3977e60e3
[]
no_license
james-atkins/blp-assignment
faf477ebfc56071b295d6d29b134bff368287673
5e511420e062765e26a5e0c9e0a42f2f103ce9cf
refs/heads/master
2023-01-05T08:04:05.261243
2020-11-05T10:53:06
2020-11-05T10:53:06
227,912,875
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
from typing import Optional, Tuple import numpy as np from numba import njit from scipy import linalg from .common import Vector, Theta2, Matrix from .data import Individuals, Products from .iteration import Iteration, IterationResult class Market: """ A market underlying the BLP model. """ name: str in...
[ "hello@jamesatkins.net" ]
hello@jamesatkins.net
2f8373e82d8f6770def3f2102776d72c8c6a834f
6871c745f82121a26812502f320f0c21741fe42b
/config.py
b802d2b6f4a520a1bf1353db9ec84656c92ee378
[]
no_license
ericdonnelly/Brick-House
7fc8a8eadcfdf826963d98cc14825a4bd64b9966
ad36a35954b37ed211200bb31f3abf402129d599
refs/heads/main
2023-02-12T08:50:11.220865
2021-01-06T02:35:39
2021-01-06T02:35:39
320,123,231
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
# GMAPS API Key gkey = "AIzaSyA7syV4Z2LAYZ64QqKCcmUrGGN18-PmqX4"
[ "ericdonnelly601@gmail.com" ]
ericdonnelly601@gmail.com
05ccf6e2d5d1a9e66261f6829dcff9f2468cbea3
124bdbf417117fe23168f043dd265f88b3bd6e70
/lib/datasets/__init__.py
e62bcd2b434d9f62ee2b19a9875c4c64db1d00e6
[]
no_license
tonyonifo/anytime
943f56ebd4759f0f5181607d8030d50eabb8d38b
86bba7a334fc65899da01b30d925437163c1dede
refs/heads/master
2023-08-02T21:32:42.977184
2021-10-05T16:58:35
2021-10-05T16:58:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .cityscapes import Cityscapes as cityscapes
[ "email@email.com" ]
email@email.com
d2c3e39fff7a8b828b1238645aaf46ce75152fe1
d15b4a64e3ac1a488a3eae0e0cebe0f215247f09
/build_image_data.py
8bc1aa659af8f5805a924b99a7be4ff6f607a385
[ "MIT" ]
permissive
AlexanderSoroka/CNN-oregon-wildlife-classifier
adbb3d67d2ff4eb46b5e2a9c1d9a0e66388f9e60
a57bf84322f1fa153e44b6e4209beb09663f4d9e
refs/heads/main
2023-03-26T09:24:52.989527
2021-03-08T16:25:26
2021-03-08T16:25:26
343,571,381
2
6
MIT
2021-03-09T07:53:41
2021-03-01T22:11:28
Python
UTF-8
Python
false
false
12,210
py
#!/usr/bin/python # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
[ "soroka.a.m@gmail.com" ]
soroka.a.m@gmail.com
fa4a0e62bf2e2b590e0d76319c06be7d8fa5f3c2
8713f974dd88fddd0079315f8b420794953ce91d
/src/utils/crypto_key.py
b6042654c76f9dd954c56dfa99f44d030bb768e5
[ "Apache-2.0" ]
permissive
dhxie/cosc-learning-labs
99ec8f190f4d25e6ac8134e807d609d7731b68d8
1ae30212e679012be4ac9e72dce7808777e69f9c
refs/heads/master
2021-01-18T17:16:55.942687
2015-07-17T02:42:41
2015-07-17T02:42:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,007
py
#!/usr/bin/env python # Copyright 2015 Cisco Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "anamatute@hotmail.com" ]
anamatute@hotmail.com
4c72cb0146c753049d6f053bd18d47b06596e152
2aad3dc790f288c9ff178b2fb1bd7f86fbc4a47e
/cnbolgs/users/serializers.py
1994c05602a1b24b8cc84665508834d3e132f1c9
[]
no_license
Daisy-Yjy/blog
06e0a616e16736cd3301d295179245afe5530df0
e107221ebdcd90c2bd93fd3f4ea6ce0e647652b2
refs/heads/main
2023-04-06T20:22:34.389756
2021-04-17T02:45:43
2021-04-17T02:45:43
355,381,484
0
0
null
null
null
null
UTF-8
Python
false
false
8,274
py
import re from django_redis import get_redis_connection from rest_framework import serializers from rest_framework_jwt.settings import api_settings from itsdangerous import TimedJSONWebSignatureSerializer as TJWSSerializer, BadData from .models import User, GithubUser from cnbolgs import settings class RegisterViewS...
[ "1971141290@qq.com" ]
1971141290@qq.com
e899dce720bec0bd2b1c3742bee19db16187e09a
b9121dcc859563d1e148ab539a47e471f467ede2
/cvfyblogproj/blog/models.py
e4450dddf449f17ff8e3466dfa8b0818ff5a941d
[]
no_license
VinitK/blog-application
2a12ce97b794f23a8c6e9a3b810c2756029453e2
e9cc19ddb9e98f5515ae557fe2b345e907bb9d2a
refs/heads/master
2020-04-28T01:14:09.706591
2019-03-11T03:33:47
2019-03-11T03:33:47
174,847,095
0
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
from django.db import models from django.utils import timezone from django.urls import reverse # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=256) text = models.TextField() create_date = models....
[ "vinit@cutshort.io" ]
vinit@cutshort.io
483a613632f81bdf62554edbb2080815498078b6
750db6d8fb836a361e7b0d1060e52efd2f2c4c36
/inference_app/migrations/0016_auto_20200330_1705.py
c58edaa13aa88d37ce24c41cd9d8986030b2893a
[]
no_license
dragosavac/vehicle_detection_app
b1aa2df97b78c4a3b63a1863d1d275e2881ac838
394b64161ec40f3389c46839311489b85b3d87bd
refs/heads/master
2023-01-24T22:47:59.900112
2020-11-28T12:46:52
2020-11-28T12:46:52
251,379,121
2
0
null
null
null
null
UTF-8
Python
false
false
435
py
# Generated by Django 2.2.11 on 2020-03-30 17:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inference_app', '0015_auto_20200330_1626'), ] operations = [ migrations.RemoveField( model_name='inferenceinstance', name='...
[ "rade.dragosavac@symphony.is" ]
rade.dragosavac@symphony.is
c73ca1e3ae1851e55b801e24ff6219b8ff872295
59eccb126e4efd0f39bab0b00683a9fbdd9b5e69
/tests/test_core.py
a1a01024c77cd89be8debe19e4246d704d0f3971
[ "BSD-3-Clause" ]
permissive
Deepomatic/channels_redis
c694ca7ab711937e2c3c245c5f817cdf06549640
54d935beb6842333ba4f3e6c29cbe86c4307cf16
refs/heads/master
2020-03-09T20:07:54.566703
2018-04-03T16:05:44
2018-04-03T16:05:44
128,975,901
0
0
null
2018-04-10T18:08:14
2018-04-10T18:08:13
null
UTF-8
Python
false
false
9,624
py
import asyncio import async_timeout import pytest from async_generator import async_generator, yield_ from asgiref.sync import async_to_sync from channels_redis.core import ChannelFull, RedisChannelLayer TEST_HOSTS = [("localhost", 6379)] MULTIPLE_TEST_HOSTS = [ "redis://localhost:6379/0", "redis://localhos...
[ "andrew@aeracode.org" ]
andrew@aeracode.org
0a2f8a83695f5c8c2c2ea926b7914ee08ee6cbdd
50ab563ae9d4506048a54b99f4f80b5b276c8f3b
/2pointer/16_threeSumClosest.py
8f4963a35261a37b05078f03b3f5a9a533381172
[]
no_license
chenpengcode/Leetcode
b403d05bd67b6661d1595136922f77bcb23947cf
4f92911896c8b92c51650413b998e0bb1edfa4c0
refs/heads/master
2021-04-08T13:17:41.482766
2020-11-26T17:21:23
2020-11-26T17:21:23
248,779,182
1
0
null
null
null
null
UTF-8
Python
false
false
802
py
from typing import List class Solution: def threeSumClosest(self, nums: List[int], target: int) -> int: nums.sort() ans = float('inf') for i in range(len(nums) - 1): left, right = i + 1, len(nums) - 1 while left < right: three_sum = nums[i] + nums[l...
[ "cpcoder@aliyun.com" ]
cpcoder@aliyun.com
32ae94af39dd74b8af3e10ed20e6aa9da09144eb
c70804bf9679944e8718438d86b08c5e296545bc
/extractFotNote.py
0955b31396b1087c83fef51b5357a85bf2071c36
[]
no_license
Kamel773/Delve_-Search_Engine-
f74c5b47f896854f3d13bf1a6ab66a8a40bfcfdd
aa0abde34546170a9a9186f895e087d1b60cb614
refs/heads/master
2020-05-18T01:08:09.226478
2019-09-03T08:09:16
2019-09-03T08:09:16
184,081,783
0
0
null
null
null
null
UTF-8
Python
false
false
8,676
py
from bs4 import BeautifulSoup import re import nltk.data import os import glob import pickle import csv import glob, multiprocessing from threading import Lock, Thread import time ''' "Beautiful code must be short", Adam Kolawa. ''' pickleFile = open("/home/rashedka/Desktop/FinalExtracting/DelveXML/listXMLfile_Delve_X...
[ "noreply@github.com" ]
noreply@github.com
98e69f23ae346f2016310590e40cc654fdf7d26b
90072552491d0eab6c611286d55a1f5155bdcf29
/config.py
42ebf335b0adf231867b97b956dedce3e792dbec
[]
no_license
Xerber/stalker
8d8287e1296922d61404866f0f7476dd57f0fbed
d097792aa3b4bca4f3a869660e61bcc9e7b05423
refs/heads/master
2021-01-04T18:01:34.489084
2020-02-15T11:51:56
2020-02-15T11:51:56
240,700,243
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
host='' user='' password='' home='/home/snowman/films_script/'
[ "cherobuk.91@gmail.com" ]
cherobuk.91@gmail.com
80e9e4574ed8693b8553db2e3c96d497209dcf92
80b54d0762516cffa9b9c86086a337c004bb4b18
/main.py
e39ccacf333f0f6e24c2253869e91588e9e07bda
[ "MIT" ]
permissive
Lol3rrr/TicTacToe-AI-NN
d3d3629ba3252ce85473ce4231066764101f45bf
4cfe30531233e7ffb4411923876244a32fda23cb
refs/heads/master
2020-05-26T00:56:51.709771
2019-05-25T21:33:11
2019-05-25T21:33:11
188,056,704
0
1
null
null
null
null
UTF-8
Python
false
false
173
py
from gameNN import Game from gameQ import Game from qLearning import QTable if __name__ == "__main__": #runningGame = Game(3) runningGame = Game(3) runningGame.run()
[ "34582309+Lol3rrr@users.noreply.github.com" ]
34582309+Lol3rrr@users.noreply.github.com
277f5c2929da8f67793af05b2f29f8923a5f57b6
d1a6270f3752dee9c7cc5e9ab490d2dc1ec264ba
/Code/Preprocessing/utils.py
a1dbb1df4ce086d2d707928e98b4c6ee63f6a021
[]
no_license
Jasonti0120/Bitcoin-NLP-Project
bc1d567da43907e687920cfcc676080f605fe079
17c4beb2bf53b70ce9dc8ef0d3d8863a6230657e
refs/heads/main
2023-08-21T11:46:10.305022
2021-10-14T15:49:36
2021-10-14T15:49:36
387,865,429
0
0
null
null
null
null
UTF-8
Python
false
false
3,263
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Jul 20 13:38:06 2021 @author: jasonti """ # sentiment score def s_score(df,target,output): """ Parameters ---------- df : target dataframe. target : A string: column name for text output : A string: column name for sentimen...
[ "cti@drew.edu" ]
cti@drew.edu
82dd4f49df2007a396a712276cb962ee9c2f9c29
f62b604587b78733c42e49145d2b79ea06d23374
/src/main/resources/versionone/getStories.py
979803ba897e6147b72c44fe8f93f84cecb8f613
[]
no_license
zvercodebender/xlr-versionone-plugin
e7b41ebee6445325c07be978580d7086825d8873
5ca798167fe83f17663ac47c40bd577ea515d47c
refs/heads/master
2021-01-21T10:45:49.923887
2017-10-25T19:14:32
2017-10-25T19:14:32
83,480,048
0
0
null
2017-02-28T21:17:01
2017-02-28T21:17:01
null
UTF-8
Python
false
false
1,064
py
# # THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS # FOR A PARTICULAR PURPOSE. THIS CODE AND INFORMATION ARE NOT SUPPORTED BY XEBIALABS. # import sys, traceback from version...
[ "rbroker@RainSong.local" ]
rbroker@RainSong.local
6aa5472a81eb982be6841fecca028c9450d0bc71
64653a5a2a64cd0a18643ea3c537dd21c3122167
/ohmyeye/urls.py
5b9c0c4129965443f6f886b43d7f8ad8bd26d616
[]
no_license
baidoosik/ohmyeye
52662341701c3905efe5c7cf329fbe6e400022de
1619f981f9f4e4e84b4577df28e769e9340ba06a
refs/heads/master
2021-04-27T02:47:45.497702
2018-02-24T22:25:37
2018-02-24T22:25:37
122,702,407
1
0
null
null
null
null
UTF-8
Python
false
false
948
py
"""ohmyeye URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.10/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-ba...
[ "qoentlr37@naver.com" ]
qoentlr37@naver.com
192513b2ebb9f2f9c07d84b4cdb0e2c0f10f8099
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/coding/longestPalindromicSubstring.py
5b5cc4e5f9239e189fda40d29fb79084b668ae13
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
862
py
''' 5. Longest Palindromic Substring 注意题目的return是什么 ''' def longestPalindrome(self, s: str) -> str: if s == '': return '' n = len(s) dp = [[False] * n for _ in range(n)] max_len = 1 start = 0 for i in range(n - 1, -1, -1): for j in range(i, n): if i ==...
[ "leahxuliu@gmail.com" ]
leahxuliu@gmail.com
bbde362c350b48413d134b1fce47ff145dce03bf
63b3ab7d84f2a2c974da0bb4643b7a3bcaffa23a
/lab3/src/main.py
5b28478a9c1e505ad65c28ef69604cc9ab2d2918
[]
no_license
Lukasz1928/NLP
1506a4062839231f5403a8becde9d7ba41a758b5
4f54fad491d75f3a25c69c4b39bfa777d34ceaa7
refs/heads/master
2020-04-28T06:24:07.733077
2019-06-03T13:40:03
2019-06-03T13:40:38
175,056,529
0
0
null
null
null
null
UTF-8
Python
false
false
3,150
py
from elasticsearch import Elasticsearch from src.es_utils import create_index, load_data from src.file_utils import get_all_filenames, read_polimorfologik, save_results import matplotlib.pyplot as plt import Levenshtein def aggregate_terms(terms): words = {} for doc in terms: term_vectors = doc['term_...
[ "Lukasz19281@gmail.com" ]
Lukasz19281@gmail.com
60edc9040518713f172c1e188db2a0857b8fbf2a
eb431b6e9b4ea2263bc174a7758663abc17c04e1
/mysite/mysite/settings.py
a57f88cd8effd894e1f39f08035adf7e57696b3f
[]
no_license
dh1p0em/my-first-blog
13d410fa3b540cfe1eef832caf756d3e4fa93ff3
144f0c19233cf749e0a94b35c18a2ea46debffd8
refs/heads/master
2020-04-19T18:09:18.746393
2019-01-31T09:26:23
2019-01-31T09:26:23
168,355,197
0
0
null
null
null
null
UTF-8
Python
false
false
3,089
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.10. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os #...
[ "anilefecoban5@gmail.com" ]
anilefecoban5@gmail.com
72d4ac2a4b4667b29a2e230fe8492dccbfc820b2
d730acc4921b91ed67d52c31b6a6e12c78397941
/blog/migrations/0001_initial.py
ac6e4f9594814e457ab4b7e03bcfb9fd27dd0453
[]
no_license
An-dy1/my-first-blog
8dbf1b0ee0d0f6175a6b9a9b98e2621e9c5e5bad
ac10cc832cc08e27561ed75fe008a83d25ccb201
refs/heads/master
2020-03-23T16:54:11.380012
2018-07-21T22:18:12
2018-07-21T22:18:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
986
py
# Generated by Django 2.0.6 on 2018-07-21 16:41 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
[ "andrea_sue2@icloud.com" ]
andrea_sue2@icloud.com
ea1b01621f36c02bc3965ee91415f198ac0d47b2
ffc3ebe790a6cb4667c777ca4840358c58723463
/improveo/settings.py
4fd85f93142e885d98e43f320af7703ed928b2a5
[]
no_license
odedahay/django-company-crm
ec480efed790f8a58068fd14b73dd459c88ae3d6
97ef246d78b1e25fe61dc28dc2633b94dd51acd7
refs/heads/master
2021-01-09T18:52:21.258002
2020-03-02T00:51:58
2020-03-02T00:51:58
242,417,086
0
0
null
null
null
null
UTF-8
Python
false
false
3,572
py
""" Django settings for improveo project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "odedahay@gmail.com" ]
odedahay@gmail.com
a3022d74803f2215703054399c88df7a6f9ff4c5
79a27d368f117885f072bff493d8fb712faa4479
/orders/models.py
8f0f26477215f812060e25cd9914b47f2face847
[]
no_license
Sultanbek9899/onlineshop
2e03b4abad39bfbf4ce4c7e9cc5ea2385352812c
082546cc4ba3bb2ab0f63d293c2521c53fdde651
refs/heads/master
2022-12-20T18:44:45.803307
2020-09-25T22:00:02
2020-09-25T22:00:02
291,037,882
1
0
null
null
null
null
UTF-8
Python
false
false
1,177
py
from django.db import models # модель заказа для сохранения данных заказа from products.models import Product class Order(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) email = models.EmailField() address = models.CharField(max_length=250) ...
[ "sultanbek9899@gmail.com" ]
sultanbek9899@gmail.com
a6fbf4d86b6573df70d0ccec4fbe0d3916817e21
cdd228f719a7db73d710cc6ad638e47740bc93ad
/6_ValidateIP.py
a3235deb4e072fdbac7563b9a21b4842c78f3af4
[]
no_license
DKanyana/PythonProblems
3f94a75c00f134e93322eeecdd815ae9ef4ae49e
602fe53af1268a6fd62913bc3c96ec096f3bce2c
refs/heads/master
2020-03-27T23:04:01.557524
2018-09-04T04:18:51
2018-09-04T04:18:51
147,287,074
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
def validate_ip(ip): len_ip =len(ip.strip()) octet =[] if len_ip <=0 or len_ip>15: return False elif ip.strip().count('.') !=3: return False else: octets = ip.strip().split('.') for octet in octets: if not octet.isdigit() or int(octet) <0 or int(octet...
[ "noreply@github.com" ]
noreply@github.com
a5bbfe1cd9b7a9bfcb2c0917f391fc5edc38b94c
fc3bed6b30a1ec5040d01ef8b428f7a34da4f571
/monitoring/readtemps.py
33030e796917675f01c589cdee3966404dbd4b3e
[]
no_license
rickroty/igatemonitor
156f73dbe69d34dc6a89c5cc4538ddad02d88733
c801becf37010f0968c69fef70aa624618f83bb3
refs/heads/master
2021-08-22T02:44:22.414655
2017-11-29T04:13:19
2017-11-29T04:13:19
106,628,465
0
0
null
null
null
null
UTF-8
Python
false
false
7,071
py
import os import sys import time ...
[ "noreply@github.com" ]
noreply@github.com
9ab5ef5a853915ae349e5ac9687669ca151241a2
c6499f46ff5f9685f3d4e09a0e548a1d81fa4dec
/.upython/stubs/random.py
281de1a6b0a61b95096d9b32cccac7a8ad6aaa90
[ "MIT" ]
permissive
vtt-info/upython-samples
7ffaf77817b2ce1c46d632850528060ac8df545c
c28e9667a22621dd4b62cc64927dfb051f8a84d2
refs/heads/main
2023-01-13T11:47:11.018041
2020-11-15T06:44:30
2020-11-15T06:44:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" Module: 'random' on pySBC 1.13.0 with FW1.0-171 """ # MCU: (sysname='pySBC', nodename='pySBC', release='1.13.0 with FW1.0', version='v1.13-171-g7720a5aa6-dirty on 2020-10-20', machine='simpleRTK-SBC with STM32F745') # Stubber: 1.3.4 def choice(): pass def getrandbits(): pass def randint(): pass def r...
[ "tayfunkaran@gmtcontrol.com" ]
tayfunkaran@gmtcontrol.com
9280ac79f4a7935fd8a74c47669555a1ff5abb41
058ab1a93f8213f93810c088d65e958a4ec50de7
/Assignment_2_SourceCode/Unused_FIles/ModelTest.py
b90101f96e4ede829cd0d48817e38771d3cd4a0e
[]
no_license
urube/adv_programming_python_ara_assignment2_2019-2
222bef94ca22a0e033bdc437d6f4c3e81918ed93
e58966c35311a00ec82880d12ea6a07dd6bb1c57
refs/heads/master
2020-08-14T12:19:58.097314
2019-10-15T04:35:16
2019-10-15T04:35:16
215,167,222
0
0
null
2019-10-15T00:49:49
2019-10-15T00:04:22
HTML
UTF-8
Python
false
false
380
py
import unittest class ModelTest(unittest.TestCase): def test(self): from drawer_kieran import DrawerKieran from parser_dang import ParserDang to_draw = open('test.txt', "r+").read() parser = ParserDang(DrawerKieran()) s = parser.parse(to_draw) self.assertEqual(s, '...
[ "noreply@github.com" ]
noreply@github.com
74f848ad711384a3273598f2f4b68e0141b9e2e9
78afda4cc334ea78043fbcc73169bc93ec63392c
/Py_Alergies/settings.py
9c4758792260dbb1bea51314592acfe896a2e4ee
[]
no_license
GisDJordje/Gis_Projekat
e2debbc3e0e5af9035133fc19df89fa0642238cf
752a80e494797c6975d878cda608d1a5e5b671a6
refs/heads/master
2021-06-27T11:59:21.302590
2017-09-13T04:07:20
2017-09-13T04:07:20
103,349,396
0
0
null
null
null
null
UTF-8
Python
false
false
3,614
py
""" Django settings for Py_Alergies project. Generated by 'django-admin startproject' using Django 1.9.12. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import ...
[ "djolesub@gmail.com" ]
djolesub@gmail.com
d4df58f2c24bda82a67205c1ec1ae96f54522fc9
1817aca734cda258cbbfd9e13fbf040d76824621
/aliyun-python-sdk-domain/aliyunsdkdomain/__init__.py
03e753e73534f3d3d1530c2b89ec0fb5458f2aaa
[ "Apache-2.0" ]
permissive
sdk-team/aliyun-openapi-python-sdk
4bd770718e70e31f19e1e322727c27ba74d9fb80
996cb07bfcf010fe3ab65daa73d26df2f3b6e97f
refs/heads/master
2022-08-04T13:11:56.729215
2022-07-25T10:01:10
2022-07-25T10:01:10
183,356,741
0
0
null
2019-04-25T04:33:24
2019-04-25T04:33:24
null
UTF-8
Python
false
false
22
py
__version__ = "3.13.0"
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
498098e3792ce0f2613ffa5458596fc7c7d2fd88
5027bd2ff21141b6ffd576ec4009eed389acbacb
/audino/backend/routes/users.py
b555f2abc5caa9a063b58f9258f0d767da97cca1
[ "MIT" ]
permissive
JacobGlennAyers/Audio_Labeling_System_AID
a19dda2b01491359e7fe10357ffa18e4cffff398
5ea3ed57d556b7d3a55df74b61909ea8f6c3127a
refs/heads/main
2023-03-10T10:11:06.317063
2021-02-19T23:58:04
2021-02-19T23:58:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,003
py
import sqlalchemy as sa from flask import jsonify, flash, redirect, url_for, request from flask_jwt_extended import jwt_required, get_jwt_identity from werkzeug.urls import url_parse from backend import app, db from backend.models import User from . import api @api.route("/users", methods=["POST"]) @jwt_required de...
[ "sean.hyatt.perry@gmail.com" ]
sean.hyatt.perry@gmail.com
0a96109443526a53b04bd4318fbadcab27e6ffa7
598c5f1f2d2ec805e2f5c9bad107367be56329dc
/SoshikiProject/Soshiki/urls.py
ce714b0b9b42fabb593f7bcc5ae21becc7968dc3
[]
no_license
HE-Arc/Soshiki
f84c9f4e4fb7294ca00c3056f08e53d5a2a2b2e0
d0ebca543bd647599090725806d86e4ecf665ecc
refs/heads/master
2021-03-19T12:26:57.049066
2018-04-07T12:46:42
2018-04-07T12:46:42
122,045,543
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
"""Soshiki URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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') Class-based...
[ "jules007.cesar@hotmail.com" ]
jules007.cesar@hotmail.com
e1994321314f87f666539e6bd8eeacaca4baae6a
1348fc770c52446b0659cab143fb610641962812
/Python/Bootcamp_seleksi/2b.3.py
3c864f7db65aa2fdbf6e7fa060242cfe0afc3a76
[]
no_license
bryanbernigen/ITBSem1
075d41b008741312b3f17ab1c73dd54d65da5be5
ef10221599f625058cebb706233798010ba3c945
refs/heads/main
2023-04-17T19:38:04.215994
2021-05-05T04:48:03
2021-05-05T04:48:03
353,978,618
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
#2b.3 Lakukan OneHotEncoding pada kolom bentuk. Kolom bentuk yang # belum diproses dapat dihapus (Hint: Library Sci-Kit Learn) #template awal import pandas as pd import numpy as np from sklearn.preprocessing import LabelEncoder,OneHotEncoder,LabelBinarizer from sklearn import preprocessing df = pd.read_csv("D:\\data_...
[ "bryanbernigen@gmail.com" ]
bryanbernigen@gmail.com
cb5f5ea3a6bd11f98432fda3ede902747c891678
abf29eca06e33fd9a758c41b6f7990f6c2d15970
/DirProject/DirProject/asgi.py
f0a9708181c3ba14a418b1175fc657cf816c026b
[]
no_license
amireppel/toga
89c018536d4501f59a880e50b0218d56602d88c8
679687ad5d2f0c49d3b03d688bc002095c8fc60f
refs/heads/master
2023-03-02T05:04:47.376339
2021-02-01T13:49:43
2021-02-01T13:49:43
334,486,160
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for DirProject project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "amireppel@gmail.com" ]
amireppel@gmail.com
c8e82f2c45977b37051e34e6e452577eb1467a83
19da2e0fdea22b5f6db5ac33d5d5e1d9882ab0a6
/learning_templates/basic_app/urls.py
001cbb4350dbe92b2c4661bf1acd8c0eb095aeb3
[]
no_license
Ravi95KB/django-learning-projects
d49d53f1b2e8a892ddd1426e68a23c2061554845
19ddba76a0b56af051255a1ccfbca20f289c8208
refs/heads/master
2023-02-03T13:45:44.938715
2020-12-24T07:34:37
2020-12-24T07:34:37
324,081,867
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
from django.urls import path from basic_app import views #TEMPLATE TAGGING app_name = 'basic_app' #The variable name needs to be 'app_name' urlpatterns = [ path('relative/',views.relative,name='relative'), path('other/',views.other,name='other'), ]
[ "ravi25ju@gmail.com" ]
ravi25ju@gmail.com
79926eb4ed7b1cb24b624dd9df42ddf2c75ac463
6188f8ef474da80c9e407e8040de877273f6ce20
/examples/docs_snippets/docs_snippets/concepts/assets/asset_input_managers_numpy.py
41c6a5aa55fde72067e0e687ff7d0816f51b530f
[ "Apache-2.0" ]
permissive
iKintosh/dagster
99f2a1211de1f3b52f8bcf895dafaf832b999de2
932a5ba35263deb7d223750f211c2ddfa71e6f48
refs/heads/master
2023-01-24T15:58:28.497042
2023-01-20T21:51:35
2023-01-20T21:51:35
276,410,978
1
0
Apache-2.0
2020-07-01T15:19:47
2020-07-01T15:13:56
null
UTF-8
Python
false
false
1,511
py
import os import pandas as pd from dagster import AssetIn, Definitions, IOManager, asset, io_manager from .asset_input_managers import ( load_numpy_array, load_pandas_dataframe, store_pandas_dataframe, ) # start_numpy_example class PandasAssetIOManager(IOManager): def handle_output(self, context, ...
[ "noreply@github.com" ]
noreply@github.com
0d0ea308d017f4b52fbf4a8bf89f384d26247131
4e96f383d4703ad8ee58869ed91a0c8432c8a051
/Cura/Cura/tests/TestBuildVolume.py
6ccb3d0fb7e1ed0702e8179aad7653553b069d72
[ "LGPL-3.0-only", "GPL-3.0-only" ]
permissive
flight7788/3d-printing-with-moveo-1
b2dba26010c4fa31815bc1d2d0966161a8600081
7fcb9c6b5da9245d54ac917de8c2a7f5148e42b0
refs/heads/Feature_Marlin_with_AlanBoy
2022-08-30T18:36:44.785058
2020-05-30T07:52:58
2020-05-30T07:52:58
212,583,912
0
0
MIT
2020-05-16T07:39:47
2019-10-03T13:13:01
C
UTF-8
Python
false
false
18,454
py
from unittest.mock import MagicMock, patch from UM.Math.AxisAlignedBox import AxisAlignedBox import pytest from UM.Math.Polygon import Polygon from UM.Math.Vector import Vector from cura.BuildVolume import BuildVolume, PRIME_CLEARANCE import numpy @pytest.fixture def build_volume() -> BuildVolume: mocked_appli...
[ "t106360212@ntut.org.tw" ]
t106360212@ntut.org.tw
fc5145f0837ea6447b109a85447c1d90938c40d6
8f420e1d63d69b21a1d964ae4771fbfe54b2b997
/Python Session 6.1.1 conditional statements and loops.py
616d674dc98133e4218c3543328435268f63cd80
[]
no_license
Jyoti-27/Python-6
03eb49037c627442fe3a633f92c1ae4b4e14d801
dc4a8d2cd65a9e4614ac6fe5c914b8cec6498f2c
refs/heads/main
2022-12-24T16:42:23.780614
2020-10-01T20:01:30
2020-10-01T20:01:30
300,408,932
1
0
null
null
null
null
UTF-8
Python
false
false
4,152
py
#!/usr/bin/env python # coding: utf-8 # In[1]: # create a variable salary and assign a value to it salary = 15000 if salary >= 35000: print('you are eligible for loan') else: print('you are not eligible') # In[1]: # lets assume that there is a criteria to unlocl the certifications - rules - they shoul...
[ "noreply@github.com" ]
noreply@github.com
1e5810523ea93878d26b6ef00317399d8e25aa25
1005a4290bca16dcf4c6b3415662e134044305bd
/python/Sources/gensource_Z2Jets_muhad_cfi.py
1d71fe0e0d4998bc6ab78e9176740d7f2eb3bcf3
[]
no_license
cms-analysis/TauAnalysis-GenSimTools
2652bb713107bb1d459882581237662d229d3906
b787b784ee3598c4428c4883c04cdc525eb54eb6
refs/heads/master
2020-12-24T15:58:14.392883
2013-06-28T20:10:42
2013-06-28T20:10:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
import FWCore.ParameterSet.Config as cms # The Alpgen Source. It reads unweighted alpgen files source = cms.Source("AlpgenSource", # use an input file name without extension unw fileNames = cms.untracked.vstring( 'file:/home/cbernet/ALPGEN/v213/zjetwork/z2j' ) ) # The Alpgen Producer. from GeneratorI...
[ "sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch" ]
sha1-5c72da6f595cce9b6b48aff6d56f01e9beb4aad1@cern.ch
96f097ae2cef0885482cea0cfb0b9c9056bdbf45
ab4f2ec4b595aec2a0133740858f1e15bc833b19
/3_Using_Python_to_access_web_data/week5_web_services_XML/week5_assignment_parse_XML.py
4d25a4650fce83813995908eb8743b95d21a19a8
[]
no_license
dexterka/coursera_files
4bcfc838affe499be6ff3fa8d1ae3f9b9cb7f4df
c550db6161c833c6c47f0214530129ffe50ae8d8
refs/heads/master
2021-07-14T10:59:58.528414
2021-06-23T08:59:56
2021-06-23T08:59:56
143,457,277
0
0
null
null
null
null
UTF-8
Python
false
false
711
py
# Env setup import urllib.request import xml.etree.ElementTree as ET # Temp vars total = 0 # User's input url_name = input('Enter location: ') html_request = urllib.request.Request(url_name, headers={'User-Agent': 'Mozilla/5.0'}) html_read = urllib.request.urlopen(html_request).read() # Parse XML data x...
[ "martina.chlebcova@gmail.com" ]
martina.chlebcova@gmail.com
a4f40a48fe3950b604589a17e731eb39f8c0f317
14e434036166c14364f7c6eb5477a225037c4a5b
/src/services/csv_reader.py
76ae89736a66abbee1267a50aaed0774fbeda0f1
[]
no_license
kristaloverbeer/ssp
c55bad4982576c7464515a9bb87f34080e6c7d73
3f475ae4448f5573540323e185a4ad1b508ed868
refs/heads/master
2021-06-13T06:45:04.790045
2019-05-13T18:13:41
2019-07-29T06:58:37
186,472,786
0
0
null
2021-05-06T19:34:19
2019-05-13T18:16:24
Python
UTF-8
Python
false
false
6,699
py
""" Parse CSV to extract addresses How to use the `csv_reader` script: 1) Save the xls data file as a csv in UTF8 encoding 2) Call the script by specifying the type of source (hotel or people) ``` $ python src/services/csv_reader.py \ -t "hotel" \ -s "/Users/fpaupier/projects/samu_social/data/hot...
[ "brisemeric@gmail.com" ]
brisemeric@gmail.com
650652c44475815a610083d2dc1789b0fcc454a7
8e5ed733e258f585bec13044cc3381e32a079a47
/manage.py
5f0046d2c88b2f70c35f9d0dd9fb53bbcf07644a
[]
no_license
DNA5769/MyAnimeChecklist
dc797eb206e2bf655b668707cd16070a3c862a6f
b523230c84e2f3bde5c9091c91c161aa3e58e22e
refs/heads/main
2023-04-15T21:32:30.421023
2021-05-03T20:09:29
2021-05-03T20:09:29
325,802,592
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MAC.settings') try: from django.core.management import execute_from_command_line exce...
[ "dennisthomas2002@gmail.com" ]
dennisthomas2002@gmail.com
f69d5a2c855b376f97d582465cd8c179d5452fa9
ad570312a736a84e96c5178bc1af91c6c0b898fb
/pyth/linkedListCoppy.py
4c1a565b380f1db25973401fb73c746e6d86da3f
[]
no_license
pritamSarkar123/Compitative20_21
ad813d189b7388ea2179bb96f64eaa88ba75db32
d5474b02487dc759c47e3da1047154533dc7b641
refs/heads/master
2023-01-14T12:04:51.756085
2020-11-26T09:31:02
2020-11-26T09:31:02
296,670,667
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
#problem description #https://www.youtube.com/watch?v=xbpUHSKoALg&t=784s # algorithm: # #create intermediate nodes # p=head # q=NULL # while p!=NULL: # q=p # p=p->next # t=copy(q) # q->next=t # t->next=p # #connecting new linked list # p=head # q=NULL # while p!=NULL: # q=p # p=p->next->next # ...
[ "pritamsarkar84208220@gmail.com" ]
pritamsarkar84208220@gmail.com
e43990df097eed0fd0d9bf0fd0fbd95e1335b29e
f6dca66d7035845869158c617cad4c3ca74210d1
/disentangle/topic_disc.py
2b98dfe6fb67de42c4ea2d83337c29ab10ff5531
[ "MIT" ]
permissive
anshiquanshu66/SAVED
6c320d8da7c2ef83e47da48dfb907941fd858491
130d3401a0532b6102fe4c9fcba04a85a8169b7c
refs/heads/main
2023-06-24T22:42:33.211993
2021-07-20T11:39:57
2021-07-20T11:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,125
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import json import logging import os import torch import engine from dataset import corpora from dataset import data_loaders from models import conv_models from utils import str2bool, prepare_dirs_loggers, get_time import gen_utils arg_l...
[ "noreply@github.com" ]
noreply@github.com
357153da0f198a8a44507ece863aaf188e86fb44
1b046f4f959fe9841c788a0b4e1016f17e267018
/game_stats.py
800f4fc0c7da4ee3b205d32c8a56559648208c70
[]
no_license
belieffsy/practice-alien_invasion
7973480d588fbd6ae4c6065da0b7869e1baa5025
0846fea2b65395742cb9de6a54639f5131085372
refs/heads/master
2020-04-06T21:11:09.281912
2018-11-30T03:39:20
2018-11-30T03:39:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
class GameStats(): """跟踪游戏的统计信息""" def __init__(self,ai_settings): """初始化统计信息""" self.ai_settings = ai_settings self.reset_stats() #让游戏处于非活动状态 self.game_active = False #在任何情况下都不应该重置最高得分 self.read_high_score() def reset_stats(self): """初始化游戏运行...
[ "noreply@github.com" ]
noreply@github.com
68e264f1175e4500758f875b6b021e66b4625bc8
9f1b8a1ada57198e2a06d88ddcdc0eda0c683df7
/submission - Homework1/HW1 - Alex/index_nested_list.py
bbb999230c523e6e8d132b64459550cc015955c5
[]
no_license
sendurr/spring-grading
90dfdced6327ddfb5c311ae8f42ae1a582768b63
2cc280ee3e0fba02e95b6e9f45ad7e13bc7fad54
refs/heads/master
2020-04-15T17:42:10.781884
2016-08-29T20:38:17
2016-08-29T20:38:17
50,084,068
0
0
null
null
null
null
UTF-8
Python
false
false
445
py
# Alexis Thompson-Klemish # q = [['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h']] # print the letter a print q[0][0] # print the list ['d', 'e', 'f'] print q[1] # print the last element h print q[-1][-1] #print the d element print q[1][0] #explain why q[-1][-2] has the value g print "negative indexes count from the ...
[ "sendurr@hotmail.com" ]
sendurr@hotmail.com
d5fa428f28b5f72ac1b246b16f8a93091fd13a8b
d2ead5ce523bb5a6c983fe4a4312ad43fe754ac0
/evaluate_models.py
6b1fa044133ee5742fbaa16b314e3cd7aeff7ee2
[]
no_license
SereV94/MasterThesis
b7a0c5f5b40369df378496ce5a6527a4a4991970
ee7c7b7b3c72d6badec71c617fab8ab6ebe9beca
refs/heads/master
2022-11-28T09:31:50.985913
2020-08-09T17:25:20
2020-08-09T17:25:20
235,092,436
0
1
null
null
null
null
UTF-8
Python
false
false
26,026
py
#!/usr/bin/python from helper import parse_dot, run_traces_on_model, dict2list, reduce_data_by_label, parse_symbolic_dot, run_traces_on_symbolic_model from statistics import median import pandas as pd import numpy as np import pickle import re import glob from collections import defaultdict from operator import add im...
[ "seredellos@gmail.com" ]
seredellos@gmail.com
e9b8cede519e8eecea7841170591be6130caa3c8
7032fd0d1652cc1bec1bff053af4f486a5704cd5
/old/ptex_2.3.2/conanfile.py
e984816bc3004d486cfd3d4515007495bbaaa826
[]
no_license
MercenariesEngineering/conan_recipes
c8f11ddb3bd3eee048dfd476cdba1ef84b85af5e
514007facbd1777799d17d041fc34dffef61eff8
refs/heads/master
2023-07-09T08:10:35.941112
2023-04-19T13:36:38
2023-04-19T13:36:38
169,575,224
7
1
null
2023-04-19T14:11:35
2019-02-07T13:23:02
C++
UTF-8
Python
false
false
3,008
py
from conans import ConanFile, CMake, tools import os class Ptex(ConanFile): name = "ptex" version = "2.3.2" license = "Apache 2.0" description = "Per-Face Texture Mapping for Production Rendering" url = "https://github.com/wdas/ptex" settings = "os", "compiler", "build_type", "arch" options...
[ "tdelame@gmail.com" ]
tdelame@gmail.com
8b5fa9d7d5f9d64a8aa54a63c57b1dbe5ddb945a
0c0ba361a75cfb57b0325291b52256e83c470708
/ex_cliente_encaps.py
fac2fb54519886995dac34730baade44fb3a00ce
[]
no_license
Anna-Beatriz/lp2
3c598b76e76e0b7f0256d6658bb9d22f69b9a417
30404fc6418b92d45e866c938ddebde110fd74d3
refs/heads/master
2021-02-19T00:10:33.039071
2020-04-24T20:36:30
2020-04-24T20:36:30
245,255,620
0
0
null
null
null
null
UTF-8
Python
false
false
1,227
py
class Cliente: def __init__(self, nome, cpf, senha): self.nome = nome self.__cpf = cpf self.__senha = senha def get_cpf(self): return self.__cpf def get_senha(self): return self.__senha def set_cpf(self, cpf): self.__cpf = cpf class ContaBancaria: ...
[ "annabeatriz.ms1@gmail.com" ]
annabeatriz.ms1@gmail.com
f81d5965412de401884bc6ee5031ef9a0b341a68
fbb1550dc5437d672ed0137bd7711eba3290dee3
/students/thomas_sulgrove/lesson08/assignment/test_inventory.py
b6e6b03a82d2e4a30955d31ed0914aa95134953a
[]
no_license
JavaRod/SP_Python220B_2019
2cc379daf5290f366cf92dc317b9cf68e450c1b3
5dac60f39e3909ff05b26721d602ed20f14d6be3
refs/heads/master
2022-12-27T00:14:03.097659
2020-09-27T19:31:12
2020-09-27T19:31:12
272,602,608
1
0
null
2020-06-16T03:41:14
2020-06-16T03:41:13
null
UTF-8
Python
false
false
1,769
py
"""unit tests for inventory.py""" import os from unittest import TestCase from inventory import add_furniture, single_customer def scrub_test_file(file_name): """remove the test file""" try: os.remove(file_name) except OSError: pass class TestBasicOps(TestCase): """Class for housing...
[ "tsulgrove@gmail.com" ]
tsulgrove@gmail.com
17182f5cae79f76332304a2abd4a7f9acf5a1442
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/layout/ternary/aaxis/_showticksuffix.py
2a1b061ea73eecf6d8c074e3d8662b7cb67f3748
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
533
py
import _plotly_utils.basevalidators class ShowticksuffixValidator( _plotly_utils.basevalidators.EnumeratedValidator ): def __init__( self, plotly_name='showticksuffix', parent_name='layout.ternary.aaxis', **kwargs ): super(ShowticksuffixValidator, self).__init__( ...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
43769e07cfb176ffe2561227bd4f5b708fadbad3
e30c23f90c37a45730aaf5366d30ff521d91a28a
/Leetcode 101/深入浅出动态规划/子序列问题/1143-medium-最长公共子序列.py
08bf11a5a4ed57d1273e53032c75e7aeaaa1ac57
[]
no_license
MaiziXiao/Algorithms
0acf8ca5150deb730d32a14ac68dd78ea70d202c
f6a883b4c0d1fe06609f92f7ad8ea5317a567795
refs/heads/master
2023-02-13T00:29:01.634488
2021-01-14T14:06:45
2021-01-14T14:06:45
97,946,136
1
0
null
null
null
null
UTF-8
Python
false
false
2,990
py
# 1.1. 最长公共子序列(Longest-Common-Subsequences,LCS) # 最长公共子序列(Longest-Common-Subsequences,LCS)是一个在一个序列集合中(通常为两个序列) # 用来查找所有序列中最长子序列的问题。这与查找最长公共子串的问题不同的地方是:子序列不需要在原序列中占用连续的位置 。 # 最长公共子序列问题是一个经典的计算机科学问题,也是数据比较程序,比如Diff工具,和生物信息学应用的基础。 # 它也被广泛地应用在版本控制,比如Git用来调和文件之间的改变。 # 1.2 最长公共子串(Longest-Common-Substring,LCS) # 最长公共子串(Long...
[ "linchen.xiao@metronom.com" ]
linchen.xiao@metronom.com
5fc5d33ab5a3e9925b7cd21a3f6b46e5b4456f00
501a6115aaad277bbf42fd782965b6387c981b1a
/Chapter_10/01_A_Tale_of_Two_ifs.py
512ecb8c7597a1bfb3f34a89fce0562304524deb
[]
no_license
dackour/python
371a12efaeca7e4f1888b12d181c88f010691766
82e469a40fc73ed7cc6742e6bb86aea22378ee5d
refs/heads/master
2020-07-27T02:59:02.945729
2020-04-05T10:35:07
2020-04-05T10:35:07
208,845,591
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
# Statements x = 2 y = 1 if x > y: x = 1 y = 2 print(x) print(y) if x: if y: print() else: print() a = 1; b = 2; print(a + b) # Three statements on one line mylist = [1111, 2222, 3333] A, B, C, D = 1, 2, 3, 4 X = (A + B + C + D) if (A == 1 and B == 2 and ...
[ "bartosz.smela@gmail.com" ]
bartosz.smela@gmail.com
6db33e398073ce4c522be21e5b50608e08cd4dc3
3b59a41f57045c585f8f1de5db7febcde1ce2525
/Instancias/serializers.py
5420db2007b93896fb153aa6940e3948b2fe1d4f
[]
no_license
elioclimaco/SIJWS
1a82d2f00a309cdce0722dd3c3b2669d6466cec9
f035416325eef8b5b00b3ce2a81517700b39a635
refs/heads/master
2020-05-26T07:22:10.721399
2014-10-20T20:48:24
2014-10-20T20:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
# -*- coding: utf-8 -*- __author__ = 'Elio Clímaco' from rest_framework import serializers from .models import * # # Órganos Jurisdiccionales # class JuzgadoSerializer(serializers.ModelSerializer): id = serializers.Field(source='c_instancia') text = serializers.Field(source='x_nom_instancia') class Met...
[ "elioclimaco@gmail.com" ]
elioclimaco@gmail.com
cf4b67c14d7a1b9856437ecb6e313e98a2c15a74
30c23852ae41a7808e2a202280e973ff1a4bbe2b
/OP/op.py
9217ca651fa7b0366b9ae90cc341da5a83482f7b
[]
no_license
rohe/oidc-oob-federation
050ce05a1bd373795bc74c63287edeccbf1c3129
53517decc43f4d58aa7b825feb8c97704de8822f
refs/heads/master
2020-03-18T04:04:10.383031
2018-06-07T12:15:55
2018-06-07T12:15:55
134,267,953
0
0
null
null
null
null
UTF-8
Python
false
false
4,153
py
import logging import cherrypy from cryptojwt import as_bytes from oidcmsg.oauth2 import is_error_message from oidcmsg.oauth2 import AuthorizationRequest from oidcendpoint.sdb import AuthnEvent logger = logging.getLogger(__name__) class OpenIDProvider(object): def __init__(self, config, endpoint_context): ...
[ "roland@catalogix.se" ]
roland@catalogix.se
9bf714a6abbcdb0385038e4cdee96b601cece13d
06a7dc7cc93d019e4a9cbcf672b23a0bbacf8e8b
/2013_adni/MMSE-AD-CTL/01_build_dataset.py
f9049d7b28f1fc1da3d70f12b740317ca04ad28d
[]
no_license
neurospin/scripts
6c06cd218a5f32de9c3c2b7d1d8bda3f3d107458
f14a2c9cf2cd7f5fbea767b017c3faf36d170bdb
refs/heads/master
2021-07-11T22:55:46.567791
2021-07-02T13:08:02
2021-07-02T13:08:02
10,549,286
2
2
null
null
null
null
UTF-8
Python
false
false
6,376
py
# -*- coding: utf-8 -*- """ @author: edouard.Duchesnay@cea.fr Compute mask, concatenate masked non-smoothed images for all the subjects. Build X, y, and mask INPUT: - subject_list.txt: - population.csv OUTPUT: - mask.nii.gz - y.npy - X.npy = intercept + Age + Gender + Voxel """ import os import numpy as np import g...
[ "edouard.duchesnay@gmail.com" ]
edouard.duchesnay@gmail.com
e2886ddba4caf4503f5d0cf9cf97f91e5c76cd44
3d0bb8d94a69237bf3c6ba6b2ccfdd0bc9cc162c
/addons/asterisk/agi-bin/states/get_fast_dial_destination_from_ibs.py
4521e2804bce47ffccda4b3c9723ff47c347a06f
[]
no_license
ha8sh/IBSng
69727a7c5476ecb8efa45b7393ffe51de37a8a10
596aa468f8264ab0129431e3ede6cc1282b1ebbd
refs/heads/main
2023-08-25T18:21:28.081153
2021-10-02T05:03:52
2021-10-02T05:03:52
412,687,955
1
0
null
null
null
null
UTF-8
Python
false
false
791
py
import xmlrpclib import ibs_agi from lib import request from lib.error import * def init(): ibs_agi.getStateMachine().registerState("GET_FAST_DIAL_DESTINATION_FROM_IBS",getFastDialIndexFromIBS) def getFastDialIndexFromIBS(_index): """ get fast dial index destination from ibs may raise an IBSEx...
[ "hassanshaikhi@gmail.com" ]
hassanshaikhi@gmail.com
555a9901a0b0cebf2a2cc73a7838cc735101a711
9b371bf5710042b09f5f3745b1289821d9f01448
/Sequential_Sealed_Auction/strategies.py
2715aa38c71228015a546e1c41983360ceb05e9a
[]
no_license
15rsirvin/Computational-Economics
4b505f4ddead78cb3007ce958cb2d9faa08a5d25
d292ad627eea2ce595b8d934ee40609da338c3a1
refs/heads/master
2021-02-06T05:09:08.173130
2020-04-30T02:59:57
2020-04-30T02:59:57
243,880,497
0
0
null
2020-04-25T01:31:00
2020-02-29T00:46:43
Python
UTF-8
Python
false
false
335
py
from random import uniform, seed from math import sqrt import numpy import math class Strategy: def get_valuation(self, bid): return bid class Percent_V_Strategy(Strategy): def __init__(self, percent): self.percent = percent def get_bid(self, valuation): return self.percent * valu...
[ "irvinr@reed.edu" ]
irvinr@reed.edu
f50fbf295e7c63db3184c8adcae01d3500afaf12
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/tools/grit/grit/format/policy_templates/writers/ios_plist_writer_unittest.py
0fdecb1d1ef33336fc052bf6c32b3b97d6f1800a
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
6,923
py
#!/usr/bin/env python # Copyright (c) 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. '''Unit tests for grit.format.policy_templates.writers.ios_plist_writer''' import base64 import functools import os import plistl...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
fbf6f96f0e5b073a6b0de12bbcf2ef221caed4b3
a7341c7e161e3fa60e6bb8c0351b13b2a155a680
/PythonFiles/ucf_msd.py
ccfe6737bf7c51de09678163c9ff0b5650b6d35d
[]
no_license
vksh224/RecommendationSystem
fd483e353a1de288129b6fa767e4e734a8fab7ad
5653f213e72071dd0c046f39161abcad8451b4d6
refs/heads/master
2021-05-14T12:37:49.369592
2018-01-05T18:58:30
2018-01-05T18:58:30
116,415,025
2
0
null
null
null
null
UTF-8
Python
false
false
507
py
from surprise import KNNBasic from surprise import Dataset from surprise import evaluate, print_perf from surprise import Reader import os #load data from a file file_path = os.path.expanduser('restaurant_ratings.txt') reader = Reader(line_format='user item rating timestamp', sep='\t') data = Dataset.load_from_file(fil...
[ "vjsah27@gmail.com" ]
vjsah27@gmail.com
156797f1ef94e9e97124eebc01ce7344852072e0
8aa6d88176833b67633fb3aa9818433ec7d2802f
/app/views.py
c55b111ae896dbfd308c5ac2337e19acce1e6666
[]
no_license
pasupulatitheja/scikey1
29da300c79e498654dfeb4eda30c6bc90d2c5343
b41ed25256be0517cfb5efe6ba99076069e11376
refs/heads/main
2023-08-04T20:36:27.738668
2021-09-15T11:43:04
2021-09-15T11:43:04
406,736,248
0
0
null
null
null
null
UTF-8
Python
false
false
3,913
py
from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from pymongo.auth import authenticate from django.contrib.auth import authenticate, login, logout from .forms import LoginForm,CreateUserForm,DocumentForm from .decorators import allowed_users, unauthenticated_user f...
[ "theja.pasupulati@gmail.com" ]
theja.pasupulati@gmail.com
bbacf865691cc8c816c5b21413555b0e174a45fc
82c657c6d55241969147d3dc6efce18b6272d6f8
/AdaBoost/adboost.py
31ed31f27df12625c160fd0c5534db0890069f24
[]
no_license
wuyanzhang/Machine-learning
73893582fd84dcc4ebe8adedb1214cfa9f8b9ff7
6a8abf4762cdda4c3b1a5f579151155c5b6a8828
refs/heads/master
2020-05-25T05:13:26.666934
2019-06-16T02:41:26
2019-06-16T02:41:26
187,644,878
0
0
null
null
null
null
UTF-8
Python
false
false
4,947
py
import numpy as np import matplotlib.pyplot as plt # 函数说明:创建单层决策树的数据集 def loadSimpleData(): datMat = np.mat([[1., 2.1], [1.5, 1.6], [1.3, 1.], [1., 1.], [2., 1.]]) classLabels = [1.0, 1.0, -1.0, -1.0, 1.0] retur...
[ "178172535@qq.com" ]
178172535@qq.com
dcbfd84e1b63c8cda9bfef935a96be991c62e73f
4540049184beed3da8a88b56726d3cc2d56ed283
/ppo_baseline_v0.06/map_and_plan_agent/slam.py
96defb1fae970c4d5873887bc8fd4716bd829c20
[ "MIT" ]
permissive
Jiankai-Sun/habitat-challenge
30c4ed46053892e3700d1970795ed287d54fe60e
83a325eebb0632596c9d6c25bbc5f13bb464ed53
refs/heads/master
2022-05-05T04:53:41.521735
2019-05-17T13:47:56
2019-05-17T13:47:56
179,702,331
0
0
null
null
null
null
UTF-8
Python
false
false
19,085
py
import numpy as np, imageio import os import depth_utils as du import rotation_utils as ru import skimage import matplotlib.pyplot as plt import subprocess as sp from astar_planner import ASTAR_Planner def subplot(plt, Y_X, sz_y_sz_x=(10, 10)): Y, X = Y_X sz_y, sz_x = sz_y_sz_x plt.rcParams['figure.figsiz...
[ "sjkai1@126.com" ]
sjkai1@126.com
2bb5e9136817920f0a118765a28bf286b13b41be
c86277d74266b90b64774bc924b041009d697b2e
/source/nextdoor/wsgi.py
2ae744a10344445edcd3ffe9adf052710f84605a
[]
no_license
rakeshsukla53/facebook-for-neighbours
dcd0c564530404e5415fa08b184398d10b1170ba
3d6c1430ab4f7ac8f668626c82705552da9f6566
refs/heads/master
2021-01-10T04:54:00.962831
2015-12-25T17:32:45
2015-12-25T17:32:45
46,942,279
2
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for nextdoor project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
[ "rakesh.sukla53@gmail.com" ]
rakesh.sukla53@gmail.com
7ce5908f731cec9669227dd9adcc97767bac29df
990a225852967395a164fd4ac9b55381b5e2f08c
/renu/wsgi.py
04d2bab4841bc5e573212a9df240bea76532b4dd
[]
no_license
ueslialmeida/renu
aadc144548256c44fe7925b9015dce20e462a9bb
9a8c8c3bf777dacf3a5efa6585d0065d11067313
refs/heads/master
2022-07-22T23:39:44.276708
2020-05-20T01:42:25
2020-05-20T01:42:25
265,418,488
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
""" WSGI config for renu project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS...
[ "uesli.ti@gmail.com" ]
uesli.ti@gmail.com
73c1cb0d4aa4a86afefeb3fd74e8241edec6456a
7620893c7d253a4d8c6f5aef2cfda6c72b777d49
/src/Camera/DisplayImage.py
8d1b1ee14891406071b40da9d5bf7f304a4aa7ad
[]
no_license
garridoH/cameraGUI
cacc549a9da0bcb6c3b9be04ef9783c653300118
cb6ac1d54dd8651da974ed058990c8212d145415
refs/heads/master
2021-01-17T22:38:53.398306
2012-06-12T20:41:44
2012-06-12T20:41:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
''' Adapted from online sources, including http://www.blog.pythonlibrary.org/2010/03/26/creating-a-simple-photo-viewer-with-wxpython/ ''' import wx class displayImage(wx.App): def __init__(self, redirect=False): wx.App.__init__(self, redirect) self.frame = wx.Frame(None, title='Prosilica Viewer...
[ "raedwards@gmail.com" ]
raedwards@gmail.com
6b51914d0ededa34e2f7f91d51b1d1e0903779f5
66383f31f2c2a2c976add955f743c81a35d5e457
/django_petproject/blog/utils.py
30bf0f910c5840995af015196613e2f08741c34e
[]
no_license
KrutP/petproject
30dcca922513fcf6aecb88ca1230cb4314bddb60
a4c44807b6bd748039b238cb5cd5f539bef07ecc
refs/heads/main
2023-08-15T03:51:58.101520
2021-09-23T05:10:19
2021-09-23T05:10:19
408,832,587
0
0
null
null
null
null
UTF-8
Python
false
false
669
py
from django.db.models import Count from .models import * menu = [{'title': "About", 'url_name': 'about'}, {'title': "Add page", 'url_name': 'add_page'}, {'title': "Contact", 'url_name': 'contact'}, ] class DataMixin: paginate_by = 10 def get_user_context(self, **kwargs): context = k...
[ "pavel565123@gmail.com" ]
pavel565123@gmail.com
a3638dc9c57862fe4f551550ed3bfb9f97e9d20f
32821d668a3d3d8cbcbaea355fb1cead4acb4253
/apps/users/migrations/0002_banner_emailverifyrecord.py
846e6a4b09698eb7f6623fbfbdf9e5171d2044e2
[]
no_license
FigGG16/P2PLoan
7d6c09534da26126bbf7d490cc4accce3d0184c3
8ed1bac0102aca9b979dfa4ae9e14c49fb022799
refs/heads/master
2021-01-02T15:55:50.540243
2020-05-14T09:27:32
2020-05-14T09:27:32
239,690,998
5
2
null
null
null
null
UTF-8
Python
false
false
1,892
py
# Generated by Django 2.2.6 on 2019-10-26 13:26 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.CreateModel( name='Banner', fields=[ ...
[ "pub_fei_xiang2017@163.com" ]
pub_fei_xiang2017@163.com
36fc09b70887ca5efb8fd3fbe506ff6a7780b731
4fb8f91b5d276fb9c9eb4e8a902fc1b89c99d318
/les_1_task_1.py
3acb2c8140e11264d46d8f66970f7a9ca8f86253
[]
no_license
YakovBoiev/AlgPython
876be85eb0d127176a118292bb0d6eada662b15b
a6001b540600c7eae19a35e4d45c06e67f50b3b4
refs/heads/main
2023-04-10T17:59:46.526245
2021-04-15T19:13:40
2021-04-15T19:13:40
358,362,152
0
0
null
2021-04-22T17:47:18
2021-04-15T18:54:22
Python
UTF-8
Python
false
false
523
py
""" Найти сумму и произведение цифр трехзначного числа, которое вводит пользователь. https://drive.google.com/file/d/1pFXRM_lzv1wZ8hM0hx0sCNVnDCsogzZa/view?usp=sharing """ print('Введите трехзначное число') a = int(input()) a = abs(a) h = a // 100 t = a % 100 // 10 u = a % 10 s = h + t + u m = h * t * u ...
[ "noreply@github.com" ]
noreply@github.com
7a78bab1a7c668a9b26dfe834a4c903b5273b3e3
d833e1643f799d8979ae385992be9f3012af23a5
/examples/c60_find_submit.py
848dd0dd9378059f4770fd68b09de99329f047ff
[ "BSD-3-Clause" ]
permissive
ZhouHUB/simdb
05906505d549cbf584dcdcc91c9cebe95c2d349b
33fa21ddcc683e1618dfb337f5f928363c902a1e
refs/heads/master
2020-04-01T22:32:36.665260
2016-04-15T19:20:46
2016-04-15T19:20:46
36,950,426
0
0
null
2018-07-24T19:56:44
2015-06-05T19:06:15
Python
UTF-8
Python
false
false
1,051
py
__author__ = 'christopher' import ase from simdb.insert import * from simdb.search import * from pyiid.utils import build_sphere_np from copy import deepcopy as dc target_config, = find_atomic_config_document(name='C60 DFT') parent_atoms = target_config.file_payload[-1] # find the combined Potential Energy Surface (P...
[ "cjwright4242@gmail.com" ]
cjwright4242@gmail.com
44c07e30ca5523015f24e844a3fdda7a79daddbf
9fbb987c920cafaaf3a0c5aa8b8ac2a8abfaa887
/Eat/eat_mt/yts/html_get.py
c990abd4ce4b9781e8ecd83e6c00ceb34b94560d
[]
no_license
lwd1132438569/Data_baby
11f82a488bad86d46780b4a9df3de6b7c325ea27
94a068302555635325b43608b0e3e955e0196864
refs/heads/master
2021-01-23T07:37:51.833744
2017-09-18T09:47:37
2017-09-18T09:47:37
86,433,465
2
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
# -*- coding: utf-8 -*- import requests import time import random import sys # from imp import reload # # reload(sys) # sys.setdefaultencoding('utf-8') headers = { 'User-Agent':'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36', 'Accept':'*/*', 'A...
[ "1132438569@qq.com" ]
1132438569@qq.com
051d9853c1a80138b3692ffc5620491001b13b3e
84166b6d374529f01532194ec7729ab2c7f24ae8
/login.py
87d15a93df8e5bc11707c833d1aebca1ebd8baba
[]
no_license
sbalagudas/unicorn
c592a908220300b5e7fbc2a602dab56984664e0c
2c3208b70e6275cbbaf54a1d37f39abf99195950
refs/heads/master
2020-04-16T01:45:12.258498
2017-12-26T14:19:02
2017-12-26T14:19:02
83,402,081
0
0
null
null
null
null
UTF-8
Python
false
false
3,848
py
#!/usr/bin/python import wx from DBOperation import DBOperation as dbo import time import common as cmm import fonts import Main import enDecryption as ed class logInPanel(wx.Panel): def __init__(self, parent, ID, pos=wx.DefaultPosition, size=(600...
[ "371962715@qq.com" ]
371962715@qq.com
8988be20a22fb57d4719c31b7d397fab4a3163b1
7adecd15af359d19a611ce24b3ae8765b7af2a46
/reset_db.py
b3e0e8d8e3eae2acf91da93a40e1f8e255bd9183
[]
no_license
jkrovitz/MovieRatingSite
83996ec6856a31a04d59cadc89196d9819d022ed
bc9f1930595d578268e754078d4d374a0fbcedc5
refs/heads/master
2020-04-05T14:22:50.341159
2019-09-13T22:55:48
2019-09-13T22:55:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
print('Resetting database...') from server import db # Reset the database db.db.drop_all() # Create the tables db.db.create_all() print('Database reset: success!')
[ "jkrovitz@macalester.edu" ]
jkrovitz@macalester.edu
5adc121c249783a3723d7534db002449e0dd665f
48bdf7214235a2d60787fa8c5312f0461f688dde
/src/test_01.py
7f4e802f6ec4b9f4f09ebb16784db702f558eb91
[]
no_license
hechangfei1123/FaceRecognition
148b16a21b781bc915c131f92341012e54f4f0d3
6010f5c68aa7d4043dc256f19f3d53e192683e8d
refs/heads/master
2020-03-28T12:43:48.807655
2018-11-11T03:48:47
2018-11-11T03:48:47
148,328,122
0
0
null
null
null
null
UTF-8
Python
false
false
4,780
py
from PIL import Image from PIL import ImageDraw # im = Image.open(r"E:\BaiduNetdiskDownload\CelebA\Img\img_align_celeba\000011.jpg") # imDraw = ImageDraw.Draw(im) # imDraw.ellipse((68,111,69,112),fill="red") # im.show(im) import utils import numpy as np import os import numpy.random as npr import cv2 anno_file = r"E:...
[ "569594060@qq.com" ]
569594060@qq.com
f50f764b1502409cb63f656caee642bd0a491879
dc9650ad04552a1fae325209868ad60fa8301abb
/BotTelegram/migrations/0002_auto_20161010_1545.py
7ab3390bcaf122e887383cf99ef75d136f3ca619
[ "Apache-2.0" ]
permissive
manuggz/memes_telegram_bot
a284ae11f99650ea3feb61c58aeccaa47d25b53b
2ed73aac099923d08c89616ec35c965204cac119
refs/heads/master
2021-03-27T20:27:25.624851
2017-02-23T01:23:03
2017-02-23T01:23:03
70,193,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,092
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-10 19:45 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('BotTelegram', '0001_initial'), ] operations = [ ...
[ "manuelggonzalezm@gmail.com" ]
manuelggonzalezm@gmail.com
ec36939630b71f42dfc1ceb9a3c56d293db45181
95c1ee50b12ba1735eaddfecf39861a1b43f3e66
/maoyan_spider.py
74680c748e820a4530cc2afe93032dc12013ad92
[]
no_license
JonLuGitHub/spider_maoyan
988232f27e64c18dff0eb112bd7ce835a0b2e2c7
538474818b1349cc0f547f563874231c784dbbc8
refs/heads/master
2020-03-24T10:00:21.496508
2018-08-22T08:22:35
2018-08-22T08:22:35
142,644,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# -*- coding: utf-8 -*- import json import requests from requests.exceptions import RequestException import re import time def get_one_page(url): """下载数据""" try: headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 \ (KHTML, like Gecko) Chrome/58.0.3029...
[ "lq_hut@126.com" ]
lq_hut@126.com
d155f26c15d744cdfd16276623f1b50bcc247c91
ab9151dc5f98feaff5ad8971f3ace43f4b1feb09
/buildbad.py
3523be2fb5182eb8d1ddd4d4dca1bc48403b6821
[]
no_license
evangambit/Codex
c889d5d9dd601d09d9941e28ae6a08ab33205451
004609f0bf31add72d3101efe7fd47544342cf83
refs/heads/master
2022-12-31T19:21:03.545226
2020-10-24T20:03:46
2020-10-24T20:03:46
257,159,652
0
0
null
null
null
null
UTF-8
Python
false
false
481
py
import json, sqlite3 conn = sqlite3.connect('new.db') c = conn.cursor() c.execute('SELECT json FROM comments') F = {} n = 100000 for it in range(n): j = json.loads(c.fetchone()[0]) for token in j['tokens'].split(' '): F[token] = F.get(token, 0) + 1 badkeys = [] for token in F: F[token] /= n if F[token]...
[ "morganfredding@gmail.com" ]
morganfredding@gmail.com
048dd77d7a67072915ca12a4be0d9bb4cc71a927
5d68003304258314eab41444bc27be45921787cb
/aws_token_refresh.py
14da8c89abbbf2428c9cb7f308107eb5abe85798
[]
no_license
manas86/aws-auto-token-refresh
b921b19070e921cb058bcc0b28dffd2081ab0e13
9e04b35de3c531fa60fa3126b7ea1041c1cb781b
refs/heads/master
2022-11-12T22:24:49.755310
2020-07-05T21:40:37
2020-07-05T21:40:37
277,386,890
0
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
import boto3 from botocore.credentials import RefreshableCredentials from botocore.session import get_session from boto3 import Session aws_region="eu-west-1" sts_client = boto3.client("sts", region_name=aws_region) role_name="dummy-role-1" session_name="Session_name" def _refresh(): " Refresh tokens by calling a...
[ "manassamantaray@Manass-MacBook-Air.local" ]
manassamantaray@Manass-MacBook-Air.local
92c1bf03bc0279955a5ec39a71b9ec7617f7296f
27e8bb104c3b102d433f910561ffa80461c4887a
/spamNN.py
5aee9f09dc3c692da0f5d70cb3b67adcea0a473a
[]
no_license
entradajuan/spam2
fdcaa3aa2f2ddeff31ef7b9bc7ae64e5bb10ffd5
993f4042397910c75506e1c4fc318cb4ce98a70e
refs/heads/master
2023-05-31T03:32:31.820147
2021-06-06T18:59:55
2021-06-06T18:59:55
373,096,172
0
0
null
null
null
null
UTF-8
Python
false
false
3,559
py
%tensorflow_version 2.x import tensorflow as tf #from tf.keras.models import Sequential #from tf.keras.layers import Dense import os import io import numpy as np tf.__version__ #path_to_zip = tf.keras.utils.get_file("smsspamcollection.zip", # origin="https://archive.ics.uci.edu/ml/machine-learning-da...
[ "entradajuan@yahoo.es" ]
entradajuan@yahoo.es
dee08669b1d02ebe27c6c89f6953a3892a7f80ac
bd8a9afcf75a0a4048bffdfd37089d4e44299301
/node_modules/mongoose/node_modules/mongodb/node_modules/bson/build/config.gypi
d5e44d8de6462d315d8f2caf33ad03d6f3716250
[ "Apache-2.0", "MIT" ]
permissive
deanvlue/meantest
f0c836692903e83c205bc3934c9f81170ff6f5c3
5c4a0e039085cd8216202f18f49fba64b93dbc0d
refs/heads/master
2016-09-05T23:52:23.269296
2015-04-24T04:44:27
2015-04-24T04:44:27
34,538,954
0
0
null
null
null
null
UTF-8
Python
false
false
3,385
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 0, "gcc_version": 49, "host_arch": "ia32", "icu_small": "false...
[ "munoz.josecarlos@gmail.com" ]
munoz.josecarlos@gmail.com
3199220b5d3f26c2b9848fbeaf6d987c1f2e0c37
f6f2665598646c35f63aed9ae77bf3b8158bb81b
/DecoratorPattern/simple_func_decorator.py
4c8495494a0a305a51d3f3f32dfaf66426ff2c8e
[]
no_license
Stuming/designpattern
30a83185d1b04a2e67c9e7243a2e21ff5f9810a6
5a58e99e8a2ff1173e608edd26b1b41254940424
refs/heads/master
2020-04-01T20:11:50.751189
2016-11-23T14:55:14
2016-11-23T14:55:14
68,522,482
0
1
null
null
null
null
UTF-8
Python
false
false
367
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- def deco(func): def _deco(): print("-------Start-------") func() print("-------Done-------") return 0 return _deco() @deco def process1(): print("This is processs1.") @deco def process2(): print("This is processs2.") if __name_...
[ "1361046649@qq.com" ]
1361046649@qq.com
5c373349176db66ba2f7617dfca9fa2c18ee4d78
94724578994ab1438dcefb51b7ef4d8570da5d4c
/calibre/draveness.recipe
361ce64106650ddf8643557d49369ebfec882386
[]
no_license
PegasusWang/collection_python
6648d83203634abf44fd42c0b37b0bf7cc406d8f
9ef019a737a0817860d3184924c67a0833bd1252
refs/heads/master
2023-09-01T23:15:39.813635
2023-08-24T06:46:12
2023-08-24T06:46:12
43,693,872
130
90
null
2021-04-26T15:12:55
2015-10-05T15:28:15
JavaScript
UTF-8
Python
false
false
2,028
recipe
#!/usr/bin/python # encoding: utf-8 from calibre.web.feeds.recipes import BasicNewsRecipe # 引入 Recipe 基础类 """ 教程: - https://bookfere.com/tools#calibre - https://www.jianshu.com/p/0bcb92509309 - https://snowdreams1006.github.io/myGitbook/advance/export.html 命令: ebook-convert draveness.recipe draveness.mobi --output-...
[ "291374108@qq.com" ]
291374108@qq.com
0ce8d2ab48fab5b95445e205d1b406f8dbfdb76e
0ba1393b6c472000ccd16297915843377fb16338
/venv/space_ship.py
85bc8ee70126af92a544cee64f742a2a749dc44c
[]
no_license
Gautham116006/Alien_Invasion1
5fa8d6916b2a119d736b4cdfe48983f85dced728
e3f47db90b1e99e2f1b69b3c948a992ede1f756d
refs/heads/master
2022-12-11T14:15:07.358962
2020-09-11T18:06:53
2020-09-11T18:06:53
294,343,421
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
import pygame class Ship(): def __init__(self,game_settings,screen): # initialize the ship and set it's starting position self.screen = screen self.game_settings = game_settings #load ship image and get its rectangle self.image = pygame.image.load("Include\images\space_ship...
[ "63862992+Gautham116006@users.noreply.github.com" ]
63862992+Gautham116006@users.noreply.github.com
1fdebe6ed9f7b1888ae11d36cdcefdc246e740f5
543b0bcb81b16674c81be082824adca4d8ac509a
/apps/urls.py
a36a6454ca4fd7f22b2812aa610b1b12488eb2e9
[]
no_license
alxpolyakov/test-apps
a85d2a3828cdde056c3320be6f4a9c0fb52bb170
254a535c278ae34ec0e1d177eec2fac84b12daef
refs/heads/master
2020-09-15T12:24:59.963107
2019-11-25T04:39:03
2019-11-25T04:39:03
223,444,183
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
"""apps 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='home') Class-based vi...
[ "alx.polyakov@gmail.com" ]
alx.polyakov@gmail.com
eec8efa198fdd6ce3ad3070fc8265762caf05d1c
58141d7fc37854efad4ad64c74891a12908192ed
/tests/test_storage2.py
b09918d1388d18d6fb7fb62fa653799306d5de22
[]
no_license
stanleylio/fishie
b028a93b2093f59a8ceee4f78b55a91bb1f69506
0685045c07e4105934d713a0fd58c4bc28821ed6
refs/heads/master
2022-08-14T13:08:55.548830
2022-07-29T01:32:28
2022-07-29T01:32:28
30,433,819
8
1
null
null
null
null
UTF-8
Python
false
false
569
py
import unittest,sys from os.path import expanduser sys.path.append(expanduser('~')) from node.storage.storage2 import storage class TestStorage2(unittest.TestCase): def test_read_latest_non_null(self): s = storage() self.assertTrue(s.read_latest_non_null('node-008', 'ReceptionTime', 'idx')) ...
[ "stanleylio@gmail.com" ]
stanleylio@gmail.com
f8de786a0f3c8b0ba99882fe7407050b11316930
55b57d64ec547869835334318f3059fbb507558c
/Fred2/Data/pssms/tepitopepan/mat/DRB5_0111_9.py
fd2bb78b87e863070732f2fef744ff47908e3877
[ "BSD-3-Clause" ]
permissive
FRED-2/Fred2
9845f6678d4011cb746c7a5a6f283eea68077a02
b3e54c8c4ed12b780b61f74672e9667245a7bb78
refs/heads/master
2021-07-12T05:05:54.515427
2020-05-25T06:56:25
2020-05-25T06:56:25
16,275,425
42
35
null
2021-07-07T12:05:11
2014-01-27T10:08:11
Python
UTF-8
Python
false
false
2,095
py
DRB5_0111_9 = {0: {'A': -999.0, 'E': -999.0, 'D': -999.0, 'G': -999.0, 'F': -0.004754, 'I': -0.99525, 'H': -999.0, 'K': -999.0, 'M': -0.99525, 'L': -0.99525, 'N': -999.0, 'Q': -999.0, 'P': -999.0, 'S': -999.0, 'R': -999.0, 'T': -999.0, 'W': -0.004754, 'V': -0.99525, 'Y': -0.004754}, 1: {'A': 0.0, 'E': 0.1, 'D': -1.3, '...
[ "schubert@informatik.uni-tuebingen.de" ]
schubert@informatik.uni-tuebingen.de
3490b1bb4e1c131229f6c34d0a5be01c481e3222
f7dd967f82902ecfcd4825a579bbd9d1f05d8fbd
/TwitterTrends/urls.py
93e0ef3a2eec347d7870b478c1cf38b448105789
[]
no_license
Pravin-Rathod/TwitterTrends
1f55d7134a400dd9b2c137a4af4b43b93d2681d1
54112039b0ff23cc19820ae3bce5940aaf135d17
refs/heads/master
2022-09-15T20:23:07.908981
2022-07-24T18:31:02
2022-07-24T18:31:02
517,396,931
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
"""TwitterTrends URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/4.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') Class...
[ "43312928+Pravin-Rathod@users.noreply.github.com" ]
43312928+Pravin-Rathod@users.noreply.github.com
ba2b047f942cd1f395b5a28b8a0a65fd974e1b9b
87de2ede5daf6138100e87a817d1625545a384ac
/selfdrive/thermald/thermald.py
04f21911a42b9fdb1e3fb5c1b6f2033b90aa3557
[ "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
DS1SQM/OPKR084test_20210505
26acbe9d381753cbe72cb0271c163b588343918a
76fc12bff1472b8bbe62206cb8ae014f4c2fb969
refs/heads/main
2023-04-12T18:19:39.391330
2021-05-02T07:51:00
2021-05-02T07:51:00
364,593,815
0
0
null
null
null
null
UTF-8
Python
false
false
23,482
py
#!/usr/bin/env python3 import datetime import os import time from pathlib import Path from typing import Dict, Optional, Tuple import psutil from smbus2 import SMBus import cereal.messaging as messaging from cereal import log from common.filter_simple import FirstOrderFilter from common.numpy_fast import clip, interp...
[ "" ]
0c3d842557c9376a3e85eb48319735d211b4170d
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1/Naca/main.py
5645aca52186859c629e2d833d00d1e431940170
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
432
py
T = int(input()); data = []; for i in range(T) : data.append(int(input())); for i in range(T) : if (data[i] == 0) : print("Case #" + str(i + 1) + ": INSOMNIA"); else : digits = []; sumN = data[i]; while (len(digits) < 10) : tmp = sumN; while (tmp > 0) : if (tmp % 10 not in digits) : digits.ap...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
4a8c1adfb8aa3073a222cc3288e94790b685ca45
15dffdb8fa0cf1782cbc8c18cd5d1c7c31aa07a8
/learners/maml_learner.py
d176869af5d2c89efe41aaff525c0d684d93230e
[]
no_license
jinxu06/binary-pixelcnn
c5becd70ea440727dc6868ea27c236ca07c84215
d2e0ae24b6da9482a042a6f2ef1acf9aa24e1c92
refs/heads/master
2020-03-22T12:53:50.769396
2018-07-30T02:00:59
2018-07-30T02:00:59
140,069,397
1
0
null
null
null
null
UTF-8
Python
false
false
8,217
py
import sys import random import numpy as np import tensorflow as tf from learners.learner import Learner from blocks.optimizers import adam_updates import matplotlib.pyplot as plt plt.style.use("ggplot") from blocks.plots import sort_x # from blocks.plots import visualize_func # from data.dataset import Dataset clas...
[ "aaron.jin.xu@gmail.com" ]
aaron.jin.xu@gmail.com
018d19b621c159f89c4517aa9df136159ebc55b2
997645d6bb9c404f2f195328f29afa0eaa3c55b4
/profiling/run_profile.py
9dc53e081ca3be9c68699ab3a3bd28528130a0b7
[ "MIT" ]
permissive
piccolo-orm/piccolo
e43ea13c05c53ac00d9d20474c53ad2c49a40e80
83ea66323ef5a8e4010ea3ee19f34163bc881ace
refs/heads/master
2023-08-08T19:31:37.783445
2023-07-28T06:19:35
2023-07-28T06:19:35
155,008,334
1,139
90
MIT
2023-09-08T16:54:45
2018-10-27T20:53:26
Python
UTF-8
Python
false
false
829
py
import asyncio from viztracer import VizTracer from piccolo.columns.column_types import Varchar from piccolo.engine.postgres import PostgresEngine from piccolo.table import Table DB = PostgresEngine(config={"database": "piccolo_profile"}) class Band(Table, db=DB): name = Varchar() async def setup(): awai...
[ "noreply@github.com" ]
noreply@github.com
7f06aa3882b4fc1e0e5f3f8bc66e51bcb16b8038
5730e8d500a65992bb21094ffed26e21ccc7c0fd
/augment_dnase_pipeline_outputs/metadata/aggregate_ataqc.py
2963e434753969d97146b33d89c1eb86a8843a62
[]
no_license
kundajelab/atlas_resources
35f1df4c09356d7256a6667700b88020396d5642
89bcde11921526b9956be48bf367617db4974d31
refs/heads/master
2021-10-25T07:01:30.127405
2021-10-25T00:55:25
2021-10-25T00:55:25
160,546,622
2
1
null
null
null
null
UTF-8
Python
false
false
2,942
py
import argparse import collections import json import pdb def parse_args(): parser=argparse.ArgumentParser(description="aggregate ataqc metrics for all samples in a single report") parser.add_argument("--ataqc_files",default="/oak/stanford/groups/akundaje/projects/atlas/dnase_processed/aggregate_outputs/qc...
[ "annashcherbina@gmail.com" ]
annashcherbina@gmail.com