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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
a9986072f1abd4c08e2ba430e0d507c373a99150
f0abac6fa2ec8740a63d3ad1fffd778bd317de6c
/project1/parti_min_df=2.py
788f879e57d37fe944f54937ea66a2cea7712f62
[]
no_license
ashwinkannan94/Large-Scale-Data-Mining
3beb89072cdba3ad27c2e279c8806f8be79d333d
51df9c573f7d6f92b6c8a05007f204c6f967d267
refs/heads/master
2021-05-09T00:39:32.973665
2018-02-21T07:00:26
2018-02-21T07:00:26
119,751,671
0
0
null
null
null
null
UTF-8
Python
false
false
4,958
py
from sklearn.datasets import fetch_20newsgroups import matplotlib.pyplot as plt from sklearn.feature_extraction.text import CountVectorizer from nltk.stem import SnowballStemmer from sklearn.feature_extraction import text from sklearn.feature_extraction.text import TfidfTransformer from sklearn.decomposition import Tru...
[ "ashwinkumar.kannan@gmail.com" ]
ashwinkumar.kannan@gmail.com
9eb8d914c3ecf4d460b4c1e5ab1915dfaaad58c3
b2db52eff7b186c16d83afc0fe0a7277648d8975
/kvak/functions/bot_updates.py
057fa8df6cbff2313b4cced205e8ac99beb9b1c4
[]
no_license
HolyHelicopter/kvak
d99cc06c4b538f1a2f3bf632ff39cd85a32c219e
3a6f5db2c7c439f8ef88627a7c37d47b258d09eb
refs/heads/master
2023-01-06T10:04:06.893331
2020-11-03T14:35:34
2020-11-03T14:35:34
302,491,883
0
0
null
null
null
null
UTF-8
Python
false
false
5,107
py
import requests import random import datetime import time TG_URL = "https://api.telegram.org/bot1221959365:AAHAZKkaa5hJF0bchJFfVM9uT9Hhv-jOfzg/" BING_URL = "https://bing-image-search1.p.rapidapi.com/images/search?q=" BING_HEADERS = { "x-rapidapi-host": "bing-image-search1.p.rapidapi.com", "x-rapidapi-key": "f...
[ "holyhelicopter@yandex.ru" ]
holyhelicopter@yandex.ru
a1f924be1664e8f0574715c1ec97c9fe4238ee03
814a5ccb1e6275b604cae965cd34f4b857b198cc
/opencv-start/morphologicalTransformations.py
3d7c91d72db6a27d6cbe01edd1dabd45366345ac
[]
no_license
Arijit02/opencv-start
ea9adfca4185ba5307000a856b7229c34f094ce0
5e3562488adc6072593b5042fdb3c8f875206cf2
refs/heads/master
2022-11-30T02:45:38.973852
2020-08-12T03:24:05
2020-08-12T03:24:05
264,355,476
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
import cv2 import os import numpy as np from matplotlib import pyplot as plt filePath = os.path.dirname(__file__) imagePath = os.path.join(filePath, "../images/smarties.png") img = cv2.imread(imagePath, 0) _, mask = cv2.threshold(img, 220, 255, cv2.THRESH_BINARY_INV) kernel = np.ones([3, 3], np.uint8) # kernel2 = n...
[ "arijitjuite23@gmail.com" ]
arijitjuite23@gmail.com
046559d003fa8dab31306f89a50e26d810e7dbb2
0a3fd2d1f27712271903a593fb8acce711efe44b
/actions/admin.py
c0c12b255d956f944120c5fef81c5e5f92f42a1e
[]
no_license
SanjarRakhmonov/qwertyuiiiiiiur
018c6a60212dae6eeb4a667aeaa6a9c3320b1225
1bcf32b3d6f26cf985da0b3ccab4aaec64e93262
refs/heads/master
2021-01-19T17:25:31.827933
2017-01-28T07:34:02
2017-01-28T07:34:02
82,455,802
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
from django.contrib import admin from .models import Action class ActionAdmin(admin.ModelAdmin): list_display = ('user', 'verb', 'target', 'date') list_filter = ('date',) search_fields = ('verb',) admin.site.register(Action, ActionAdmin)
[ "sanjarbekraxmonov@gmail.com" ]
sanjarbekraxmonov@gmail.com
a11c4102f7cd07bc3caf030828b40fd6cdbf9b43
784d300337af936cb0cd7e3a3fc95805a5ab8524
/nets/layers.py
f3816e6dec3aefb415c4cbb57bd93489cdd3f559
[]
no_license
xiangchao2018/Keras-Mask-RCNN
cf16e3df4fad496be1f2737879c34cfef89835d4
8eac95cdc4e4049b13507f1bc29e09ddf27da52b
refs/heads/main
2023-02-06T16:11:46.793744
2020-12-27T16:41:56
2020-12-27T16:41:56
324,801,337
0
0
null
null
null
null
UTF-8
Python
false
false
23,131
py
import tensorflow as tf from keras.engine import Layer import numpy as np from utils import utils #----------------------------------------------------------# # Proposal Layer # 该部分代码用于将先验框转化成建议框 #----------------------------------------------------------# def apply_box_deltas_graph(boxes, deltas): # 计算先验框的中心...
[ "424236969@qq.com" ]
424236969@qq.com
27cf3570d3f770805865182d662d6edb2303990c
0a0bf0c955e98ffebf0bee81496291e984366887
/utils/config/model_config.py
994e3a34da5f03363479a1f0877879260ee3f709
[]
no_license
MaxinAI/school-of-ai
11ee65c935638b8bb9f396f25c943bd6e8e7fc0f
3c8f11ae6cb61df186d4dfa30fa5aba774bfbeba
refs/heads/master
2023-01-22T17:24:33.208956
2023-01-20T14:49:40
2023-01-20T14:49:40
212,200,415
52
77
null
2020-04-10T07:15:06
2019-10-01T21:11:52
Jupyter Notebook
UTF-8
Python
false
false
986
py
""" Created on Apr 23, 2020 Configuration scripts for model @author: Levan Tsinadze """ from argparse import Namespace import torch from torch import nn from torch.jit import trace, ScriptModule # Config Parameters _DEF_DEVICE = 'cuda' _CPU_DEVICE = 'cpu' GPU = _DEF_DEVICE CPU = _CPU_DEVICE def init_device(conf:...
[ "levantsinadze2gmail.com" ]
levantsinadze2gmail.com
a147ddfe91435e2ad013884b37a36e5a95b9627b
01ad8a5868befae1530ab631ffde2b3965fe9776
/Maya/realtimeExp/Read_Csv_File_01.py
560b18161313f52730a7fe20da32d0ee9110df2c
[]
no_license
hamin7/BCI_and_Face_Tracking
0b91a031e9b4d97a04ca00e66d0bc0a3c3134b51
efcb97fe2cae0fe2aa5d408a33151da1c1f3feb4
refs/heads/master
2023-01-20T06:53:27.902984
2019-11-01T12:12:49
2019-11-01T12:12:49
161,595,179
0
0
null
2023-01-05T21:54:20
2018-12-13T06:39:17
Python
UTF-8
Python
false
false
702
py
import argparse, csv, sys from settings import * # command arguments parse = argparse.ArgumentPareser(description='csv to postgres', \ fromfile_prefix_chars="@" ) parser.add_argument('file', help='csv file to import', action='store') args = parser.parse_args() csv_file = args.file # open csv file with open(csv_file, ...
[ "noreply@github.com" ]
hamin7.noreply@github.com
47a0f815d211b046ead0420671156e07fefd4628
64c4350ac51ed53035e870f3af182f07d3b5d1b7
/numpy_trigo1.py
97df81739c60f8b5f6c08e3a04bea5f642a2a7f2
[ "MIT" ]
permissive
mercadder/python
5c9de1ec1eb8496f1031b4b47f1fb84435598e9e
85a005fee24a613ac5bb33847cccc8e32f1ceebd
refs/heads/master
2021-05-10T13:28:16.684954
2018-01-22T16:14:58
2018-01-22T16:14:58
118,475,391
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
#%% import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np x = np.linspace(0, 30, 100) plt.plot(x * np.pi / 180, np.sin(x)) plt.xlabel('Angle [rad]') plt.ylabel('sin(x)') plt.axis('tight') plt.show()
[ "noreply@github.com" ]
mercadder.noreply@github.com
22309c4be0e78b1e73713c16f8bf4caed4d6134c
3682b03a42deb68f33a23ae3cdf3c3b1d09b9e5c
/project/project/urls.py
b32b28e32aa890bd4970c7b121603c007cfbd00f
[]
no_license
hfaezeh/test
9616683f906a35d0ef4cc52c58d5f9d935df80c4
68b610b67f561d70b72f1b130ebb2167a9914f8d
refs/heads/master
2020-03-12T04:43:38.185605
2018-04-30T11:09:15
2018-04-30T11:09:15
130,450,577
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
from django.conf import settings from django.conf.urls.static import static from django.conf.urls import include, url from django.contrib import admin from app.views import * from users.views import * from polls.views import * from project.routers import HybridRouter # We use a single global DRF Router that routes ...
[ "faezehhaghbayan@faezehs-MacBook-Pro.local" ]
faezehhaghbayan@faezehs-MacBook-Pro.local
2be9b6c0d13edf15e6972abee4e9f80dd8778976
d8711e79bc7784af91f1807a49842ffaf80280cd
/src/BluetoothPoller.py
7278d37253be9e6e8936bc0bb4a67e0a66305762
[]
no_license
mehdilauters/wifiScanMap
0b401f7bceac53896434e95df42fa9b455f0f5b8
9adcd08e43db5dcb7700450abed00c97e140ef21
refs/heads/master
2020-12-15T03:57:02.244177
2017-07-27T10:50:46
2017-07-27T10:50:46
53,189,162
141
33
null
2016-12-11T17:26:07
2016-03-05T07:20:24
Python
UTF-8
Python
false
false
2,745
py
from threading import Lock import threading import time import subprocess import re import PrctlTool class BluetoothPoller(threading.Thread): def __init__(self, app): threading.Thread.__init__(self) self.application = app self.lock = Lock() self.stations = [] self.running = True #setting the thre...
[ "mlauters@fly-n-sense.com" ]
mlauters@fly-n-sense.com
fb0d6fd04de3f5e3c01fd84c22bf7d97878deb39
6ee2af4e2e453927030a7ce88f246ec948536f01
/build/catkin_generated/generate_cached_setup.py
36a6a9b17749c2fde23d770c6666c6560646026a
[]
no_license
abhishekbalu/rosqt-publisher
67b980104cbca541bc7f318b6abde5d71f03bd0d
c636e14316631c888066d47d7e582812de1d2ded
refs/heads/master
2021-01-18T22:14:00.983005
2016-10-30T14:33:36
2016-10-30T14:33:36
72,354,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/jade/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.pat...
[ "abhisheklokesh6008@gmail.com" ]
abhisheklokesh6008@gmail.com
6c0d5bbd04735a5cb28455fee37f5ad5beb791d7
bd1362c60313784c90013dfc9f0169e64389bf27
/scripts/asos/wind_chill_hours.py
aaccb84c833aa21cf7bbb32f0946b0e7ddf8734a
[]
no_license
ForceCry/iem
391aa9daf796591909cb9d4e60e27375adfb0eab
4b0390d89e6570b99ca83a5fa9b042226e17c1ad
refs/heads/master
2020-12-24T19:04:55.517409
2013-04-09T14:25:36
2013-04-09T14:25:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,136
py
from pyIEM import iemdb import mx.DateTime, sys i = iemdb.iemdb() asos = i['asos'] for yr in range(1973,2009): hrs = [0,0,0,0] sql = "SELECT to_char(valid, 'YYYY-MM-DD HH24') as d, min(wind_chill(tmpf,sknt)) as wc from t%s WHERE \ station = '%s' and tmpf < 32 and tmpf > -50 and sknt > 0 \ and valid > '%s-1...
[ "akrherz@95f8c243-6001-0410-b151-932e6a9ed213" ]
akrherz@95f8c243-6001-0410-b151-932e6a9ed213
73528192301a76efed6e1f6ff204022615c0be6f
6f7a8d28be6af8116b5876df4c804bfc1997580c
/async_reduce/__init__.py
974e22118be551a6120882fd983cb46b09ad6109
[ "MIT" ]
permissive
tzoiker/async-reduce
375c12ad0c5976e4062215f4338377a8336055de
2ece769e09628bf00cb35af32044b55d1946828a
refs/heads/master
2020-05-05T05:12:41.177854
2019-03-31T12:53:54
2019-04-04T17:10:51
179,743,101
0
0
MIT
2019-04-05T19:32:28
2019-04-05T19:32:28
null
UTF-8
Python
false
false
166
py
from .async_reducer import AsyncReducer from .async_reduceable import async_reduceable __all__ = 'async_reduce', 'async_reduceable', async_reduce = AsyncReducer()
[ "sirkonst@gmail.com" ]
sirkonst@gmail.com
0a1230cf13d2fbd86cd3dce52b2abb63f19c142a
451e9ea8a8c4317bc03b4832d3093b8317a12e08
/weather/views.py
a2219087a28327d064e96b4040998d4873281d84
[]
no_license
MehediHasanNasim/Weather-Checking-API
db73f36b1e6a800694e97ae5b0e3595945c5d0ad
49dcda33cb58371f2bc6b506cf072951d717c49d
refs/heads/main
2023-06-03T19:56:10.091400
2021-06-24T19:12:15
2021-06-24T19:12:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,291
py
from django.shortcuts import render, redirect, HttpResponseRedirect, get_object_or_404 # Create your views here. def home(request): import json import requests if request.method == "POST": zipcode = request.POST['zipcode'] #return render(request, 'home.html', {'zipcode': zipcode}) ...
[ "75909031+MehediHasanNasim@users.noreply.github.com" ]
75909031+MehediHasanNasim@users.noreply.github.com
5bd01557125f2b6645afe7314023655b308fda80
0374289f671d93a0d1d2b14fd813b88a4dd81f6b
/chatbot-master/cali_main.py
7e3891c1524004352cf06a63dbf8fba2d1778c0e
[]
no_license
dhruvbabbar/chatbot
9b62d4b1e0418926e020906952a7303eca018e5e
f6b27615452625d3da04e5a2207d5a514c0d71a7
refs/heads/master
2020-03-08T03:31:36.909623
2018-05-06T13:55:56
2018-05-06T13:55:56
127,893,610
0
0
null
2018-05-06T13:55:56
2018-04-03T10:48:43
Python
UTF-8
Python
false
false
387
py
from django.shortcuts import render_to_response from django.utils.safestring import mark_safe def calendar(request, year, month): my_workouts = Workouts.objects.order_by('my_date').filter( my_date__year=year, my_date__month=month ) cal = WorkoutCalendar(my_workouts).formatmonth(year, month) return re...
[ "dhruvbabbar349@gmail.com" ]
dhruvbabbar349@gmail.com
675c9c10775fd79f1259f821aa47ffad8afe99ba
28111c4fa919b14ff2f78be30035f7d90a08ab1e
/crawls/crawls/spiders/baldor.py
9e4dfdc079868243244e1595ee5d45d60340b8e5
[]
no_license
HeraskoA/crawls
a4c07858075495062319d646861f734fa7201e38
887cd844847f33178709c3abdd8a770d94e899a6
refs/heads/master
2021-01-21T14:39:32.619133
2017-10-24T14:37:11
2017-10-24T14:37:11
95,320,287
0
0
null
null
null
null
UTF-8
Python
false
false
4,977
py
# -*- coding: utf-8 -*- import pandas as pd import scrapy from crawls.items import BaldorDodgeItem import re out = pd.read_csv("crawls/spiders/data/diff_baldor.csv", sep=',') catalog = [str(item).strip() for item in list(out.catalog_number)] description = list(out.description) ids = list(out.id) catalog_descr = dict(...
[ "andrey.herasko@gmail.com" ]
andrey.herasko@gmail.com
f0752a02362e4d75af1e71dddab5a542414153f0
fa87189eb0783c233e4d3cd52f790a59ec63445d
/Problem 2 2021 lab3.py
cbf1999a0654cd6cfc7b0710be6ae2ac8ba6424d
[]
no_license
jkendall5490/HELLOWORLD
8223b8dd7da9e2235763f2f0c8ca92d87e3078d6
85f12632c025634ab6a69a7fe398b809a7cf62e6
refs/heads/main
2023-03-24T23:01:18.978074
2021-03-18T10:26:49
2021-03-18T10:26:49
303,903,360
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
#shop.py def check_money(total_cost, customer_money): #Your code here if customer_money - total_cost >=0: return True else: return False #This should print False can_pay = check_money(107, 49) print(can_pay) #This should print True can_pay = check_money(6, 88) print(can_pay...
[ "noreply@github.com" ]
jkendall5490.noreply@github.com
1deef8003d76f7e77fa621034bcf1085241dcd05
f52e7443be4418eebc7ed51f56a879617b00f088
/7b.py
953487043bc15f1e7425b5ab966ea7d456e9c95a
[]
no_license
nathanleiby/advent-of-code-2018
9fe43a97a80290338b8724e2c07c8560f16d9d3b
047ec34ad936e33fc5d530f8403aa59983325bbc
refs/heads/master
2020-04-09T10:05:31.905048
2018-12-14T06:01:58
2018-12-14T06:01:58
160,257,964
0
0
null
null
null
null
UTF-8
Python
false
false
2,956
py
from toposort import toposort, toposort_flatten ex_i = { 'A': {'C'}, 'F': {'C'}, 'B': {'A'}, 'D': {'A'}, 'E': {'B', 'D', 'F'}, } ex_i_str ="""Step C must be finished before step A can begin. Step C must be finished before step F can begin. Step A must be finished before step B can begin. Step A m...
[ "nathan.leiby@clever.com" ]
nathan.leiby@clever.com
19bb961a475c9140cdf1d0f5b1b933a281056798
4272f10ab532042daa1d7811e4c314db098f2093
/variables/ejercicio03.py
824cf433e2940fcce0a10a6cc24bae3b9685f2cd
[]
no_license
bl00p1ng/ejercicios-basicos-python
780b7050184d75f9a9af5c641bd57e2c13357a4c
53b974257d0729a00b0ee57c5eb877845784f176
refs/heads/main
2023-03-14T06:30:24.925725
2021-03-05T21:53:30
2021-03-05T21:53:30
338,624,311
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
def run(): # Ejercicio 3 # Crea las variables nombre, direction y teléfono y asígnale los valores correspondientes. Muestra los valores de # esas variables por pantalla de tal forma que el resultado del programa sea el mismo que en el ejercicio 2. name = 'Andrés Felipe López' phone = '509-684...
[ "blooping@protonmail.com" ]
blooping@protonmail.com
bca55882f1cc1e823bbc9e5df57353da55294810
0850e1ed6c795a11efd5ded56451c2286578fc34
/app.py
ec3f4bcacdee7b894425124ef7ae30a26de59f00
[]
no_license
ChanonVilaiyuk/app
2799e679dd536c3d5d6203da75ffbc4b2f6273c2
c7a537c60b93780db1836bc34793c0d6dd794eb6
refs/heads/master
2021-05-05T10:23:12.221159
2017-09-18T14:15:49
2017-09-18T14:15:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
13
py
# v001 # v002
[ "ta.animator@gmail.com" ]
ta.animator@gmail.com
afa71f64cc9f5d035f2c07e4d8927d8e7f62b598
fbfaf9c8047542efb383c8f480dd636437a76343
/testsuite/pnoise-gabor/run.py
af0d1e028fe263ad1e7033634440b256ed74bd6a
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla" ]
permissive
jeremyselan/OpenShadingLanguage
1141bda4578fbacad80116ee1a9deb6d498ef9c9
3e2955686dc61bc8104ed9451bf172fc2d2348eb
refs/heads/master
2021-01-18T04:50:00.061446
2012-06-27T22:51:48
2012-06-27T22:51:48
5,102,217
2
0
null
null
null
null
UTF-8
Python
false
false
202
py
#!/usr/bin/python command = oslc("../common/shaders/testpnoise.osl") command += testshade("-g 512 512 -od uint8 -o Cout out.tif -sparam noisename gabor testpnoise") outputs = [ "out.txt", "out.tif" ]
[ "lg@larrygritz.com" ]
lg@larrygritz.com
d719c1b237fa0f671e01bfbafb4c4a3785b95aa2
1e5bf4b7ac971ce824e9054c691e0cfdd9d01ee7
/98. Validate Binary Search Tree.py
c0c37505fd157fbbdd0818013acda9bcce8d5bde
[ "MIT" ]
permissive
Nriver/leetcode
925bf551ea8d6ee3ab1d17a26544d09b6fa988c0
e0b30fae8a31513172fcbd13d67eded8922ba785
refs/heads/master
2021-06-08T20:38:24.731309
2021-05-10T02:02:35
2021-05-10T02:02:35
162,373,286
1
0
null
null
null
null
UTF-8
Python
false
false
2,053
py
# -*- coding: utf-8 -*- # @Author: Zengjq # @Date: 2018-12-19 10:46:12 # @Last Modified by: Zengjq # @Last Modified time: 2019-02-20 17:00:12 class Solution: # 100% 递归最快 def isValidBST(self, root: 'TreeNode') -> 'bool': # 注意最开始启动递归的时候传的最大和最小值都要是None return self.isValid(root, None, None) ...
[ "junqing.zeng@gmail.com" ]
junqing.zeng@gmail.com
34d43cfe3bc78b8ff679d3f0730e47094534d1ac
47122c110aae10880469e94c969f1d7a58815de2
/posts/admin.py
d8731ccd6ff032917a0c9e3d0e5fedf40a820251
[]
no_license
derrickps/getsocialproject
1116586bb90132dc7efd247083a27e7ec1b05e97
dfaeb6185639d0d71233eb6b3f2d7c2ae40b3677
refs/heads/main
2023-05-30T14:26:57.013143
2021-06-19T08:01:23
2021-06-19T08:01:23
378,340,342
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from django.contrib import admin from .models import Post, Comment # Register your models here. admin.site.register(Post) admin.site.register(Comment) # admin.site.register(Like) # change in admin done in apps.py
[ "psderrickit@gmail.com" ]
psderrickit@gmail.com
65a0d661df90d4e3726d1f5122c0dc3bfe463082
e3e60898ac87cd758dab7fbd318ad9a7a013d969
/maps/recommend.py
3e89d2b6aedd16c86a7926dba73835ece0ab7ebd
[]
no_license
blvck-root/restaurant_ratings
97c38f4d224ffaae3e4eb4f23990db9e2872a1ec
0bdd702423b100fc6038c7d27103a33a6c7cc968
refs/heads/main
2023-08-17T12:19:04.782392
2020-12-08T17:43:00
2020-12-08T17:43:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,596
py
"""A Yelp-powered Restaurant Recommendation Program""" from abstractions import * from data import ALL_RESTAURANTS, CATEGORIES, USER_FILES, load_user_file from ucb import main, trace, interact from utils import distance, mean, zip, enumerate, sample from visualize import draw_map ################################## # ...
[ "m.ndlovu@alustudent.com" ]
m.ndlovu@alustudent.com
c8501aec9cf89872de343889e16ce6003850dba2
d322b0ee85c61bcb8d26ad53b947ee6bba5c8453
/HW1_code/HW1.py
bc5e3fbdaed2420f5f076fc01a8aa2f7f0d5f028
[]
no_license
jwymanumich/SI650
17f15eddf08a6aedde014f9a7abc2063f7e79bb5
4e51a69ca7dfcf660da318ac38b5d64f6d8bd263
refs/heads/master
2020-07-30T14:36:52.437461
2019-09-23T23:02:44
2019-09-23T23:02:44
210,265,892
0
0
null
null
null
null
UTF-8
Python
false
false
11,777
py
from collections import defaultdict import math import matplotlib.pyplot as plt import nltk from nltk.stem import * import operator import plotly.express as px import plotly.graph_objects as go import re def remove_stopwords_from_collection(collection): ''' Return a new collection with no stop words ''' c...
[ "jwyman@umich.edu" ]
jwyman@umich.edu
a47f2449b19e9bc97040fc3bd4879370f4bb2788
82c013d796dd9b15dab7b33952aa68ebef62e23d
/amrequest.py
661c9e75684cab9c547547f5d26075b7df84405c
[]
no_license
qwenghernaez/phil_steel
f4d92d75fa98e10c4a899285035466a5fa8bf14a
9ba5c808c4d4260cb58b7ff157a24ae195305a63
refs/heads/master
2021-01-21T08:46:33.135018
2017-05-18T05:54:26
2017-05-18T05:54:26
91,641,028
0
0
null
2017-05-18T05:33:34
2017-05-18T02:40:26
Python
UTF-8
Python
false
false
4,303
py
from odoo import models, fields, api class AMRequests(models.Model): _name = 'philsteel.amrequests' customer = fields.Char(string='Customer') status = fields.Selection([('new', 'New'), ('visited', 'Visited')], default='new', string='Request Status') illustrations = fields.One2many( 'philsteel.amrimages', 'r...
[ "noreply@github.com" ]
qwenghernaez.noreply@github.com
bfe91a389a2793bab81af26924332598622638eb
14c9e16013866a59efd1981811083bd97f7ed780
/retrieve_similar_bugs.py
c2c8ee8caaa13af3ef8b28d00d3fe347ea20aae2
[]
no_license
kunchengit/TriageRobot
186bf44dec776b14cad9acf7aad0ef86658c56f2
8ad86e330eb219831fcc8d9352662221b10bedad
refs/heads/master
2021-01-10T07:57:04.775020
2015-10-16T08:48:52
2015-10-16T08:48:52
44,372,241
0
0
null
null
null
null
UTF-8
Python
false
false
7,689
py
import MySQLdb import pandas import itertools import numpy as np import bm25fe import pickle import subprocess import jsd from gensim import corpora from gensim import matutils from gensim.models import ldamulticore import getpass import os def retrieve_similar_bugs(query_list, length_list, dictionary_address, topicmo...
[ "root@TriageRobot-prod.(none)" ]
root@TriageRobot-prod.(none)
2de8589e6440ac454067a5e013182e90329b0b7b
a3ac650399a159b5273005794bf54e0d1586004c
/Einarbeitung/Word2Vec/Test1/T4.py
fb9c8fa6b028cac34886c953ad3eb98bf73f083e
[]
no_license
imbabaer/SemanticRelations
714c77320c7d26e7a6077d25d095d472037de838
13a8139e1cf6b2b70914bb64ad33e2654123eee7
refs/heads/master
2020-04-08T21:10:48.040347
2015-09-10T15:16:23
2015-09-10T15:16:23
32,916,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
import gensim, logging import os import math folder="../../../Korpora/Wikipedia/" preprocessedKorpus = folder+"enwiki-latest-pages-articles_clean.txt"; tmpPreprocessed = folder + "latest-pages-tmpPreprocessed/" if not os.path.exists(tmpPreprocessed): os.makedirs(tmpPreprocessed) #preprocessed Korpus ...
[ "rubenmueller90@gmail.com" ]
rubenmueller90@gmail.com
a50adbea54a6894334b93d659ac790fc34a72e26
79c70e1bee028fb988fd77bd022cda19268f5bac
/Exercícios Resolvidos/The Huxley/248 - Última palavra de uma frase.py
f82167ad9ca2386e6d24cb424918f4df113b724e
[ "MIT" ]
permissive
GuilhermeEsdras/Mamba-3
c2ff1c88a7a71f8aab8b57019ccb764e3a7aba47
b1b4352cad2961876f30e5ffe29b4cd19bddede5
refs/heads/master
2020-06-19T16:45:28.792035
2019-07-14T04:36:31
2019-07-14T04:36:31
196,789,091
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
frase = str(input()).split() print(frase[-1])
[ "guilherme.esdras@outlook.com" ]
guilherme.esdras@outlook.com
87fd206f0463a131023a42fd8e873662634b083b
b3339de21179652caeac639d3ed04613367f5b9e
/2021.1/Back_End/Semana_02/AppAnimal1.py
470f1fe7a95d3aeed50dbe75c684eeeb3681dc27
[ "MIT" ]
permissive
felipegt56/IFPI-TDS
48ea243a11d13d88253e9858af358be5f022f1f5
b413f9e96eb54816bebc4692d3bfd90e350eac72
refs/heads/main
2023-06-06T18:55:05.954808
2021-07-09T22:28:13
2021-07-09T22:28:13
357,725,379
0
0
null
null
null
null
UTF-8
Python
false
false
1,066
py
from fastapi import FastAPI from pydantic import BaseModel from typing import List, Optional from uuid import uuid4 app = FastAPI() class Animais(BaseModel): id: Optional[str] nome: str idade: int sexo: str cor: str bd_animais: List[Animais] = [] @app.post('/animais') def Sistema_cadastro(an...
[ "69603279+felipegt56@users.noreply.github.com" ]
69603279+felipegt56@users.noreply.github.com
170c80b32c28e732b03d4aa88dca2ddfad488590
677002b757c0a1a00b450d9710a8ec6aeb9b9e9a
/tiago_public_ws/devel/lib/python2.7/dist-packages/pal_vision_msgs/msg/_LegDetections.py
795d7a6e5a0ddc8937c4f89b902f18ac6d08097e
[]
no_license
mrrocketraccoon/tiago_development
ce686c86459dbfe8623aa54cf4279021342887fb
a0539bdcf21b67ab902a4649b516dcb929c54042
refs/heads/main
2023-06-16T19:39:33.391293
2021-07-08T21:20:03
2021-07-08T21:20:03
384,249,894
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
/tiago_public_ws/devel/.private/pal_vision_msgs/lib/python2.7/dist-packages/pal_vision_msgs/msg/_LegDetections.py
[ "ricardoxcm@hotmail.com" ]
ricardoxcm@hotmail.com
d09de466a60c088bd29f62ed170d112b8a9c6c21
609ac0a3489abeddd04e24c35f757163ea044ec9
/ntpu_system/mysite/alumni/urls.py
58d3307d0ceaf3cc353deff320f4a988a79149b8
[]
no_license
aron3312/ntpu_system
988748bc2d831de0a429d3e02a5d9338697d674d
b1f0729c3a018da31d0496eb0b45600069ad22e5
refs/heads/master
2022-04-29T16:52:11.273522
2022-03-28T07:36:06
2022-03-28T07:36:06
108,516,049
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
from django.conf.urls import url from alumni import views urlpatterns = [ url(r'^alumni/introduction$',views.alumni_introduction,name='alumni_introduction'), url(r'^alumni/activity$',views.alumni_activity,name='alumni_activity'), url(r'^alumni/network$',views.network,name='alumni_network') ]
[ "aron3313@gmail.com" ]
aron3313@gmail.com
5945b1b91845f0686215e05e18fc21cadfc1fcc2
5832f65747e6142d1b8de9d46aa507092782aafc
/Codeforces/Educational Codeforces Round 62 (Rated for Div. 2) - 1140/1140A-Detective Book.py
4762feb138af0272fb549b4278310af587203de2
[]
no_license
subhashreddykallam/Competitive-Programming
64cc42c5b23c03536187a1bb54e2b2ed82ee7844
973b66b4eb81352b98409ca52fa3aa75c28d8b6f
refs/heads/master
2022-05-28T21:07:43.012922
2020-05-05T20:34:20
2020-05-05T20:34:20
226,814,369
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import math from collections import deque, defaultdict from sys import stdin, stdout #input = stdin.readline # print = stdout.write listin = lambda : list(map(int, input().split())) mapin = lambda : map(int, input().split()) n = int(input()) a = listin() k = -1 count = 0 for i in range(n): k = max(k, a[i]-1) if...
[ "42376739+Storm1seven@users.noreply.github.com" ]
42376739+Storm1seven@users.noreply.github.com
71007b9129418fa6433dd591eb30efdc6a674d0b
78c2fd94694efdbeedec9a17665e0a261d7ab4a5
/app/config.py
6bc45ff88c2f51dd3d42088a28a6ba47fb2f6782
[ "MIT" ]
permissive
pingpgeti/elliot-chat-client
93499a65c1b32501949c1dc983912e51d7b5d71a
4256dc78a514b93ef7a325d7ba5ad2674963d74f
refs/heads/master
2023-04-27T07:19:09.299344
2021-05-13T12:42:45
2021-05-13T12:42:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
from enum import Enum from pathlib import Path # server constants SERVER_URL = "http://localhost:5000" TABLE_SCHEMA_PATH = str(Path("app") / "database" / "schema.sql") DEFAULT_DB_PATH = "user.db" FETCH_DELAY_PERIOD = 5 # time period beetween each server data update # other PREFFERED_ENCODING = "utf-8" # crypto con...
[ "michal.wilk0@yahoo.com" ]
michal.wilk0@yahoo.com
5e76996ba10ca4cfef5a7a017be9aee004383cb6
99438c924fafc690ac3ee2836e0dd6884123ead7
/main.py
02d1cf86abe2b4d792827e5dfebc6c062f4f8245
[]
no_license
emptyflash/twitter-scraping-v2
ddcf0e9b7206b097ac2648bc9f06366d3745134e
884401b175a19b6d58038a0733e822d8fb644002
refs/heads/master
2023-05-24T12:47:46.187197
2020-01-28T02:27:43
2020-01-28T02:27:43
236,641,932
0
0
null
2023-05-22T22:39:10
2020-01-28T02:28:08
Python
UTF-8
Python
false
false
4,058
py
import json import datetime import requests from bs4 import BeautifulSoup HEADERS = { "authority": "twitter.com", "accept":"application/json, text/javascript, */*; q=0.01", "accept-language":"en-US,en;q=0.9", "sec-fetch-mode":"cors", "sec-fetch-site":"same-origin", "x-asset-version":"42599c"...
[ "emptyflash@gmail.com" ]
emptyflash@gmail.com
430164e8298b0a62a94c538521da7e1c71e9a6e4
0b354e25ca146869d2e7cabe6e950a91d3b70033
/my.py
349461c468d1fd3de4b6703cc1822ab8830a33fa
[]
no_license
JBprojects/Tournament-Management-System
4975a8b2ebf0d7b97dac946c7c5dd821c90a97a7
5590b3dffe31f1e00445750e88524d61f2b2f721
refs/heads/master
2021-04-30T12:04:17.577780
2018-02-13T03:25:59
2018-02-13T03:25:59
121,266,247
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
from urllib.request import urlopen as uReq from bs4 import BeautifulSoup as soup my_url='http://www.cricbuzz.com/cricket-match/live-scores' uClient=uReq(my_url) page_html=uClient.read() uClient.close() filename = "getcon.txt" f=open(filename,"w") f.write("") page_soup=soup(page_html, "html.parser") con...
[ "noreply@github.com" ]
JBprojects.noreply@github.com
8220412e8380ae33458fd4830005ce9ca6d5ac81
3bb57eb1f7c1c0aced487e7ce88f3cb84d979054
/sgss_retro_senseaware/scripts/analyzers/closest/get_ambiguous_words.py
8e1da2dc3308fc7f03a6d62782ced0e68cc2ac32
[]
no_license
ghpaetzold/phd-backup
e100cd0bbef82644dacc73a8d1c6b757b2203f71
6f5eee43e34baa796efb16db0bc8562243a049b6
refs/heads/master
2020-12-24T16:41:21.490426
2016-04-23T14:50:07
2016-04-23T14:50:07
37,981,094
0
1
null
null
null
null
UTF-8
Python
false
false
4,182
py
import urllib2, re, gensim from nltk.corpus import wordnet as wn import numpy as np from sklearn.decomposition import PCA exp = re.compile('<BR>([^<]*)<BR>') conn = urllib2.urlopen('http://www.enchantedlearning.com/wordlist/nounandverb.shtml') html = conn.read() ocs = [oc.strip() for oc in exp.findall(html) if len(o...
[ "ghpaetzold@outlook.com" ]
ghpaetzold@outlook.com
f0045ef4ff1340561ba46f011f3a5dcb1dacc65c
feee95b58b25527a1c962931c22427b3eaf98467
/ex4.py
b100b6c40a44ff8f13f6db3541c351d76b30ed80
[]
no_license
odinokov7/3hw
d4638ba9f17e8c5dd628d5b2ff2288b5a68cc967
992c1d8591b4e06fd4042838766f4ee0f0f5f1cf
refs/heads/master
2023-03-02T21:26:48.476826
2021-02-10T16:55:28
2021-02-10T16:55:28
337,789,981
0
0
null
2021-02-10T16:57:42
2021-02-10T16:52:27
Python
UTF-8
Python
false
false
444
py
x = float(input('Введите x: ')) y = int(input('Введите y: ')) if y == 0: print('y не может быть 0') elif y > 0: y = y * -1 def my_func_first_try(arg1, arg2): return arg1 ** arg2 def my_func_second_try(arg1, arg2): arg2 = abs(arg2) otv = arg1 for i in range(1, arg2): otv = otv * arg1 ...
[ "odinokov7@gmail.com" ]
odinokov7@gmail.com
612cf026a12b0609b69d79e090a311dd47a04266
96e93c81addf58445f6f332f33430117f3f57306
/player.py
35d2e1515eceb20ca23a2857b7818490ca9b1e8a
[]
no_license
faisal-ahmed/Balloon-Shooter-Game
69b38f4e6ad402a863d037ba0e66ac052f1b4107
cab9942602f4cce4680ce794e9b15e0b7b75ef80
refs/heads/master
2020-04-17T08:08:35.009798
2019-01-18T12:21:38
2019-01-18T12:21:38
166,399,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
#Player Management Package from settings import * class Player(object): """docstring for Player""" PLAYER_IMAGE_URL = "myResources/images/shooter.png" HEALTHBAR_IMAGE_URL = "myResources/images/healthbar.png" HEALTH_IMAGE_URL = "myResources/images/health.png" PLAYER_POSITION = [80, 80] PLAYER_SIZE = (120, 120) ...
[ "faisal.ahmed0001@gmail.com" ]
faisal.ahmed0001@gmail.com
1ff59f385afc8cb760932bbdfb1aaee3163dc983
f2a3f57379cb375c33442afb03baef005b92f819
/이혜은/1027/멀쩡한 사각형.py
aef05f5d6bda02145921cae85e3c9cb11f466ecb
[]
no_license
rubetyy/Algo-study
9e2d80b2edcd37c67c4c824f5e61b65be272cf06
d7165da60c98227d6f4abf18aa19cd79e006ea59
refs/heads/master
2023-09-02T05:52:41.517447
2021-11-23T04:12:04
2021-11-23T04:12:04
418,523,907
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
def solution(w,h): tmp = 0 if w <= h: until = w else: until = h for i in range(until, -1, -1): if h%i == 0 and w%i == 0: tmp = i break answer = w*h - (w+h-tmp) return answer
[ "snflo16@naver.com" ]
snflo16@naver.com
6725e52f3a46033891bb2ae6e8007889caaa26e6
81a9b528fbb79a6109a6c011cca9d59ff45dab92
/utils/sampler.py
7bacdd0f147134035948b3e1b0783f61e9cc2f55
[ "MIT" ]
permissive
lconet/binary_quality_classification
a863ee4f3a0f37bbaa1dd310f1038beb853a82fb
72530438a9e0bd3d036fdf966f3ef9881d898e3d
refs/heads/master
2022-12-21T14:21:24.919972
2020-09-23T20:35:27
2020-09-23T20:35:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,658
py
class Sampler(object): def __init__(self, sampler_type): self.sampler_type = type def __call__(self): if self.sampler_type = "random": pass elif self.sampler_type = "cartesian": pass return samples def cartesian_sampler(self): pass de...
[ "caneozester@gmail.com" ]
caneozester@gmail.com
090e36be37fd0bcd41780a1de55f790c4c445f94
7a03201ccadf7ef3dcb6cd6676bc893bf412cedf
/lecture02/numbers2.py
9f198713886971782fb4ac521fd25137c7578e1e
[]
no_license
uselesssparrow/pythonp_hw
732571321f0d1793c320d9673d7991d0007e15bb
27a3df0bc84cc74bfd9ec23a3441c7d06f4d31b0
refs/heads/master
2023-01-10T03:34:34.779957
2020-11-17T04:15:56
2020-11-17T04:15:56
298,477,209
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
st_in=input("Введите целое число от 0 до 99: ") if not str.isdigit(st_in): print("Введено не целое число или буквы") exit() st_in=int(st_in) if (st_in<0) or (st_in>99): #проверка диапазона print("Введено число не в диапазоне от 0 до 99") exit() num='' if (st_in//10==9): num+='девянос...
[ "71866532+uselesssparrow@users.noreply.github.com" ]
71866532+uselesssparrow@users.noreply.github.com
f6b30be99b68743ed3946fedc0913932558006a1
3073334bbdf95403e07d41f66c21409fa70910fa
/pagerduty_trigger/__init__.py
96f6a607b35ab378eb4e2cd5d2ea3f099ba56c27
[]
no_license
Bhanditz/pagerduty_trigger
aa9caa09794a4fa70f2441492d666a0970aaf3c1
69d5be3df9cb7b5f94f996b0441d85b7f0d3c01f
refs/heads/master
2023-04-14T13:40:17.658586
2015-12-11T16:19:48
2015-12-11T16:19:48
165,651,743
1
0
null
2023-04-04T00:14:26
2019-01-14T11:43:47
Python
UTF-8
Python
false
false
3,795
py
# -*- coding: utf-8 -*- ''' Pagerduty actions ''' from __future__ import absolute_import import pygerduty import logging from pagerduty_trigger import broker logger = logging.getLogger(__name__) class IncidentKeyLocked(Exception): ''' Exception for when the incident key has already been used recently '...
[ "danielwallace@gtmanfred.com" ]
danielwallace@gtmanfred.com
654d6b5f0e13544c626b589ac4de64c67b3ca229
f48763f1080bf4e3a0efa69f1d937f6107ac8aca
/medbot_app/models.py
d8ff808779420e01cb498a6d1806fcb506636775
[]
no_license
n1az/MedBot
4a71dcc41a5d06615f8aecc6d961b165ed840542
713fe1565ddf3d23d7958bf8fad521597676873e
refs/heads/master
2023-04-29T07:21:02.932495
2023-04-12T03:09:14
2023-04-12T03:09:14
275,631,345
0
1
null
null
null
null
UTF-8
Python
false
false
6,803
py
from django.db import models class Employee(models.Model): pharmacy_id = models.BigAutoField(primary_key = True) pharmacy_address = models.CharField(max_length = 254) owner_name = models.CharField(max_length = 100) pharmacy_name = models.CharField(max_length = 100) pharmacy_reg_id = models.CharField(max_length =...
[ "muhammadniazmorshed@gmail.com" ]
muhammadniazmorshed@gmail.com
3c26872318ad21cb83b2b723de7ce8593642ae93
59d65cd3fa9e614bfd539aff88744cc2b450cf8b
/ex101 - funcao voto.py
75644343f216ad4c14cf5e36f25f2dc6fc52e3c1
[]
no_license
gerolaleticia/Voting-function
89c5cca817869e8a9fc514a85f88b1db0ce98f76
53e35c3eeca7a4a1ced9c7a99db7d0731ab2c6df
refs/heads/master
2021-03-30T02:09:14.594967
2020-04-01T20:21:50
2020-04-01T20:21:50
248,005,017
0
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
def voto(ano): from datetime import date atual = date.today().year idade = atual - ano if atual - ano < 18 and atual - ano > 2016: print(f'Com {idade} anos o voto é OPCIONAL.') elif atual - ano >= 65: print(f'Com {idade} anos o voto é OPCIONAL.') elif atual - ano < 16: ...
[ "noreply@github.com" ]
gerolaleticia.noreply@github.com
2925862530fc1d63e4d390624948e264adb3f2ca
104baf85a7fed4bbb738e66f5a308dcf5360a201
/VQCPCB/data_processor/bach_data_processor.py
a7fe2c2b39ec95fd9cfadda58d87d528889a2ce5
[]
no_license
MGSong/vqcpc-bach
09403c217bdd5165a4609b511ef837f4a19f650a
36a772bf99a7a2aba462bd86d362b7180f08847a
refs/heads/master
2023-02-22T20:32:06.728063
2021-01-27T14:03:18
2021-01-27T14:03:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
531
py
import torch from VQCPCB.data_processor.data_processor import DataProcessor from VQCPCB.utils import flatten, to_numpy class BachDataProcessor(DataProcessor): def __init__(self, embedding_size, num_events, num_tokens_per_channel): super(BachDataProcessor, self).__init__(embedding_size=embedding_size, ...
[ "crestel.leopold@gmail.com" ]
crestel.leopold@gmail.com
411a288382166b49c68b10168485d9a50dbbfaf3
d69d43fd29177e86f1ad697d158a7d4eb2c14d63
/my_dogs.py
df9572710fdd5389a08458f6babbea4034a0910c
[]
no_license
sicaramacuya/superhero-team-dueler
3a8ccc764ce75b49730e300dfe1a2ff3336ecd97
1afe77b79d5ba54ce47cac2b49d172a0576fc584
refs/heads/main
2023-02-05T20:53:07.708087
2020-12-04T21:52:09
2020-12-04T21:52:09
315,133,258
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
from dog import Dog my_dog = Dog('Rex', 'SuperDog') my_dog.bark() my_other_dog = Dog('Annie', 'SuperDog') print(my_other_dog.name) amigo = Dog('Amigo', 'SuperSuperDog') solo = Dog('Solo', 'SuperDuperDog') mando = Dog('Mando', 'SuperSuperDuperDog') amigo.sit() solo.roll() mando.bark()
[ "eric.morales-rodriguez@students.makeschool.com" ]
eric.morales-rodriguez@students.makeschool.com
edd73bda636781493ea4aceee5f06ca00ecb80be
61602ef53c4a4a16df06e09e91763a155807c2dc
/tests/test_scxml.py
7bb8d78843e2c1ae821268280b8956dc0d06518d
[ "MIT" ]
permissive
matEhickey/xstate-python
17265332e20caf039931900d7984860438f4e318
09f97897004d1e4f06e666fee3cdb0d55c9d91ce
refs/heads/master
2022-12-31T17:25:23.097920
2020-08-17T13:07:35
2020-08-17T13:07:35
288,171,262
0
0
MIT
2022-09-06T13:29:46
2020-08-17T12:13:36
Python
UTF-8
Python
false
false
1,044
py
import xml.etree.ElementTree as ET from typing import Optional, Dict, List import json import pytest from xstate.scxml import scxml_to_machine test_dir = "node_modules/@scion-scxml/test-framework/test" test_groups: Dict[str, List[str]] = {"actionSend": ["send1"]} test_files = [ (f"{test_dir}/{k}/{vv}.scxml", f"{...
[ "davidkpiano@gmail.com" ]
davidkpiano@gmail.com
17627ea9e12d3290f0494d045472dbace5088570
3794d14d99ef737217f568234058811595d9ec61
/analysis_nlp.py
27dccef1a6c62935aaef8e726679be9f26664693
[]
no_license
thepharmproject/set_of_scripts
ff109dda5556f1cf77fad0b87fe810439a8e776c
9c09a543924168424d44d3589fc3a34ea9c7c218
refs/heads/master
2023-01-28T04:16:05.990536
2020-12-11T08:09:31
2020-12-11T08:09:31
294,672,197
5
1
null
null
null
null
UTF-8
Python
false
false
80,402
py
''' This python file includes various nlp analysis methods ''' ''' PYTHON SETUP ''' # a list of the required packages is listed here based on anaconda setup commands. # conda install seaborn # conda install scikit-learn # conda install -c conda-forge parsedatetime # conda install -c conda-forge dateparser ...
[ "noreply@github.com" ]
thepharmproject.noreply@github.com
869b5fd5178646d0fc46c0a6bbeb3b3da0b6dd60
cadfe9016ef3e5c80864e43e362978a20e178635
/yonggari/bin/flask
e31de6272712f806fd3299bbb8098676b7c68e36
[]
no_license
shd02137/Capsin
3dcd874739b2401939d532b45984478e61ddb954
f9c8f5ab4262c74f92319b7086c2dd12f87d4928
refs/heads/master
2020-06-06T23:50:18.742120
2019-06-22T03:10:15
2019-06-22T03:10:15
192,878,647
0
0
null
null
null
null
UTF-8
Python
false
false
228
#!/home/ubuntu/yonggari/bin/python2 # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ubuntu@ip-172-31-32-191.eu-central-1.compute.internal" ]
ubuntu@ip-172-31-32-191.eu-central-1.compute.internal
f06554613a70283c660786e9291d533016e5d630
77c8c500d4077ad733fbfe2c6a85a1dd47bd3cb5
/chelseashin/SamsungProblems/swea/5648_원자소멸시뮬레이션.py
cc8bae929ee498ec7773632e1e400d457c44844c
[]
no_license
chelseashin/AlgorithmStudy2021
786f03c4c17bc057518d428481e7d710d24ec98e
1a4744a621ed25715fc9060c5224f0b1092d9c00
refs/heads/master
2023-06-22T22:27:47.289806
2021-07-28T02:54:22
2021-07-28T02:54:22
326,441,667
1
5
null
2021-06-29T01:27:40
2021-01-03T15:44:16
Python
UTF-8
Python
false
false
1,385
py
import sys sys.stdin = open("5648_input.txt") # 상하좌우 dr = (-1, 1, 0, 0) dc = (0, 0, -1, 1) def bfs(): global Q result = 0 while Q: info = dict() qlen = len(Q) for _ in range(qlen): r, c, d, k = Q.pop(0) nr = r + dr[d] * 0.5 nc = c + dc[d] * 0.5 ...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
27b84fae089803dd8cfa0f93fafc593876299e77
e404efdf471cb2644d8c913b10c3fd6596e3fa6a
/db_conservatory/spinner/spindocker.py
de4928f93b959d6d681307526bf2b49c5627e7be
[]
no_license
atbaker/db-conservatory
ba064d91d072aea5662983c1d59fe05d5b24757e
1d13af0818160252935e5f60150d4adb9dd6e87c
refs/heads/master
2016-09-10T10:58:59.658846
2014-03-17T21:09:08
2014-03-17T21:09:08
14,132,172
7
1
null
null
null
null
UTF-8
Python
false
false
1,452
py
from django.conf import settings from urlparse import urljoin import requests from requests.exceptions import RequestException import logging endpoint = settings.SPIN_DOCKER_ENDPOINT auth = (settings.SPIN_DOCKER_USERNAME, settings.SPIN_DOCKER_PASSWORD) logger = logging.getLogger(__name__) def make_request(method, ...
[ "andrew.tork.baker@gmail.com" ]
andrew.tork.baker@gmail.com
cbba9fb914aea86720743a88dcb2e7acd88a728a
5873116e2b2b11506f7820aa25a118ce5e29485e
/test/constants.py
d1bbe08fd0e02c8dc233add002188903e7927296
[ "MIT" ]
permissive
omegawulf417/macaddress
a7cf8722ebebafc16c4ce0e47ab447c0f1856810
748f8a8e86b864a9e53a1d7c2082b1aa6f4d0126
refs/heads/master
2023-07-08T04:35:29.680923
2021-08-01T01:56:34
2021-08-01T01:56:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,190
py
INVALID_OCTET = [ "f", # Too few digits "fff", # Too many digits "g" # Invalid digit ] OCTET = [ ("A0", "a0", 160, "10100000", "00000101"), ("a0", "a0", 160, "10100000", "00000101"), ("B1", "b1", 177, "10110001", "10001101"), ("b1", "b1", 177, "10110001", ...
[ "37241479+critical-path@users.noreply.github.com" ]
37241479+critical-path@users.noreply.github.com
546f4df214336ace4610fc7efce5fa322f8c0244
9a797f9a9c1c9fc8d94f7d87bbf49a021f7f499e
/paddlespeech/s2t/utils/profiler.py
3592157dc17eac5991bbaabdc1b757b7198827ef
[ "Apache-2.0" ]
permissive
anniyanvr/DeepSpeech-1
38fb0764c18ef4ee54a5b4bcc1430b69b1434318
17854a04d43c231eff66bfed9d6aa55e94a29e79
refs/heads/develop
2023-09-01T20:02:07.336091
2023-08-14T02:11:45
2023-08-14T02:11:45
218,518,285
0
0
Apache-2.0
2023-09-13T09:54:36
2019-10-30T12:04:59
Python
UTF-8
Python
false
false
4,661
py
# copyright (c) 2021 PaddlePaddle Authors. All Rights Reserve. # # 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 applic...
[ "zhtclz@foxmail.com" ]
zhtclz@foxmail.com
3ac1365a8800ed508c6f33e04084810988bc2508
b0948c315a879a6fd6ae5542ed4146e54ba4f0d2
/Some analytics/Analytics_diagram_all.py
d3a6a1b604bd360243b9207e06e065692e27586d
[]
no_license
Borys1307/Borys
8fe05ee757c54f19d4f5ef82cf1dbb92264dd5cf
5a29299717d695609d960473f8ba4d9576f6384d
refs/heads/master
2020-06-14T02:13:04.886772
2020-03-23T12:40:26
2020-03-23T12:40:26
194,863,210
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np import json name = [] number = [] with open('C:/Users/chernyshov/Python/data.json', 'r') as fp: resp = json.load(fp) for i in resp['result']['StableDedicated']['Manual']['WhereReported'].items(): name.append(i[0]) number.append(i[1]) dat...
[ "noreply@github.com" ]
Borys1307.noreply@github.com
818f9e6e2b44bf243ecb781eeedf33adb72cda9c
02ca588d6c8f5b4223071b80b27b98a0abd1f5ee
/woocommerce.py
ba1b1671e16ff162ec5a69e62cc67d1588f66d9c
[]
no_license
phamjmanh/v32
00528b8799a6381529b8778e470c68d6cc4a5f83
e550d8e6167413523197592385c8e4b9a146f22e
refs/heads/main
2023-02-11T11:05:50.175775
2021-01-04T07:01:35
2021-01-04T07:01:35
326,593,804
0
0
null
null
null
null
UTF-8
Python
false
false
279,495
py
import copy import csv import re from collections import defaultdict from urllib.parse import unquote import chardet from cartmigration.libs.utils import * from cartmigration.models.cart.wordpress import LeCartWordpress # tested with woocommerce335 class LeCartWoocommerce(LeCartWordpress): WARNING_VARIANT_LIMIT = ...
[ "noreply@github.com" ]
phamjmanh.noreply@github.com
c20964abbec15db7585fd3751381d8fa15369663
615e9f144757adb7bf5c7f339416207d61937f72
/Input/eingabe_gehalt.py
fa72b411532a187e3687427ce28b1246bdc8717e
[]
no_license
sewei9/Python-Fundamentals
8b6e608606bad598ac0ead6b913a11d380a7186c
b1dc4fcfcfc70ff6c43cdfbedfe78f006f05d8db
refs/heads/master
2020-06-05T03:21:40.618410
2020-02-07T10:16:39
2020-02-07T10:16:39
192,296,257
0
0
null
2020-02-07T10:16:40
2019-06-17T07:27:17
Python
UTF-8
Python
false
false
336
py
#Eingabe Bruttogehalt print("Bitte geben Sie ihr Bruttogehalt in Euro an:") xgh = float(input()) # Eingabe in Zahl umwandeln zahl = int(xgh) # Berechnung des Bruttogehalts steuern = xgh * 0.18 bg = xgh - xgh * 0.18 #Ausgabe Bruttogehalt print("Ihre Steuerabgaben belaufen sich auf:", steuern) print("Ihr Nettogehalt b...
[ "sebastian.weiss2@ikea.com" ]
sebastian.weiss2@ikea.com
0f265b3a2d2b97a028449761d2a6938118f65810
969cbaccd694c60b92eb14a3a3c51908bfb8217a
/kalkulator.py
eb221766207c846589c27df5ad2928b162cd434d
[]
no_license
Asia1506/kalkulator_if_2016
9ff2a1b82d2d1693ae69a379a96e6f1394fee801
891f38aac62a913be18bcf28a1ace40a5af49358
refs/heads/master
2021-01-01T04:55:52.968136
2016-05-10T18:15:21
2016-05-10T18:15:21
58,479,869
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
def get_info(): print("To jest program kalkulator. Autor: UEP") def dodawanie(a,b): return a+ b get_info() a = int(input()) b = int(input()) print(dodawanie(a,b))
[ "student@student.ue.poznan.pl" ]
student@student.ue.poznan.pl
66d3fe033d3d270d2c2da8ee4f9ac89370418fb2
0db05f7b843e8450bafd5ae23f8f70f9a9a8c151
/Src/StdLib/Lib/test/test_importhooks.py
1245cb9b7966882ffda9795583482614056031a7
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
IronLanguages/ironpython2
9c7f85bd8e6bca300e16f8c92f6384cecb979a6a
d00111890ce41b9791cb5bc55aedd071240252c4
refs/heads/master
2023-01-21T21:17:59.439654
2023-01-13T01:52:15
2023-01-13T01:52:15
91,620,472
1,171
288
Apache-2.0
2023-01-13T01:52:16
2017-05-17T21:11:51
Python
UTF-8
Python
false
false
8,432
py
import sys import imp import os import unittest from test import test_support test_src = """\ def get_name(): return __name__ def get_file(): return __file__ """ absimp = "import sub\n" relimp = "from . import sub\n" deeprelimp = "from .... import sub\n" futimp = "from __future__ import absolute_import\n" r...
[ "pawel.jasinski@gmail.com" ]
pawel.jasinski@gmail.com
04b1094f65b4a4fc7502ed6377fbc11d675ebac1
0d3bcb7078b5985f5ce2dd00583045d24dffebb0
/Exercise-1/RANSAC.py
8ae1470b38978b61d0c5aa87728d6a68c4e6ba6c
[]
no_license
umerjamil16/RoboND-Perception-Exercises
544687dafbd91971cf07fab42d1eeeae76f90422
c71e70cdd15c12804e78461417f6a1772c31a89a
refs/heads/master
2020-05-24T12:38:16.450120
2019-05-17T19:46:09
2019-05-17T19:46:09
187,272,489
0
0
null
null
null
null
UTF-8
Python
false
false
2,063
py
# Import PCL module import pcl # Load Point Cloud file cloud = pcl.load_XYZRGB('tabletop.pcd') # Voxel Grid filter # Create a VoxelGrid filter object for our input point cloud vox = cloud.make_voxel_grid_filter() # Choose a voxel (also known as leaf) size # Note: this (1) is a poor choice of leaf size # Experiment ...
[ "umerjamil16@gmail.com" ]
umerjamil16@gmail.com
4d0c4be14b6b09ec3251c2838bcf588741ca742d
803cf1530759df60c247e7e6594bba0dae5ac72e
/notes_graphomaniac/urls.py
ee88eafd13ecb24d5866a5725931b81dc5104e8b
[]
no_license
annalitvin/GraphomaniacNotes
f016873d4ec4acfb9397f4c84005ea92f1c04858
1d699c2b0111e7c1340e9a0a5c530abbf4da6ea0
refs/heads/master
2020-03-19T12:55:47.221439
2018-06-08T02:07:44
2018-06-08T02:07:44
136,550,467
1
0
null
null
null
null
UTF-8
Python
false
false
314
py
from django.urls import path, include from . import views urlpatterns = [ path('', views.index, name='index'), path('add_notes/', views.NoteFormView.as_view(), name='note_input'), path('notes/', views.NotesListView.as_view(), name='notes_list'), path('success/', views.success, name='success') ]
[ "litvin_any@ukr.net" ]
litvin_any@ukr.net
6ad19c82856fa6ac2a65b8bb061e10acfa66d584
91ccebfe1afcec9fe91e33d7951eedb73a115f37
/Sina_spider/Sina_spider/pipelines.py
a30ffdff77f6aed04bb7843c4e9146df6d1629d2
[]
no_license
weinuonuo/python
30a96c692b4e3a4cbaf1603ee3dc3fc7f513498e
77aaa584277a33fe347d7d2ea495352d26aec6f7
refs/heads/master
2021-01-23T05:30:01.673276
2018-01-22T14:46:36
2018-01-22T14:46:36
102,471,348
0
0
null
2017-09-05T11:09:19
2017-09-05T11:09:19
null
UTF-8
Python
false
false
3,006
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import pymongo from . import items import logging class MongoDBPipleline(object): def __init__(self): clinet...
[ "noreply@github.com" ]
weinuonuo.noreply@github.com
e74279983379618436bf5dc736d18bcc94012bc1
31eb73d1c84c29a462b45c706f440dcdd52eea64
/tensor_practicing/tensor_reshaping.py
d3ad1053e396304725b9dc1085e959b66bd44183
[]
no_license
harisyammnv/streamlit-ml-apps
0e2ed85f12ccdc8315f55946a4a1c20586ee372e
42282f665def34fa34f65475a645c7f7f89dd88b
refs/heads/master
2023-02-08T07:04:50.548867
2020-12-20T13:13:07
2020-12-20T13:13:07
303,171,746
0
0
null
2020-12-20T13:13:08
2020-10-11T17:09:09
Python
UTF-8
Python
false
false
602
py
import torch x = torch.arange(9) x_re = x.view(3, 3) # for contiguous tensors x_re = x.reshape(3, 3) # use this to be safe print(x_re) y = x_re.t() print(y) x1 = torch.rand((2, 5)) x2 = torch.rand((2, 5)) print(torch.cat((x1, x2), dim=0).shape) print(torch.cat((x1, x2), dim=1).shape) z = x_re.view(-1) # flatten p...
[ "harisyam.bphc@gmail.com" ]
harisyam.bphc@gmail.com
b931c19a220aa8fe84a292b316cf0cb51fbce4ee
18f1bd950c5adc6de1cc59637e685c26a03f9adf
/is_bst.py
8515f31758f61fb54b6f6a5d908a89c28514c316
[]
no_license
alaouiib/DS_and_Algorithms_Training
a248d429c7ff02b6bad268e7132b31e67656441c
479434b1e1ae8fa62b47f718087b9fc71d78550a
refs/heads/main
2023-03-30T19:40:39.339035
2021-03-31T20:05:37
2021-03-31T20:05:37
324,452,373
1
0
null
null
null
null
UTF-8
Python
false
false
3,218
py
import unittest # complexity O(n) Time and Space def is_binary_search_tree(root): # Determine if the tree is a valid binary search tree # idea (inspired by interviewcake): ## We do a depth-first walk through the tree, ## testing each node for validity as we go. ## If a node appears in t...
[ "noreply@github.com" ]
alaouiib.noreply@github.com
8d3d7abfac4b4248bf542c9cc6233605c8a2b7c3
282f240be6e7236f5388caa277b189dbe52d7359
/create_root_csv_pp_WH.py
13e1eef8bc8fd9cb0df0a8a98f63ac1ed0675a57
[]
no_license
FFFreitas/Root-Numpy-Pandas
bec13c8126080ac83bbbdf543d2ffe3e469d60d0
47d3885a95d1bced8ccea2b22f14ab0c4c1c5849
refs/heads/master
2020-03-27T06:56:56.412727
2018-08-26T04:53:08
2018-08-26T04:53:08
146,149,797
0
0
null
null
null
null
UTF-8
Python
false
false
5,654
py
#!/usr/bin/python import sys import ROOT import numpy as np from ROOT import TLorentzVector import csv import pandas as pd from ROOT import TFile, TTree from rootpy.io import root_open from rootpy.tree import Tree, TreeChain from rootpy.plotting import Hist from rootpy.plotting import Hist2D from rootpy.extern.six.mov...
[ "noreply@github.com" ]
FFFreitas.noreply@github.com
7e4ade14fee3082c03412550a04d502ef0ffacdb
77da6217bf83d41b2fe479d6e414a1df4f997b3c
/transient/api.py
a306dffbf74d4b20f133083e80405b2bbb991231
[ "MIT" ]
permissive
zgreat/transient
e4deb14951dc05692bc1ccb624c66cf394bc9664
1cfc1fe65079ef3c75754eaa0cd97f7ebb55664a
refs/heads/master
2021-05-30T10:49:40.529829
2015-12-20T03:46:39
2015-12-20T03:46:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,046
py
from os import environ from flask import Flask, jsonify, request, send_file from transient.lib.database import session app = Flask(__name__) def run(): host = environ.get("HOST", "127.0.0.1") port = int(environ.get("PORT", 3000)) debug = environ.get("DEBUG", False) app.run(host=host, port=port, debu...
[ "sam@sammilledge.com" ]
sam@sammilledge.com
4260ab2e8ab755b654a33d3503f9795531987c52
14b95fd582fe1f523348ea68db94dbc8e5396b8b
/main.py
3f2f0e3391b498dd6648bf65c69d964360f63fa8
[]
no_license
YaSlavar/numerical_method
cb7fb1bd8720daf0581e13bf752bcf4f1bb133a6
d98577af099430bed9163aae338947b00f446b5d
refs/heads/master
2020-07-10T08:12:21.440755
2019-08-24T21:34:23
2019-08-24T21:34:23
204,214,889
1
0
null
null
null
null
UTF-8
Python
false
false
12,197
py
from math import * class Integral: def __init__(self, a, b, eps, step, func): """ Вычисление определенных интегралов численными методами :param a: левый предел интегрирования (float) :param b: правый предел интегрирования (float) :param eps: погрешность вычисления (float) ...
[ "50412722+YaSlavar@users.noreply.github.com" ]
50412722+YaSlavar@users.noreply.github.com
1407bc24e92e4f55c6f3995b2048cd89cb29cd65
82304008e8359460c7e3dd634addc6657c32e529
/[HW 3] python-challenge/PyBank/main.py
6f1e05b85257cd349a84734104a96907f9bb7947
[]
no_license
jamesnguyen0/datasciwork
013819ca6ac83fe9b8e3ce7783c58a175fbecb4a
a520910e4b5124e73a5c4ed4cc88e0f6b6ee1cd7
refs/heads/master
2022-11-30T01:13:39.609617
2020-08-05T01:57:25
2020-08-05T01:57:25
271,149,751
0
0
null
null
null
null
UTF-8
Python
false
false
2,282
py
#libraries import os import csv #variables months = 0 netChange = 0 avgChange = 0 maxIncrease = ["", 0] maxDecrease = ["", 0] #change calculations current = 0 previous = 0 changeInChange = 0 #read files pybank_csv = os.path.join("Resources","budget_data.csv") with open(pybank_csv) as csvfile: csvreader = csv.rea...
[ "jamesnguyen0@gmail.com" ]
jamesnguyen0@gmail.com
7c9a95200bd62582f4e0c5a22ee69a05a45879cd
66dace688df266de641c6e1bc7e48fdf0e403382
/mysite/settings.py
72c3e2775f6332d1152aed8f3d071ff2fb8e5d97
[]
no_license
dendenthen/mysite
27291d6766c197a00fe70cb871e61267a78a46a3
213f26e99839247d7e3d93c22f77c8e555e063d0
refs/heads/master
2021-04-28T16:31:42.727331
2018-02-22T01:40:29
2018-02-22T01:40:29
122,016,409
0
0
null
null
null
null
UTF-8
Python
false
false
3,118
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # ...
[ "dennis.alan.herbert@gmail.com" ]
dennis.alan.herbert@gmail.com
bb3c3a2fa1d72003f265ef1a73b9a36e5ea55b08
6b5e514aa031e19ad1574b3415ee091f71549ed7
/lale/lib/autogen/one_hot_encoder.py
b4c0c2df965bbd39464bb7bd7e9c6df55be5d876
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
noushi/lale
e3db3e3b7e4a4e4b5eda13303c50245612eec370
5ba5612737beee5fb2a387eb5f6f9bdec7ffb878
refs/heads/master
2020-12-04T06:48:13.365418
2019-12-29T11:42:42
2019-12-29T11:42:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,463
py
from sklearn.preprocessing._encoders import OneHotEncoder as SKLModel import lale.helpers import lale.operators from numpy import nan, inf class OneHotEncoderImpl(): def __init__(self, categories=None, sparse=True, dtype=None, handle_unknown='error', n_values=None, categorical_features=None): self._hyper...
[ "shinnar@us.ibm.com" ]
shinnar@us.ibm.com
dbc12ce824ed5e10927e596c234bf9f282022d55
b14176e6931c9cb3e9606147e82cf888efa1e09e
/Strings/Verkefni2-move-first3-to-last.py
cdc9113152ea31d91dab825c1f17628c402149af
[]
no_license
antonbui/Forritun2018
735d7659d99804352564f9a2c6fd015e3a7b1b94
792fc22dfaef9501644964d1cb14f5afc722b6cb
refs/heads/master
2020-03-28T23:53:43.476691
2018-09-21T17:43:26
2018-09-21T17:43:26
149,314,255
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
s = input("Input a string: ") # your code here firstthree = s[0:3] news = s.replace(firstthree, "") print(news + firstthree)
[ "anton17@ru.is" ]
anton17@ru.is
1cd578338746f8fe8cfdfa8f7ea6d3b386d104cb
d8b131edbfb69c09e4a208f70a9e47e30db8fcde
/two_sum.py
0c905272cc35c02901ae7a9eda929eb57440c778
[]
no_license
prade02/leetcode
06bf499ca02704d288e47870cf07378678187d5c
c20c44e76e08d7b257af780caf9147544a821152
refs/heads/main
2023-04-14T00:51:18.517231
2021-04-22T06:23:18
2021-04-22T06:23:18
331,373,605
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
""" Approach 1: a + b = c, a - c = b, c is target, a and b is from the list, so for every a in the list search if b exists, if so a and b forms c(target) iterate through the list, get a, in the inner iteration, start from i+1 - since sum of elements can not be same. so search for elements after i. """ def twoSum(nums...
[ "prade.ycsm@gmail.com" ]
prade.ycsm@gmail.com
c8fc332424dfa6d376d0b6e7e732f5aa75d4f1d7
016bf8064e3c5e39c1130ad05ad0f3df6fb8c41c
/Seção 13 - Leitura e Escrita em Arquivos/18/main.py
812a06e542a4b8c4e75aab7abbf75d961e4f9fcd
[]
no_license
JGilba/Python_Exercices
0f0f82ec00150e492010086d54b78f92bf591993
940b464f5cdc67455cecefbc9b222c362f6e97f2
refs/heads/master
2022-03-26T09:17:06.201848
2020-01-14T16:33:44
2020-01-14T16:33:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
with open('compras.txt') as arq: preco = 0 for produto in arq.readlines(): preco += float(produto[produto.find(';')+1::]) print(f'O preço total a se pagar é R$ {preco:.2f}')
[ "pierrevieiraggg@gmail.com" ]
pierrevieiraggg@gmail.com
87f170cd5ad6e328d576ba48bab8098cc0888823
2f829f30be536594b70b602a9aa25feea20bd13d
/card.py
e11ae6cbf93513e1be9d4769d45b89c21e8f2eb9
[]
no_license
Adi0687/App10_PythonOOP
6fd9df205d8304734c42741f535f28805cee7aa3
ca42f56d504dd80eb7516c67f08ab4c1953a8de0
refs/heads/master
2023-08-27T00:45:26.905682
2021-10-29T16:08:43
2021-10-29T16:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
import sqlite3 from seat import Seat class Card: database = "banking.db" def __init__(self, type, number, cvc, holder, price): self.price = price self.type = type self.number = number self.cvc = cvc self.holder = holder def validate(self): connection = sql...
[ "ferozeaadil@gmail.com" ]
ferozeaadil@gmail.com
6e6b9abbb3a7ac78b74896eae31114c069d3684a
9cae0e2129f0f3bef362ee187fa713a475f9ce87
/Heuristica + CPLEX/Euristica Problema 1/data.py
7284b190b008a170d722070ea2855b535dc2baa6
[]
no_license
dvarasm/Optimizacion-Rutas
b281c3e7236f177b77cd2753f2c930e13b916fa4
7fbc77e8f0a8ad43fc995efccfefab35cc16e2d4
refs/heads/master
2020-03-28T07:14:39.100115
2018-12-11T14:05:31
2018-12-11T14:05:31
147,889,509
0
0
null
null
null
null
UTF-8
Python
false
false
5,504
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals costos=[#matriz que contiene las distancias entre ciudades 33x33 [0,141,305,266,719,598,1074,1240,1842,1577,1995,2004,2022,2090,2190,2150,2397,2339,2437,2487,2502,2532,2564,2712,2601,2882,2935,3233,2962,3698,4268,5056,5052], [141,0,441,397,850,740,1205,137...
[ "davarasm@gmail.com" ]
davarasm@gmail.com
98cd25ebf843669b703254e3bdacaa4ddecbcf70
09e45825b9b4c81ad0894d40fb122b081aa5f666
/vcloud-automation/vcore/getToken.py
116e4081e67985ac14894128eac2be474a58dffc
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
krisdigitx/python-vcloud-automation
dc3adbd244238aa997f761cf090f3e7915bfd5b4
7fa290074f9d1d485b6f161ff29e4ab5d52a4f36
refs/heads/master
2020-12-25T19:04:08.558576
2014-10-08T14:51:40
2014-10-08T14:51:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
972
py
__author__ = 'krishnaa' import urllib2 import base64 import sys def getToken(url,login,passwd,method): handler = urllib2.HTTPSHandler() opener = urllib2.build_opener(handler) url = url + '/api/sessions' request = urllib2.Request(url) base64string = base64.encodestring('%s:%s' % (login, passwd))[:...
[ "k.shekhar@kainos.com" ]
k.shekhar@kainos.com
bfb4fe299c2658b51e281f49573da38076d393a8
8f9e9e3fbc20bb36adeba7ab032bb161bd9c09a9
/adaline/AdaLineGD.py
b5ee13de1ae115f1c0e44990240dcf86a7784e68
[]
no_license
Ghostfyx/machineLearning
b8a12bc802b157b821005416590f39f36ae44f9d
ed25488bc17598e795335e1527f8c59185be47f9
refs/heads/master
2020-03-28T11:43:05.809826
2018-09-18T10:18:43
2018-09-18T10:18:43
148,241,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' @Time : 2018/8/23 上午8:41 @Author : fanyuexiang @Site : @File : AdaLineGD.py @Software: PyCharm @version: 1.0 @describe: 自适应线性神经元(Adaline) ''' import numpy as np class AdaLineGD(object): def __init__(self, eta = 0.01, n_iter = 50): self.eta = eta...
[ "1078101544@qq.com" ]
1078101544@qq.com
8a4504933d4fd77aee0bc709189049a58a5be24c
2e6e82c292b59d7d325d63a41b94622d5c3f055e
/Level1rev05/xyy_lib.py
9bb4e2e5783df2acf5ecc5130f7c639ecd8b9f4a
[]
no_license
henls/Level1
2f0f5a71c1e6b329bec9033a02dd751e90ba93bb
470386859ba4a2dfe10bb20cce99f769068f30ff
refs/heads/master
2022-09-25T17:02:47.283519
2020-06-07T07:27:56
2020-06-07T07:27:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
30,960
py
# -*- coding: utf-8 -*- """ 作者:向永源 说明: cupy 函数输入变量是device变量,输出也是device变量!!! 切记!DEVICE中为防止FFT失败,输入前用 astype(np.xxxx) 进行类型转换!!! 更新: 2019-10-15 2019-11-22 2019-11-26 2019-12-26 """ import math import numpy as np import astropy.io.fits as fits import os import numpy.fft as fft ...
[ "879951213@qq.com" ]
879951213@qq.com
7121f658874a3d432cf6c2c43832f69335644a6f
8e1012375203b3107175418661873595f2fd26f6
/pymatgen/io/vasp/InterfaceExamples/simpler_interface.py
27673ac4ba647b29455108b9a5da870ac475b315
[ "MIT" ]
permissive
dcossey014/pymatgen
696c250b60ddb3b46e6b2263f38cde805ea3731c
bed24cf3c36e5a7639cad4f6edd435adf72c78ca
refs/heads/master
2021-01-25T02:29:30.911046
2016-02-11T20:54:04
2016-02-11T20:54:04
50,128,358
1
0
null
2016-01-21T18:37:06
2016-01-21T18:37:06
null
UTF-8
Python
false
false
833
py
#!/usr/bin/env python import os import sys import string import json import inspect from pymatgen import Structure from fireworks import Firework, Workflow, LaunchPad from pymatgen.io.vasp.interfaces import VaspInputInterface, VaspFirework, VaspWorkflow # get structure from Crystallographic Information File (CIF) s...
[ "dcossey014@gmail.com" ]
dcossey014@gmail.com
c83857f6f9f57632006b19b8b6a09d3526c120cf
0d2dcbd83808667cc6b9f320c9ea1f0f07768c0c
/app/idealers/orders/tests/test_services.py
1e06d1546f7395dc064cc92338bb70a3c9c48ef1
[ "MIT" ]
permissive
leydson-vieira/dealers
bae186341126c7a99eff10ee9568e47de125c5a2
14f2f307f0f4497eec92f65d01ef111b42d528b9
refs/heads/master
2023-07-05T18:25:38.978565
2021-09-01T20:51:44
2021-09-01T20:51:44
400,350,049
0
0
null
null
null
null
UTF-8
Python
false
false
2,285
py
from datetime import datetime from decimal import Decimal import pytest from ..exceptions import DealerDoesNotExist from ..models import Order from ..services import OrderService @pytest.mark.django_db class TestOrderService: @pytest.fixture def order_data(self): return { 'code': 'order_...
[ "leydson.vieira@gmail.com" ]
leydson.vieira@gmail.com
cce07681016b768fecb0d4fc67ad9995df1da902
ab97d04983b6f150b9265cecc06b1d1a8c0cc1bd
/django/django_fundamentals/time_display/time_display/urls.py
ca2280ed36dacae1f2fb794c03f62f6c4bc3fead
[]
no_license
seahawkz/python_stack
aaadb19f7f00edb7b8f0a5846024266b28ccea7b
27d08500dc737131b63545ca36f102b447183d3a
refs/heads/main
2023-05-31T20:25:10.338799
2021-06-16T01:25:11
2021-06-16T01:25:11
353,156,368
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
"""time_display URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-...
[ "derekanderson8@msn.com" ]
derekanderson8@msn.com
4b8ea03ed98b010b286017125229cfb4a201fdd6
3dbb9810eacf60ef11c6deda6085593852ee6349
/data_prep/support_scripts/stage_2/stage_2_swarm_gen.py
b8fbb548ff6bde8265c19fff649a7de1aae59268
[]
no_license
Ngoyal95/abcd_cca_replication
7dcf5f8da8a4e5c1fff9ace27f6f68c48639e649
54af5ff4ddb0738fb7ce0fc13e6865614f7370c9
refs/heads/master
2023-04-13T18:19:38.234640
2021-04-30T17:30:05
2021-04-30T17:30:05
240,342,289
0
0
null
2020-03-31T11:11:07
2020-02-13T19:21:11
Jupyter Notebook
UTF-8
Python
false
false
917
py
#!/usr/bin/python3 # stage_2_swarm_gen.py # Created: 6/16/20 # Last edited: # Written by Nikhil Goyal, National Institute of Mental Health, 2019-2020 # Generate commands of the form: # $SUPPORT_SCRIPTS/stage_2/calc_avg_motion.sh $sub $ABCD_CCA_REPLICATION import os import sys fp_sub_list = sys.argv[1] ...
[ "nikhil.r.goyal@gmail.com" ]
nikhil.r.goyal@gmail.com
b2937b58d984cfd9a9d6b383e3b8b36650e8289f
a4b185d6e5c7c6d33e91d201c4994ff1cf7a9871
/tushare/stock/ref_vars.py
0736204218a71eabeeaa4ae079e7b586b77be101
[ "BSD-3-Clause" ]
permissive
yzzhang-pku/TuShare
a0cb1ebf8907aeb772d1c5e24e4515a2ebcefeec
13bfba0171349aa408b96dd4ae44cf932226fea6
refs/heads/master
2020-03-17T21:18:44.512873
2018-05-18T14:26:52
2018-05-18T14:26:52
133,953,301
0
0
BSD-3-Clause
2018-05-18T12:46:12
2018-05-18T12:46:11
null
UTF-8
Python
false
false
3,415
py
# -*- coding:utf-8 -*- DP_URL = '%sapp.finance.%s/data/stock/%s?day=&page=%s' DP_163_URL = '%squotes.%s/data/caibao/%s?reportdate=%s&sort=declaredate&order=desc&page=%s' FUND_HOLDS_URL = '%squotes.%s/hs/marketdata/service/%s?host=/hs/marketdata/service/%s&page=%s&query=start:%s;end:%s&order=desc&count=60&type=que...
[ "jimmysoa@sina.cn" ]
jimmysoa@sina.cn
bc618a076ffea315a02334a8d7c62eb10b73ccba
ad168daa14c475a0054779bb2f20e7a0d8aad67c
/old/SubCoordSys.py
110e91f1ab638210e052ee00c95db3175d9bfead
[]
no_license
Magnus93/BenzierPy
46a7e94031f3041a4d189172d3feca854431b846
56974241b471729f849a10b77e928fb80380956f
refs/heads/master
2021-01-20T05:15:39.084599
2018-06-11T13:59:41
2018-06-11T13:59:41
101,424,502
0
0
null
2018-06-11T13:59:42
2017-08-25T16:57:35
Python
UTF-8
Python
false
false
2,054
py
import anchor02 import pygame import mouse import trans2D screen = pygame.display.set_mode((800,600)) mytimer = pygame.time.Clock() class CoordSys: def __init__(self, mv0, mv1): self.p0 = mv0 self.p1 = mv1 self.scale = 1 self.sin = 1 self.cos = 1 self.calcValues() def calcValues(self): self.scal...
[ "magnus.ja.gustafsson@gmail.com" ]
magnus.ja.gustafsson@gmail.com
cf8f06cbc0467e7a348a264ef447ba41dff0fe89
372647ad5f8a40754116c2b79914708e46960aef
/ivi/dicon/__init__.py
f5112f804a138755dd00d2293a646501207f3aa4
[ "MIT" ]
permissive
edupo/python-ivi
52392decb01bc89c6e1b42cbcbd1295a131e91f5
8105d8064503725dde781f0378d75db58defaecb
refs/heads/master
2020-03-31T21:06:02.059885
2018-10-04T12:34:38
2018-10-04T12:34:38
152,567,486
0
0
MIT
2018-10-11T09:40:35
2018-10-11T09:40:32
Python
UTF-8
Python
false
false
1,198
py
""" Python Interchangeable Virtual Instrument Library Copyright (c) 2014-2016 Alex Forencich 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...
[ "alex@alexforencich.com" ]
alex@alexforencich.com
ede899f4c9e41b7a923550f59e07dc307499712f
4ccf9337701752fc5d11c5d4f2dc2bd75470df08
/genGcode/genGcode_simplify.py
d616e484659cfb4e4ed4639f1ddd1e1af1814660
[]
no_license
MartianSheep/Elevate_Gcode
433ca82c3dc9986ba85a9023810f5b2099f9ef10
2cea1ed402b71aef52f69c933f88815eb47347a7
refs/heads/master
2022-11-26T07:22:19.448073
2020-08-04T19:55:01
2020-08-04T19:55:01
278,013,874
0
1
null
null
null
null
UTF-8
Python
false
false
3,718
py
import matplotlib.pyplot as plt import matplotlib.image as mpimg from PIL import Image from PIL import ImageFilter import numpy as np import potrace class Piture(): def __init__(self,filepath): self.img=mpimg.imread(filepath) self.h,self.w,self.c=self.img.shape self.pre=self.img ...
[ "mkmarsscience@gmail.com" ]
mkmarsscience@gmail.com
5176aef0089034410f44ffccfc4da3c492c73b89
9b8502767061c6ff1fafd62e22846a4e45780013
/locallibrary/catalog/admin.py
815e9d6073efd31df8a17417134e74c705b7ea2a
[]
no_license
zacharywendholt/personalWebsite
c5fe557f584322ca6940c96f0b95614075eb2727
d89ea60be4831e3f35e1d7efb2ae1fe7818bbeb5
refs/heads/master
2022-12-13T04:00:55.155513
2020-08-24T23:38:49
2020-08-24T23:38:49
276,281,741
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
from django.contrib import admin from .models import Author, Genre, Book, BookInstance # Register your models here. #admin.site.register(Book) class AuthorAdmin(admin.ModelAdmin): list_display = ('last_name', 'first_name', 'date_of_birth', 'date_of_death') fields = ['first_name', 'last_name', ('date_of_birth...
[ "zacharywendholt@gmail.com" ]
zacharywendholt@gmail.com
afd85d4c73844c5cc1c8b3f534416460df5955a4
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/GUPnPDLNA/ContainerInformationClass.py
25afb71d5c36d22089d5bb91466a302acde8d762
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
5,687
py
# encoding: utf-8 # module gi.repository.GUPnPDLNA # from /usr/lib64/girepository-1.0/GUPnPDLNA-2.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing attributes...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
daff8e5c7182e4ea01be7a0621eb5665a0140644
ec37e0ad19acc36372171a17dccb4a95da38ac24
/TemaSI1/km_server/km.py
177c0da68c3bf39a543da58a68908a9f3b4ca2f4
[]
no_license
tuguimadalinaa/Homework1-SI
586ad876aae37c8acabf0af6c6835d7c6f34c1f7
58e631f7899902d4cf9f03a225161d23cae0898a
refs/heads/main
2023-01-04T04:31:45.635851
2020-11-03T07:53:21
2020-11-03T07:53:21
306,423,718
0
0
null
null
null
null
UTF-8
Python
false
false
2,419
py
import socket import time import random import Crypto from Crypto.Cipher import AES from Crypto.Util.Padding import pad data_for_server = {'TCP_IP': '127.0.0.1', 'TCP_PORT': 3000, "BUFFER_SIZE": 1024} AES_data = {'K3': b'1234567891234568', 'iv': b'\xad\xbe\xf6\xc2\xb3p\x10I\xc6\x96 M\xb9\xa1\x96b'} mode = None KM = d...
[ "tuguimadalinaa@gmail.com" ]
tuguimadalinaa@gmail.com
ada482c584c8db533f2adf5cd8b8c477eff5ea8d
0109433801b0116f3e575324fee9b27d4f6e1506
/registrasi/migrations/0001_initial.py
1f7119cc0a2b92fe606fc167d5f85b400717b15b
[]
no_license
yaumil94/sahara-project
116255a544b044364ba3d86b8dcbd0a8656f2551
1c345d5e5f9b2ba39154c54abda243fa0bee3d79
refs/heads/master
2020-07-03T14:54:05.850495
2015-10-21T13:43:06
2015-10-21T13:43:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models from django.conf import settings import django.contrib.auth.models class Migration(migrations.Migration): dependencies = [ ('auth', '0006_require_contenttypes_0002'), ] operations = [ ...
[ "yanwarsolahudinn@gmail.com" ]
yanwarsolahudinn@gmail.com
b654b39431cf208a9c81a1924cb0e9b756bf502f
ea0296b94a4b319f0ea1f99045a03cf5230ceb20
/blog/views.py
dc2aeaed69e0f812db471d943a11021242fe7df7
[]
no_license
nejilabs/CS-PythonDjangoTutorial-BlogSocialMediaWebApp-20190218
d7a682ca63da7c4889e514e92b59a2f96a95fc90
5e2172fbc5a86a24efe60140919f4a75ff83a6ec
refs/heads/master
2023-05-08T23:28:50.650198
2021-05-04T07:13:46
2021-05-04T07:13:46
278,018,076
0
1
null
null
null
null
UTF-8
Python
false
false
1,877
py
from django.shortcuts import render, get_object_or_404 from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.contrib.auth.models import User from django.views.generic import ( CreateView, DetailView, ListView, UpdateView, DeleteView ) from .models import Post ...
[ "nelsonalbajr@yahoo.com" ]
nelsonalbajr@yahoo.com
f455c273b1a7d058a7b6728157bc044a61a2736a
31b787404e5a9a304d312a2f7b52b64062a5391c
/Twitter -SA - GUI/scrapper.py
a9d58503bcab10cc209f674bfab45bae1735b98c
[ "MIT" ]
permissive
jeev20/Twitter-Sentiment-Analyzer-GUI
7039504640425f809b91237a4a3b7abbcd34e803
9d09c53ccde3c38fd94a3fe0834087532dbff127
refs/heads/master
2021-01-12T02:08:40.287749
2017-01-09T23:17:50
2017-01-09T23:17:50
78,477,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
# This program scraps twitter pages for tweets. Is written by jeev20. https://github.com/jeev20 from bs4 import BeautifulSoup from urllib import * import urllib from textblob import TextBlob import sys import time import webbrowser # open a public URL, in this case, the webbrowser url1 = "https://twitter.com/twitter...
[ "noreply@github.com" ]
jeev20.noreply@github.com
efb1bf096c32547eaf7c902ddf61205cf9be740d
6c10c6e229014dc3bf14efaec2ea8bf07c406752
/AILearning/MordernCNN/ConvolutionNetWork.py
83f2f779f1bcb1de50e984c7b9e062ded4e76acc
[]
no_license
GuyRobot/AIPythonExamples
e59c6edb355d9cadee2b3f19a087b1b656956262
4acdd0d4966e31a616910554bc075b641aa152df
refs/heads/master
2021-05-21T13:05:49.615593
2021-02-28T06:41:04
2021-02-28T06:41:04
252,662,467
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
from mxnet import gluon, nd, autograd from mxnet.gluon import nn def corr2D(X, K): h, w = K.shape Y = nd.zeros(shape=(X.shape[0] - h + 1, X.shape[1] - w + 1)) for i in range(Y.shape[0]): for j in range(Y.shape[1]): Y[i, j] = (X[i: i + h, j: j + w] * K).sum() return Y class Conv2D...
[ "bluexker@gmail.com" ]
bluexker@gmail.com
be4ba18a225607317de5d0b373b6c5e85b83b162
2599d93919a1cfd9a030e862d10e40e52d287655
/project_management_portal/views/create_project/tests/snapshots/snap_test_case_01.py
c2c7bf3322f211dea9c961f7b81ee250cf430987
[]
no_license
chandramoulidupam/my_projects
a6730c44ed2ba7a055d13415067b28ca74f0134b
111d7753e2cf867d51681ed41a7ea917deb9aecd
refs/heads/master
2023-09-02T03:38:59.753682
2020-06-01T06:20:48
2020-06-01T06:20:48
267,607,764
0
0
null
2021-11-15T17:51:30
2020-05-28T14:11:11
Python
UTF-8
Python
false
false
836
py
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['TestCase01CreateProjectAPITestCase::test_case status'] = 400 snapshots['TestCase01CreateProjectAPITestCase::test_case body'] = { 'workfl...
[ "chandramoulidupam@gmail.com" ]
chandramoulidupam@gmail.com
9965a2e865fabcba1dbc84d7eaf8219df5ed28ea
09fd2a42a931e3e094af9fc5ec6eb57dc9d42660
/addismap/manage.py
eca96ee0af49c88befcfe25f7689118434a9746b
[]
no_license
yohannes15/AddisMap
78df24404b1934f5327297efe13f220485f76de5
3bcafccd985e92cd1d894b9535c747bf4c42fd4c
refs/heads/master
2022-11-24T18:01:53.027070
2020-08-03T22:46:10
2020-08-03T22:46:10
271,413,519
4
0
null
null
null
null
UTF-8
Python
false
false
628
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', 'addismap.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Impor...
[ "y.berhane56@gmail.com" ]
y.berhane56@gmail.com
5d185b070693868eb2bcc94da19a530272dec5d9
d60ee49abaee6c74c5b777f8f112a7f75f71f029
/genome/cnvnator/stats/plot_both.py
b76affd22a535a2c3ce4b07527c8af45c714b6a6
[]
no_license
ak352/melanomics
41530f623b4bfdbd5c7b952debcb47622d1a8e88
fc5e6fdb1499616fb25a8dc05259add8a65aeca0
refs/heads/master
2020-12-24T16:14:42.271416
2015-08-06T12:48:52
2015-08-06T12:48:52
18,439,919
0
0
null
null
null
null
UTF-8
Python
false
false
3,716
py
from pylab import * from matplotlib.backends.backend_pdf import PdfPages samples = [2,4,5,6,7,8] cnv_files = ["/work/projects/melanomics/analysis/genome/cnvnator/binSize100/patient_%d.cnv.list.NS.PM.tested" % k for k in samples] def get_cn(filename): bins_n = {} coverage_n = {} coverage_t = {} k = 0 ...
[ "ak@uni.fake" ]
ak@uni.fake
9a2c49f544049615b1e0f7cf64ee36d80f8a921a
7e16835a0a47c36bc12e9b0ca8990ab57304914e
/flask_security_bundle/views/security_controller.py
a250c08932fd067cb114cee5abfb2b45759c4b52
[ "MIT" ]
permissive
briancappello/flask-security-bundle
b3436152277d4e7886933cf026d8c2e843998c1c
d9b97a4408c2001a0d29f5c55a4540a4917abd24
refs/heads/master
2021-04-15T11:37:20.085204
2018-08-24T22:12:01
2018-08-24T22:12:01
126,606,284
0
0
null
null
null
null
UTF-8
Python
false
false
11,647
py
from flask import current_app as app, request from flask_unchained import Controller, route, lazy_gettext as _ from flask_unchained import injectable from flask_unchained.bundles.sqlalchemy import SessionManager from http import HTTPStatus from werkzeug.datastructures import MultiDict from ..decorators import anonymou...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
e7ea88b1c6c9c2d142b0f97f9ca2d143d8f0be8a
f90d6eb8c815b26be1c839ed5bbe0c65f7079e65
/69.py
43e28bbb26cf587ba0d74e36a5923745b207c84c
[]
no_license
zhangxu0307/leetcode_solutions
0c2b76e838f60e48f392605166bd2b6725686740
c5779489b3e71a12008023d8776ca0f1c10321e0
refs/heads/master
2021-01-24T16:52:58.555076
2018-02-28T02:40:32
2018-02-28T02:40:32
123,217,403
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
class Solution(object): def mySqrt(self, x): """ :type x: int :rtype: int """ start = 1 end = x mid = 0 while start <= end: mid = (end + start)/2 if x/mid == mid: return mid elif x/mid > mid: ...
[ "zhangxu0307@163.com" ]
zhangxu0307@163.com
d683a95ff6e6491370e8718e4a90b876a96cd363
b241363657adce376209818d6b0c158c23c73164
/crm/migrations/0002_airconditioning_environment_lamp.py
2166bd6c4a3626a5b8aa9f2ec938a2c9e3aef4d8
[]
no_license
hesllerhuller/django-sass
c93cf37bf49e5109668c79e4e4fa95c3870b4fe7
342d244541bd170fa8be74b71ae62f3b488a86b0
refs/heads/main
2023-02-27T22:41:53.809489
2021-02-01T19:13:19
2021-02-01T19:13:19
332,250,316
0
0
null
null
null
null
UTF-8
Python
false
false
1,865
py
# Generated by Django 3.1.5 on 2021-01-23 21:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('crm', '0001_initial'), ] operations = [ migrations.CreateModel( name='Environment', ...
[ "hesllerh@gmail.com" ]
hesllerh@gmail.com
9dc92a48621a56da91a79652ea3a06b42920b5bc
5130754859e274cd06f63260439e5203c2000a11
/core/jobs/transforms/validation/subtopic_validation_test.py
50e9eb7ac2fe6deac4b10c427f91ce9e4bb79367
[ "Apache-2.0" ]
permissive
oppia/oppia
8ebc9c7c7f2b336e9a79ce04533abe3956f48cbe
d16fdf23d790eafd63812bd7239532256e30a21d
refs/heads/develop
2023-09-04T07:50:13.661276
2023-09-03T09:21:32
2023-09-03T09:21:32
40,687,563
6,172
4,666
Apache-2.0
2023-09-14T18:25:11
2015-08-14T00:16:14
Python
UTF-8
Python
false
false
9,929
py
# coding: utf-8 # # Copyright 2021 The Oppia 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 requi...
[ "noreply@github.com" ]
oppia.noreply@github.com