blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
9d562e7a011b720994fc47b825111e7783eee740
25c4ebcd26e3a09e0d0ea4453c0570a789cc198b
/pj01.py
745427b053ac793dbe866478a8f8037f78bb87e8
[]
no_license
yvanesc/alarmPi
b2b31bb8355b4ec9a042d955833621a3b8fce9d6
0af63f477c3885e0074f37f41acc925ad4746855
refs/heads/master
2020-03-14T03:33:44.263212
2019-01-25T20:17:37
2019-01-25T20:17:37
131,422,669
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
import time import RPi.GPIO as GPIO import pygame, sys, os import iniPi import sqlPi import ipPi import timePi import splashPi import pagePi from pygame.locals import * from iniPi import * os.putenv('SDL_FBDEV', '/dev/fb1') pygame.init() DISPLAYSURF = pygame.display.set_mode((320, 480)) #splashPi.disSplash(DISPLAY...
[ "yvan.esc@gmail.com" ]
yvan.esc@gmail.com
da97c3720835bd7a9a4f958affdf357389b900d0
c42f7313db9927033102a76ccb451b41d150a60e
/ax/modelbridge/tests/test_registry.py
bf8c05e85fb487b34917f9bc8273b77435bb0025
[ "MIT" ]
permissive
cnheider/Ax
1769b1828bff04a65fc91cc868f5409999761326
d213fc166a2c59f30109d034c3972f5ac1363e5c
refs/heads/master
2022-12-02T14:21:17.332491
2020-08-05T19:27:13
2020-08-05T19:28:54
285,564,165
0
0
MIT
2020-08-06T12:21:18
2020-08-06T12:20:02
null
UTF-8
Python
false
false
11,328
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from collections import OrderedDict from ax.modelbridge.discrete import DiscreteModelBridge from ax.modelbridge.random...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e45d0ef5bbac9135d954bff5f36fcb887bb44cab
57d041f4cb6a5f75d3e9b17e504f2fd90e1aaf1a
/moha/system/basis/gaussian_orbital.py
07838d63d98741b18a3fb3a2e0f777aa75f8dea0
[ "MIT" ]
permissive
ZhaoYilin/moha
e8e299d40012fa4179c36c402b0099c03d5e25ad
dc6c21b016f7d55009832957f5654b7c3d464b8b
refs/heads/master
2022-09-17T15:42:38.010053
2022-05-12T15:01:48
2022-05-12T15:01:48
221,081,502
16
3
MIT
2023-09-08T17:53:25
2019-11-11T22:27:52
Python
UTF-8
Python
false
false
2,174
py
from scipy.special import factorial2 as fact2 import numpy as np import copy class GaussianOrbital(object): """Gaussian type orbital class. Attributes ---------- n_number : int Principal quantum number shell : list Angular momentum exp : scalar Primitive ...
[ "zhaoyilin1991@gmail.com" ]
zhaoyilin1991@gmail.com
7e4aa61f15e679437e319c208d0d83d174ad08bc
8282c6674b6e33302f76882201e6db4a1c330b04
/scrapy_crawler/scrapy_crawler/settings.py
626b4389a175a23a4eb27256cf96f9aa71687e7a
[]
no_license
jmzhao/cs838-data-science
bfec402fc8949f381ae06ed9fe1178a02196b8dd
753fb9f44ef107a7349d3a171c7a3f080d7b5dd5
refs/heads/master
2021-01-21T06:38:37.529135
2017-05-08T05:02:59
2017-05-08T05:02:59
83,261,166
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
# -*- coding: utf-8 -*- # Scrapy settings for scrapy_crawler project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en...
[ "enemyless@Woods-MacBook-Pro.local" ]
enemyless@Woods-MacBook-Pro.local
3bbcdc928dab9c90de1b211be2bb99414a98e7c2
d87cb9ee238c0b49e23cb8a2834fae1886393296
/st01.Python기초/py08반복문/py08_08_정수2개사이합계1.py
dad48e0fe9de4509c7284cf641492a20f9275476
[]
no_license
eopr12/pythonmine
e1fb1a29430641f59a0274d607b75f82f79025b0
943b83cc64ec84b738e5c9fde53e3c224a0b04ea
refs/heads/master
2022-05-31T10:31:27.148233
2020-04-26T09:24:38
2020-04-26T09:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,067
py
# ▪ 순서도1 # 정수를 입력 받고 '시작값' 변수에 저장하시오 # 정수를 입력 받고 '종료값' 변수에 저장하시오 # # 시작값이 종료값보다 크다면 # i 는 종료값부터 시작값까지 i를 1씩 증가시키면서 합계를 구해하시오 # 아니면 # i 는 시작값부터 종료값까지 i를 1씩 증가시키면서 합계를 구해하시오 # # 합계를 출력하시오 # # # ▪ 순서도2 # 정수를 입력 받고 '시작값' 변수에 저장하시오 # 정수를 입력 받고 '종료값' 변수에 저장하시오 # # 시작값이 종료값보다 크다면 # 종료값을 temp에 넣는다. # 시...
[ "ddddd@naver.com" ]
ddddd@naver.com
b267cd07cada3fdd7ee8c3cd4507243ad1af85af
95334df44b5391c085800ec7f52f469e77725990
/leetcode/searchA2dMatrixIi.py
837de494d093f8e3d24952cb6de188592f3d810d
[]
no_license
baieric/hackerRank
e83edd3d824a80b66eb3104f24debbdddc492fff
f1de027d0f99a159141976ac9226710de0c59e22
refs/heads/master
2020-12-20T21:23:34.351130
2017-12-24T17:34:27
2017-12-24T17:34:27
42,031,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,997
py
# Solution to https://leetcode.com/problems/search-a-2d-matrix-ii/ class Solution(object): def search(self, matrix, target, top, bottom, left, right): print(str(top) + " " + str(bottom) + " " + str(left) + " " + str(right)) if bottom < top or right < left: return False if bottom ...
[ "ebai@uwaterloo.ca" ]
ebai@uwaterloo.ca
de25897a528ec6975ede7fd8811d9ba5d69f6d73
739d8d0fc26965accbd67ab3e1d6c9ad269ca2f5
/image_upload/image_upload/urls.py
175aeecdd152f9d9b393da9a809689d2b782f7a2
[]
no_license
IanWang24/image
ea975d0b3e93e5eca7fc48fa39de93873997328d
d0a251a7f0307c5a0496292ef2474de7505a892f
refs/heads/master
2023-06-23T21:47:45.980691
2021-05-10T17:41:19
2021-05-10T17:41:19
364,211,213
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from django.contrib import admin from django.urls import path from django.conf.urls import url, include from django.conf.urls.static import static from django.conf import settings from imageupload.views import post,display_images,delete urlpatterns = [ url(r'^upload/',post, name='file-upload'), url(r'^disp...
[ "k239858kk@gmail.com" ]
k239858kk@gmail.com
c2ec078f2033997b3cbd4dbd327aa0e41169645c
575d4b48a939d14da2a9bcb6a0ac085d81adae26
/test/test.py
30c349d94bdc94401b1a7333a31ee7d3a7c78ae4
[]
no_license
cloudeyes/TestOTL
60ddab65d58f4a8213dce975c20a778bce2429c0
a01282ba2e45a945a6a380f8b58277e525cbf3e6
refs/heads/master
2021-07-12T21:30:11.574766
2017-10-12T19:27:33
2017-10-12T19:27:33
106,734,812
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
from dbtransfer import TestDB def main(): test = TestDB('dsn=test.db') test.insert() test.select(10) if __name__ == '__main__': main()
[ "cloudeyes@gmail.com" ]
cloudeyes@gmail.com
22320c3a54284f938889fd1e709f91f231c46507
df3daf21008141551380c42642871c84dec6158f
/src/products/migrations/0035_auto_20160525_1459.py
6454ae765c973e5c17eb284cdfa8c3d0d9afbe9a
[]
no_license
jawadiqbal/GameShop
befe98547f1fc28773cf88272e8952f7da6b86ca
94ac073658eb666b4ccb44bad6822c83bdda6c8f
refs/heads/master
2021-07-23T03:41:44.713069
2020-02-06T20:57:02
2020-02-06T20:57:02
59,277,585
0
0
null
null
null
null
UTF-8
Python
false
false
525
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-05-25 08:59 from __future__ import unicode_literals from django.db import migrations, models import products.models class Migration(migrations.Migration): dependencies = [ ('products', '0034_auto_20160525_1448'), ] operations = [ ...
[ "mazidmailbox@gmail.com" ]
mazidmailbox@gmail.com
26985a3fa2924d49fe857b48b9bafbb1b520a053
3ef70fe63acaa665e2b163f30f1abd0a592231c1
/stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_adbapi.py
3f69ec3ac08a5a3404be34ad2db54903217d591b
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
wistbean/learn_python3_spider
14914b63691ac032955ba1adc29ad64976d80e15
40861791ec4ed3bbd14b07875af25cc740f76920
refs/heads/master
2023-08-16T05:42:27.208302
2023-03-30T17:03:58
2023-03-30T17:03:58
179,152,420
14,403
3,556
MIT
2022-05-20T14:08:34
2019-04-02T20:19:54
Python
UTF-8
Python
false
false
26,148
py
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for twisted.enterprise.adbapi. """ from twisted.trial import unittest import os import stat from twisted.enterprise.adbapi import ConnectionPool, ConnectionLost from twisted.enterprise.adbapi import Connection, Transaction from twiste...
[ "354142480@qq.com" ]
354142480@qq.com
ba2e16746e47e23dbc9455210da3b23b7c3cbb5f
64282d2009d8dd79d3f19185ce71c54b5453361d
/Flask/server.py
7019df95f7effb5712739e0d9f766596344898f3
[]
no_license
tural327/nltk_clustering-app_with_SQL
37ab1c8cdc758d28b2e8a2c5f0d4128ffea9d020
99a704ac17671f5f6164e7b6f407d7f84d7b3527
refs/heads/master
2023-08-23T22:31:35.922799
2021-10-05T19:32:58
2021-10-05T19:32:58
404,428,290
0
0
null
null
null
null
UTF-8
Python
false
false
610
py
import pandas as pd import mysql.connector as sql def add_server(msg,time,group): connection = sql.connect( host = "127.0.0.1", user="root", password='add your code', auth_plugin = "mysql_native_password" ) cursor = connection.cursor("SELECT * FROM my_schema.table") text = "INSE...
[ "noreply@github.com" ]
noreply@github.com
af77209f1993cbd7e99f22f22ec1aba180e75074
f72c9e46af5ce5ac738693daf65e67a0962a229a
/sdk/lusid/models/compliance_parameter.py
cb6fb63715a4b69a0b4802a978b906e7be9c6ded
[ "MIT" ]
permissive
finbourne/lusid-sdk-python
db8ce602f8408169f6583783c80ebbef83c77807
32fedc00ce5a37a6fe3bd9b9962570a8a9348e48
refs/heads/master
2023-08-29T18:22:49.488811
2023-08-29T15:57:26
2023-08-29T15:57:26
125,082,278
11
11
NOASSERTION
2023-04-28T07:16:48
2018-03-13T16:31:54
Python
UTF-8
Python
false
false
8,809
py
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 1.0.463 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ try: from inspect import getfullargspec except ImportError: from inspect import getargspec as getful...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
66fb2e07a595159aac3f94a3a87e46ad46f8fda7
2d42759da3b73df3ee9eda9e4c2af9dc884169cf
/assessment3.py
5b9bccb91d158efa7483c3831bbe5d9587cdfe42
[]
no_license
ShinsakuOkazaki/PythonPractice
63691fe49293de3b1e4bb6a0aa879d7be193db9b
0e0dbe9004d1179f917e922174e074fba060e854
refs/heads/master
2020-04-26T05:23:47.769667
2019-03-01T16:20:22
2019-03-01T16:20:22
173,332,760
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Oct 21 00:02:52 2018 @author: sinsakuokazaki """ x = 9 while x: x -= 5 print(x, end=',')
[ "golisaku4639@gmail.com" ]
golisaku4639@gmail.com
081740f01ca6882d700dd9da3b1f920554b578a8
9391e4929bdd0a913cafe0b9dd517ff23d6c3d9f
/Detect/urls.py
a7cb6dceb52ddb63cde1a66786886306175238f3
[]
no_license
JackInTaiwan/Internet-of-Cars
253f68a4af3c83b8b679987cb7e025be7b9589d0
c3af67b94755a31e0ccd6eb3e08fa482d342a11e
refs/heads/master
2020-03-08T14:16:30.380515
2018-04-05T09:24:58
2018-04-05T09:24:58
128,180,580
1
0
null
null
null
null
UTF-8
Python
false
false
110
py
from django.urls import path import Detect.views urlpatterns = [ path("detect", Detect.views.detect), ]
[ "b04901081@ntu.edu.tw" ]
b04901081@ntu.edu.tw
bd27272e24eedb1baf8db77c1319d624b199ead6
18ed7a533428c6584559b3cdd801b213886e08ad
/count_bin/countbin.py
acd0fa5712404969d7e04a9f6688836db6433043
[]
no_license
wolfsonliu/biotools
51d1f95caa2956a690143e4a94155a9dddd969ad
22b33cb4e39257753d45717c305b78f8ce2f04ab
refs/heads/master
2020-12-20T13:20:37.753895
2019-03-26T07:48:59
2019-03-26T07:48:59
44,907,463
4
0
null
null
null
null
UTF-8
Python
false
false
2,612
py
#! /usr/bin/python3 #-*-coding:utf-8-*- #####main file to calculate the distribution import argparse import time import os import bincount workdir = os.popen("pwd").read()[:-1] + '/' #####argument settings parser = argparse.ArgumentParser(prog = "countbin", #using %(prog)s to get the program name later. ...
[ "wolfsonliu@user.noreply.github.com" ]
wolfsonliu@user.noreply.github.com
ecdd644e145bd1d3ecd8442edcc3db63a37dfb39
b3256db9a97fef697e77852ca8358760a4b491b9
/aix_server_env.py
667df33361426f263863dcc3144686a84f588959
[]
no_license
angrek/dashboard
f6e36f6f1ad3ec0b2231e22b1a6be5c4c1843935
40f6602aeb569e49dfb68cbe99b5b207da1fd430
refs/heads/master
2020-04-05T14:07:07.025675
2016-09-16T19:07:43
2016-09-16T19:07:43
23,161,596
3
1
null
null
null
null
UTF-8
Python
false
false
2,112
py
#!/home/wrehfiel/ENV/bin/python2.7 ######################################################################### # # Script to check for env/server.env # # Boomer Rehfield - 2/24/2015 # ######################################################################### import os from multiprocessing import Pool from paramiko import...
[ "angrek@gmail.com" ]
angrek@gmail.com
5e5de9a7316307b921d645e0d9a9913b84936458
d1e1af5f517f2f971cc2a6398390054c86f13f98
/medianblr.py
1c2cdcae1ed141d98eee6b96b4fca58bef166bce
[]
no_license
vikasK1640A02/opencv
c5b5bb54bced5cc01cbc72b9cf45bb14e01b7952
ba6f9c50c66d21ed0863b013e85f463b24cdbd86
refs/heads/master
2020-05-18T14:06:52.367193
2019-05-01T18:28:01
2019-05-01T18:28:01
184,461,471
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
import cv2 img=cv2.imread('img/love.jpg') kernal=3 median=cv2.medianBlur(img,kernal) cv2.imshow('median',median) cv2.waitKey(0) cv2.destroyAllWindow()
[ "noreply@github.com" ]
noreply@github.com
b69c847e357e91c7e4874f40aedb89e9703aa92b
990b5b545215e622c8b3bb614126a96945582e4e
/web_scrapper/code_challenge/day12/Day12_answer/scrapper.py
de67253d6aadb307e40d31edf099e8521a1a4330
[]
no_license
WONILLISM/Study
07448811d318ed0607c10531c693fe6f5bd24d9e
0af974f2b28604a55f3b996a4e7f024182d940bc
refs/heads/master
2023-02-15T06:59:29.571722
2020-07-10T07:57:09
2020-07-10T07:57:09
265,529,543
0
0
null
2021-01-06T10:46:58
2020-05-20T10:24:48
Python
UTF-8
Python
false
false
1,727
py
import requests from bs4 import BeautifulSoup headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.47 Safari/537.36'} def extract_post(html, subreddit): votes = html.find("div", {"class":"_1rZYMD_4xY3gRcSS3p8ODO"}) if votes: votes = ...
[ "wonillism@gmail.com" ]
wonillism@gmail.com
f74fcde2553e9b77a315cd756af4dea80d595451
bf61a24e89a5a21b3fb356a4acd3252d18b63d93
/select_image_gui.py
d19a7c13b90bae5fcf68a35c0d15bd088fcfb7fc
[]
no_license
kaizen123/Mulimg_viewer
b2f5d5b803f1d42bcf78800726877513661dede2
357c08c04dd99eb3ab18fc864ac8120f3110b294
refs/heads/master
2022-11-29T22:41:56.755477
2020-08-14T08:04:15
2020-08-14T08:04:15
287,480,838
1
0
null
2020-08-14T08:15:21
2020-08-14T08:15:20
null
UTF-8
Python
false
false
12,307
py
# -*- coding: utf-8 -*- ########################################################################### ## Python code generated with wxFormBuilder (version Oct 26 2018) ## http://www.wxformbuilder.org/ ## ## PLEASE DO *NOT* EDIT THIS FILE! ########################################################################### impor...
[ "1476879092@qq.com" ]
1476879092@qq.com
daa233e4b8cb4ce70c932fcb7552e17fb17cdb67
41d7f856e255fa4fb85e68c64103006c7d0cdca7
/codings/DeltaAdaptiveEncoder.py
bbc7bf801bf5660c92785a26b894995ce7d305d0
[]
no_license
GeKeShi/CASQ
e7c1674f3b11664866ee6b54bf96824a0fbaa026
2e2407f6943d349850d7de40ba58e540acefc19f
refs/heads/main
2023-05-03T23:21:34.814199
2021-05-25T12:30:03
2021-05-25T12:30:03
370,684,299
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
# -*- coding: utf-8 -* class DeltaAdaptiveEncoder(object): def encode(self, index): pass def decode(self, encoded_index): pass
[ "noreply@github.com" ]
noreply@github.com
0554e1bd885c3a3f07dedb5cb3a41585cf78b610
0951c90e90febdc9d7e5cfbc63af7c78a0206269
/common/desired_caps.py
9eeb37a3e625f87013fde0d34806c2d4f3e3a933
[]
no_license
iliun/uiTest
b860a278ccfcc17839f98c4f9f697d91ffcba4f0
3211b734b72cb21ba86db6312dd2ee65b935ca2c
refs/heads/master
2022-09-13T13:39:00.568370
2020-06-03T07:27:19
2020-06-03T07:27:19
268,772,537
0
0
null
null
null
null
UTF-8
Python
false
false
1,346
py
#coding=utf-8 from appium import webdriver import os import yaml import logging import logging.config CON_LOG='../config/log.conf' CON_LOG_PATH = os.path.join(os.path.join(os.path.dirname(__file__),'..'),'config/log.conf') logging.config.fileConfig(CON_LOG_PATH) logging=logging.getLogger() def appium_desired(): w...
[ "iliun@163.com" ]
iliun@163.com
191b66f611aca8aa39a4d080bbf6434c8c04c134
a95c5504bf4698d80050a923ce6d5f4ed85f6e19
/01_NLRM_s_prirozene_konjugovanou_apriorni_hustotou/cv03_pr01_CAPM.py
1a4feb71f7901fb17630bdf2434f20b3a86e8975
[]
no_license
JanMelicharik/baan_python
e0ff0e772c293e529433dbce58534d0519edc78f
0d50f4047c4c1aae716de9dc531d6c7991f2fbb9
refs/heads/master
2023-03-07T15:25:24.554842
2021-02-20T19:03:16
2021-02-20T19:03:16
303,178,326
0
0
null
null
null
null
UTF-8
Python
false
false
4,478
py
# Nastaveni cesty do domovske slozky import sys root_dir = "/".join(sys.argv[0].split("/")[:-2]) sys.path.insert(1, root_dir + "/support") # Importy podpurnych funkci ze slozky Support from my_nlrm import my_nlrm from gamm_rnd_koop import gamm_rnd_koop from norm_rnd import norm_rnd from progress_info import progress_b...
[ "melicharik.jan@hotmail.com" ]
melicharik.jan@hotmail.com
3f7ce7cb74b715c3703912a7e9ead4849add7895
b1c713eeac247133de57808789f371f1f7607786
/Jogos/migrations/0004_alter_jogo_jogo_data.py
f1f80b35e23e1725276bd1d9dead3be5a3ba3205
[]
no_license
welligtonlins/Tesi_2
6dd55ac61de20c10b292818e456b1f7973b7c0b0
b6575ca832bd4ea06b5723693a3c8f1d5d9f9dae
refs/heads/main
2023-09-01T20:03:52.260577
2021-10-05T22:03:25
2021-10-05T22:03:25
413,992,315
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# Generated by Django 3.2.7 on 2021-10-04 22:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Jogos', '0003_alter_jogo_jogo_data'), ] operations = [ migrations.AlterField( model_name='jogo', name='Jogo_Data', ...
[ "welligtonlinsufac@gmail.com" ]
welligtonlinsufac@gmail.com
d6125a922b7ce93233cdb821efa9fe109e52fa2f
77cd4237596251cd591da28e4a2a7128ac15570f
/metrics.py
67c58643a48971217438a6ca13b6b04136ff201c
[]
no_license
Huy-LichHoang/SNA2002
31ab56b55a518733423d85f1ab0f4b4a80f72339
ecc732fbf094a3690966b06860d16e7182405452
refs/heads/main
2023-03-29T20:29:24.793334
2021-01-22T17:09:55
2021-01-22T17:09:55
354,713,809
0
0
null
null
null
null
UTF-8
Python
false
false
2,523
py
import math from collections import defaultdict import numpy as np from util import * from sklearn.metrics import pairwise_distances_argmin from scipy.stats import wasserstein_distance def compute_centrality(graph): return nx.eigenvector_centrality_numpy(graph, weight='weight') def find_node_roles(graph: nx.Gra...
[ "huynhtronghung81199@gmail.com" ]
huynhtronghung81199@gmail.com
ef11ab855087e5da864942444ca80ac57c439d7c
faa458873e01cc29623452c02b936720d4568b01
/postbar_test.py
ca78d1f3fef92503760b19c7e3990bd514ac8db9
[]
no_license
mafumaru/webstorm-flask
a16812212dcc78726ca18acba2bba70ab26f55d3
cd31f3639dd93f569078f2615797084ffbd2937d
refs/heads/master
2021-06-13T02:06:25.254133
2019-06-07T10:47:42
2019-06-07T10:47:42
190,702,840
0
0
null
2021-06-01T23:49:51
2019-06-07T07:12:54
HTML
UTF-8
Python
false
false
395
py
import pymongo from framework.module.tieba.helper import TiebaPostbarHelper from framework.module.tieba.postbar import Postbar b = Postbar('bilibili') b.debug=True b.get_lists() h = TiebaPostbarHelper() h.write_to_db(b.datacore) # conn = pymongo.MongoClient() # db = conn['tieba_postbar'] # db['postbar'].insert( # ...
[ "247306921@qq.com" ]
247306921@qq.com
1bbfd42506f9595618291c45e80888f2bde04db1
3eef8e65164d5c6b4580b4ea26a5fd9ac49302f7
/exchange/currency_parser.py
4139410ba36081b8cc3d2ec22debcf4d143eccfc
[]
no_license
EugeneBilenko/neuroflas_test
bcccfce7fd70f03eeda4cf4422b68ecf6480da09
41a060470e370fee1511cad768e32c80c34a87b5
refs/heads/master
2022-12-12T21:39:22.171003
2019-01-08T09:13:49
2019-01-08T09:13:49
164,609,342
0
0
null
2022-12-08T01:31:33
2019-01-08T09:09:09
Python
UTF-8
Python
false
false
1,348
py
import urllib3 from bs4 import BeautifulSoup class CurrencyParser: def __init__(self, debug=False): self.url = "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html" self.debug_file = "test_scrapped_data.txt.txt" self.debug = debug ...
[ "eugen.bilenko@gmail.com" ]
eugen.bilenko@gmail.com
c1b86c9bab71398a763c9bd986c8bc20596c8308
38da215b9b50d0743f34cd0ef38e75db557deeff
/swagger_client/api/clubs_api.py
53a01f198682ed1fca54842dada603ca7db0d966
[ "MIT" ]
permissive
HalestormAI/stravaio
0742dc5749d90840ef6c4638ca4c3ee3040d57ce
9d99179eb70bf5219ab4d2c7d7b5d3617457ae9e
refs/heads/master
2020-09-07T14:57:59.836372
2020-02-29T00:03:57
2020-02-29T00:03:57
220,817,328
0
0
MIT
2020-02-29T00:03:47
2019-11-10T16:29:45
null
UTF-8
Python
false
false
20,879
py
# coding: utf-8 """ Strava API v3 Strava API # noqa: E501 OpenAPI spec version: 3.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import six from swagger_cl...
[ "sladkovm@gmail.com" ]
sladkovm@gmail.com
8e42ea28f707628f9911dc9bffc3f74240670caf
7c7b8e3a83a610dedbdef9377a9074b680fa19e3
/evaluation/models/frozen_models/export_stylegan.py
04b84053a3619ba6f75b0f9f1481c7907ba2d301
[]
no_license
CorneliusHagmeister/AttentionSampling
fcf9d11d5dd7fa49d051dac0623797516e5ef06e
1ff439af98cbb984810db0e81c7e853199ec68c4
refs/heads/master
2022-12-29T14:02:23.079880
2020-10-11T13:54:13
2020-10-11T13:54:13
261,579,616
0
0
null
null
null
null
UTF-8
Python
false
false
3,187
py
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # # This work is licensed under the Creative Commons Attribution-NonCommercial # 4.0 International License. To view a copy of this license, visit # http://creativecommons.org/licenses/by-nc/4.0/ or send a letter to # Creative Commons, PO Box 1866, Mountain ...
[ "cornelius.hagmeister@googlemail.com" ]
cornelius.hagmeister@googlemail.com
679f1526559941affa64666c6d28e4bbf5986a38
d79e3f30b4969c805bdb3b16f8e32c28ffbbdd1d
/apps/exam/views.py
a8368c16c519f48c2855efa331021015c553c50e
[]
no_license
michaelquon/python_exam
e7aaf76c1a8d9b3074533c3d87721c405715c849
3cfb2dfb9075a05e4203cb24ab0c10635b97f151
refs/heads/master
2021-01-24T16:28:26.751474
2018-02-27T22:53:12
2018-02-27T22:53:12
123,198,149
0
0
null
null
null
null
UTF-8
Python
false
false
2,488
py
from __future__ import unicode_literals from django.shortcuts import render, redirect, HttpResponse from models import User, Wish from django.contrib import messages import re def index(request): return render(request, 'exam/index.html') def register(request): return redirect('/') def login(request): ...
[ "mquon@outlook.com" ]
mquon@outlook.com
f633f49359304d391a8c5e5dc74279db7bffa100
40bbfbf840d696024b8e0aaa24b7e4124b57ad42
/build/robot17/gscam/catkin_generated/pkg.installspace.context.pc.py
2f1d0e4db87da72e1ca739409e7fc1ea59282b69
[]
no_license
brunamdb/Projeto-Final
a6d490ae4b5f759fb81c969b82f7b37328be4baf
f531797e11b440b6369ecf34d67d22af4ad06cf0
refs/heads/master
2020-03-30T13:46:00.204841
2018-10-02T16:25:26
2018-10-02T16:25:26
151,286,955
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/parallels/catkin_ws/install/include;/usr/include/gstreamer-1.0;/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include;/usr/include/glib-2.0;/usr/lib/x86_64-linux-gnu/glib-2.0/include".split(';') if "/ho...
[ "bruh.mdb@gmail.com" ]
bruh.mdb@gmail.com
3867bb299e08aa05c4840df5b8945158058367b5
9b5dc68ccfcb7163935d96ebb2aca33eed0a26ce
/Tiny.py
cb76e2ad856283cf987aaf8aaa565506b0007fcc
[]
no_license
tiffanyelston/Python-Scripts
cc89f4cd7016548e0984ea7e21ac3086da204db7
86907f19e807abf1171ac2d17d01aafe3a640ad7
refs/heads/master
2021-08-30T21:29:28.948481
2017-12-15T17:26:20
2017-12-15T17:26:20
114,761,794
0
0
null
2017-12-19T13:36:23
2017-12-19T12:18:49
Python
UTF-8
Python
false
false
85
py
#!/usr/bin/env python3 # Print something else print("http://tinyurl.com/noeujfu")
[ "tiffany.elston@icloud.com" ]
tiffany.elston@icloud.com
dead32bd92d6308b06af3f1529784bfc0c916c2e
d93cd56d58401f1d4d50b2df08d1d56bd889efef
/venv/Scripts/pip3.7-script.py
901443af4d40b8cd15ef5d6b74de8fd76d67875d
[]
no_license
TUnveiled/DatabasesProject
d3a3c60ce22b24361133d46d0dd59d6f291cf1b5
e61fccbdebfe14474547b2758507329c0984d6a0
refs/heads/master
2020-04-23T18:49:22.701187
2019-03-30T02:49:31
2019-03-30T02:49:31
171,381,451
0
0
null
null
null
null
UTF-8
Python
false
false
426
py
#!C:\Users\const\PycharmProjects\DatabasesProject\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', ''...
[ "constro49@gmail.com" ]
constro49@gmail.com
96b637dbf12f2cf705b79914d6633eba9ce6e99f
fb5e390f62c3764dc90333b6b70ed1e7d36faf31
/Python/5kyu-simple pig latin.py
e5145ae393bf8574f77129a0805d88407062839c
[ "Unlicense" ]
permissive
jangoertzen/Codewars
b40f3f05c7004714b374baa236c2196cdbbd8bce
34d13c34b6526a1a1050948c1ac2fb977aba6583
refs/heads/master
2020-12-13T05:58:29.024965
2020-03-11T14:35:27
2020-03-11T14:35:27
234,329,518
0
0
null
2020-01-16T13:49:06
2020-01-16T13:45:08
null
UTF-8
Python
false
false
473
py
""" Move the first letter of each word to the end of it, then add "ay" to the end of the word. Leave punctuation marks untouched. """ def pig_it(text): words = text.split(' ') pigworte = [] for i in words: if i.isalpha(): if len(i) > 1: pigworte.append(i[1:]+i[0]+'ay') ...
[ "58172201+jangoertzen@users.noreply.github.com" ]
58172201+jangoertzen@users.noreply.github.com
2b4ed78b6e90b3a2f42759218b0092e0d0bd3fad
26cc3a937c172f600f8fe8d0dcf222f8ba99ed32
/manage.py
9d25cd84acf0b5874557843f2f2eb62c508cb851
[]
no_license
rafaelbcerri/hype
15c5ac7247fc848f2880d608c16a7ffca9e8d32a
9f7669b598879587f8d315644244367bde0aecd9
refs/heads/master
2022-12-10T00:53:19.448488
2019-05-28T12:58:45
2019-05-28T12:58:45
183,120,416
1
0
null
2022-12-08T05:01:16
2019-04-24T01:09:41
Python
UTF-8
Python
false
false
624
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'hype.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErr...
[ "rafaelbcerri@gmail.com" ]
rafaelbcerri@gmail.com
782dadfb3c5b097c52b291e702ab3c4f7f78c21f
4c7e536f185c02878a0a6f7a602d9a85f84544fa
/doc.teste.py
5c93d5bab7830077dee88cea7e27a706714e24e7
[]
no_license
GOM001/Treino
3959121f0711f47dbb24747923998f859c0de708
11de869d86467998a92c2c1081cbef67a9654565
refs/heads/master
2020-07-02T22:20:35.085969
2019-08-10T22:10:47
2019-08-10T22:10:47
201,685,185
0
0
null
null
null
null
UTF-8
Python
false
false
703
py
def dormir(dia_semana, feriado): if feriado: return True elif dia_semana: return False return True def alunos_problema(a_sorri, b_sorri): if a_sorri and b_sorri: return True elif a_sorri or b_sorri: return False return True def soma_dobro(a, b): if a==b: ...
[ "gom.prs@gmail.com" ]
gom.prs@gmail.com
2cb25dd12c9b3d5d9d2da9c17a17a398c5bdb8dd
751f306dcf7566dbfbbc2ef122fb3abdd720ed76
/addons/source-python/plugins/battle_royal/commands/group_command.py
e99383d10cb4610c07548e4badadaf97e35b9b2b
[]
no_license
VenomzGaming/Sp-Battle-royal
d07865eb2318a6ba7a6e6d59c45d81b2d42eeb69
3948678adbc07844c4fc74e4def01de7190db05b
refs/heads/master
2021-01-20T00:13:42.611165
2017-06-06T09:55:43
2017-06-06T09:55:43
89,097,578
1
1
null
null
null
null
UTF-8
Python
false
false
5,543
py
## IMPORTS import re from commands import CommandReturn from commands.typed import TypedSayCommand from messages import SayText2 from players.entity import Player from .filter import Filter from ..entity.battleroyal import _battle_royal from ..entity.group import BattleRoyalGroup from ..menus.group import group_menu ...
[ "lilian78800@hotmail.fr" ]
lilian78800@hotmail.fr
2c9f8fc03dcfe948913b1f8ec476e69c72fb5fed
6d94ddbe6bb313f95e4193efb14197b055d36d31
/code/python/oscillo/__init__.py
f9d241875a6b5735c2b12cb1ac99507fc055a8df
[]
no_license
alejandrorosas/trowelproject
340d292815207e355e0f50adc15b6e1f51940f97
46eef4bbb75486b39f5bbf41b6a8db36a982d1a4
refs/heads/master
2021-01-10T14:23:44.458570
2010-06-07T08:56:10
2010-06-07T08:56:10
46,488,159
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
from oscillo import *
[ "arthur.vuillard@16d9f100-46de-11de-89ec-3d9467717a5a" ]
arthur.vuillard@16d9f100-46de-11de-89ec-3d9467717a5a
094d0e3e7f5d443efdac75291542fcf38e1fc5de
eae62368c5a1d0eed52e8130cc9fbfda3883998f
/project_euler_10.py
18baaf3e2a8f69b2325aee18714e91e23d284c22
[]
no_license
malga94/Project_Euler
04ff1fddcf358f7ac7329aadd808cfca76901506
d77e4dc8416fdd26aa9e70551deba67f527c40d8
refs/heads/master
2021-11-10T23:49:28.821710
2021-11-03T18:12:37
2021-11-03T18:12:37
247,135,366
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
#!/usr/bin/env python3 import math def slow_sieve(max_num): top_val = int(math.ceil(math.sqrt(max_num))) primes = [] for i in range(1, max_num): primes.append(i) lista = [2] for val in range(3, top_val, 2): lista.append(val) for x in lista: for y in primes: if y%x == 0 and y>x: primes.remove(y)...
[ "filippo.malgarini@gmail.com" ]
filippo.malgarini@gmail.com
94aa48dab808e3d25c7e8e57168a5497e0979285
3eafbf2bf3cc346a31a6400dee9a2181cf68817a
/envv/bin/pip3
e50bc6b5dddf852f83170fd83bf856787bfafe16
[]
no_license
promaroy/django1
100dc4a8246dcad0bff868100a0e53597330927a
39b9027aea71c1bf10703239e739c4d6d8309177
refs/heads/master
2020-05-05T07:57:11.910800
2019-04-22T08:01:53
2019-04-22T08:01:53
179,844,588
0
0
null
null
null
null
UTF-8
Python
false
false
244
#!/home/proma/Desktop/django/envv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from pip._internal import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "promaroy20@gmail.com" ]
promaroy20@gmail.com
f62873626373188cf2a3addff0682298dc88f6ab
02dbb4326db68dc2f9d9630274b784023cb4ed01
/main/migrations/0006_question_points.py
0d7c51091fbd2eb06a3aee34ac431d762755fc5e
[]
no_license
valenpino/django_app
c7f2956927b7cece363c7ae0f648fc85152368fe
b406de65e21dc8fce6449ef6524686f6b61f6804
refs/heads/main
2023-03-25T16:06:27.286417
2021-03-21T00:27:14
2021-03-21T00:27:14
349,594,961
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
# Generated by Django 3.0.5 on 2020-04-18 20:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0005_question_answers_count'), ] operations = [ migrations.AddField( model_name='question', name='points', ...
[ "valnenpunki@gmail.com" ]
valnenpunki@gmail.com
374b7473299fc7cfc2fab43c8d3d1f0f9f8c9b60
92f22b717cd3b804b7fab83d519b79a31b2844e8
/serv.py
d423e1eb669f53f0ee2ba9eafe877a1067a7d9d4
[]
no_license
VexelB/game
614d8a378874cc957120cc0a924ccef33e48b3d8
15021f60a74c3fe093b4da483e07264afa0e9a02
refs/heads/master
2020-04-24T22:38:59.141440
2019-12-26T08:40:26
2019-12-26T08:40:26
172,319,085
1
1
null
2019-03-26T10:32:39
2019-02-24T09:30:19
Python
UTF-8
Python
false
false
13,492
py
import socket import engine import time def buletmove(q): for bullet in bullets[q//2]: x, y = int(bullet.x*len(engine.maps[q//2])/engine.win_height), int(bullet.y*len(engine.maps[q//2][0])/engine.win_width) if x >= 9: x -= 1 if y >= 9: y -= 1 if engine.maps[q...
[ "vexelb@gmail.com" ]
vexelb@gmail.com
a859752d38280713419b523ced15594d0446574e
3c6f0ac56a30ffb561f15c645f62ec1e5884f331
/nematus/util.py
347120687283db9b588462e09098c719eefdb587
[]
no_license
zhengzx-nlp/past-and-future-nmt
7735c700bcf6af93436c552790b444513e069bdd
dd7e4f8de8e629f5203f8038db3003bbd8af5d8e
refs/heads/master
2021-09-09T13:29:46.994988
2018-03-16T13:51:53
2018-03-16T13:51:53
110,409,940
19
6
null
null
null
null
UTF-8
Python
false
false
1,166
py
''' Utility functions ''' import sys import json import cPickle as pkl #json loads strings as unicode; we currently still work with Python 2 strings, and need conversion def unicode_to_utf8(d): return dict((key.encode("UTF-8"), value) for (key,value) in d.items()) def load_dict(filename): try: with o...
[ "zhengzx@nlp.nju.edu.cn" ]
zhengzx@nlp.nju.edu.cn
522da58245141da37e495ac174ae806e5876a53c
a83bafc38b514a0339a5991be15870551ac49681
/bimdata_api_client/model/ifc_merge_request.py
da1ae22f0cde4f3b8a4e1c129295ede5ae081f8c
[]
no_license
bimdata/python-api-client
4ec2f81e404ef88d3a7e4d08e18965b598c567a2
c9b6ea0fbb4729b2a1c10522bdddfe08d944739d
refs/heads/master
2023-08-17T13:38:43.198097
2023-08-09T12:48:12
2023-08-09T12:48:12
131,603,315
0
4
null
2022-10-10T15:21:26
2018-04-30T14:06:15
Python
UTF-8
Python
false
false
12,336
py
""" BIMData API BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. # noqa: E501 The version of the OpenAPI document: v1 (v1) Contact: support@bimdata.io...
[ "infra@bimdata.io" ]
infra@bimdata.io
38bd0417d50449425352bcf8bad30cf100dab3a2
a32a2261c5044d1ecb4b411de8a20702102b3514
/ca_bidding_28990/wsgi.py
a3393fdf1d7529c100b32b6c2c7109611b19f385
[]
no_license
crowdbotics-apps/ca-bidding-28990
311ad817f573966afbee6e8d84e54d315e7bbd78
ded02db6683659c34496aed13955b7bb17703dcc
refs/heads/master
2023-06-26T17:44:15.305575
2021-07-20T19:59:42
2021-07-20T19:59:42
387,900,770
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for ca_bidding_28990 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5bc713f3ae2ab2b81e4b175884f540d23c648192
89fc7d29f2ca7549b4a67d3fc7e63e95ce66f482
/backend/venv/lib/python3.6/encodings/koi8_r.py
ae991956f7bd4373a166a458b95bb8ef65ff9f20
[]
no_license
Daul89/simple_todoapp_flask
54f4be62eb1040bcfba0fce633ee43a493a107d2
ac73d811c791fac1316f5c86dc61c1b04deca2d0
refs/heads/master
2020-04-01T12:40:08.362760
2019-03-26T08:55:08
2019-03-26T08:55:08
153,217,941
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
/usr/local/var/pyenv/versions/3.6.4/lib/python3.6/encodings/koi8_r.py
[ "chungdaul@Daul.local" ]
chungdaul@Daul.local
bbcdc1844d97f559edeb426e83156f6881993669
78f96b321dc541026f43a6c8505228f83685fb8e
/app/mod_interaction/resources/PassengerResource.py
3a9e9f1bbf894b8cad0a964f27193d57580b3401
[]
no_license
xiaofud/syllabus_backend
a54e1844b7b8b84dd77cbfb549b8f9686da3cd84
076f2a6ed334f8a96b741d0c5c9d268f3716c8b3
refs/heads/master
2021-06-30T13:15:50.569168
2017-09-20T13:34:29
2017-09-20T13:34:29
54,321,524
0
4
null
null
null
null
UTF-8
Python
false
false
7,122
py
# coding=utf-8 __author__ = 'smallfly' from flask_restful import Resource, fields, marshal from flask_restful.reqparse import RequestParser from app.mod_interaction.database_operations import common from app.mod_interaction import models from app.mod_interaction.resources import helpers from app import db import time...
[ "szu_nwad@icloud.com" ]
szu_nwad@icloud.com
a3b8b0802c60c4bc05c19ff5c1d221b00d1ce01a
126be7c907249f116a3740c7f00871c86ce52ad5
/CustomerSupport/CustomerSupport/settings.py
9c2d3a58419ffbf2f706e1db8222e8813960f05f
[ "Apache-2.0" ]
permissive
noohshaikh/customer-support-application
3b2ee06cdc5673cc11b22d568ceb8a2b7fb12b75
23f1c665c27e199de40d4d9d9450fe84a9138ed0
refs/heads/main
2023-03-30T12:20:14.344931
2021-03-31T18:45:47
2021-03-31T18:45:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,060
py
""" Django settings for CustomerSupport project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from...
[ "nshaikh304@gmail.com" ]
nshaikh304@gmail.com
271c9116999b9388019fccd3cc8b82c5f804ffee
eb83cbf4550efc35bb74d4da3e040de8a4844493
/venv/bin/easy_install-3.6
13bbe128dfaa9d9c2824f63e59c893641da4a083
[]
no_license
iamabhishek0/DivineCareWeb
f2450d041b656ca2f8a638d60036ad0763aaeb0f
1cf324e8a2fd5bcaaa76265b0289327a08678b44
refs/heads/master
2020-05-30T20:21:57.495482
2019-06-02T20:34:31
2019-06-02T20:34:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
6
#!/home/sid/PycharmProjects/DivineCareWeb/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "sidvaish97@gmail.com" ]
sidvaish97@gmail.com
d5652b32df071041fcf039675e6e869d4c131a69
9073635cd2aa4181060abaa43328f66e4d7cbc34
/python/Flatmates-Bill-Generator/.idea/.name
8ad429783a53f76c0aa368065ed63b208e004320
[ "MIT" ]
permissive
smv1999/hacktoberfest_2021
45e5c5d8f2879040e4dd4449f1fb2b7dc6145682
245e7f5b7eed3fb5143bb7f870c62135e9289f3d
refs/heads/main
2023-08-27T20:38:11.520723
2021-10-17T05:38:00
2021-10-17T05:38:00
414,287,739
0
0
MIT
2021-10-06T16:25:08
2021-10-06T16:25:07
null
UTF-8
Python
false
false
10
name
reports.py
[ "aasthajha123@gmail.com" ]
aasthajha123@gmail.com
a00cdc03efedff09e5feff5426901ef0c709d3cd
e354fd9a70376849f16b4a1cfac23210ef578975
/code/plot_velocity.py
625a19456013ba5a8c28648dd908b32b2ce856e3
[]
no_license
QsingularityAi/polar-pfc-master_active-crystel
dc316438ad1e30ac3f4a9236c42f312e41c82af4
9be6ba1c4a0dd80877c2830119fab58b75c8c1e1
refs/heads/main
2023-06-11T07:03:24.428858
2021-06-22T22:01:06
2021-06-22T22:01:06
379,266,811
0
0
null
null
null
null
UTF-8
Python
false
false
2,051
py
#!/usr/bin/python import sys import os import glob import fnmatch import csv import numpy as np import matplotlib.pyplot as plt from matplotlib2tikz import save as tikz_save # R=80 v0 = [0.1, 0.2, 0.3, 0.31, 0.32, 0.33, 0.34, 0.35, 0.36, 0.37, 0.38, 0.39, 0.4, 0.425, 0.45] v0_ = ['R80_0.1', 'R80_0.2', 'R80_0.3', 'R80_...
[ "noreply@github.com" ]
noreply@github.com
433837f6d0a6410fe773f21255403a4bed9867f5
b80d90ed1365e559353ec3b05c81dacf32ee5ace
/IITGSearch/spiders/ZeroSpider.py
93cd11fb068da0a0942a1fc7113d33d565da3bed
[ "MIT" ]
permissive
rajan-garg/Search_engine
61fad0e0b6f5e6c946352f5f63bdd948a72a5933
521d2f4969e6163fae9448cb21c64250a6aedc42
refs/heads/master
2021-01-11T03:59:29.765283
2016-10-18T16:18:52
2016-10-18T16:18:52
71,263,320
1
0
null
null
null
null
UTF-8
Python
false
false
2,314
py
import os import scrapy import w3lib.url from scrapy.http import Request import re import urlparse import mimetypes from IITGSearch.items import IITGSearchItem class ZeroSpider(scrapy.Spider): name = "ZeroSpider" allowed_domains = ["iitg.ernet.in"] start_urls = [ "http://intranet.iitg.ernet.in", ...
[ "iamrajangarg@gmail.com" ]
iamrajangarg@gmail.com
7e65d5dde72b67f17eeb459cbf00b00b7e4d666d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02843/s458829649.py
88e61af86bd661cdf4ee943bb4568478740beac7
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
x = int(input()) li = [0]*100105 li[0] = 1 for i in range(x): if li[i] == 1: for j in range(6): li[i+j+100] = 1 print(li[x])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
186529a0ee4a15d170cb4b5be3ee8f65b2be010c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02881/s868917213.py
00c5e1e2ec8b27ee34d07f71120ba33fb7e0b8db
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
from math import sqrt N=int(input()) K=int(sqrt(N)+2) ans=N for i in range(1,K): if N%i==0: j=N//i ans=min(ans,(i-1) + (j-1)) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8b067a1ff95250e3105b66869fc7cafdc9711dfa
11ba942f2deba9063fcd3d91ce5e67507cc96bfa
/Server/youtube_api.py
893ed0d890b7cbcedfa7e662d4cc7c61f8288432
[]
no_license
z0dz0dz0dz0d/csn
614c1dea7bff2de203e82e65f6f19701d03e4e59
fabbded190ff6cd59af1a25cac8a6cf95a4e748a
refs/heads/master
2023-08-15T06:03:25.632874
2021-10-15T16:57:10
2021-10-15T16:57:10
417,571,865
0
0
null
2021-10-15T16:57:11
2021-10-15T16:47:43
TypeScript
UTF-8
Python
false
false
6,330
py
from types import new_class import requests import numpy as np token = 'AIzaSyBrVRgddachzL32XdZT8mWf8eix3mF3udw' api = 'https://content-youtube.googleapis.com/youtube/v3' operation = '/search' safe_search = 'strict' youtube_api_topics_mapping = { "Adventures": "/m/02jjt", # Entertainment "Alphabet": "/m/01k8wb", ...
[ "-" ]
-
020c8ffd28b11ae026ef3465dc90b806b52b8ecf
d57876ae7629202f8464f05f4be925351b78cc51
/tundra/tundra/wsgi.py
da18d65cf1e2d25bb5ad0b24635b4a96554ee252
[ "MIT" ]
permissive
TundraStorm/TundraStorm.github.io
bd0f699c37af1d491a2bfa5c88e2a43b7954df54
b9c298d6b917965b78a1fc2204393489a1817d35
refs/heads/master
2020-12-30T12:12:41.077652
2017-05-16T08:16:30
2017-05-16T08:16:30
91,419,362
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
""" WSGI config for tundra 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.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "augustot2@gmail.com" ]
augustot2@gmail.com
08c4444e805d53294233737b2cc9896028f204f4
fd48fba90bb227017ac2da9786d59f9b9130aaf0
/digsby/src/msn/SOAP/MSNSecurityTokenService/__init__.py
993066248fe1783def5e3f25e15a073e1b84b8e9
[ "Python-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
niterain/digsby
bb05b959c66b957237be68cd8576e3a7c0f7c693
16a62c7df1018a49eaa8151c0f8b881c7e252949
refs/heads/master
2021-01-18T10:07:10.244382
2013-11-03T02:48:25
2013-11-03T02:48:25
5,991,568
1
0
null
2013-11-03T02:48:26
2012-09-28T02:24:50
Python
UTF-8
Python
false
false
83
py
from SecurityTokenService_types import * from SecurityTokenService_client import *
[ "mdougherty@tagged.com" ]
mdougherty@tagged.com
7867c46f92c0901c0257a0fe845951ab4e638072
7f078dd24f1d0beaf8cc212853d7dd1dabc241df
/bc4py/chain/checking/checktx.py
be7dd9d809ec49c6908f8cffb5a1162561c57d7b
[ "MIT" ]
permissive
kumacoinproject/bc4py
44db46475b3748d339df5dce57046bed0af8b3ae
6484d356096261d0d57e9e1f5ffeae1f9a9865f3
refs/heads/develop
2022-12-24T18:33:41.827064
2020-09-13T16:01:27
2020-09-13T16:01:27
135,440,859
6
4
MIT
2020-03-19T16:51:51
2018-05-30T12:40:07
Python
UTF-8
Python
false
false
7,068
py
from bc4py.config import C, V, BlockChainError from bc4py.chain.tx import TX from bc4py.chain.block import Block from bc4py.chain.checking.tx_reward import * from bc4py.chain.checking.tx_mintcoin import * from bc4py.chain.checking.utils import * from logging import getLogger from time import time import hashlib log =...
[ "thhjuu@yahoo.co.jp" ]
thhjuu@yahoo.co.jp
fc622226959b4aeda42963de88accea859cd282b
bab1a70f0b843949bad9588642ecf026642bb7c3
/mock_interviews/microsoft/ip_address.py
2fa4bffbf999c84b1201333f6499eea75ddfe5b6
[]
no_license
makhmudislamov/leetcode_problems
6fc270255ad684acd0863189e7702e3c6654e26f
fcbae727d19960efdd16a1ebff9dcaafa3b5e65b
refs/heads/master
2021-01-16T07:03:55.367430
2020-05-05T21:43:43
2020-05-05T21:43:43
243,018,019
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
"""Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: Input: "25525511135" Output: ["255.255.11.135", "255.255.111.35"]""" class Solution: def restoreIpAddresses(self, s: str) -> List[str]:
[ "sunnatovichvv@gmail.com" ]
sunnatovichvv@gmail.com
170d8d414353b3f720ffdb5d0b0c9948640f0a48
aadad415f425b9f45fed14290235488a46687a4f
/2010/cms/zeescripts/removeDirectoriesFromCastor.py
6ab58804007d2ab6cdf42004e85ab02662158ce9
[]
no_license
enucatl-university/lab-unipd
c1fdae198ccc3af3f75ad07554e148427a9cc096
c197bb92f479913c1183375fa22fd1619e6bbad4
refs/heads/master
2023-08-15T01:59:55.502505
2016-11-11T19:20:13
2016-11-11T19:20:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,985
py
#!/usr/bin/env python import commands import re import os def removeFiles(paths, sampleName, sampleWeight): for path in paths: output = commands.getoutput("nsls "+path) outFiles = re.split(r'\n',output) for fname in outFiles: if re.search("pat_fromAOD_PF2PAT",fname)!=None...
[ "gmatteo..abis@gmail.com" ]
gmatteo..abis@gmail.com
d892af3a80505f3f58b69da3b62744ddbcf37977
04eae3251d6abb6a81016a38f2f2124c50f4d6c8
/tests/fields/test_float_field.py
f088d7597c92ab91da2aa0b5750c3155245e3ce9
[]
no_license
ilex/aiomotorengine
d8f9272a919b07370c63ea510aa20a7074a29348
d3b2eb7ce382ed83a5d02f94883bd7d1d2d1b9a1
refs/heads/master
2021-01-10T09:43:56.326421
2017-04-20T08:46:54
2017-04-20T08:46:54
45,910,234
31
13
null
2017-04-18T10:44:27
2015-11-10T12:23:48
Python
UTF-8
Python
false
false
1,661
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from preggy import expect from aiomotorengine import FloatField from tests import AsyncTestCase class TestFloatField(AsyncTestCase): def test_create_float_field(self): field = FloatField(db_field="test", min_value=10.5, max_value=200.6) expect(field....
[ "ilexcorp@ukr.net" ]
ilexcorp@ukr.net
7959ba0c0a930b24339c35601ac8f75c41807863
c6402c24176a30becbd6de24defcb12915500473
/manage_web/apps.py
2a2c0e203e780c89d779fd35b89b071b13e35410
[]
no_license
yiwenDing/fake_platform
d874ad72702939bc261d4caebef652ea11265acb
fc24bd128ac2172d3a4e7f5074a2620dc4ec084f
refs/heads/master
2020-04-06T06:58:49.921153
2016-08-23T12:23:39
2016-08-23T12:23:39
65,884,758
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
from __future__ import unicode_literals from django.apps import AppConfig class ManageWebConfig(AppConfig): name = 'manage_web'
[ "dingyiwen@bytedance.com" ]
dingyiwen@bytedance.com
5f41abc1d57e47f11f01856efa27099ade69507b
a3e55fcad5eec28c119a82ee030f50a29244af40
/app.py
e3a97ec78aab4d484cf2164175c8aae420525257
[]
no_license
RebeccaNacshon/Swagger-in-python-using-flask
591cd8c89c2b3bc1eb4aee01f6b1d6149c0e1da3
7ec0415b4829de2f63cfae4812e689d649bc12ea
refs/heads/master
2022-06-20T05:38:00.893238
2020-05-09T07:39:39
2020-05-09T07:39:39
262,517,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
import argparse import os from flask import Flask, jsonify, make_response from flask_cors import CORS from flask_swagger_ui import get_swaggerui_blueprint import request_api APP = Flask(__name__) ### swagger specific ### SWAGGER_URL = '/swagger' API_URL = '/static/swagger.json' SWAGGERUI_BLUEPRINT = get_swaggerui_bl...
[ "rebecca.nacshon@gmail.com" ]
rebecca.nacshon@gmail.com
495cbeb447c3103bf74656f80d880833a9b80326
eba8ac6028fc0307b2ded3322e2d700521d9a14d
/wavelet_transform.py
94c4ec637dac3fc1bb13b114f3291e1bd35b737d
[]
no_license
orvergon/detector_ensemble_deepfake
7698ba8e06c189b42ecb611a2870d4eddba21ec1
d206d2626cd6cefeee152702e6d43164341f626a
refs/heads/main
2023-08-02T08:46:29.562622
2021-10-06T06:58:23
2021-10-06T06:58:23
414,052,716
1
0
null
null
null
null
UTF-8
Python
false
false
2,350
py
import pywt import cv2 from video_data import VideoData import numpy from math import sqrt from numpy.lib.stride_tricks import as_strided import image_utils import blur_wavelet treshold = 35 def get_bouding_box(landmarks:list[tuple[int, int]]): max_x, max_y = (0, 0) min_x, min_y = (10**100, 10**100) for...
[ "franciscojosedasnevesneto@gmail.com" ]
franciscojosedasnevesneto@gmail.com
f67012ecc90a56a469f02d570044e3665c770dc0
13a2a06303bf65dd5de11436297b99ca064a5b2f
/emissions.py
5593859a6ecae6a0413208e708e6f6c6fe17e8fb
[]
no_license
malfahad/carbon-data
1c25095de7839287a86d387cf6f5526b147b326c
9936f3983cb0107cac96d9a3f1f2faf34df30ec9
refs/heads/main
2023-04-02T19:21:54.261747
2021-04-06T11:56:24
2021-04-06T11:56:24
355,171,873
0
0
null
null
null
null
UTF-8
Python
false
false
3,368
py
import requests from datetime import datetime, timedelta class API: base_url = None def call_api(self): if self.request_url: r = requests.get(self.request_url) return r.json() class CarbonIntesnsity(API): def __init__(self): self.base_url = 'https...
[ "fahad.wasswa.andela@alation.com" ]
fahad.wasswa.andela@alation.com
ece30aa5c9bd507575818d05b717f1a0e72a4def
7eebbfaee45fdc57c4fc6ba32c87c35be1e62b14
/airbyte-integrations/connectors/source-zendesk-talk/source_zendesk_talk/client.py
668969a8a5f1426ced4cfdb5943e381143d75333
[ "MIT", "Elastic-2.0" ]
permissive
Velocity-Engineering/airbyte
b6e1fcead5b9fd7c74d50b9f27118654604dc8e0
802a8184cdd11c1eb905a54ed07c8732b0c0b807
refs/heads/master
2023-07-31T15:16:27.644737
2021-09-28T08:43:51
2021-09-28T08:43:51
370,730,633
0
1
MIT
2021-06-08T05:58:44
2021-05-25T14:55:43
Java
UTF-8
Python
false
false
2,690
py
# # Copyright (c) 2021 Airbyte, Inc., all rights reserved. # from typing import Any, Mapping, Tuple from base_python import BaseClient from requests import HTTPError from .api import ( API, AccountOverviewStream, AddressesStream, AgentsActivityStream, AgentsOverviewStream, CallLegsStream, ...
[ "noreply@github.com" ]
noreply@github.com
989cf604278c236e8ba41bd6840f43091a111504
d8bc4d108baa770455ea294498be87b5f51f0b23
/stock_base/stock_backtest_function.py
eb00df89b798810a65e6e48cd64dbf55c06a1d5f
[]
no_license
dxcv/pratice_project
852ccde684a05ff4f17f5d17bea0cfddc4c3015c
f4b78bf9f6ed196ff926036a51bfb638bb240369
refs/heads/master
2020-05-26T19:01:42.983442
2018-11-23T08:36:43
2018-11-23T08:36:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
# -*- coding: utf-8 -*- """ # 用于储存计算股票持有收益的部分函数 Fri 2018/09/07 @author: Tracy Zhu """ # 导入系统库 import sys # 导入用户库 sys.path.append("..") from stock_base.stock_data_api import * def stock_holding_profit(stock_code, trading_day, holding_period): """ 股票从当天选出,以收盘价持有n天的收益; :param stock_code: :param trad...
[ "tracy.zhu7@gmail.com" ]
tracy.zhu7@gmail.com
ab9bb7381b1c6c995e3ab0d2d98413ffb89750ea
d1de9fdc4a444ff1c322e09c684ccb5247c22164
/Analysis.py
697fa13f96c73ef672c7c3fa929875337730197e
[]
no_license
AntoineValera/SynaptiQs
a178ddf5aa3269fe677afa68f6838db219763a65
b44a27ba01262e68d74488f98502083c9d681eb6
refs/heads/master
2021-01-18T21:12:16.543581
2016-05-12T14:52:27
2016-05-12T14:52:27
40,709,264
0
0
null
2015-10-07T11:32:01
2015-08-14T10:17:16
Python
UTF-8
Python
false
false
85,641
py
# -*- coding: utf-8 -*- """ Created on Tue May 21 23:50:11 2013 @author: Antoine Valera """ from PyQt4 import QtCore, QtGui import numpy import scipy from OpenElectrophy import AnalogSignal,SpikeTrain,gui,sql from matplotlib import pyplot,numpy import warnings warnings.filterwarnings("ignore") #TODO : #Remove_a_Le...
[ "a.valera@ucl.ac.uk" ]
a.valera@ucl.ac.uk
7e37f7f29e3d4b42b9d6b76c5933c8de9d1a2bee
d3235aaa6194224d48b85a126218f7bf0c7c1a08
/apps/platform_pages/migrations/0010_publicidad_page.py
4ada86b4314bf8b6a3066d1a5ae2781160931a1e
[]
no_license
javierbuitrago/freenetsas
b95c158fa9bef8c5298ebc8896093469865ce24a
9d7c2859aa74153beb9fe35c743e0f176d10bfbd
refs/heads/master
2020-05-17T11:43:47.199164
2019-04-29T17:17:56
2019-04-29T17:17:56
183,691,202
0
0
null
null
null
null
UTF-8
Python
false
false
4,213
py
# Generated by Django 2.2 on 2019-04-28 15:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('platform_pages', '0009_auto_20190427_1855'), ] operations = [ migrations.CreateModel( name='Publicidad_page', fields=[...
[ "developerbrayan@gmail.com" ]
developerbrayan@gmail.com
f5c0d4910269e0b5b334417e7411d352f7e4a81a
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_25772.py
4fa27e59e3a620c464325c0e5654dcbc4cf57d02
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,849
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
6d77da2bee031058527dadae919a1ddcad7b094b
e44abd0100eb0a2dab6b95cc4e1bacddcbf08b2e
/predict.py
ede815bc1424453f1a926c8594d3410167df5a6b
[]
no_license
xFANx/clf
85fdf7a1d0cfd4486ff9fe189ef98ff65933f654
e81264bf0da9c78257be94a162ade9c37182578a
refs/heads/main
2022-12-25T07:20:00.637097
2020-10-09T01:27:22
2020-10-09T01:27:22
302,378,612
0
0
null
null
null
null
UTF-8
Python
false
false
4,170
py
"""author baiyu """ import argparse import glob import os import torch import torch.nn as nn import torch.optim as optim import numpy as np #from PIL import Image import transforms #from torchvision import transforms from tensorboardX import SummaryWriter from conf import settings from utils import * from lr_s...
[ "noreply@github.com" ]
noreply@github.com
fb2493c92162fedb2c572c93d6abda726ed0b606
a67861f256bfcb43b3dd542be540e00a1eb22c22
/get_avg_model_2.py
903a36952e017a93864cbde73ea0d35163ea9dae
[]
no_license
kirca97/NBPiXML
afedc0d220ae4f3551fe08c25f09b725ecd0d5f5
88b3cde7a47e31b59df079a68ecb1bbcdcc70c12
refs/heads/master
2023-02-25T15:16:30.616885
2021-02-01T22:12:51
2021-02-01T22:12:51
331,459,401
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
from rejson import Client import time rj = Client(host='localhost', port=6379, decode_responses=True) times = [] for i in range(19464): print(i) start_time = time.time() rj.jsonget("post_" + str(i)) elapsed_time = (time.time() - start_time) times.append(elapsed_time) print("---Time elapsed---") ...
[ "kostovk97@gmail.com" ]
kostovk97@gmail.com
5d20df02c25095650ccda8686f9948304197c987
00a83ff0ed77bd53c1c9a22a9ed47598095226e3
/raspi/motor-temperature-humidity/app.py
6ca3560aba9f38f17bf5a009efcf6bc35b333290
[]
no_license
htlvb/racing-car
e719be609780b6280f72fc89fb72ce8f21512838
b2a7be390b763d8bc4aea3c2d746ca6089e5371a
refs/heads/master
2023-01-08T06:19:52.514659
2020-11-08T08:38:13
2020-11-08T08:38:13
303,775,035
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
#!/usr/bin/env python3 from prometheus_client import start_http_server, Gauge import signal,sys import time import Adafruit_DHT temperature_metric = Gauge('motorTemperature', 'Motor temperature in °C') humidity_metric = Gauge('motorHumidity', 'Motor humidity in %') start_http_server(8000) def handle_sigterm(*args):...
[ "j.egger@posteo.at" ]
j.egger@posteo.at
8806bf55d1c0ee0fd5535b1dacff8b521d93944f
8332d884a222a5308bb3fcddbf2ef385c19f1162
/units/unit7-bigData.py
ae96eda7a8418a88a3217bacc4df98bd160e6b6e
[]
no_license
pankajcivil/stat243-fall-2015
2de561e32cc2733ce2a3ad5263bfe0dadd1ecc0e
ee3c3c2c523a96eefceddf8703d4938396730993
refs/heads/master
2020-05-04T23:34:47.070807
2017-08-22T18:02:35
2017-08-22T18:02:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,183
py
##################################################### # 6: Hadoop, MapReduce, and Spark ##################################################### ### 6.3 Spark ### 6.3.1 Getting set up ## @knitr spark-setup export SPARK_VERSION=1.5.1 export CLUSTER_SIZE=12 # number of slave nodes export mycluster=sparkvm-paciorek # n...
[ "paciorek@scf.Berkeley.EDU" ]
paciorek@scf.Berkeley.EDU
d12abdc96ff2a4a3dcceac91fcc0efdf9b70ecfc
12f4ed0f5c462fbe5429cf5d58d15d53d7b21fd3
/modules/timescan_plot.py
d162ee9462095fcbe70b34e35be198f6d0b7ef65
[ "MIT" ]
permissive
zamerman/FELion-Spectrum-Analyser
1c6d421e8b80a97431349362f4e04aff6c2a13ed
1e026e0646c88d1c537e9f4b73ea290a559642f1
refs/heads/master
2020-04-18T15:22:05.417904
2019-01-25T20:36:20
2019-01-25T20:36:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,019
py
#!/usr/bin/python3 import matplotlib.pyplot as plt import math import os import numpy as np from scipy.optimize import curve_fit def func(x, a, b, c): #return a * np.exp(-b * x) + c return a * np.log(b * x) + c def timescanplot(filename, location, deg): os.chdir(location) f = open(filename) no_o...
[ "aravindhnivas28@gmail.com" ]
aravindhnivas28@gmail.com
ccc2d167ac107d67d5dce9eccc319ea10ee961bc
6c986942c41e3ce58e1f65e33965aeca76b28be2
/build/config.gypi
eafd5f2954985787e1461375c621b2687e7007be
[ "MIT" ]
permissive
DeveloperOnCall/ccxt-rest
1cad481dcd0911ee8a874ce6470c13ec431e2022
236fdeb13ba899efdae1c2c10c251d0140ed71df
refs/heads/master
2020-04-21T11:33:50.128165
2019-02-18T09:37:36
2019-02-18T09:37:36
169,530,056
0
0
MIT
2019-02-18T09:37:37
2019-02-07T06:40:58
JavaScript
UTF-8
Python
false
false
2,515
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [], "msbuild_toolset": "v141", "msvs_windows_target_platform_version": "10.0.17763.0" }, "variables"...
[ "keymasterviriya1150@gmail.com" ]
keymasterviriya1150@gmail.com
54875a6f1d4757cff47825ae74a8ec4bd7b10b27
119c14bd2b00b5d2fdb7919e42758989a62fe0d6
/tc/scripts/prepare_release_package.py
00bff703110d531d81ed98d15b4a7c62f80def92
[]
no_license
scorpionipx/PythonNewProjectUtils
f0006b156b4496a8a781a35977aeae97496b8bee
a75cac254d724ea130fa9ad3f5e09247eb535c6a
refs/heads/main
2023-04-11T16:21:18.603901
2021-04-24T13:14:39
2021-04-24T13:14:39
361,159,651
0
0
null
null
null
null
UTF-8
Python
false
false
4,055
py
from os.path import ( dirname as directory_name, join as join_paths, ) # prepare Python environment on TeamCity build agent # ====================================================================================================================== import sys sys.path.append(directory_name(directory_name(__file_...
[ "danut.popa@continental-corporation.com" ]
danut.popa@continental-corporation.com
1cc45b363b57795b57d684c33403d76ce57ad105
3529ecaa44a53172094ba13498097057c8972723
/Questiondir/645.set-mismatch/645.set-mismatch_110729827.py
b0f89e7b1a8eafb7c1765f6f336372c5914e18a2
[]
no_license
cczhong11/Leetcode-contest-code-downloader
0681f0f8c9e8edd5371fd8d0a1d37dcc368566b6
db64a67869aae4f0e55e78b65a7e04f5bc2e671c
refs/heads/master
2021-09-07T15:36:38.892742
2018-02-25T04:15:17
2018-02-25T04:15:17
118,612,867
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Solution(object): def findErrorNums(self, nums): """ :type nums: List[int] :rtype: List[int] """ dup = None s = set() for n in nums: if n in s: dup = n break s.add(n) expect = len(nums) * (l...
[ "tczhong24@gmail.com" ]
tczhong24@gmail.com
7edd261ecd3cac0778eaa30bd79a5765e255a77f
71441983c59d35d102d82d5a604e17aaa123850d
/django/q_manager/urls.py
df66401fdcfe4c5528c331361c8d766a4a9f869d
[]
no_license
ITCSsDeveloper/Q-Manager
b1dd14f9949f386f7765fc75de778a805a7b6a81
9a56d7cbb09ebc1068ef62ad373271d5927205c3
refs/heads/master
2023-03-02T04:36:13.858634
2021-02-10T06:55:38
2021-02-10T06:55:38
334,401,971
1
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
from django.contrib import admin from django.urls import path from . import views from . import api_web_controller as api_web from . import api_log # WebManageAPI # ClientApi urlpatterns = [ # ROOT RENDER VIEWS path('',views.index), path('task/create',views.create_view), path('task/logs',...
[ "itcss.developer.me@gmail.com" ]
itcss.developer.me@gmail.com
3ef55c9c4a412644229dcfa5d230983a9af3e4f0
e707164df1aa8edb5d276179538bd1eb1805f759
/CODE/fedora_application/env/lib/python2.7/site-packages/tw2/core/compat.py
6b5bccad18d59cde247a54813bc5cc5ef061f8a8
[]
no_license
beckastar/cleaner_markov
af5816c14c94a8cb7924728179470e7db9ed2bc0
a6de3fd87db77c0d80789cbce0ff409c222b4e67
refs/heads/master
2021-01-02T22:52:08.989862
2013-11-10T04:51:04
2013-11-10T04:51:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,342
py
""" Collections of extra pieces to help smooth over community divergence. """ from widgets import Widget class TGStyleController(Widget): """ A widget mixin that provides more advanced controller routing and dispatching. The need for this mainly sprung from a divergence of source trees (unintentiona...
[ "rebecca.robbins.et@gmail.com" ]
rebecca.robbins.et@gmail.com
6029e1d727d38a647c9641eb60993c66f6d6b945
aef01bd9a269407e28229f9d796222d519087e0d
/rotation_modeling/views.py
9035de85b194094189a3d2fd6f294c87dc4ca0d9
[]
no_license
SerMcDonald/my-first-blog
72f7fc242f937bfc5cd0970fc48a1c75301ca395
f90cdb78876af42818d58a62afd26b14041feb2e
refs/heads/master
2021-01-19T23:05:27.611379
2017-03-26T23:19:33
2017-03-26T23:19:39
83,783,359
0
0
null
null
null
null
UTF-8
Python
false
false
2,963
py
from django.http import HttpResponse from django.http import JsonResponse from django.shortcuts import render, get_object_or_404 from django.template.context_processors import csrf from django.views.decorators.csrf import csrf_protect from .models import RotationModel from django.utils import timezone from .math_model...
[ "sermcdonald@mail.ru" ]
sermcdonald@mail.ru
3c4c7fbe4db52ee08aecdc41c231b4ab72f76621
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/287/92439/submittedfiles/testes.py
8e0bed67fc84c29fdd272a49a066e73613123d99
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
# -*- coding: utf-8 -*- from minha_bib import* import time import os import random ''' board=[" "," "," "," "," "," "," "," "," "," "] print(""+board[1]+"|"+board[2]+"|"+board[3]+"") print(""+board[4]+"|"+board[5]+"|"+board[6]+"") print(""+board[7]+"|"+board[8]+"|"+board[9]+"") ''' ''' notas = [] for i in...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
48aa18c811e997b713e2a4733c34b1162b413ca0
1cde834a4f3052b5135deb5bc294988a5026ce34
/RegistersGenerator/valuesmap/OTG_HS_DEVICE.py
9cc4121d74736bcdae1700bec87bfea99f0dad03
[]
no_license
KorolyovNikita/stmdemoproject
6abe665740fe3edea5a408b1a341593b005ba33d
e9b6aa0329ef3aa12c35adac246057a2f4f4acbd
refs/heads/master
2023-03-13T21:33:39.088190
2021-03-08T16:53:35
2021-03-08T16:53:35
345,728,409
0
0
null
null
null
null
UTF-8
Python
false
false
42,724
py
from tempvalue import* def apply(OTG_HS_DEVICE): # ------------------------------------------------------------------------- # OTG_HS_DCFG (OTG_HS device configuration register) # Offset: 0 Size: 32 Access: ReadWriteMode # ------------------------------------------------------------------------- O...
[ "humansource.hex@gmail.com" ]
humansource.hex@gmail.com
28b8696bea272343c845ca333a86adba41b97f89
9f2445e9a00cc34eebcf3d3f60124d0388dcb613
/2021-12-15-APWidth/OutputModels/outputModels_dict_177964669_1p1x.py
b9e9f3ce2800c370c9a40d0c5179d360c9173d89
[]
no_license
analkumar2/Thesis-work
7ee916d71f04a60afbd117325df588908518b7d2
75905427c2a78a101b4eed2c27a955867c04465c
refs/heads/master
2022-01-02T02:33:35.864896
2021-12-18T03:34:04
2021-12-18T03:34:04
201,130,673
0
1
null
null
null
null
UTF-8
Python
false
false
87,375
py
# exec(open('OutputModels/outputModels_dict_177964669.py').read()) Models = {} Models['ModelNa_Chan_m_vhalf_inf'] = {'Parameters': {'notes': '', 'Morphology': {'sm_len': 6.73077545020806e-05, 'sm_diam': 6.73077545020806e-05}, 'Passive': {'Cm': 1.19e-10, 'Rm': 333594147.16633767, 'Em': -0.026166709551186194}, 'Channe...
[ "noreply@github.com" ]
noreply@github.com
5ce746b092109719ad6ead33f68b51e6e8877210
952d8c37764393aa180f53ba4d31bec6c0806fd6
/py-polars/tests/unit/datatypes/test_categorical.py
2275b5211a2c91b32b959437f1f62b6996f861b0
[ "MIT" ]
permissive
pola-rs/polars
dff713f82f0cc29a98bc3f0e3ee3ba1e0fb49ef3
c50c1e69bd36f60a8864ea49fe40d0e17503f11c
refs/heads/main
2023-08-28T00:13:27.043234
2023-08-27T18:34:52
2023-08-27T18:34:52
263,727,855
18,211
1,202
MIT
2023-09-14T18:52:43
2020-05-13T19:45:33
Rust
UTF-8
Python
false
false
13,587
py
from __future__ import annotations import io from typing import Any import pytest import polars as pl from polars import StringCache from polars.exceptions import StringCacheMismatchError from polars.testing import assert_frame_equal @StringCache() def test_categorical_outer_join() -> None: df1 = pl.DataFrame(...
[ "noreply@github.com" ]
noreply@github.com
d864a4db68b90c60949426e4a34b6eed612fd8d5
da0418dc9e322ecc77a2296bf3ebfa55b73aef03
/gm1200.py
44b8758cf2227a72a874f9b563477babf82ebbd1
[]
no_license
GasdaSoftware/XTL-SB9600-Playground
507b14db9976669d64367624468e6fc4a7a954f0
5df2fd5e7a3418056b5c3e92a35f7a989b53af9b
refs/heads/main
2023-07-17T17:36:42.735093
2021-07-26T02:13:17
2021-07-26T02:13:17
400,980,028
0
0
null
2021-08-29T07:34:35
2021-08-29T07:34:35
null
UTF-8
Python
false
false
5,651
py
#!/bin/env python3 # GM1200 Controller class # Copyright (C) 2014 Paul Banks (http://paulbanks.org) # # This file is part of GM1200Controller # # GM1200Controller is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundatio...
[ "W3AXL@users.noreply.github.com" ]
W3AXL@users.noreply.github.com
ff890750a3349b804af5b3b5fb297b2bbb6fc1f3
4117a3cdd06e43a054bc3a8856dad3d450174c37
/interview/clockdeco_demo.py
ee7f84ba4a8f905dee5f0bac16ac8375e2190fa4
[]
no_license
Caratpine/study
15382964172cb520f6e9e572130157558ff1e4ec
1ff4fbf7006a30a85741a665a3d7532f2cdaa8de
refs/heads/master
2021-01-12T15:42:05.726049
2020-02-25T15:50:56
2020-02-25T15:50:56
71,852,615
0
0
null
null
null
null
UTF-8
Python
false
false
459
py
import time def clock(func): def clocked(*args): t0 = time.perf_counter() result = func(*args) elapsed = time.perf_counter() - t0 name = func.__name__ arg_str = ', '.join(repr(arg) for arg in args) print('[%0.8fs] %s(%s) -> %r' % (elapsed, name, arg_str, result)) ...
[ "bepox0531@gmail.com" ]
bepox0531@gmail.com
bf645370ee54badf8a7ad04b4ae9c0a6e5e3fe26
2bd0c77329f6b3f9077434662760a83c34d249e4
/utils/str2bf.py
f907a5b02c3bbe20dc0246fe142583e7151356bd
[ "EFL-2.0" ]
permissive
vifino/Hecta
5eacf9062d34f0fedee55f1c79bc22cd394871e9
943a471d6aae6c8c39989b74abdaa476d4c814e1
refs/heads/master
2020-12-25T19:15:08.837124
2014-11-27T14:21:36
2014-11-27T14:21:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,423
py
#!/usr/bin/env python # coding: utf-8 """ String to Brainfuck. Converts a string to a brainfuck code that prints that string. Author: j0hn <j0hn.com.ar@gmail.com> """ import sys def char2bf(char): """Convert a char to brainfuck code that prints that char.""" result_code = "" ...
[ "adinator1999@gmail.com" ]
adinator1999@gmail.com
1bffc70142a56a22d6885a27136660c15c3504c5
0e892156bb8f7b79462f25c23cd88baba3db8f30
/users/migrations/0001_initial.py
ca0435088bcdaaba9dc21dc268af7b812e799699
[]
no_license
codingmedved/tickets
a0ffa90f055dc8642e80f9c31541d3ab115f035f
79d4f76701ce46f2233fd839a0d7425913c1524e
refs/heads/master
2021-01-01T20:03:03.393306
2017-08-05T19:52:58
2017-08-05T19:52:58
98,752,002
1
0
null
null
null
null
UTF-8
Python
false
false
875
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-07-29 18:06 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migratio...
[ "codingmedved@gmail.com" ]
codingmedved@gmail.com
b0240fe840fdc4de767c4ce3b443698e464e19bd
f25974debb523ce8bd8c098e8fbfc68ba939236b
/cloud/ottscaleout/service/scripts/mgmtexamine.py
3ca68ba81d67281e064afce5d3b363bcf291cec1
[ "UPL-1.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
gonmers/oracle-timesten-samples
24c6a984ecd06a60cf16c889e44bf828873f5c1a
97a7a523a78f79edaad0ca4b49f1f9a4c2bcf03f
refs/heads/master
2023-06-09T17:30:19.709949
2021-06-30T15:15:25
2021-06-30T15:15:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
#!/usr/bin/env python # Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved. # # Licensed under the Universal Permissive License v 1.0 as shown # at http://oss.oracle.com/licenses/upl import sys import subprocess import fileinput import string teststr='ttgridadmin mgmtexamine' def mgmtExamin...
[ "chris.jenkins@oracle.com" ]
chris.jenkins@oracle.com
11901354e2460ca0645149d407a655521cfe13f5
55dea1575e079a3f99fdc3d9eb69daf5eeaa14eb
/Exception Handling/exceptions.py
7f14ea761d91e3fcb1c6b5622b49a3b6ef13b62e
[]
no_license
parekh0711/PPL_Assignments
b7bf86dbf98fb17b8a98ccc33c32513747bb8754
1b5c27459f41835eb17e6d6aee4fdf11a52a1fe0
refs/heads/master
2022-07-06T04:11:34.371996
2020-05-21T01:13:55
2020-05-21T01:13:55
265,709,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
#This code is to demonstrate how to handle various exceptions in python try: # print(1/0) # # import blahblahblah # # file_object = open("doesnotexist.txt", "r") # # # keyboard_interrupt=input() # # dict={} # print(dict['error']) # # print(a) # ...
[ "noreply@github.com" ]
noreply@github.com
c51caf312d2bd595e50500d71a7ea3a418d60266
192312463c840398012a96f3178971e2f9faf5cc
/users/models/__init__.py
309d3c8ac9b6ff46838f7ec5ec601d498c24476c
[]
no_license
SogunEdu/LabSys
66135088403d59b74f05caa1e5f023b960812c45
03d209117d6afeca628c50e57b2f1875fbc8788d
refs/heads/master
2020-04-03T10:58:40.333913
2018-11-06T01:35:20
2018-11-06T01:35:20
155,208,151
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
# -*- coding:utf-8 -*- from users.models.user import * from users.models.student import * __author__ = "姜显辉"
[ "JohnnyStephen" ]
JohnnyStephen
d194f41f1dd41ea0d559d059811fbc56a7d749cd
4701f84941a2dd39448b0d25e467ec567440cef5
/dirdiff.py
a9d090d317ba2a8af1683c8a637c1999355af8a8
[]
no_license
lakshmankumar12/dirdiffer
86f3e368f930408d204cc15e6db8128a74d377d2
24baba5a123e2408cf3c801b9b61cb64d700bf4c
refs/heads/master
2021-01-10T08:03:25.728139
2016-04-23T00:40:19
2016-04-23T00:40:19
53,748,058
0
0
null
null
null
null
UTF-8
Python
false
false
2,783
py
#!/usr/bin/python from __future__ import print_function import sys import os import argparse import hashlib ''' Lets build a collection which is a dictionary of sha1's. Each value is inturn a list of size 2 Each index is the directory. And each entry is the collection of pathnames in that directory that have this sha...
[ "lakshman_kumar.narayanan@alcatel-lucent.com" ]
lakshman_kumar.narayanan@alcatel-lucent.com
09517ac4fc5638839dc3c85f4160316408b68897
f5736261f00ad5f7c52d36733fa022244eb9178f
/Leetcode/232_Implement Queue using Stacks_06170223.py
f4c91ad3735161b32866d22df88ec8d0b70bf7be
[]
no_license
yuu0223/Python-DSA
286b6a0b50cb7a78808e6ea7e2862b2e7ba5ff46
aee92d7dfc6a7a12aaee3c4e9f1aa25cc5f29caa
refs/heads/master
2022-07-23T23:24:31.597870
2022-07-06T09:27:19
2022-07-06T09:27:19
209,705,930
1
0
null
null
null
null
UTF-8
Python
false
false
463
py
class MyQueue: def __init__(self): self.queue=[] def push(self, x: int) -> None: self.queue.append(x) def pop(self) -> int: return self.queue.pop(0) #pop(要移除的第n項) def peek(self) -> int: return self.queue[0] ...
[ "noreply@github.com" ]
noreply@github.com
a521614fd2ccbe29e7691d143ff6154280647512
78ddb8f3a35e56af4f3e59fba9ea583b6bbaab25
/baidumaps/client.py
411868aed491be26bcfa098f8935af5e495cabef
[ "MIT" ]
permissive
Feronial/baidu-maps-services-python
6969defb9ae85ef77e4c00f4226000b912408a25
139aa274fbaab5320e25e04d231eb7f4f5ce7d85
refs/heads/master
2020-04-09T07:03:22.888873
2018-12-03T07:35:58
2018-12-03T07:35:58
160,138,586
0
0
MIT
2018-12-03T05:44:07
2018-12-03T05:44:06
null
UTF-8
Python
false
false
3,502
py
# -*- coding: utf-8 -*- # The MIT License (MIT) # Copyright © 2015 Eli Song # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, c...
[ "elisong.ah@gmail.com" ]
elisong.ah@gmail.com
16f1b36580d611b273b5329b19c6b1903f167e9c
d0cc51ddee650ae7bd4d5d6b671053124770b1bd
/products/models.py
008a3cf1bc5fa93ca6084d237322150eb4a4624b
[]
no_license
Prakash190797/Product-Hunt
77e87bf672244850e16cacdd9da409463c87aab4
42066500284ec1e734c084a7853087d178e724f9
refs/heads/master
2020-04-24T23:00:22.751070
2019-03-06T10:56:56
2019-03-06T10:56:56
172,329,822
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
from django.db import models from django.contrib.auth.models import User # Create your models here. # product class # title - char # pub_date - datetime # body - text # url - text # image - image # icon - image # votes_total - integer # hunter - foreignkey class Product(models.Model): title = models.CharField(ma...
[ "prakash190797@gmail.com" ]
prakash190797@gmail.com
5e8169569d6c46110750670bc0605cf308e67cfc
01045526af01f01640aa77f945b7ade008627312
/crafting/task1/banner/views.py
4bd10b5aabed5775d921e6376a5faf6f82be0528
[]
no_license
akshaygithub12/shop
265666cd3a933fd8be6a5af094ac214528fd6610
838afe504e29b0b82636dd571ddcfcaafc6dc763
refs/heads/main
2023-06-08T21:02:02.538677
2021-06-22T13:10:35
2021-06-22T13:10:35
364,943,829
0
0
null
null
null
null
UTF-8
Python
false
false
199
py
from django.shortcuts import render from .models import Menu1 # Create your views here. def index(request): menu1 = Menu1.objects.all() return render(request,"index.html",{'Menu1':menu1})
[ "akshay.govandea83@gmail.com" ]
akshay.govandea83@gmail.com
2bd04d2a019ef56b3a01068257d343fce7f72a58
5d771f3d5f447a89629d26455d8c342ef539800e
/mezger_farms/farm_core/serializers.py
e603432d54d572369c0a464baee5996a9363d077
[ "MIT" ]
permissive
mezgerj/mezger_farms
b785f9e25d80823486f0e751681991fecd220a17
6abeee6e64a293fa87e8cbc54c1f8946be83faa2
refs/heads/master
2020-03-18T20:37:06.309841
2018-09-29T03:43:02
2018-09-29T03:43:02
135,227,784
0
0
MIT
2018-05-29T03:35:18
2018-05-29T01:51:32
Python
UTF-8
Python
false
false
272
py
from rest_framework import serializers from rest_framework.serializers import ModelSerializer from farm_core.models import Farm class FarmSerializer(ModelSerializer): id = serializers.ReadOnlyField() class Meta: model = Farm fields = '__all__'
[ "mezger.10@gmail.com" ]
mezger.10@gmail.com
d79da2adb156594c1a927a2ab49758fa4f33c500
2d2e8abcd55c6600f95ae14cd788786190c0a685
/src/summary_range.py
cd6b4be82021245c01fe343aeff623425d87b1e1
[]
no_license
fifa007/Leetcode
93ef8d2779b9752af91d8e3460b58cc17d1a379f
b7b5d15e6a3c9ab11916550f0ed40ed6a9a2901e
refs/heads/master
2021-01-21T04:48:00.361309
2016-06-15T23:49:07
2016-06-15T23:49:07
48,308,821
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
#!/usr/bin/env python2.7 ''' Given a sorted integer array without duplicates, return the summary of its ranges. For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"]. ''' class Solution(object): def summary_range(self, nums): if nums is None or len(nums) == 0: return [] n = l...
[ "hao.chen@avalara.com" ]
hao.chen@avalara.com
eea507a28e29f6da43211052a1361b2e542998c4
f0d3ef10061147fb3bd04774a8b4eac9e4d9b671
/feedly/tests/storage/cassandraCQL.py
1347b91db0fd3154491b6bd0855e11aa08d52566
[ "BSD-3-Clause" ]
permissive
jblomo/Feedly
9929077be3364d827aa03c4506ade29b819141cb
3e4999cc794231841e3b4909f0a73beabfcca046
refs/heads/master
2021-01-20T21:19:21.017683
2013-09-06T12:33:48
2013-09-06T12:33:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
from feedly import settings from feedly.storage.cassandraCQL.timeline_storage import CassandraTimelineStorage from feedly.tests.storage.base import TestBaseTimelineStorageClass import pytest @pytest.mark.usefixtures("cassandra_cql_reset") class TestCassandraTimelineStorage(TestBaseTimelineStorageClass): storage_c...
[ "tbarbugli@gmail.com" ]
tbarbugli@gmail.com
7256182f506cc8ca1cce1567a708444a23a7318e
3696d4addcf3004fe34efb48352656973f99b3d5
/shortest_distance_to_a_character.py
da75bc20e6b0979dff3ff56709fddb21ceea993c
[ "MIT" ]
permissive
ntongha1/Leetcode_Problems
e882552abe5db5ff091b995bbd6468391c4730ef
a262708dab69000cfb513bd720ee58e05ca2db64
refs/heads/master
2023-04-09T00:13:31.215522
2021-04-18T15:55:18
2021-04-18T15:55:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
""" Given a string s and a character c that occurs in s, return an array of integers answer where answer.length == s.length and answer[i] is the distance from index i to the closest occurrence of character c in s. The distance between two indices i and j is abs(i - j), where abs is the absolute value function. Examp...
[ "onursahilme@gmail.com" ]
onursahilme@gmail.com