blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
0f842ca1a66398c41622f9c64ad0bab057bf0487
58eb22a303e01e28464c26b381de3a12ddeddea1
/psfex_pipe.py
c6a7f716442693b709b5980edc94ea0db122088b
[]
no_license
elizabethjg/im3shape_pipeline
5bb41a1bd76788a5b7008e5123ec0fb45a6d7813
0e767a7adb70ea49fe6a2ece48b5981bfec447f8
refs/heads/master
2020-03-18T12:59:36.945805
2018-08-08T18:01:11
2018-08-08T18:01:11
134,754,729
1
1
null
null
null
null
UTF-8
Python
false
false
7,616
py
import numpy as np #from pylab import * from astropy.io import fits import shape_models from ctypes import * #import psfex import os class PSF: ''' Class object that reconstructs the PSF in the CCD __init__: Creates the object input: psf_file: (str) PSFEx .psf file containing the psf basis get_psf: Recon...
[ "elizabeth.johana.gonzalez@gmail.com" ]
elizabeth.johana.gonzalez@gmail.com
b8c2881f513e660cebe069ab07650d21ad6136d1
9697ed745be4f916104fcb404bd14c66fa38a5a7
/config.py
2cffb078e617d33d88a73298e979725ed67b92ab
[]
no_license
Scaravex/generali_challenge
03e8582a52ccce5277782dabb9f2ff447d3101a3
2f994e05aa31f40c6dc76add98ec675e74c90ab3
refs/heads/master
2023-01-20T06:55:44.174651
2020-11-28T18:37:19
2020-11-28T18:37:19
316,780,646
0
0
null
null
null
null
UTF-8
Python
false
false
7,923
py
"""Configuration and useful things.""" # List of columns with no variability in train set columns_without_variablity = [ "business_type__other", "continent_mark_desc__other", "coverage__other", "flag_cid_compiled__other", "fp__fatality", "fp__vehicle_model__other", "fp__vehicle_type__other"...
[ "marco.scaravelli@gmail.com" ]
marco.scaravelli@gmail.com
bb6350884a39f88bd419c41b7e6d9e553e2a2549
fa3ce7e8857a4238c56c501ab4d06d9a1f1ee4b8
/subscribedb.py
04d8229957b788ce1df9df77d2decb2193a20a65
[]
no_license
kevinbhutwala/Respberry-pi
bc24fea2162055626bcb172fbc04cb9b18284fd8
33f3c38ce8ade3b883909dd8621d2d0dcebc4008
refs/heads/main
2023-02-21T02:16:47.569046
2021-01-24T18:12:26
2021-01-24T18:12:26
332,519,202
1
0
null
null
null
null
UTF-8
Python
false
false
898
py
import time import paho.mqtt.client as mqtt import sqlite3 import datetime db = sqlite3.connect("external") cur = db.cursor() def on_message(client,userdata,msg): print(msg.topic+""+str(msg.payload)+"\n") decodeData = msg.payload.decode("utf-8") cur.execute("create table if not exists tblsubscribe(subID i...
[ "noreply@github.com" ]
kevinbhutwala.noreply@github.com
4fa77399fe6624d99df137687fdf010d8960885f
12530e3c3a7e6b2cb23ab50a7475e77435607ebd
/i4.py
dc8d4d720c89aa368b5e5d6937b1899369054e08
[]
no_license
aknik/ivoox
0480d1b691560caccc46495eafea6a09560fa3ba
63e8cf3725d35c312c9e957619ee69c9dddbffb8
refs/heads/master
2021-01-20T10:30:32.140617
2017-11-17T18:16:39
2017-11-17T18:16:39
101,639,730
1
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
# DESCARGA UNA SUSCRIPCION A PODCAST COMPLETA. TODOS LOS EPISODIOS #import telebot #from telebot import types import time,os,re,requests,json TOKEN = "289123777:AAH-1mZ3C-xxxxxxxx_xIGOv0" admin = "@mibot" bot = telebot.TeleBot(TOKEN) def urlify(s): # Remove all non-word characters (everything except numbers and...
[ "noreply@github.com" ]
aknik.noreply@github.com
7066745dd1179d0f70d669c1f80c8356174281ba
465bf3594ba65ac8cb3470b56bd07a996b5c48b4
/Database Related Projects/Bus registration system.py
7592613e0bf43cc98d3252258fbe39814f11ea30
[]
no_license
TanmayJadhav/Python-Tkinter-Internship-
e74013e26d0a62a63150f8864531240f7bea6bbe
fa449024b40d3088add500e8a214764f73cbabb1
refs/heads/master
2020-12-08T02:36:11.924754
2020-01-09T17:15:18
2020-01-09T17:15:18
232,861,109
0
0
null
null
null
null
UTF-8
Python
false
false
583
py
import pymysql def insert_passenger_data(): insert_data ="INSERT INTO passenger VALUES('ABCD','Panvel')" cursor.execute(insert_data) database.commit() try: database= pymysql.connect(host="localhost",user="tanmay",password="localhost12345") cursor=database.cursor() database.selec...
[ "noreply@github.com" ]
TanmayJadhav.noreply@github.com
369763c0f219753bd8c6a490f0df5b72badcc7f3
4f730232e528083d868d92640443e0c327329ec6
/scripts/rhinoscript/userinterface.py
ea6bb5de00e2c23f0600cd085af2986ca73deabc
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
matpapava/rhinopython
ad5aed71bba4c5554b8654f48a8c8054feb80c31
05a425c9df6f88ba857f68bb757daf698f0843c6
refs/heads/master
2021-05-29T12:34:34.788458
2015-06-08T11:58:43
2015-06-08T11:58:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,341
py
import Rhino import utility as rhutil import scriptcontext import System.Drawing.Color import System.Enum import System.Array import System.Windows.Forms import math from view import __viewhelper def BrowseForFolder(folder=None, message=None, title=None): """Display browse-for-folder dialog allowing the user to s...
[ "steve@mcneel.com" ]
steve@mcneel.com
424d77d09f728f2f9bc7d49c2a6a3fae73c126c9
4df97c755bfc07466e703b9baf7e1df88781c4af
/helix/admin.py
8cbfed8cb4e11e5286d8d615a581cd9ff2b2d0e6
[]
no_license
ClearlyEnergy/HELIX
7ac0c7cbb90239271d8a50972eaff7f740cb9f84
f70f1e1022b876f3f6928c60e49e4c3376adce84
refs/heads/master
2023-02-18T07:24:10.263494
2023-02-14T15:38:01
2023-02-14T15:38:01
93,413,537
0
1
null
2020-04-28T17:35:39
2017-06-05T14:37:59
HTML
UTF-8
Python
false
false
346
py
from django.contrib import admin from seed.models.certification import GreenAssessment # Adding this line lets GreenAssessments be modified through the django admin # web page. While I have implemented a front end for GreenAssessment management, # this interface should give finer control over assessments. admin.site....
[ "john.h.kastner@gmail.com" ]
john.h.kastner@gmail.com
c9eedb9eb923f373de9281857e1064a1816eb9b2
81eff7bf47e07d4245c8508702ec21c8f1cdc8b7
/iru/wsgi.py
02d353e1cb856b487c6d31a24bb5e9da04b81138
[]
no_license
albvt/airubot
edb4e9731336472ad6a7e0ea021b83c86d3214c2
e7a664bcc32ada008a1edb57673a1b9bde3aa620
refs/heads/master
2020-09-23T15:43:41.946704
2019-12-18T09:00:25
2019-12-18T09:00:25
225,534,296
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
""" WSGI config for iru project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_...
[ "noreply@github.com" ]
albvt.noreply@github.com
bd766b070ced3c7597e9d11701ba4f9a23f5b096
c9c987ad061a858b74fbc31314d3043c3eea0439
/Data Parsing Code/TurkStuff.py
f59908c7bd96f8c960c203723482e566992af4d3
[]
no_license
KeithBurghardt/QualityRankCodeAndData
1b7390f77df79135b0b3d35fffeeb93a641ca2b3
eefc653b3b590390c0e54fc4a83ef265b8cc4f95
refs/heads/master
2020-09-15T17:27:41.028044
2020-01-27T23:35:34
2020-01-27T23:35:34
223,515,572
0
0
null
null
null
null
UTF-8
Python
false
false
7,255
py
#!/usr/bin/python import numpy as np from scipy.optimize import minimize from scipy.stats import shapiro import scipy.stats import matplotlib.pyplot as plt import sys import itertools import csv ''' 0: "Perimeter1.png":2.91393123655 1: "Line1.png":2.11605429697 2: "Area1.png": 4.27852 3: "Area2.png": 2.24069551 4: "T...
[ "noreply@github.com" ]
KeithBurghardt.noreply@github.com
486cc782030d050b109bf6cba3d5be4c39e3a88b
540ac8ec262e71e3843350c49e7babe6108cb47f
/ui_system/ui_enums.py
cc51d5e88eafda7e447c9a1075ac8ec522987945
[]
no_license
Kavekha/NoGoNoMa
e5eb04e5c4281d7fde436080f269f5b28b801790
68b8cc02aa62867fbb1a0c87785be6f3d73c7f29
refs/heads/master
2020-09-15T17:04:50.325788
2020-02-03T14:54:39
2020-02-03T14:54:39
223,510,520
1
1
null
2020-02-03T14:54:40
2019-11-23T00:54:04
Python
UTF-8
Python
false
false
813
py
from enum import Enum class ItemMenuResult(Enum): CANCEL = 0 NO_RESPONSE = 1 SELECTED = 2 ACTION = 3 DESELECT = 4 class NextLevelResult(Enum): NO_EXIT = 0 NEXT_FLOOR = 1 EXIT_DUNGEON = 2 class YesNoResult(Enum): NO = 0 YES = 1 NO_RESPONSE = 2 cl...
[ "noreply@github.com" ]
Kavekha.noreply@github.com
6f2277101164e2fd6dac195e12949d3dca920dbe
8fe9b8de265a1cf408dba15605e0e0c33a6931ee
/exceptions/define_exception.py
1d94201250896bf695a200143de0ae758dc6c69c
[]
no_license
clivejan/python_object_oriented
d07346a2589fb630b2fd65d23ff2997c7e194b5d
8f1ef1925630962c474b143607c056e8c2a1d7af
refs/heads/master
2020-12-10T02:46:42.815508
2020-01-19T18:53:26
2020-01-19T18:53:26
233,484,869
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
class InvalidWithdrawal(Exception): pass raise InvalidWithdrawal("Wake up! You don't have $50 in your account.")
[ "clive.jan@gmail.com" ]
clive.jan@gmail.com
034855e2bb92fcf999eda672e14c02072c57fa4e
cbb4118ffaff631b62dcd84c0cd478772d2fc0f4
/kNN求绝对和相对密度.py
4e66bbaf6553b2b1cdcc8d874540a48cdcae5b7e
[]
no_license
plutow1/2017CUMCMCoding
10d0893ea056440da1370974b8deb32d926261a7
ce88d2a575dc9a21c07f6175edf8a5098d4bbb24
refs/heads/master
2020-06-24T13:42:28.166762
2017-12-28T13:06:20
2017-12-28T13:06:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,315
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import xlrd import xlwt import time from math import * ''' 预计运行时间: 已完成任务:132.96701199999995s 新任务:223.91732699999997s ''' '''根据经纬度计算两点实际距离km''' def CulDisFromLL(pointA, pointB): radlat1 = radians(pointA[0]) radlat2 = radians(pointB[0]) ...
[ "517862788@qq.com" ]
517862788@qq.com
cbcf2b9416d0824ff114b479613be3948192a70f
3b648f2490f233d915d21e86febcbefe2f95f042
/Pandemi Simulasyonu/Pandemi.py
8047d1ce6eb3cf97349483db194bc022db4fa51c
[]
no_license
Ahmetyildrm/Pandemic-Simulation
82c13f3ece6d097468467c1b966a6e7c27a0b8dd
e2cc40aa79d831638c930c17fa1d42246970fbe8
refs/heads/main
2023-04-16T08:06:14.968445
2021-04-22T22:57:50
2021-04-22T22:57:50
360,702,285
0
0
null
null
null
null
UTF-8
Python
false
false
4,074
py
import cv2 import numpy as np import random import math import time from matplotlib import pyplot as plt fourcc = cv2.VideoWriter_fourcc(*"XVID") out = cv2.VideoWriter('camera2.avi',fourcc, 30.0, (1920,1080), 1) # Sondaki 0 grayscale kaydedeceğimiz için def calculateDistance(x1, y1, x2, y2): dist = math.sqrt((x2 ...
[ "64013627+Ahmetyildrm@users.noreply.github.com" ]
64013627+Ahmetyildrm@users.noreply.github.com
51bb4727c6dfd8188fdbebfda0bff0796457c623
b4920cb3cfae4e65faf1b00853cd02169fc208c8
/lib/imprime_tela.py
a217555b17c8579c62de61755988f10388d70c18
[]
no_license
leonardoads/fire-shot
2f91a2e4b4a3181ee1c3e48b68a1fec20791acf2
15924970dcc55b07a7124c40d821b1bb9a3900cb
refs/heads/master
2021-01-19T17:21:42.760442
2010-12-02T00:44:41
2010-12-02T00:44:41
35,114,722
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
from tela import * class Imprime_tela(Tela): def imprime_texto(self, mensagem , font = 'corrier new', tamanho = 60, Negrito = False): self.fonte = pygame.font.SysFont(font ,tamanho, bold = Negrito) self.frase = self.fonte.render(mensagem , True, (255,0,0)) self.frase_position = (10,10)
[ "leonardoconstrutoresdapaz@gmail.com" ]
leonardoconstrutoresdapaz@gmail.com
f4b5f090c0f538b588f028108dfe3b9f1cc2d70f
8e78c262130b48c6a634b4647e0bf9085d703945
/global/plot-active.py
e38ae9553fe44fb3a3c20c40649c6a4225972c25
[]
no_license
timday/coronavirus
c284b5f8657321f84232ddec8887a0fb41cb6a7e
2879ed2c2d6224f10d78eec1faed0dd9a606b399
refs/heads/master
2021-05-20T03:53:39.277355
2020-08-23T11:30:29
2020-08-23T11:30:29
252,168,817
1
0
null
null
null
null
UTF-8
Python
false
false
2,912
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import distutils.dir_util import math import matplotlib.pyplot as plt import matplotlib.ticker import numpy as np from JHUData import * activeWindowLo=14 activeWindowHi=21 timeseriesKeys,timeseries=getJHUData(False,True) # Don't care about anything but cases now th...
[ "timday@bottlenose.demon.co.uk" ]
timday@bottlenose.demon.co.uk
2e1ccf8e529c0b94834cd0c804337e037cf817d4
e83ffdf344c80d84cb46c7a69c48f37561882df5
/reddit_CoinFlipBot.py
975dc765eee1e7c84e535da15fefdb3a195cbbfa
[]
no_license
jpozin/Reddit-Bots
cc7edf35529ac5e9f1af36905373f7148b1fece5
dc4da24e61ca3c30bf5bce796b535b27d3327948
refs/heads/master
2021-01-02T08:34:57.151900
2017-10-01T17:59:25
2017-10-01T17:59:25
99,021,191
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
from random import randrange import praw bot = praw.Reddit(user_agent="CoinFlipBot", client_id="secret", client_secret="secret", username="secret", password="secret") subreddit = bot.subreddit("askmath") comments = subreddit.stream.comments() outcomes = ["heads", "tails"] headscount = 0 tailscount = 0 f...
[ "noreply@github.com" ]
jpozin.noreply@github.com
64da8b82ef07753014d486515854057a4c6958eb
e9ead37923d22dd84b4cac9460e5ba3bdf1b5af9
/VectorSpaceSearch/word2vec.py
f6c6edcafdebbbe321746f18faa983fe76b3eb6d
[]
no_license
piaoliangkb/Web-Data-mining
bc560528637f0788ea75876fbdac4a9111dc277b
1ae2631fb570cf8bf8393dc2a68127961be5b3f1
refs/heads/master
2020-03-08T02:13:45.916871
2019-01-17T08:06:07
2019-01-17T08:06:07
127,853,319
0
0
null
null
null
null
UTF-8
Python
false
false
3,159
py
import os import math class WordVector(): pathOfwordindex = r"D:\documents\大三下\webdatamining\作业\word2vec\BooleanSearch\wordindex.txt" pathOftermfrequency = "termfrequency.txt" pathOfbasicwords = "basicwords.txt" pathOfventor = "vector.txt" def generateTermFrenquencyFile(self): with open(pathOfwordindex) as f:...
[ "418508556@qq.com" ]
418508556@qq.com
2f320639bf0c7b231d588ce8050002ed8d7f888e
eb52ecd946dc6c2e4d7bd63a27bbfbc587ccbe79
/doc/source/conf.py
7da23a679516396f631dd434f1640595a4a9aab4
[ "Apache-2.0" ]
permissive
dtroyer/osc-choochoo
5ee7b124b7c53c44aac5651dde950e11778e1653
57119ab84528933da9cbcd57dcd4f5b842a58186
refs/heads/master
2021-09-08T00:06:58.580823
2018-03-03T19:20:07
2018-03-03T19:36:37
103,709,841
1
1
Apache-2.0
2018-03-03T13:28:05
2017-09-15T23:34:08
Python
UTF-8
Python
false
false
2,903
py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software...
[ "dtroyer@gmail.com" ]
dtroyer@gmail.com
4ddb6cefca8980ed86752d2a4ea72481e8763c1d
7cb6f27f0626658ea54690ac18b505ae45efa15c
/pos_scrapy/items.py
a698a827562ed458172db43c68c1b793d9dbf15e
[]
no_license
KaiLangen/pos_website
f79dae6f217b591e896aee2b18556e0aa83e6a12
0f795ace03492cf94e31b7f348adcebf65900432
refs/heads/master
2020-03-21T08:24:24.233284
2018-06-06T07:40:22
2018-06-06T07:40:22
138,341,175
1
0
null
2018-06-22T19:31:44
2018-06-22T19:31:44
null
UTF-8
Python
false
false
765
py
# -*- coding: utf-8 -*- import scrapy class CustomerOrder(scrapy.Item): table_type = scrapy.Field() source_type = scrapy.Field() source_id = scrapy.Field() name = scrapy.Field() order_id = scrapy.Field() member = scrapy.Field() caregiver = scrapy.Field() date = scrapy.Field() orde...
[ "tapycx@gmail.com" ]
tapycx@gmail.com
eeca7667162158e4c128fc7a5beedc8e432f8d53
4882e66d296cb0e5dab21de1170e13f8c54a6c9c
/Exercicios/2-ex7.py
0e2b488de4c6e268228bb55c516ec4f10b0faca2
[]
no_license
felipemanfrin/NLP
d6eac822fc919f93a1146c004540f62fe9c83086
45424ca49504d5f11e13f8d97829a0d5a9926bc2
refs/heads/master
2023-01-21T12:16:56.081979
2020-12-02T21:20:30
2020-12-02T21:20:30
268,633,901
1
0
null
null
null
null
UTF-8
Python
false
false
581
py
import spacy from spacy.matcher import Matcher from spacy.matcher import PhraseMatcher nlp = spacy.load('en_core_web_sm') matcher = PhraseMatcher(nlp.vocab) pattern = ['swimming vigorously'] phrase_patterns = [nlp(text) for text in pattern] matcher.add('SwimmingVigorously', None, *phrase_patterns) with open('../UPDATE...
[ "felipemanfrin@gmail.com" ]
felipemanfrin@gmail.com
2337a27a7d53a64d304aa45a3c9ce6d0619ae43e
e15afed0b39ac76c73cb5d86acca2620aa12fc7e
/autoinsta.py
457871191ecf57e42c774944dfc20ec27f32a75f
[]
no_license
RafaelExposito/TEST
87c6fb6d2f382bf795431295c4869711ca930391
8a224d2bdfdbd55c4d58637f7b099e370ad5ee52
refs/heads/master
2023-08-18T22:23:21.858627
2021-10-06T09:16:25
2021-10-06T09:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,669
py
import subprocess import os import sys from os.path import abspath, dirname, join print('CURRENT PLACE',os.getcwd()) BUILD_DIR= 'C:/Users/usuario/Desktop/TEST' MODULE_NAME='build' os.chdir(BUILD_DIR) print('CURRENT PLACE',os.getcwd()) ''' os.chdir('c:/users/usuario/appdata/local/programs/python/python38/lib/site...
[ "rafael_exposito_verdejo@hotmail.com" ]
rafael_exposito_verdejo@hotmail.com
be3fe8d075ff0196e928a81641085ad14c7dbdc0
78a39f26f6c6cf524050f3d0c0d527b3e2f28d07
/Day2/9.py
8c7017f944bd7d3dea4c139f630bd6185145242b
[]
no_license
rayandas/100Python
edd8f50da02f7865f4ea9dac55ce07a292ab0157
09c1a31448e1ffddd769aa4dd61deddddf3c9d87
refs/heads/master
2022-03-22T02:39:27.216134
2019-11-22T14:33:11
2019-11-22T14:33:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
''' Write a program that accepts sequence of lines as input and prints the lines after making all characters in the sentence capitalized. Suppose the following input is supplied to the program: Hello world Practice makes perfect output: HELLO WORLD PRACTICE MAKES PERFECT ''' lst = [] while True: w = input()...
[ "rayandas91@gmail.com" ]
rayandas91@gmail.com
bd5753a974492bd97629d233e179b0de5a0a22c8
b2ee634dc2d8ebf24bf8dd15883be6dd8fa28954
/buslah.py
6ced3f0ffd4eb8d20173162e7d75f26433b953bc
[]
no_license
areeb85/Data-science-projects
04d99565506cc589ffe6a49cd78393625a200890
6ed7fa6fe6a0f012f782e397c2240b84fc2654aa
refs/heads/main
2023-07-25T17:19:26.251838
2021-09-07T09:02:22
2021-09-07T09:02:22
403,909,369
0
0
null
null
null
null
UTF-8
Python
false
false
8,069
py
import sqlite3 import pandas as pd _dbfile = "buslah.sqlite" _dbfile = "buslah.sqlite" _csv_routes = "singbus/bus_routes.csv" _csv_services = "singbus/bus_services.csv" _csv_stops = "singbus/bus_stops.csv" class BusLahException(Exception): pass def build_database(db_file, bus_stops, bus_routes, b...
[ "noreply@github.com" ]
areeb85.noreply@github.com
9a1c4fcdf9d8f69fc313e3aabe2f4faed2b75793
cc081dac8783570db2af744b748632696a8c06b0
/test_fibo.py
8ed380db9493c3383b6acc85f367d6dcc33eba7a
[]
no_license
Lonsofore/fibo
c68b56985eac7044c0482f36d7d52b8b5886828e
50bf6a52384bf838df22ccb88b27c51a4e2b0fcd
refs/heads/master
2022-10-02T17:59:45.049687
2020-06-11T02:27:54
2020-06-11T02:27:54
270,875,728
0
0
null
null
null
null
UTF-8
Python
false
false
365
py
from fibo import fibo_generator def test_fibo_correct(): g = fibo_generator(10) numbers = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55] for i, fibo_number in enumerate(g): assert fibo_number == numbers[i] def test_fibo_incorrect(): numbers = [-10, -1, 0] for number in numbers: g = fibo_gene...
[ "pavel.zamoshin@x5.ru" ]
pavel.zamoshin@x5.ru
57af349162a6ec2e90c73196d07d293ccd657ef7
e97c5e5beb22444b7eabd743a35493ab6fd4cb2f
/nbs/15_gsa_gls/20-null_simulations/20_gls_phenoplier/profiling/py/01_03-gls-profiling-new_code.py
419a1aae91420228e40cf2683fc7fa6979628e86
[ "BSD-2-Clause-Patent" ]
permissive
greenelab/phenoplier
bea7f62949a00564e41f73b361f20a08e2e77903
b0e753415e098e93a1f206bb90b103a97456a96f
refs/heads/main
2023-08-23T20:57:49.525441
2023-06-15T06:00:32
2023-06-22T16:12:37
273,271,013
5
2
NOASSERTION
2023-06-20T20:35:45
2020-06-18T15:13:58
Jupyter Notebook
UTF-8
Python
false
false
1,943
py
# --- # jupyter: # jupytext: # cell_metadata_filter: all,-execution,-papermill,-trusted # formats: ipynb,py//py:percent # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.13.8 # kernelspec: # display_name: Python 3 (ip...
[ "miltondp@gmail.com" ]
miltondp@gmail.com
0a0eeaa7161c4d1eb1f2f2c6ebb07e239f7b36a6
4f658d6de588b9161f4153825676320ac3dc00e4
/lists/migrations/0003_list.py
e83775e32ffb4db04f685673adda6487c15e0a39
[]
no_license
SergeGaliullin/TDD
0f16083a7a09968a1ea402f45a9285ee3a87ebb0
d93e81f84fc4a1e1b9318e8a753acceae7e059c8
refs/heads/master
2021-01-02T09:24:10.229749
2017-08-06T07:30:55
2017-08-06T07:30:55
99,206,862
0
0
null
null
null
null
UTF-8
Python
false
false
506
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-05 14:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lists', '0002_item_text'), ] operations = [ migrations.CreateModel( ...
[ "sergei.galiullin@gmail.com" ]
sergei.galiullin@gmail.com
09b56da17b552a715728664e0d4b355d51787a27
179140ef3ac111af7645636b5408894a3b61094f
/camera_trap_classifier/data/tfr_encoder_decoder.py
2cf32feeda4cd2d78f8897e135b88d0269e7e2f9
[ "MIT" ]
permissive
YunyiShen/camera-trap-classifier
1d9bc3431ed31a00edfcd8fa4323fcf110ecc514
95f5f2db1c61f401e2408b8a9bfb6c069fa1a98e
refs/heads/master
2020-12-04T06:42:24.552725
2020-01-03T23:01:44
2020-01-03T23:01:44
231,662,686
0
0
MIT
2020-01-03T20:47:03
2020-01-03T20:47:02
null
UTF-8
Python
false
false
7,590
py
""" Class To Encode and Decode TFRecords""" import logging import tensorflow as tf from camera_trap_classifier.data.utils import ( wrap_int64, wrap_bytes, wrap_dict_bytes_list, wrap_dict_int64_list, _bytes_feature_list, _bytes_feature_list_str) from camera_trap_classifier.data.image import dec...
[ "will5448@umn.edu" ]
will5448@umn.edu
9f6d1510a0819808d0034511b72abd6e7cf630e4
46b7971801d61942963996c9ec78a388714f91aa
/size_readable_m2.py
f3694076358997234ff69f084072dee7dbe36ff8
[]
no_license
zhrcosta/system-tools
a08b6d44f538828368b2cdf33f7a87f7e6909c55
d3aba619c187e3ccd2712a3824e0ae7e27985a76
refs/heads/master
2023-06-15T02:31:08.954558
2021-07-16T21:59:13
2021-07-16T21:59:13
342,695,146
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
def sizeReadable(sizeInBytes): byte = 1 factor = 1024 label = ['B ', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'] readable = '' for size in range(len(label)): if sizeInBytes < 1024**(len(label)-1): if sizeInBytes < factor: readable = f'{sizeInBytes/(factor/...
[ "guilherme.di.aquino@gmail.com" ]
guilherme.di.aquino@gmail.com
8b9505f073a975a7b64268c820cef97e1a849cda
3d6878b23ec98c8e278902382c1eab35867f3fae
/post-youdao.py
6c8a5d3f1cdf56131b241fa498c4b80083b50e30
[]
no_license
ithinkerfan/python2
cf32806b1cf5ac035e322539797307142b5078af
c2b1c8af149ccbb3093f8d45c2dc8ff85fa0ee36
refs/heads/master
2020-03-19T06:38:26.899081
2018-06-07T15:35:37
2018-06-07T15:35:37
136,040,149
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
# _*_ coding=utf-8 _*_ import urllib import urllib2 # 通过抓包的方式获取的url,不是浏览器的显示的url url = "http://fanyi.youdao.com/translate?smartresult=dict&smartresult=rule&smartresult=ugc" # 完整的headers headers = { "Accept":"application/json, text/javascript, */*; q=0.01", "X-Requested-With":"XMLHttpRequest", "User-Agent":"Mozilla/...
[ "fdw20070717@126.com" ]
fdw20070717@126.com
d1eaabc9610fd6fbbd1507f241eb5fe8ebf2af09
a466eaa27ea53f355ba33c8bcdfab21482af43ef
/auto_ml/core/auto_ml_core.py
553f8b13ae38fb6a3b1fa260aa7706dd86a28f9b
[]
no_license
sn0wfree/auto_ml
94df78247bce72b9df26fac2212f5730e10c5d3a
32e90c1391538d3cf72bd627a997e46cfc7d6c86
refs/heads/master
2020-05-02T06:40:30.153337
2019-08-29T05:35:57
2019-08-29T05:35:57
177,800,828
1
0
null
2019-03-29T09:22:36
2019-03-26T14:06:27
Python
UTF-8
Python
false
false
12,775
py
# coding=utf8 from hpsklearn import HyperoptEstimator, any_classifier, any_preprocessing, any_regressor from hyperopt import tpe import numpy as np from auto_ml.tools.conn_try_again import conn_try_again from auto_ml.tools.typeassert import typeassert import copy from auto_ml.core.parameter_parser import Parser max_...
[ "snowfreedom0815@gmail.com" ]
snowfreedom0815@gmail.com
07ccf36731f86627b68a76f406fcb4cb561170ab
58eda297cae789a025d6813d25583ac1f865adf6
/super_calculadora_estructura/tests/ut_expr_aritmetica.py
7e7950c4a1843a28f752007117f7708b2354cf57
[]
no_license
tony-ojeda/python-basic
4cba9150c5ac7dac6b2b92dbaeccdc0b30b65874
e842ca8809263f9a7628d6ad36d0748baf0f9a5b
refs/heads/master
2023-01-20T07:46:43.274310
2020-12-02T09:13:19
2020-12-02T09:13:19
310,461,988
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
import unittest from expr_aritmetica import ExprAritmetica class TestsExpAritmetica(unittest.TestCase): def test_extraer_operandos_y_operadores_en_2_mas_2(self): expresion = ExprAritmetica() self.failUnless({'Operandos':[2,2],'Operadores':['+']},expresion.parse("2 + 2"))
[ "tojeda96@gmail.com" ]
tojeda96@gmail.com
97a1706cba2fae1f30f902775b9b30b3c243402a
f8fa37d7bd5b48f304294443058314659b8c507a
/chapter3/ex3.6a.py
d1c66d1a8b0a6ce451c7dcdac7dffab93bb087a2
[]
no_license
eenewbie/realpythonfortheweb
cd011877a333f0cd1f670fda784d26d5a51221df
95985085ac254eb98368c0f6efdebe0754ac4dfa
refs/heads/master
2016-09-11T02:48:03.703835
2013-10-04T08:34:02
2013-10-04T08:34:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
624
py
import gdata.youtube import gdata.youtube.service youtube_service = gdata.youtube.service.YouTubeService() user_id = raw_input("User id: ") url = "http://gdata.youtube.com/feeds/api/users/" playlist_url = url + user_id + "/playlists" playlist_feed = youtube_service.GetYouTubePlaylistVideoFeed(playlist_url) print "\...
[ "eek.low@gmail.com" ]
eek.low@gmail.com
6bc7f26671d95a91d94cc0c2920d314c8ee53aeb
2cc9ae0ff339a924926c8f23342e00cbaa88c2c3
/queryda.py
c67d80df4d63e46e731020967a82808e747e3441
[]
no_license
alexentwistle/Moz
49b86e20b11770424727f2ec1ec47e076f44b3dc
f14507776cd2e5f774d3c25e6f1c31d5c2e5ff9e
refs/heads/master
2020-04-14T20:48:39.127107
2019-01-07T15:17:12
2019-01-07T15:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
#!/usr/bin/env python from mozscape import Mozscape from datetime import datetime import csv client = Mozscape( 'mozscape-f03b16db58', '5f7418e041cf61841d72ef26c6f7a905') domain = input() Metrics = client.urlMetrics(domain) DA = Metrics['pda'] # for Page Authority too: # authorities = client.urlMetrics( # ...
[ "alexentwistleseo@gmail.com" ]
alexentwistleseo@gmail.com
a946f6c3f7088c58c520427461eefc9cdfc6bd32
a57da6f85ed69167a788b7cfe4928a3103e29267
/Audio_dataset/create_audio_dataset.py
f960e75e8e3626eeaa80dcae9aa9c06e96aab7d3
[ "Apache-2.0" ]
permissive
Thehunk1206/Arduino-Surrounding-Sound-Classifier
93541a916cbf76aa59405085428a391d07dc594a
4320953b59b10feca42a868f18a87cd450b9366b
refs/heads/master
2023-08-19T10:37:26.769226
2021-10-18T03:34:09
2021-10-18T03:34:09
381,105,383
2
1
null
null
null
null
UTF-8
Python
false
false
1,121
py
from pydub import AudioSegment from pydub.utils import make_chunks from tqdm import tqdm import os BASEDIR = "FullAudio/" CHUNK_SIZE = 1000 # chunk size in ms SAMPLE_RATE = 16000 def make_chunks_of_audio(path_to_wav: str): audio = AudioSegment.from_file(file=path_to_wav, format='wav') audio.set_frame_rate(...
[ "khantauhid313@gmail.com" ]
khantauhid313@gmail.com
88db262e48479398edf6a117525ed21d0524e1d5
1dcdc8d765c4cc79b4e1aad447ec89cb55058241
/index.py
4d8a3206680e7640f55ac8cff432bc11a5d7351d
[]
no_license
Prudhvi-raj/embl_date
3fbe2334be2372b06083f7cf691b558ecdb55a90
1b66372a34ce8270d83099b8b4a3d6a9fbcc41e8
refs/heads/main
2023-03-28T10:47:51.125541
2021-03-29T21:24:21
2021-03-29T21:24:21
352,774,619
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
from flask import Flask from flask_restful import Resource, Api, reqparse import ast from dateutil.tz import * from datetime import datetime import pytz # Check this command after running this file by using "python index.py" command # Uses Python 3 # curl http://127.0.0.1:5000/date app = Flask(__name__) a...
[ "noreply@github.com" ]
Prudhvi-raj.noreply@github.com
b9a1e0e1272876089385394b9bc70c714ced0fca
6da692a2b0d5aca4f8ee0de9af68abfdb0e1d1ca
/myfirstsit/views.py
34d7d7c93a475c501b6dc28dc590208ea675d1e6
[]
no_license
ismail60822/django
0805029e612e52fc52056c9b450eed9cce044ea9
9105a4903c35e53e31ddb17591f5d38e76c5e786
refs/heads/main
2023-01-04T06:39:55.375205
2020-10-29T14:58:36
2020-10-29T14:58:36
308,369,522
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from django.http import HttpResponse def index(request): return HttpResponse("Hello This is my First Django Woooo.....") def about(request): return HttpResponse("My name is Ismail.")
[ "ismail60822@gmail.com" ]
ismail60822@gmail.com
e7caac8f60d75b429ec306a253500bf4322389fb
85468c8b53d2f505871510dc6b74e183bd2b46d9
/pipeline/testing/sheets_testing/Freegene_class.py
14ad4eb843a0ed7d78dc2a0e9eb00ad9a7a4ced3
[]
no_license
Juul/bionet-synthesis
5b38e0dc35beafa12c311998d0573bd37e696e1f
5b794f400bd9a762d79674a9a423dc0a3bbec1d2
refs/heads/master
2021-04-03T01:55:22.997733
2018-03-08T17:16:43
2018-03-08T17:16:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
871
py
import json import yaml import os import glob import re from collections import namedtuple class Freegene: def __init__(self, gene_id): gene_file = gene_id + ".json" with open(gene_file,"r") as json_file: self.data = json.load(json_file, object_hook=lambda d: namedtuple('X', d.keys(...
[ "ccmeyer@stanford.edu" ]
ccmeyer@stanford.edu
9be6df2202065abd0de59f7b5c6832a4b5ccace0
3af1d9f2ba31d38d353acdc51275a999b4709aeb
/35K/第一期活动/task/task_2.py
a027b9a00a202b4b7ba3f943b98ad7461f17cabb
[]
no_license
noparkinghere/train_py
5222787da8cc42a5defc7c69733741368f965888
f7af1c7f59d156d5c8dfc3a22217f8bdcfdc9163
refs/heads/master
2020-08-17T19:00:54.623358
2020-06-30T10:01:29
2020-06-30T10:01:29
215,700,253
1
0
null
null
null
null
UTF-8
Python
false
false
690
py
""" Created on 2020/5/18 9:45 ———————————————————————————————————————————————————————————————————— @File Name : task_2.py.py @Author : Frank @Description : 统计 1 到 100 之和。 ———————————————————————————————————————————————————————————————————— @Change Activity: """ re...
[ "noparkinghere@foxmail.com" ]
noparkinghere@foxmail.com
99ba863211f8d473d7bd6b44b1cb7117ed85e8da
ad3ec4e5668a3afb95eceebc712614854e436888
/open_widget_sample_app/urls.py
ee10038b3d919953ce02679e51e67a6a42543478
[ "BSD-3-Clause" ]
permissive
mitodl/open-widget-sample-app
b81836760268724eac3ba198fed5fd086a4a62c0
d43457aa25971041c8ceb39526ce19fd78e8c918
refs/heads/master
2020-04-01T15:35:15.616054
2018-11-21T18:08:29
2018-11-21T18:08:29
153,342,943
0
0
BSD-3-Clause
2018-11-21T18:08:30
2018-10-16T19:32:00
JavaScript
UTF-8
Python
false
false
826
py
"""open_widget_sample_app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='hom...
[ "jake@zagaran.com" ]
jake@zagaran.com
93ee6822569c5b7e9169ffac1e02ef95e6d5c928
412b0612cf13e9e28b9ea2e625975f3d9a2f52b6
/2017/18/double_computer.py
15e82c468b7a8a9ed25058bcadfb08c381a40aa1
[]
no_license
AlexClowes/advent_of_code
2cf6c54a5f58db8482d1692a7753b96cd84b6279
d2158e3a4edae89071e6a88c9e874a9a71d4d0ec
refs/heads/master
2022-12-24T19:02:07.815437
2022-12-23T17:35:53
2022-12-23T17:35:53
225,618,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,700
py
from collections import defaultdict import operator from queue import Queue def prog(program, program_id, snd_queue, rcv_queue): registers = defaultdict(int) registers["p"] = program_id value = lambda x: registers[x] if x.isalpha() else int(x) instruction_pointer = 0 while 0 <= instruction_pointer...
[ "alexclowes@gmail.com" ]
alexclowes@gmail.com
f5ba5681b44c3be6df507acd5662bee26898fff4
5a2eb0419c5a071424ba12ac30f2ba99adfc9692
/makeStatSki.py
42367a6b1712372dca2bd0dac9c13fb183f9333e
[]
no_license
marcomaggiotti/countourScript
8138a7e7548e071d9d1af205b43f19d72feeeaa1
0f0707df1e941e545a0881aa7e39cf760ae7b9a7
refs/heads/master
2020-07-30T23:26:56.103485
2019-10-20T21:17:36
2019-10-20T21:17:36
210,397,221
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
import cv2 import glob from tqdm.autonotebook import tqdm from skimage.measure import label, regionprops class_names = ["Stroma", "Tumor", "Immune_cells", "Other"] files = glob.glob('/home/maorvelous/Documents/Lab/deepLearning/MaskLou/*.png') bases = list(set(["_".join(f.split('_')[0:2]).replace("./masks\\", "") for f...
[ "maorvelous@gmail.com" ]
maorvelous@gmail.com
a3b71fdbfc40901160d1cbf77ab2fca1709c6a12
f6ccf28c24117738a45e03824c81f8b564965175
/numpys/operation.py
e58fc2199d8a38947478a25fcc3c18fcf38023db
[]
no_license
liushuchun/machinelearning
121d1cdb08e5ff48df710bc5cf636b914ded1c3f
3fdd9398c2f93455eaa938b1ba89d10fef271ed3
refs/heads/master
2021-01-13T02:03:03.314247
2017-11-29T06:48:27
2017-11-29T06:48:27
26,388,575
7
1
null
null
null
null
UTF-8
Python
false
false
698
py
import matplotlib.pyplot as plt import numpy as np X = np.linspace(0, 4 * np.pi, 1000) C = np.cos(X) S = np.sin(X) #plt.plot(X, C) #plt.plot(X, S) A = np.arange(100) print np.mean(A) print A.mean() C = np.cos(A) print C.ptp() #--------------------basic operation-------------- a = np.array([10, 30, 40, 40]) b = np....
[ "liusc@Ctrip.com" ]
liusc@Ctrip.com
4b50fef9974c1b1ae80cf168c5da756a61ae1da8
ff7e069b73ee9591b062b5a72321e1d6498ce242
/tests/test_transforms/test_outliers_transform.py
6573bdaff85486c120ecdbdd42e060e4770cd237
[ "Apache-2.0" ]
permissive
lifiuni/etna-ts
50ef1d6f101723085c66d34553c3805fa2edb1c4
9d4f55fa8508aa37681f96309e1f1c58abb69e34
refs/heads/master
2023-08-04T22:24:19.927926
2021-10-01T07:23:28
2021-10-01T07:23:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,056
py
import numpy as np import pandas as pd import pytest from etna.analysis import get_anomalies_density from etna.analysis import get_anomalies_median from etna.analysis import get_sequence_anomalies from etna.datasets.tsdataset import TSDataset from etna.transforms import DensityOutliersTransform from etna.transforms im...
[ "noreply@github.com" ]
lifiuni.noreply@github.com
eb27a95802962717549a291267adf4019d33615d
5fdace6ee07fe9db58f026a4764629261203a173
/tensorflow/python/data/kernel_tests/shuffle_test.py
ceca3e8d61f1fbf65c81ba3762f5e6d8fc7ad1cf
[ "Apache-2.0" ]
permissive
davidstone/tensorflow
5ed20bb54659a1cb4320f777790a3e14551703d7
6044759779a564b3ecffe4cb60f28f20b8034add
refs/heads/master
2022-04-28T02:19:53.694250
2020-04-24T17:41:08
2020-04-24T17:41:08
258,335,682
0
0
Apache-2.0
2020-04-23T21:32:14
2020-04-23T21:32:13
null
UTF-8
Python
false
false
14,239
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
e9a2ef5f2dbc5cb65b108562b2fabadbac9dddcd
d385afe0a10c07684eae33e3574d4a654317fe3e
/PC position y scan - Qt5.py
6e9ecd3c503127016a89e5c282ed3df710854aa9
[]
no_license
monitilo/Programa-STED
ac254a8d5a732325cbad5c580ca9594849c493ff
7b40cd89170442c76c5406c50c784bf809091aa4
refs/heads/master
2020-03-27T05:39:18.314962
2019-11-14T09:21:17
2019-11-14T09:21:17
146,037,432
1
0
null
null
null
null
UTF-8
Python
false
false
68,988
py
# %% """ Programa inicial donde miraba como anda el liveScan sin usar la pc del STED. incluye positioner""" #import subprocess import sys import os import numpy as np import time #import scipy.ndimage as ndi import matplotlib.pyplot as plt import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui from pyqtgrap...
[ "germanchiarelli@gmail.com" ]
germanchiarelli@gmail.com
08f3bcef3f8cd09135340a9e0b5b59eba23f21d6
a6cba5b8b36f3f4ef80d7351725da0bc8ddbfad4
/NM/cp/main.py
e362e92e7130e9ddfb28811f5a86ec2d6613187c
[]
no_license
tutkarma/mai_study
7de61a406c7c5701ea9bbea7da687cc147653e53
39359eb8b5701c752d1f4e8e0b26911e50df12ab
refs/heads/master
2023-03-15T18:28:05.814809
2022-01-18T08:40:39
2022-01-18T08:40:39
103,191,526
38
99
null
2023-03-04T02:20:21
2017-09-11T21:46:56
Jupyter Notebook
UTF-8
Python
false
false
5,366
py
import argparse import json from utils import save_to_file from mpi4py import MPI import numpy as np def read_data(filename, need_args): init_dict = {} with open(filename, 'r') as json_data: data = json.load(json_data)[0] # ! for arg in need_args: if arg not in data: ...
[ "tutkarma@gmail.com" ]
tutkarma@gmail.com
cb61d3bbdedecb22450a2674e611e45074aba786
947148dc83b90f3af0dc6a6186c1b30c9d405084
/contest/beginner/136/C.py
3990c30d9ac51d93fe2384f453ddc087e69d3f6f
[]
no_license
MinamiInoue2323/AtCorder
d232cea3ac16f62bc51dd4ae386ae7e92d2b312d
f969c409b2661ca65d91dcafbc341123b418c7fd
refs/heads/master
2023-04-29T13:17:06.297394
2021-05-15T13:58:28
2021-05-15T13:58:28
349,376,769
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
N = int(input()) H = list(map(int,input().split())) H.reverse() past = 10 ** 9 + 1 for masu in H: if masu > past: if masu - past >= 2: print("No") exit() else: past = masu - 1 else: past = masu print("Yes")
[ "inoue@ics.keio.ac.jp" ]
inoue@ics.keio.ac.jp
f07f0afb05ccddbf51436772398c6e6d04bd5b0d
98ed6ecc0ac470ffb097ffdb10a601f89165861a
/_old/core/abstract.py
4527768ba13899fcd70ab700dbcef987687340c9
[ "MIT" ]
permissive
mccartnm/spaceman
b92452c79325e573715e39235138025a1f3ed78b
6f6f668c46531c68b87b0aaa16fb3f616375ed7d
refs/heads/master
2020-05-22T11:06:24.822624
2019-05-27T02:50:25
2019-05-27T02:50:25
186,314,764
1
0
null
null
null
null
UTF-8
Python
false
false
10,173
py
import os import re import arcade from purepy import PureVirtualMeta, pure_virtual from .utils import Position from . import settings class DrawEvent(object): """ An object that we create from the window class that we pass down to the various objects. """ def __init__(self, mouse: Position, windo...
[ "mmccartney@stereodllc.com" ]
mmccartney@stereodllc.com
c6715ca40c352c6e53c6185053112b67d8ac712e
94c855cffba3629e693d9034d53ff139edd6930f
/test/test_podle.py
0a359ceae5c9d97262c70e20a0931f12815877ec
[]
no_license
adlai/joinmarket
1b36f606825e23ed3af63c99c2f0e3de79076d27
6e0649b9774ddf16d047d6126affb2cea372e32c
refs/heads/develop
2020-12-26T02:22:34.042135
2018-03-18T13:58:32
2018-03-18T13:58:32
35,248,204
1
0
null
2018-03-18T14:14:19
2015-05-07T23:16:55
Python
UTF-8
Python
false
false
17,209
py
#! /usr/bin/env python from __future__ import absolute_import '''Tests of Proof of discrete log equivalence commitments.''' import os import secp256k1 import bitcoin as btc import binascii import json import pytest import subprocess import signal from commontest import local_command, make_wallets import shutil import ...
[ "ekaggata@gmail.com" ]
ekaggata@gmail.com
ade4f123c1506a2b05363a141ce80e4e12fd6a1d
f0bcd93d7cc86407e8ad9a152f21c2ecebc19c24
/otsc/dataset/amazon_reviews_binary.py
197d3ac1111fe824c6e8835912fa6c59f1f8703a
[]
no_license
arunreddy/otsc
9d32b907143ad7e4b10ccbfffae60b7dfdef679d
aca460c8afe8f5ebbd7a31ea9b4c97ca855c6fa8
refs/heads/master
2021-01-01T19:44:57.938280
2018-02-03T01:08:54
2018-02-03T01:08:54
98,670,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,890
py
from config import DB_ENGINE, DATA_DIR import os import pandas as pd from sqlalchemy import create_engine import numpy as np class AmazonReviewsBinary(object): def __init__(self): pass def import_data_to_db(self): pos_text = None neg_text = None with open(os.path.join(DATA_DIR,...
[ "arunreddy.nelakurthi@gmail.com" ]
arunreddy.nelakurthi@gmail.com
aad4b0d44417f70bb597e98780a9d13a26fc94c6
4590776425a4fa606e76d6a46a175f9546df846b
/Section 1.4/Time/10371 - Time Zones/h.py
daa5708e0c8b2f415040e5b0660e2ade400ba543
[]
no_license
Miguel235711/Competitive-Programming-3-Solutions-by-Miguel-Mu-oz-
fc6c3843e26647f23a88e9b58f3edd04f93a6b91
340fef9335fba8e5c1e3e71731912c054c142571
refs/heads/master
2022-11-30T23:09:41.628422
2020-08-16T02:43:32
2020-08-16T02:43:32
279,765,973
0
1
null
null
null
null
UTF-8
Python
false
false
590
py
def main(): current='' detectHour=False line = input() for i,c in enumerate(line): if c == '+' or c=='-': detectHour=True current=c if current=='hour': print("'{}'".format(current)) current='' detectHour=False if str.isu...
[ "miguel@10.0.2.15" ]
miguel@10.0.2.15
36b3f773bc2f1af32f4117496f50eb655fdfc260
a87bc0f715439a6a115a6e0abd768d7ae2a1f3d9
/blog/migrations/0012_article_author_pic.py
9d1379b550dbc5c7db5659ca39c85c51e1c885be
[]
no_license
baka-tsubaki/mediathor
f21314fc6ebb87c5a45aeae29790816ff5b0352e
5f00cc55cb70eb5b15c0d901a94e00470bf1bb14
refs/heads/main
2023-09-04T21:28:03.132535
2021-11-01T14:59:47
2021-11-01T14:59:47
357,609,649
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# Generated by Django 3.2 on 2021-04-13 14:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0011_remove_article_post_image'), ] operations = [ migrations.AddField( model_name='article', name='author_pic...
[ "a.nasseur@outlook.com" ]
a.nasseur@outlook.com
575d02aa9fb79160437e642f6d8501b4b1d3b89c
0f556b9d4e250df73bf1e0929dbd4afad51e82fe
/person/3/person.py
18a8f9d43f414810584c840c8d787016b5ca9207
[]
no_license
unabl4/PythonCodeClub
0ef1cb4d145860a4fda528c2eea513d0ba6b8327
72d5887342c1e0b304307a0e0ac9eb78f0202c35
refs/heads/master
2021-04-30T04:42:03.266029
2019-02-18T22:09:12
2019-02-18T22:09:12
121,541,065
0
0
null
null
null
null
UTF-8
Python
false
false
604
py
from datetime import date class Person: def __init__(self, first_name, last_name, birth_date): self.first_name = first_name self.last_name = last_name self.birth_date = birth_date def age(self): return int((date.today()-self.birth_date).days // 365.25) def full_name(self): ...
[ "unabl4@gmail.com" ]
unabl4@gmail.com
5d93961f9a5687920981722d43280ad2d50bb42e
8fc639606c1fa8a867fb43f717b8d74effcbc9c3
/migrations/versions/3752ca029461_.py
3172c84fb0a4c3eb682d0ef1c84b3972c85d0790
[]
no_license
eyemong/flask_pybo
d039806793f8c086730977c92eab4f524e4c795a
478713ddc57806de8c3f4fe81f19cab36e5378b3
refs/heads/master
2023-07-04T04:07:20.142604
2021-08-05T12:51:01
2021-08-05T12:51:01
392,593,766
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
"""empty message Revision ID: 3752ca029461 Revises: ba28cc034459 Create Date: 2021-08-02 07:54:22.368251 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '3752ca029461' down_revision = 'ba28cc034459' branch_labels = None depends_on = None def upgrade(): # ...
[ "eyemong1203@gmail.com" ]
eyemong1203@gmail.com
419177ea94ed1e989c5d36f738bd09f9a9fa41bd
946c85244f3c80635d13724d260b1a6fffb822f7
/HQTrivia/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/third_party/apis/compute/v1/compute_v1_messages.py
03f9654e5b51fc1ebcbd5d4a8bb39bae56aabe04
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/old_projects
72343f3ca25bde53b9761c49add5a5ad6e082d1b
d623d1a809786ebc1c09a94ae8cf1c5b0ddccbd4
refs/heads/master
2022-12-02T12:30:48.285805
2019-01-20T02:32:42
2019-01-20T02:32:42
282,496,066
0
0
null
2020-07-25T17:50:40
2020-07-25T17:50:39
null
UTF-8
Python
false
false
1,208,525
py
"""Generated message classes for compute version v1. Creates and runs virtual machines on Google Cloud Platform. """ # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.protorpclite import messages as _messages from apitools.base.py import encoding package = 'compute' class Acc...
[ "jfguan@umich.edu" ]
jfguan@umich.edu
438285829bb85321c7fc34c2bccb28745de193f1
d63e7947bc888ee30865a6f073eeda841cacf315
/Visualization.py
a94183aa21544f2bbdc809c69a17f26b142291e2
[]
no_license
lorenzgutierrez/Noise-neuron-discriminator
069662fd829736b291495d0a69e2306e331ff4ae
35bb845ea4b9d7ef943b89881beeca0e49011ebd
refs/heads/master
2023-01-23T02:57:37.567374
2020-12-03T10:33:45
2020-12-03T10:33:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jan 27 09:14:21 2020 @author: lorenzo """ from matplotlib import pyplot as plt from mpl_toolkits.mplot3d import Axes3D import pandas as pd import numpy as np from sklearn.manifold import MDS from sklearn.decomposition import PCA from sklearn.manifold i...
[ "naroloal94@gmail.com" ]
naroloal94@gmail.com
97e989546fc1cd3b939a0e6230c20cd0361c5a99
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp-with-texts/Juniper-SONET-CONF.py
c3b8be3cccc5ea7d781b518f90c1487395270edc
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
11,118
py
# # PySNMP MIB module Juniper-SONET-CONF (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-SONET-CONF # Produced by pysmi-0.3.4 at Wed May 1 14:04:23 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
1e483a3341fe73aa04f29fd190ec00bb709ea425
1ea98cf39a570633cc7ff67f3e08ea0222b574b6
/MissionPlanner/LogAnalyzer/tests/TestPitchRollCoupling.py
08eb5b6c2da82fdd871bb72cbf4e82afd25f5469
[]
no_license
shalamonka/binary
8e07c800b394101de2bd3c511d434e7cddd0f769
0d77e70a92e7958708928bd719baf27a7abba5c7
refs/heads/master
2020-12-24T09:56:59.176792
2016-11-01T02:30:42
2016-11-01T02:30:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,846
py
from LogAnalyzer import Test,TestResult import DataflashLog import collections class TestPitchRollCoupling(Test): '''test for divergence between input and output pitch/roll, i.e. mechanical failure or bad PID tuning''' # TODO: currently we're only checking for roll/pitch outside of max lean angle, will come back l...
[ "mich146@hotmail.com" ]
mich146@hotmail.com
f5a602328c7a144a30957c5b53ac7ad18bb4260d
fb0f2f3afda5d17578208fce3f130b6131f6e21f
/app/error/errors.py
d33c1a13dceee17cac22ce988e19a9bd7512d753
[]
no_license
pancudaniel7/reverse-binary-files
1364ef13c0a70ade8e631871f12141d43dc86a35
5477b7ea539ba1dd66144fe0db4199beb3c0fe89
refs/heads/master
2023-01-18T17:15:04.410186
2020-11-16T11:00:13
2020-11-20T18:57:46
313,268,360
0
1
null
null
null
null
UTF-8
Python
false
false
58
py
class UnsupportedBufferSizeException(Exception): pass
[ "dpancu@godaddy.com" ]
dpancu@godaddy.com
42b08b8391a2a6d603c75c466fc209656bef82cc
2e743948c356a1a844acf41aec5705fa4436b0ba
/exercises-31-40/ex40.py
9a5aec0ee54dabb4c829c864bcd245353425a748
[]
no_license
csdaniel17/python-exercises
bc0951b8ad7b5836b860e21e7216aeced1210818
d9258b59b3c0d039d02cc3be103abd09026f7fd3
refs/heads/master
2020-05-21T13:31:12.645983
2016-10-30T18:54:43
2016-10-30T18:54:43
63,285,529
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
# ex40: Modules, Classes, and Objects ## oop: uses classes # a class is a way to take a grouping of functions and data and place them inside a container so you can access them with the . operator # # dictionary with a key 'apple' # mystuff = {'apple': "I AM APPLES!"} # # to get it: # print mystuff['apple'] ## module...
[ "carolyn.s.daniel@gmail.com" ]
carolyn.s.daniel@gmail.com
abf2c643ec938a1c8c104324058a4544ad8bfcdd
77c410dd5a3d17de062c6e17be67f9eb72809f3e
/V2/BraessParadox/wheatStone2.py
7206910aa8e514c031be655494001f3dd2380112
[]
no_license
lisarah/mdpcg
8e9eb6fe8e4242678915d2e5576560b04ff75938
ed7c8c48708794422b3e070fe81cdc3ea193d6b0
refs/heads/master
2022-08-21T02:10:00.798958
2022-08-14T00:12:03
2022-08-14T00:12:03
200,313,499
1
1
null
null
null
null
UTF-8
Python
false
false
5,600
py
# -*- coding: utf-8 -*- """ Created on Tue Oct 16 20:03:43 2018 @author: craba """ import numpy as np import networkx as nx import matplotlib.pyplot as plt import supFunc as sF # Graph set up edges = [(0,1),(0,2), (1,2), (2,3), (1,3)] ; #edges2 = [(0,1),(0,2), (2,3), (1,3)] ; # removed middle edge #wheat = nx.DiGrap...
[ "crab.apples00@gmail.com" ]
crab.apples00@gmail.com
e82febb5abecfd35f1dda27388170c2e24862189
0879afed748a17c9de862500c1b7503c4aea1034
/chemical-photo-analyzer-master/danish.py
84cdbf7fecc0c4e8460c9a53519afd2d0f71fa83
[]
no_license
foxtrotmike/chemsaber
926af3a3c6d8b7ed838242dc13b32447928942ee
0b8eb17f6e16c7639265dc8988fa999fbd94714e
refs/heads/master
2020-06-27T16:22:14.253565
2019-08-01T10:35:37
2019-08-01T10:35:37
199,996,206
0
0
null
null
null
null
UTF-8
Python
false
false
2,509
py
import serial import time import numpy as np import serial.tools.list_ports import random from datetime import datetime def writeRGB(x,y,z): RGBvalue = x,y,z setRGB = str(RGBvalue) ard.write(setRGB.encode()) def readVoltage(): ard.flush() time.sleep(0.2) a = ar...
[ "noreply@github.com" ]
foxtrotmike.noreply@github.com
ec1a2c058317b511d0867d6fd68a928832eda934
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/fv/rsctxtoospfctxpol.py
24471250b333be80cb7836f09ea259df48c17457
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
9,042
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
4a1e70fcd7ac0a62ae24699996d64e72c9bd7d03
831a17de24e216623def3ae5ad1e2acca4a5e1ce
/Python/flask/lib/python2.7/UserDict.py
6912a244d42e9f6917d343da257a53754d157fca
[]
no_license
Keuha/ios-pics-flask-server
3eee9caaed1921c02aa61cfdb0c338200d1590cf
3f4cb51c59ced33fac42cb96222a8fd8e46edb2d
refs/heads/master
2021-06-02T15:35:44.135609
2020-04-06T15:28:38
2020-04-06T15:28:38
35,171,792
6
2
null
null
null
null
UTF-8
Python
false
false
99
py
/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/UserDict.py
[ "petriz_f@epitech.eu" ]
petriz_f@epitech.eu
8a19d1a7e5dc4a7a6f059bc0cf46b9727d7169c4
c0285320e0abf238e6d67c2fe4cb3495a6227a40
/Bot.py
1ab5a38832c1ba9f4a14d6b334e1a79044ab787a
[]
no_license
mharvy/RedditBot
edfb02df7ef857326e3636620c5e48266972e8b4
53b9dd51d0e31ea679888ed3ff5cf0cb2a9cbd1c
refs/heads/master
2021-07-10T02:47:45.497888
2017-10-11T01:16:30
2017-10-11T01:16:30
105,603,243
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
import praw reddit = praw.Reddit('bot1') subreddit = reddit.subreddit("testingground4bots") for submission in subreddit.new(limit=10): print("Title: " + submission.title) print("Score: " + str(submission.score)) print("Upvotes/Downvotes: " + str(submission.ups) + "/" + str(submission.downs) + ...
[ "noreply@github.com" ]
mharvy.noreply@github.com
3705d6628ca7f9c0175c12c5e79138b0bc3be4c0
1eee2c9c105148904d0fb47cee227cfd20241b76
/alpha/alpha_beats_28.py
5bfdccc7f1e53b5628dc5209c82fea3bfca59b63
[]
no_license
fred-hz/zeta
be9f6f466b75767cc1a45a4004d1c84e5d559b6b
e7b631447fff6e58928d6ac15702338b7cc8e3e7
refs/heads/master
2021-09-05T01:03:31.387379
2018-01-23T04:15:58
2018-01-23T04:15:58
118,187,345
0
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
from alpha.alpha_base import AlphaBase import numpy as np import util class AlphaBeats_28(AlphaBase): def initialize(self): self.delay = int(self.params['delay']) self.is_valid = self.context.is_valid self.alpha = self.context.alpha self.cps = self.context.fetch_data('adj...
[ "zibo_zhao@berkeley.edu" ]
zibo_zhao@berkeley.edu
668871e10073d954c41583cabaa257be2781c805
971ba1a95d7d7a675bcf386aec9c3000efd6d0bc
/homework_big/topYear.py
2c40b47b7dfea352924bf80736eeef86626b082e
[]
no_license
wangli-wangli/python
57108c8cf107a23168e4b539d2adf0a0e625bb5f
e99abed20efc73ec9a182be611eca92e2b562567
refs/heads/master
2020-03-26T23:27:55.125608
2019-06-29T04:51:39
2019-06-29T04:51:39
145,544,071
0
0
null
null
null
null
UTF-8
Python
false
false
1,517
py
#coding=utf-8 import pandas as pd import matplotlib.pyplot as plt import pylab as pl #用于修改x轴坐标 def topYearOuput(): plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['axes.unicode_minus'] = False # 用来正常显示负号 plt.style.use('ggplot') #默认绘图风格很难看,替换为好看的ggplot风格 fig = plt.figure(figsize...
[ "33982322+wangli-wangli@users.noreply.github.com" ]
33982322+wangli-wangli@users.noreply.github.com
5f042357ce4755b0b73969f346665bf0304b6569
7d8a4d58fc4c5a73ce8c85e513253a86d6290d3b
/script.module.eggscrapers/lib/eggscrapers/modules/workers.py
0699f6d316130d4fa9ee280485fcae4f73959dcd
[]
no_license
bopopescu/icon
cda26d4463d264b7e2080da51f29d84cc48dfb81
e385a6225dd11b7fea5a11215d655cf5006bb018
refs/heads/master
2022-01-12T19:00:04.951604
2019-07-10T05:35:44
2019-07-10T05:35:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
946
py
# -*- coding: utf-8 -*- ''' Eggman Add-on This program 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 Foundation, either version 3 of the License, or (at your option) any later version. This progra...
[ "kodi15887@gmail.com" ]
kodi15887@gmail.com
3da80f7326faeac9625bf3619359881719b070c3
4c1c53d260beb352459a09662871add028891de5
/setup.py
eec464bbe6b2d1bc3a9eb97e75030001fed8cdb1
[]
no_license
mdsaifkhan20001/flask1
a9aa44d09fe0e82c1a046b726d82fc5810b39042
f503977c97ca82992fa32bf0aaf321c895bdd7a3
refs/heads/main
2023-09-06T02:50:26.315887
2021-11-25T04:44:44
2021-11-25T04:44:44
431,716,128
0
0
null
null
null
null
UTF-8
Python
false
false
206
py
from setuptools import setup, find_packages setup( name="docker-heroku", version="0.0.3", description="ML project", author="Avnish yadav", packages=find_packages(), license="MIT" )
[ "mdsaifkhan20001@gmail.com" ]
mdsaifkhan20001@gmail.com
58d7ed4dd0ded6467ec1dc3a95004a54f9d2042d
fdc9d4d29b7f5b198b83f1f05cf799f23b668dcc
/manage.py
937861a1f1d7cb1b5264481823b34194acfae760
[]
no_license
BlackBanjo/PACS
ebcc8964b0ca76575b9470ecb23ed59efd73fa8f
2eff35b42242f2a02ed75cfc990ab6aaf442e1f2
refs/heads/master
2020-06-24T18:50:21.839138
2019-09-17T09:41:16
2019-09-17T09:41:16
199,051,814
0
0
null
null
null
null
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', 'PACS.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportErr...
[ "ziga.kotnik.klovar@gmail.com" ]
ziga.kotnik.klovar@gmail.com
d90a2fdc68e9306668edf110c88036b68980aaaf
09fcbd9e9c4caf247f238c22d09aff0a38ac52a0
/code/utils/functions.py
719d3ba52ebdab62a84468124f817305ba2cca6f
[ "BSD-3-Clause" ]
permissive
Program-Bear/WalkingNetwork
ee92b61a7458033f5bbe396db1c8a4f1e1a7b0cf
b19ab91ba85e08992bf6afa865655deeaa19c509
refs/heads/master
2021-09-09T13:31:11.585208
2018-01-03T12:13:09
2018-01-03T12:13:09
125,521,601
0
3
null
null
null
null
UTF-8
Python
false
false
2,350
py
import torch from torch.nn.functional import softmax from torch.autograd import Variable def sample_gumbel(shape, eps=1e-10): """ Sample from Gumbel(0, 1) based on https://github.com/ericjang/gumbel-softmax/blob/3c8584924603869e90ca74ac20a6a03d99a91ef9/Categorical%20VAE.ipynb , (MIT license) ""...
[ "prokilchu@gmail.com" ]
prokilchu@gmail.com
9500aa334d1daba13d7d173c5f462b375f143dd5
d063684dd03293eb0f980568af088d26ab087dbe
/debadmin/migrations/0075_auto_20191108_1225.py
dd5f3b44bf87cdc1a4bd8999b7965e71e5bee1f2
[]
no_license
abhaysantra/debscientific
ce88e5ef44da8d6771c3652ed0ad02900ccd8ed2
88ec65616fd24052bbdbba8b00beba85493f5aea
refs/heads/master
2020-11-26T22:09:33.820247
2019-12-20T07:58:43
2019-12-20T07:58:43
229,213,810
0
0
null
null
null
null
UTF-8
Python
false
false
1,072
py
# Generated by Django 2.2.6 on 2019-11-08 06:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('debadmin', '0074_auto_20191107_1914'), ] operations = [ migrations.AddField( model_name='order_details', ...
[ "abhay.santra@gmail.com" ]
abhay.santra@gmail.com
3aa97b853fd98ddf44122b5bcd60123d34d92249
162e0e4791188bd44f6ce5225ff3b1f0b1aa0b0d
/mrex/neighbors/tests/test_nca.py
aae03f4cc2ab2f30e92c437813adba3fbbd1ac11
[]
no_license
testsleeekGithub/trex
2af21fa95f9372f153dbe91941a93937480f4e2f
9d27a9b44d814ede3996a37365d63814214260ae
refs/heads/master
2020-08-01T11:47:43.926750
2019-11-06T06:47:19
2019-11-06T06:47:19
210,987,245
1
0
null
null
null
null
UTF-8
Python
false
false
20,758
py
# coding: utf-8 """ Testing for Neighborhood Component Analysis module (mrex.neighbors.nca) """ # Authors: William de Vazelhes <wdevazelhes@gmail.com> # John Chiotellis <ioannis.chiotellis@in.tum.de> # License: BSD 3 clause import pytest import re import numpy as np from numpy.testing import assert_array_equ...
[ "shkolanovaya@gmail.com" ]
shkolanovaya@gmail.com
8f06edb067427872d40d29ef97e33cffafcc5c31
56b36ddf920b5f43e922cb84e8f420f1ad91a889
/Leetcode/Leetcode-Minimum Area Rectangle.py
bac5a430a77fc7b720b63b147c68a99ab884d1bd
[]
no_license
chithien0909/Competitive-Programming
9ede2072e85d696ccf143118b17638bef9fdc07c
1262024a99b34547a3556c54427b86b243594e3c
refs/heads/master
2022-07-23T16:47:16.566430
2020-05-12T08:44:30
2020-05-12T08:44:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
from collections import defaultdict class Solution: def minAreaRect(self, points) -> int: if len(points) <= 3: return 0 x= defaultdict(set) for xC, yC in points: x[xC].add(yC) m = float('inf') for p1 in points: for p2 in points: if p1[0...
[ "ntle1@pipeline.sbcc.edu" ]
ntle1@pipeline.sbcc.edu
7a5f37ad2f3ff8cf53a9b3b4ca81d5f74320aa45
649078315f93e2d76fad95c59f234701ef055cb8
/test/test_baseSubscriber.py
820a50160e7e984fa738df7e2c5d59094e7878bd
[ "MIT" ]
permissive
jaebradley/nba_player_news
207f4555f662c9187e9ab931774a0863556529f8
35ac64c369c33f1232fa76bd5bcc1c0704d868bb
refs/heads/master
2022-11-22T08:25:08.993567
2017-06-14T00:36:52
2017-06-14T00:36:52
89,762,719
2
0
MIT
2022-11-11T17:00:18
2017-04-29T04:06:01
Python
UTF-8
Python
false
false
353
py
from unittest import TestCase from nba_player_news.data.subscribers import BaseSubscriber class TestBaseSubscriber(TestCase): subscriber = BaseSubscriber(subscription_channel_name="foo") def expect_process_message_to_not_be_implemented(self): self.assertRaises(NotImplementedError, self.subscriber.p...
[ "jae.b.bradley@gmail.com" ]
jae.b.bradley@gmail.com
cd922e3fe434db3882b4bb6ff21e2f42305f9d3b
1f556263f6af920f3c145df1a9ba446c087c406b
/day4.py
47846abb208791ee3722000bedcd3531507c25eb
[]
no_license
jon3141/adventofcode2020
5abd9c9b90f6bd581ecd80c1d9c50d012c62ed23
243cec193c41603c851dbb749da155fd770b97c2
refs/heads/master
2023-02-03T20:06:39.985603
2020-12-24T20:41:36
2020-12-24T20:41:36
319,451,793
0
0
null
null
null
null
UTF-8
Python
false
false
1,923
py
with open('day4.txt') as f: passports = f.read().split('\n\n') fields = sorted(['byr', 'iyr', 'eyr', 'hgt', 'hcl', 'ecl','pid', 'cid']) optional_fields = sorted(['byr', 'iyr', 'eyr', 'hgt', 'hcl', 'ecl','pid']) def parse_passport(passp): p = {} passp = passp.replace('\n', ' ') parts = passp.split(' ') for p1 in pa...
[ "jonathan.hoyle@ruralsourcing.com" ]
jonathan.hoyle@ruralsourcing.com
bd05b2fff1cb696a69f0dd7de9605ba9e7ee8df3
1167211a8b0376fd58b8cf296b2507d8ec7727a2
/divide_and_conquer/sorting.py
511b36526a9cb4dd4fd5b857252afee52e0024d9
[]
no_license
Dina-Nashaat/Data-Structures-and-Algorithms-Nanodegree
ec554a05648e396a702e8af265b6e1f35b066f9c
fdbf5c462b19a4c06cd94f2b1388a0330f74912d
refs/heads/master
2020-08-03T10:02:07.021313
2019-12-14T21:35:51
2019-12-14T21:35:51
211,712,603
0
0
null
null
null
null
UTF-8
Python
false
false
1,821
py
# arr = [p...r] # GROUP L (less than pivot) : [p ... q-1] # GROUP G (greater than pivot): [q ... j - 1] # GROUP U (unknown): [ j ... r - 1] # GROUP P (pivot): [r] def partition(arr, p, r): q, j = p, p pivot = 0 while j < r: if arr[j] > pivot: j += 1 else: arr[j], arr...
[ "dina.nashaat@gmail.com" ]
dina.nashaat@gmail.com
3474d649827048490b01c4bd6540d59d2e1c9c7c
aa51b1eb7d9cc0227b4206eae64c9ebcf0f58420
/bookstore/settings.py
b99ee80dc291fa2fe4212d97f8385b7d7e8125ff
[]
no_license
vishnudut/BookPark
3897ab8ad2a92648024113f153176bc28d11219d
78176ba66667d95e836130fd7c29d3e057077cbb
refs/heads/master
2021-06-17T21:19:08.017929
2017-04-28T13:24:40
2017-04-28T13:24:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,132
py
""" Django settings for bookstore project. Generated by 'django-admin startproject' using Django 1.9.6. 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 os ...
[ "vvdut99@gmail.com" ]
vvdut99@gmail.com
793073e51592d4314f06fcc0fcbb400e1d8cd9dd
6872caaa6c3bb59995627064ed1ab63df403bdf6
/eyantra_provider/venv/Lib/site-packages/authlib/specs/rfc7523/auth.py
6d737c5ac49b7c82dd49f815df2b3a207dff03bc
[ "MIT" ]
permissive
Andreaf2395/OpenID-Provider
3189780631d9057140e233930ace72e9bfc76e58
cdedd42cc49e6f03e3b2570c03fb1f4a2c83be34
refs/heads/Sameeksha_Final_Provider
2023-08-21T16:05:42.864159
2020-06-18T18:47:16
2020-06-18T18:47:16
273,314,708
0
0
MIT
2020-06-18T18:48:34
2020-06-18T18:44:29
Python
UTF-8
Python
false
false
71
py
from authlib.oauth2.rfc7523 import register_session_client_auth_method
[ "sameekshabhatia6@gmail.com" ]
sameekshabhatia6@gmail.com
13f9cb4172792197995f94a7b5666bbf20479355
532ff624f00c64c7fd1d6c762ee9796b04a1d97f
/neighboor/models.py
a93b01cfd9ed02442941e885e88226aaf30403e7
[]
no_license
claudinemahoro/neighboorhood
bcb0dfd19ba55d3e1fe7a3482ccbd52bc87b9703
816ae312a86bd40b6fb8bece310cb7f063f44497
refs/heads/master
2023-02-21T14:10:06.702396
2021-02-01T22:33:13
2021-02-01T22:33:13
333,750,000
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
from django.db import models from django.contrib.auth.models import User class NeighbourHood(models.Model): name = models.CharField(max_length =30) user = models.ForeignKey(User, on_delete=models.CASCADE, related_name="neighbor") location = models.CharField(max_length =30) cover = models.ImageField(upl...
[ "claudinemah3@gmail.com" ]
claudinemah3@gmail.com
7669bd88e1fa42984a432de347c4cb1d13ccb3c7
b4c7b5dfe6235d1072d8b7e8a4f347085647ffb6
/ex16.py
6953130fd17405669667cde54069023022d9d6ba
[]
no_license
tiennv90/learn-python
154a77679a9c9ec7a43784f8c6d6572d1dba3eaf
a3486d235df39b5912fd4fe5dec8cc519a20951c
refs/heads/master
2021-03-27T12:45:31.419549
2017-07-20T08:43:52
2017-07-20T08:43:52
97,209,425
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
from sys import argv script, filename = argv print ("We're going to erase %r." % filename) print ("If you don't want that, hit Crtl-C") print ("If you do want that, hit RETURN") input ("?") print ("Opening the file ....") target = open(filename, 'w') print ("Truncating the file. Goodbye!") target.tru...
[ "tiennv90@gmail.com" ]
tiennv90@gmail.com
1c2e6ef139921b3c9b71877febf1379448208ba0
4159244962c209fb5815945a5622335e13db1a88
/algorithmic-toolbox/week4_divide_and_conquer/1_binary_search/binary_search.py
71d1fc115a178760e1fd83461b94286d72fd2bba
[ "MIT" ]
permissive
hsgrewal/algorithms
19be02ee4fa427dbf6f091507d21f3d8529fdacc
b7532cc14221490128bb6aa12b06d20656855b8d
refs/heads/main
2023-04-22T04:16:35.639385
2021-05-07T03:33:31
2021-05-07T03:33:31
354,602,945
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
# Uses python3 import sys def binary_search(a, x): left, right = 0, len(a) - 1 while left <= right: mid = (left + right) // 2 if a[mid] == x: return mid elif a[mid] < x: left = mid + 1 elif a[mid] > x: right = mid - 1 return -1 def linear...
[ "harkishangrewal@gmail.com" ]
harkishangrewal@gmail.com
07985a4f579fa355a9a7fce78a2516fbf7521d8c
9b367d3f0930a4dfd5f097273a12265fbb706b31
/textProjectByAli/manage.py
6fa59a0390d5eea0b49bb3e98b00ee2c3a0a568b
[]
no_license
AliHassanUOS/Remove-Punctuation-Project
a4988f07c685d5e385a279bd67c8c12df4af5c4d
652cd09668b3ce61904333feb3a624b1b2c1ed42
refs/heads/master
2022-12-18T05:29:52.972379
2020-09-21T08:00:13
2020-09-21T08:00:13
297,268,640
0
0
null
null
null
null
UTF-8
Python
false
false
636
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', 'textProjectByAli.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: rai...
[ "alihasanuos@gmail.com" ]
alihasanuos@gmail.com
2ecf72dd92e31c21cc0628b8f129c0fac3815492
111ed7326dc8fdd585d6d1dcd50f8cdb5e6fdbdf
/test/acled_parser.py
daa9cc192712955be29c3524dfbd74caca629bb4
[]
no_license
danielosen/DataScience
9be9d86ec118b6ac5fc97c71bd5bda0282834dec
5e13eafeef5941b3c9c7ecbc562da99df860eb70
refs/heads/master
2020-05-23T10:13:53.210439
2017-03-28T19:32:30
2017-03-28T19:32:30
80,406,663
1
1
null
null
null
null
UTF-8
Python
false
false
633
py
import panda_io import numpy as np import matplotlib.pyplot as plt def get_fatality_class(fatality): '''given a number of fatalities, return the defined class membership''' if fatality < 1: #no fatalities return 0 elif fatality < 12: #if no values, report mentions, many, several, etc. return 1 elif fatality...
[ "danieleo@student.matnat.uio.no" ]
danieleo@student.matnat.uio.no
0bc4c31363bfacfdbf73ded9bcb584ea11c6b0ee
d41f309dc17a86cba6008b866bb2b1a7b56ddd24
/train_mask_detector.py
2004e00bcad8b5e9e5b3d80c78471883f767b2ab
[]
no_license
hisowo/Face_Mask_Detector
c569e6a00334ebe0540aa5c67e72d796f3e43d3a
643add9567ca1e04f57c2685e08fb87b509b5861
refs/heads/master
2022-11-29T12:19:11.192512
2020-07-30T14:25:13
2020-07-30T14:25:13
283,796,405
0
0
null
null
null
null
UTF-8
Python
false
false
5,465
py
# USAGE # python train_mask_detector.py --dataset dataset # import the necessary packages from tensorflow.keras.preprocessing.image import ImageDataGenerator from tensorflow.keras.applications import MobileNetV2 from tensorflow.keras.layers import AveragePooling2D from tensorflow.keras.layers import Dropout from tenso...
[ "hisowo@gmail.com" ]
hisowo@gmail.com
6dc378479902b6b4f79b6b6bc980e9850cd58384
97eac22b5be14650892de9f7d92310f6313d37e7
/xchk_mysql_content/apps.py
e45da61b9330b15ae9fabf08401935f3e5bdcfca
[]
no_license
v-nys/xchk-mysql-content
8f0394d9afde0fbc85d90e09e11782e38cf53ddf
628f899ceed6d8228d3bc65de28106ea90fbd694
refs/heads/master
2022-12-08T17:38:11.686855
2020-09-05T13:51:41
2020-09-05T13:51:41
286,280,221
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
from django.apps import AppConfig class MySQLcontentConfig(AppConfig): name = 'xchk_mysql_content'
[ "vincentnys@gmail.com" ]
vincentnys@gmail.com
46dfde8b2041244d6ae133d01572576d6944bc71
98f7bb1314330138f0cb9901e764f6da8cd5605b
/5_python基础/3_字典.py
15720e3b4ac0d7bcd22295c0e97684183fa0bb02
[]
no_license
1071183139/biji
c964e197ea0845dbfdd98213743130668770f929
02c2e6f69ceb557448b959c44723b4bf498e90c9
refs/heads/master
2022-12-17T06:46:27.920479
2019-10-26T12:02:54
2019-10-26T12:02:54
217,701,979
0
0
null
2022-12-07T23:55:02
2019-10-26T11:57:28
Python
UTF-8
Python
false
false
2,053
py
# 根据键访问值 info = {'name': '班长', 'id': 100, 'sex': 'f', 'address': '地球亚洲中国北京'} # print(info['name']) # print(info['names']) # 键不存在会报错 # get 获取 设置默认值 不存在不会报错 # print(info.get('id')) # print(info.get('ids','没有这个键')) # 常见的操作 (修改,增减,删除) # 修改元素 # new_id=input('请输入元素') # info['id']=new_id # print(info1) # ...
[ "1071183139@qq.com" ]
1071183139@qq.com
fa14b434145cd963ca27a6eef951a8dff89d13d1
62bbfb6c50bba16304202aea96d1de4990f95e04
/dependencies/pulumi_aws/secretsmanager/secret_policy.py
81618991d5edb3f606dbf67e2ea3567c4dac6497
[]
no_license
adriell/lambda-autoservico-storagegateway
b40b8717c8de076e61bbd422461c7d624a0d2273
f6e3dea61b004b73943a5438c658d3f019f106f7
refs/heads/main
2023-03-16T14:41:16.821675
2021-03-11T03:30:33
2021-03-11T03:30:33
345,865,704
0
1
null
null
null
null
UTF-8
Python
false
false
5,885
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
[ "adriel@infoway-pi.com.br" ]
adriel@infoway-pi.com.br
f12371f5db7c714ad232526003737361ec84e362
3ddcd31237fb1d2530868bbd841c8b1d8d013c00
/qc_rel.py
26b5a1fbb80c7633f59794a35bea96cb1ed8f139
[]
no_license
jtnedoctor/picopili
42ca85c04ac1f92d14bd226ea2b287439d8a9223
8f64f7d81f4720fc10cd4def00ca3f20d8c6b2c6
refs/heads/master
2023-06-01T19:22:47.171993
2021-05-17T21:53:23
2021-05-17T21:53:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
15
py
./bin/qc_rel.py
[ "rwalters@broadinstitute.org" ]
rwalters@broadinstitute.org
553f3d89c11483b36ae1a20c082db45382ae9e15
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/nsx/vsm/edge/edge_sslvpnconfig_schema/edge_sslvpnconfig_layout_configuration_schema.py
68a4bace81fb3982ea88b3dfde93326a01c98ec6
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
885
py
import base_schema class SSLVPNConfigLayoutConfigurationSchema(base_schema.BaseSchema): _schema_name = "layoutConfiguration" def __init__(self, py_dict=None): """ Constructor to create SSLVPNConfigLayoutConfigurationSchema object @param py_dict : python dictionary to construct this obj...
[ "bpei@vmware.com" ]
bpei@vmware.com
c47ab8e7d986152e8f436c75f1e649796e2231bb
054bc8696bdd429e2b3ba706feb72c0fb604047f
/python/utils/CheckInRange/CheckInRange.py
b984a85c12b190cb26df2a3aebfbf2bf794a9fde
[]
no_license
wavefancy/WallaceBroad
076ea9257cec8a3e1c8f53151ccfc7c5c0d7200f
fbd00e6f60e54140ed5b4e470a8bdd5edeffae21
refs/heads/master
2022-02-22T04:56:49.943595
2022-02-05T12:15:23
2022-02-05T12:15:23
116,978,485
2
3
null
null
null
null
UTF-8
Python
false
false
2,555
py
#!/usr/bin/env python3 """ Keep/Remove records in range. @Author: wavefancy@gmail.com Usage: CheckInRange.py -r file -c int [-e] CheckInRange.py -h | --help | -v | --version | -f | --format Notes: 1. Read content from stdin, and output result to stdout. 2. Column inde...
[ "wavefancy@gmail.com" ]
wavefancy@gmail.com
3a199d4f50f97feee7246f2b129a3ee7e36209fe
7d9661d3b63397e8b75c331643c06ae775b69e17
/profiles/admin.py
ac5de1bc7adcca06465131f6a39a433bdd54f030
[]
no_license
LittleBlue418/Author-Site
b32b758ef4160acb1dd42d333e42e1fbf57db52c
273ff9b8470b1414e9b1598333b265a075624c04
refs/heads/master
2022-12-22T07:11:45.980493
2020-09-30T20:44:21
2020-09-30T20:44:21
291,706,669
0
1
null
null
null
null
UTF-8
Python
false
false
946
py
from django.contrib import admin from .models import UserProfile class UserProfileAdmin(admin.ModelAdmin): list_display = ( 'user', 'default_street_address1', 'default_postcode', 'default_country', ) list_display_links = ( 'user', 'default_street_address1',...
[ "hollyathomas88@gmail.com" ]
hollyathomas88@gmail.com
607be8af08490cdeb3c8bebdd88c48c0eb7029a9
d1ad7bfeb3f9e3724f91458277284f7d0fbe4b2d
/react/003-react-django-justdjango/backend/env/lib/python3.6/operator.py
fd9d9c6e64c46a252a453b8f263544655f85d35c
[]
no_license
qu4ku/tutorials
01d2d5a3e8740477d896476d02497d729a833a2b
ced479c5f81c8aff0c4c89d2a572227824445a38
refs/heads/master
2023-03-10T20:21:50.590017
2023-03-04T21:57:08
2023-03-04T21:57:08
94,262,493
0
0
null
2023-01-04T21:37:16
2017-06-13T22:07:54
PHP
UTF-8
Python
false
false
58
py
/Users/kamilwroniewicz/anaconda3/lib/python3.6/operator.py
[ "qu4ku@hotmail.com" ]
qu4ku@hotmail.com
00275cfd208c42a93aefef26df347846f07fa4ab
8fca3d8d8ef0af168a05dca7440ca74b42fce8d7
/build/explo_bot/catkin_generated/pkg.develspace.context.pc.py
ba302fb6724cf2027c70ad708fd7e27d13767bc7
[]
no_license
CarSanoja/Localization_Project
f938959821dc18dd31e3c5f4188eb35ce7ea1414
e41877e9b0799310fd4b7cef5cedd6fde3c50507
refs/heads/master
2020-03-23T21:03:45.043435
2018-07-27T04:42:15
2018-07-27T04:42:15
142,079,018
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "explo_bot" PROJECT_SPACE_DIR = "/home...
[ "wuopcarlos@gmail.com" ]
wuopcarlos@gmail.com
82a535bcf1ac49a0530f8b1435d3329a2280a09b
118124f2e903dab8a425c6d99e7ac8fa6f559aa4
/devel/py-repoze.xmliter/files/patch-setup.py
ccbbb76a7d9156aabc0ee41314c870b7f15170f0
[]
no_license
mneumann/DPorts
30b3abfdf58b63698bc66c8614073e3366b5fd71
d511cdf563ed8133ea75670bfa6e3e895495fefd
refs/heads/master
2020-12-26T00:46:41.527700
2015-01-27T14:54:22
2015-01-27T14:54:22
28,131,197
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
--- setup.py.orig 2014-09-21 15:40:44 UTC +++ setup.py @@ -43,7 +43,7 @@ setup(name='repoze.xmliter', author_email="repoze-dev@lists.repoze.org", url="http://www.repoze.org", license="BSD-derived (http://www.repoze.org/LICENSE.txt)", - packages=find_packages(), + packages = ['repoze', 're...
[ "nobody@home.ok" ]
nobody@home.ok
11860b27e7f8233dd8e6e478a19f8677f0a2e6b7
b7364101527fa3d234ac42e35eeab1d2986bc19f
/dict_client.py
30e9f1b60d4ddce5b59c210b5f8594f837a76c05
[]
no_license
Mrhechunlin/-
579fd82c4ae73a179aa5b4b719eb0fdf554966c8
ab70859daeccaa4780920f5ff1afb4fa836f47a5
refs/heads/master
2020-03-30T04:19:57.549112
2018-09-28T12:46:38
2018-09-28T12:46:38
150,735,637
0
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
# -*- coding: utf-8 -*- #!/usr/bin/ python3 ''' 电子词典客户端 项目名称:电子词典 相关技术:Mysql等 作者:何春林 QQ:243205112 邮箱:243205112@qq.com 日期:2018-09-28 ''' from socket import * import sys import getpass #创建网络连接 def main(): if len(sys.argv)<3: print("argv is error") return HOST=sys.argv[1] PORT=int(...
[ "243205112@qq.com" ]
243205112@qq.com
024d663ec6247259c4849e881e211d74a27a846a
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/Generators/PowhegControl/examples/processes/MC15.101010.PowhegPythia8EvtGen_A14NNPDF23_VBF_W_example.py
0eed1637cfa4f4c7d9a0b3470d317a5272088e7b
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration #-------------------------------------------------------------- # EVGEN configuration #-------------------------------------------------------------- evgenConfig.description = "POWHEG+Pythia8 VBF W production with A14 NNPDF2.3 tune." evgenConfig...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
3bd8a7286c2d157071564f7720f1716d41f3eea0
de6695f11f51d74945781cb0a8b3501ec43fdcb3
/post/post/items.py
9915037f3e7bde85ad4f0ebb232fbe27d1d66420
[]
no_license
somnusx/scrapy_project
325437b9f4cae58d219f65a09e8f262e2a45a451
b04f8f40470af6022e21083c3f78e3f812c55328
refs/heads/master
2021-01-12T15:00:26.571783
2016-11-27T10:27:03
2016-11-27T10:27:03
69,781,067
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html import scrapy class PostItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "1459853598@qq.com" ]
1459853598@qq.com
7d77907d67969dbeb7a841f56e36294174ac81b0
2e2cb71a102c144427f3a3d4c3f2717472e1a2ac
/SPD.py
6257cf5234470ceb1b82217a8de233f0b56533d4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
pdhung3012/RegGNN
740af76d90740c38f6be502ed6f9495b6d59a4a8
a383562121d205f7bb86751242882b7e815eee3f
refs/heads/main
2023-07-08T13:43:41.903844
2021-08-16T07:55:31
2021-08-16T07:55:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,128
py
''' Tools for computing topological features in Riemannian space. Code taken from https://morphomatics.github.io/, created by Felix Ambellan and Martin Hanik and Christoph von Tycowicz, 2021. ''' import numpy as np import numpy.random as rnd import numpy.linalg as la from scipy.linalg import logm, expm_frechet from...
[ "islem.rekik@gmail.com" ]
islem.rekik@gmail.com
7e58cd1ebe20b19dcd6485effb047893a346e0b2
fb27c98c222f4c25cda1b663a6867264c9d92b10
/django_tut/001/dsvpug/dsvpug/settings.py
a3f3c6d2d352a01f523e79c0ac8de98052df4f71
[]
no_license
gmgray/dsvpug
fa39febcd2939418f5a6015f404e1652eaed6471
fdb5eaf3465f93c14b9f835e7fc8222605eb14ec
refs/heads/master
2020-04-08T03:39:21.106332
2018-12-18T16:01:38
2018-12-18T16:01:38
158,984,826
0
0
null
null
null
null
UTF-8
Python
false
false
3,100
py
""" Django settings for dsvpug project. Generated by 'django-admin startproject' using Django 2.1.4. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os # ...
[ "gabriel.milczarek@dsv.com" ]
gabriel.milczarek@dsv.com