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
993fbbd0d87b184d4a9cc519c40fa9f0f4b4749b
739e19aea52a747a818ccaa1e941f11328ca9783
/DBMS_Simulate/json_test.py
e2b168bfa883fe178c75e7d3128857d072b3e6d3
[]
no_license
MoCuishle28/python-practice
d12edb4866361f55354da53875475f05c209254c
cc557fcdd3fec2cb67efeb1f875b4d7d9d85b5b4
refs/heads/master
2020-03-28T03:52:36.060049
2019-01-19T11:53:15
2019-01-19T11:53:15
147,677,371
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
import json from werkzeug.security import generate_password_hash, check_password_hash user = { 'root':{ 'password':generate_password_hash('123'), 'permissions':'w-r-u' }, } # json_str = json.dumps(user) # print(json_str) with open('test.json', 'r') as f: data = json.load(f) print(data) for k,v in data.ite...
[ "20164706@s.hlju.edu.cn" ]
20164706@s.hlju.edu.cn
9dc2351568d50ed25f7911c779a43af5570c9354
d007e87ae0e76035ddcb25959e74303c44fb2e5e
/service/server_v3.py
eff92d5e52ff6027076d5dc2f8d403c28e479659
[]
no_license
nju-luke/Test
a52ac1390c241d42a950a5eea1175771259e87ba
a70754e7cc619ab6363a35c5940efd5f82f78e6e
refs/heads/master
2020-07-12T22:56:02.517965
2017-09-28T06:31:15
2017-09-28T06:31:15
73,898,474
0
0
null
null
null
null
UTF-8
Python
false
false
1,045
py
# coding:utf-8 import textwrap import tornado.ioloop import tornado.httpserver import tornado.web import GetBrand RequestHandler = tornado.web.RequestHandler # test1 = GetBrand.GetBrand() class MainHandler(RequestHandler): # def getBrand(self): # return GetBrand.GetBrand().inBrands getBrand = GetBr...
[ "nju.hyhb@gmail.com" ]
nju.hyhb@gmail.com
72c7d4ddf11b69872b6da5e79a8806b0914a3ab8
ba5e590578a9be8f8942eade9a8466872bf4c2bb
/hezkuntza/__init__.py
e52340b819ca7e93a283445d2f7c4dadc819eacd
[]
no_license
babarlhr/hezkuntza_education-12.0
e0c57285651659906fddf07701c60809f77fa9de
6b0a75638a667961f7d3fabb294307ddc9a82dd5
refs/heads/master
2022-04-06T08:01:25.099591
2019-12-13T16:19:39
2019-12-13T16:19:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
# Copyright 2019 Oihane Crucelaegui - AvanzOSC # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from . import models from . import wizard
[ "rapidgrps@princegroup-bd.com" ]
rapidgrps@princegroup-bd.com
2e2b84c7ab4ecc5e3e4b2d1618402b52b9907dbe
257b9fb0d63582e100061d606087d66b4c5547a7
/tests/Demo_Matplotlib_Animated_FuncAnimation.py
17cb7c7cb0a2dc58c412e0d90b0d238b578dfbd9
[ "MIT" ]
permissive
Venryx/RngKitPSG
b3c40e014d6acdb929bbdfe577f12fd37280f39b
a7488571ef76b8493d0263a43b6a29b2aabb3d30
refs/heads/master
2023-03-10T20:05:58.320806
2021-02-24T15:13:47
2021-02-24T15:13:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
import PySimpleGUI as sg import matplotlib.pyplot as plt from matplotlib import style import matplotlib.animation as animation from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg from random import randint import time import threading # Usage of MatPlotLib with matplotlib.animation for better performance ...
[ "tjm.plastica@gmail.com" ]
tjm.plastica@gmail.com
81cf9d1643a136c21e64d24c6ef75a20c68454d6
b87e9a1e5e3955c4ab16ae9498535f480fc3adbc
/models/__init__.py
46a6effb3c035f5a7900b57bd3e0c95f9218c196
[]
no_license
jarchv/ratio-log
715019f6dc52d2d7bc089e5239ae7440bf19754f
6e76e8786076a3c7e866e35823606865f68fe6bb
refs/heads/master
2023-02-27T00:55:06.656167
2021-01-25T18:45:40
2021-01-25T18:45:40
292,714,579
0
0
null
null
null
null
UTF-8
Python
false
false
61
py
from .models import * from .nets import * from .vgg import *
[ "jose.chavez.alvarez@ucsp.edu.pe" ]
jose.chavez.alvarez@ucsp.edu.pe
f395640444a4c3fc16625ab2f978c29b9f8d8e15
5cecdaaf03aa5b3fb2f8ae0332329a6b67c5df71
/datestampergui.py
bbfa92bf78aaee8ffdd71befb190c7269a609d4e
[]
no_license
nuuk/tkinterPractice
7e2e4c421edcc473f2df6f50c6fdb090d71273b5
40c51d3589b19129eeae77a5326d1453339448ea
refs/heads/master
2021-01-01T19:21:09.695534
2014-03-28T03:53:17
2014-03-28T03:53:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,832
py
#!/usr/bin/python # -*- coding utf-8 -*- # print("Hello World") # """ # ZetCode Tkinter tutorial # This script shows a simple window # on the screen. # autho: Jan Bodnar # last modified: January 2011 # website: www.zetcode.com # """ # from Tkinter import Tk, Frame, BOTH # class Example(Frame): # def __init__(...
[ "mitchell@Mitchells-MacBook-Air.local" ]
mitchell@Mitchells-MacBook-Air.local
fe00a3e9a75c82c8b94feeb4790958a1ef14bdba
881041fab1b4d05f1c5371efed2f9276037eb609
/tasks/world-trade-center-wtc-patient-categories/depositor.py
54c18eb67afad968051c189b011d8d76577e17a1
[]
no_license
ResidentMario/urban-physiology-nyc-catalog
b568f3b6ee1a887a50c4df23c488f50c92e30625
cefbc799f898f6cdf24d0a0ef6c9cd13c76fb05c
refs/heads/master
2021-01-02T22:43:09.073952
2017-08-06T18:27:22
2017-08-06T18:27:22
99,377,500
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
import requests r = requests.get("https://data.cityofnewyork.us/api/views/dgg9-jkx8/rows.csv?accessType=DOWNLOAD") with open("/home/alex/Desktop/urban-physiology-nyc-catalog/catalog/world-trade-center-wtc-patient-categories/data.csv", "wb") as f: f.write(r.content) outputs = ["/home/alex/Desktop/urban-physiology-n...
[ "aleksey.bilogur@gmail.com" ]
aleksey.bilogur@gmail.com
15b8c12e8874a215d641b7b3f45d0733887be3e4
275ac20e4fbd1ea75f938efa0135fabc132cc29a
/api_miasm/mqrt.dll.py
f7cd33b7b0ae9f67371c83a804a42e35938b3156
[]
no_license
commial/temp
67428ff12882cd478c1468a34527b15cb73e33e6
34f45aad07777c14778d6df747ae6ce20b61b130
refs/heads/master
2023-05-11T11:08:59.055588
2023-04-30T14:27:17
2023-04-30T14:27:17
88,650,298
2
2
null
2019-11-15T15:37:07
2017-04-18T17:05:35
HTML
UTF-8
Python
false
false
14,807
py
###### Enums ###### ################### ###### Types ###### QUEUEHANDLE = HANDLE QUEUEHANDLE_PTR = Ptr("<I", QUEUEHANDLE()) QUEUEPROPID = PROPID QUEUEPROPID_PTR = Ptr("<I", QUEUEPROPID()) QMPROPID = PROPID QMPROPID_PTR = Ptr("<I", QMPROPID()) MGMTPROPID = PROPID MGMTPROPID_PTR = Ptr("<I", MGMTPROPID()) MSGPROPID = PR...
[ "commial@gmail.com" ]
commial@gmail.com
0ca7552d269d0a2a17809b625f16696d6daae972
31e9ae0b5431fdb643f228713001d052e93b303d
/flask_unchained/bundles/sqlalchemy/alembic/templates/flask/env.py
9d871918db94256ce571d7028b0989212bd24dc8
[ "MIT" ]
permissive
briancappello/flask-unchained
b35215b6e150febf8d00fd0164b49d355eae66e6
a1f1323f63f59760e430001efef43af9b829ebed
refs/heads/master
2023-05-13T09:11:14.745523
2022-04-03T00:27:09
2022-04-03T00:27:09
115,440,840
77
9
MIT
2023-05-01T23:40:25
2017-12-26T17:13:24
Python
UTF-8
Python
false
false
3,111
py
import logging import os from alembic import context from flask import current_app from sqlalchemy import engine_from_config, pool from logging.config import fileConfig # make sure the migrations versions directory exists versions_dir = os.path.join(current_app.root_path, current_app.confi...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
dd4be1f4a065e6792a0ca776169bae3c74ff8122
5b6c580667899c760caec3c2abc29ab69a90570a
/Examples/magnetTest.py
db9cc35e482d0cec5f7e085d7956f74a7b241a69
[]
no_license
jonathanrichardl/micropython-GY85
06259e28220abec5189f19d890d02b367d9ffa74
6be38dd4d9874264d5faa4fc157b653c2257b88a
refs/heads/main
2023-06-25T15:11:08.908092
2021-07-30T08:16:56
2021-07-30T08:16:56
376,460,231
2
0
null
null
null
null
UTF-8
Python
false
false
596
py
from GY85 import GY85 import machine import utime sclPin = 1 sdaPin = 0 i2cid = 0 magnet = GY85(scl = sclPin, sda = sdaPin, i2cid = i2cid, acc = False, magnet = True) # Magnetometer only mode, magnetometer and accelerometer configuration skipped try: while True: try: buffer = magnet.re...
[ "noreply@github.com" ]
jonathanrichardl.noreply@github.com
f88c17790331f692ffe96218dd5535bfa08275cc
45e66074c81f422981b8dfa0848df44a86878b2e
/module1_13/module7_hw/task_5.py
a152f499c72a31012a1e08389d67fd65a58c27f8
[]
no_license
aliakseik1993/skillbox_python_basic
1f39644eff6ade4774e52503f88f5a190ef6e96a
be6c846c6b73b7054055808314d9bdaddc396a54
refs/heads/main
2023-06-03T03:09:38.169936
2021-06-14T11:34:10
2021-06-14T11:34:10
359,185,639
1
0
null
null
null
null
UTF-8
Python
false
false
878
py
print('Задача 5. Факториал') # Мы всё ближе и ближе подбираемся к серьёзной математике. # Одна из классических задач - задача на нахождение факториала числа. # И в будущем мы с ней ещё встретимся. # # Дано натуральное число N. Напишите программу, которая находит N! (N факториал) # # Запись N! означает следующее: # ...
[ "koran.aliaksei@yandex.by" ]
koran.aliaksei@yandex.by
d73b98a9fe32010f070208fdab50f093b7fc9de3
0f1443c6dad19a22990a2f74f21870f745667866
/mlr.py
adf5626c2d148cc36a8fafab403ffe6e46edc2de
[ "Apache-2.0" ]
permissive
avinashshenoy97/bitcoin_predictor
0effba304d9f768530e81751078d0c6fb4b9c275
5c2f9b501fcbfbe474387e4a33957279467392ad
refs/heads/master
2021-04-25T15:56:31.713686
2018-01-13T05:35:45
2018-01-13T05:35:45
109,599,966
3
3
null
null
null
null
UTF-8
Python
false
false
2,553
py
''' Using Multiple Linear Regression to predict the next day's closing values of Bitcoin's market price in USD. ''' import pandas, sklearn, numpy from sklearn import linear_model from init import * ipdata = init() def correlation(dataset_arg, threshold, toprint = False): ''' Return a copy of 'dataset_arg' w...
[ "avi123shenoy@hotmail.com" ]
avi123shenoy@hotmail.com
27a28d28322e0500b4a3598333a34ad162235c18
718a3a4d0a7a478ad879a474afe98cf6962313c8
/selenium_scripts/FirstSeleniumScript.py
3314198ea51f0ba6d76bc47ecb0dd01404895b1c
[]
no_license
RustAutomation/pythonTraining
fe691b1f66d5a586aa380d14f88dd5e89c52ddf6
0d7d48466116952148b77a1142fdc5081e503a82
refs/heads/main
2023-08-22T21:45:45.422623
2021-09-29T14:19:09
2021-09-29T14:19:09
411,702,418
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC class SearchPage(object): def __init__(self, driver): self.driver = driver self.base_url = "https://www.google.com/" def find_element(self, locator, time=10): ...
[ "noreply@github.com" ]
RustAutomation.noreply@github.com
198c8423003dfaddf05eeb4a8f038f3d8f1a2101
fd62e4d805e16e2117d41d31fa8fd85d3ef6c98d
/knowledge_distillation/slim.py
b0cb61f91b668b5d5b4d356d0491d7a773c3c937
[ "MIT" ]
permissive
CorentinChauvin/style_transfer_KD
fd2f2b8a605d199df580fc47822fa40052b75727
87bcb2963dbb8d09faf94c74a744f358cafe5427
refs/heads/master
2020-05-21T16:58:18.320460
2019-05-19T16:31:01
2019-05-19T16:31:01
186,113,222
1
0
null
null
null
null
UTF-8
Python
false
false
3,987
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import torchvision class ShallowConvNet(nn.Module): def __init__(self, hidden=1000): super(ShallowConvNet, self).__init__() self.conv1 = nn.Conv2d(3, 6, 5) self.pool = nn.MaxPool2d(2, 2) self.conv2...
[ "corentin.chauvin@gmail.com" ]
corentin.chauvin@gmail.com
826acfa8e16b8fd664f0a129d86f0a409032f40a
ed41637c4e0eb0d4842814a1ad3f79fac24241a9
/basicformtwo_app/views.py
5442abc15d33f199e201da52ca28b0e368d024d8
[]
no_license
beingvikasagain/django_project
7cafcc7070d1ea8d20b7bfefe240c8ca09b7ea2d
92d929e8bb37603852348891dd87308265b4c1dc
refs/heads/master
2022-04-23T03:51:57.429029
2020-04-24T04:26:29
2020-04-24T04:26:29
258,401,936
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
from django.shortcuts import render from basicformtwo_app.models import AccessRecord,Topic,Webpage from basicformtwo_app import forms # Create your views here. def index(request): webpage_list = AccessRecord.objects.order_by('date') date_dict = {'access_record':webpage_list} return render(request,'basicfor...
[ "57279623+beingvikasagain@users.noreply.github.com" ]
57279623+beingvikasagain@users.noreply.github.com
78f31e6a72b094fc49b16f54e05c6d02a1059dd2
ac63f6324e1d73ac12803868db659218542fbd30
/authapp/urls.py
8a2a938d9a0ad3ac0a09fba7f4d406f3951677b3
[]
no_license
Cerzon/geekbrains-django
709273476531ee2bb07fa4d850120acb2c48f9c0
c491f7fafed15b9f1bfecbcca77ac28d048c4ffb
refs/heads/master
2020-06-30T20:18:04.327899
2019-09-23T12:06:27
2019-09-23T12:06:27
200,941,848
0
0
null
2019-09-23T12:06:29
2019-08-07T00:19:35
Python
UTF-8
Python
false
false
358
py
from django.urls import path import authapp.views as authapp app_name = 'authapp' urlpatterns = [ path('login/', authapp.UserLoginView.as_view(), name='login'), path('logout/', authapp.logout, name='logout'), path('register/', authapp.register, name='register'), path('edit/<int:pk>/', authapp.EditUser...
[ "kirill.tkachenko@gmail.com" ]
kirill.tkachenko@gmail.com
ed87df5aa3f7ff0c1ea98fb4fa6a5c561166fa25
857fd2974ffb60d39ec4fef25a6f44f66966d482
/code/chapter5/chapter5.5.py
d5e792b67ed97a245222a04f598351f56150ad59
[]
no_license
DockerBB/pytorch-study
6d6d1c5ffd0b72ca82eaa462976c1e5c4f98cebc
b61929082e4715c82678f86295ec237ee334fd6c
refs/heads/master
2020-09-05T23:22:20.177361
2019-12-03T08:38:11
2019-12-03T08:38:11
220,242,448
0
0
null
null
null
null
UTF-8
Python
false
false
3,268
py
# 深度卷积神经网络LeNet import time import torch from torchsummary import summary from torch import nn, optim import sys sys.path.append("..") import d2lzh_pytorch as d2l print(torch.__version__) device = torch.device('cuda' if torch.cuda.is_available() else 'cpu') class LeNet(nn.Module): def __init__(self): su...
[ "837555220@qq.com" ]
837555220@qq.com
0c8201195e1daafea6aba55823cd0fc12745f23a
d91f0bbe7fd0a1c1c53d9d5b36d38fdb5c15e8c7
/src/comment_me.py
5ca7a60f629f7370d1e9271a7a11b02312499db1
[]
no_license
Zero-ZxXxAngel/FBxMOD
c91e29d0632cca7d3de3414807a9087c7bd75758
f0db38b0a4ccf4921d0ee0630891f73c834a64da
refs/heads/master
2022-11-20T05:55:25.996441
2020-07-03T13:57:52
2020-07-03T13:57:52
272,920,531
1
1
null
null
null
null
UTF-8
Python
false
false
3,618
py
#BY: Zero & Sumarr ID import marshal exec(marshal.loads('c\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x00\x00@\x00\x00\x00s)\x00\x00\x00d\x00\x00d\x01\x00l\x00\x00Z\x00\x00d\x00\x00d\x02\x00l\x01\x00m\x02\x00Z\x03\x00\x01d\x03\x00\x84\x00\x00Z\x04\x00d\x01\x00S(\x04\x00\x00\x00i\xff\xff\xff\xffN(\x01\x00\x00\x00t\r\x00\x0...
[ "noreply@github.com" ]
Zero-ZxXxAngel.noreply@github.com
5e6d74ef170cbb7a115044facb313a0c5a68e6c5
a52903d2e961c34cac5e2d9aa1318237c185a9d6
/agriWeb/agriWeb/urls.py
651df8ad564350f2736097c42798c904e98fa199
[]
no_license
dawdiken/web_project
c1460498642cb6b3b017f647432bf1039aed3615
d1b9bb57fe62636e1d26aad6dee0ed0b2e05ce3a
refs/heads/master
2020-03-26T22:38:13.981653
2018-08-30T22:07:06
2018-08-30T22:07:06
145,475,436
0
0
null
null
null
null
UTF-8
Python
false
false
1,481
py
"""agriWeb URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "dawdiken@gmail.com" ]
dawdiken@gmail.com
b7c5504c0df86500e9a9c7bd23405cd3587aa509
d5e7346f54687a5c65b6e41ed724a3c17415c07f
/code/rt-thread/components/drivers/watchdog/SConscript
a8061d606017706a2e6b5e334c868ec3ab1e4042
[]
no_license
liu2guang/rt-thread_ck803s
9216b2c8e93d8b271c7bc727c59565f894d4ded9
22d70ed865bc5e1d85d7d0fb0b00a1a3b21171dc
refs/heads/master
2023-03-21T11:18:43.912214
2020-11-13T02:18:59
2020-11-13T02:18:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
from building import * cwd = GetCurrentDir() src = Glob('*.c') CPPPATH = [cwd + '/../include'] group = DefineGroup('device', src, depend = ['RT_USING_WDT'], CPPPATH = CPPPATH) Return('group')
[ "hanguangxue_x@163.com" ]
hanguangxue_x@163.com
5afce9e08cd3f782a4575e5f0cae0383e08debac
3f8928e194313212bb1696b88789bf2594687024
/pyprol/storage/sqlite_storage.py
7bc4570e8fc3bf79cf86f70f000e91e79eaa4abe
[]
no_license
skoenen/pyprol
8151b8237b29c2b0194abd7ce760d08aa357dd22
32db12a84a0466537eca9a1c3b3dff2b76504302
refs/heads/master
2021-01-22T09:05:25.799938
2013-10-30T13:37:39
2013-10-30T13:37:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,891
py
try: from urllib.parse import urlparse except ImportError: from urlparse import urlparse import sqlite3 import os import re import sys import json from collections import namedtuple from logging import getLogger __all__ = ['SQLiteStorage'] log = getLogger(__name__) SCHEME = ('sqlite', 'sqlite3') def enco...
[ "stefan.koenen@uni-duesseldorf.de" ]
stefan.koenen@uni-duesseldorf.de
30db46f9d4fa1329e875db1f91eea3c682a20523
7cfbbaa4205956c26685edb4b137e3b5fd3fc3af
/08_parse-jason5.py
525b096e8eea990b9a9eb8c7750395e809bb09a2
[]
no_license
andresbaldeon93/PythonCEC
b3582be57f0b4a437de1509bc68cd6e46afbff41
f9ad115a51c33336f81740d6e9f75d0e7b608673
refs/heads/master
2021-01-09T16:37:35.402464
2020-03-07T18:03:30
2020-03-07T18:03:30
242,374,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,322
py
# -*- coding: utf-8 -*- """ Created on Fri Feb 28 19:15:29 2020 @author: CEC """ import urllib.parse import requests main_api = "https://www.mapquestapi.com/directions/v2/route?" key = "6sHAI2zouPSmc6kOQzoPyki4190uSVAF" while True: orig = input("Starting location:" ) if orig=="quit" or orig =...
[ "noreply@github.com" ]
andresbaldeon93.noreply@github.com
b0e6c5aa9b04d50659c4fffc49eb2e5c9d8a2d53
99ee491a53aed1e8ee74205dd55295761ac85b69
/python/back/persistence.py
3e28a9f2540727894be398664ebdd1e39b31cf06
[]
no_license
kronleuchter85/burritos
2222d2544551fea2ba116a8c45343e4e767f9407
016794d16b2ab77ea672f307164c6762b9880e80
refs/heads/master
2020-03-07T13:01:51.915985
2018-02-04T17:02:15
2018-02-04T17:02:15
127,490,933
0
0
null
null
null
null
UTF-8
Python
false
false
1,139
py
from commons.queries import QUERY_SELECT , QUERY_INSERT ,QUERY_CREATE_TABLE , QUERY_CHECK_IF_EXISTS import psycopg2 class Persistence: conn_string = "host='localhost' dbname='gtrader' user='postgres' password='postgres'" conn = None cursor = None def initialize(self): self.conn = psycopg2.connect(self.conn_...
[ "kronleuchter85@gmail.com" ]
kronleuchter85@gmail.com
e2af25729d07e29e30b711b7f26e8a704f82a27d
4213a03eae748f456283cb29f8fe0d8461afb14c
/feature_to_csv.py
84ffd910cc9c6eaa71b9935a5087ebc5987a8c59
[]
no_license
zapouria/COMP6321-ML-Project
0513927b647b1cccf0bb3dbddd0d4821535d0aca
663ff4e4323d84bfad8a72387cc035bb4ce31b71
refs/heads/main
2023-01-22T14:23:03.993073
2020-12-01T00:46:43
2020-12-01T00:46:43
311,476,074
0
0
null
null
null
null
UTF-8
Python
false
false
2,647
py
import librosa import numpy as np import math from pysndfx import AudioEffectsChain import python_speech_features import matplotlib.pyplot as plt import librosa.display import pandas as pd import IPython.display as ipd import warnings import sklearn from sklearn.preprocessing import MinMaxScaler import feature_extract...
[ "spzahraei@yahoo.com" ]
spzahraei@yahoo.com
fabd454eb845bf6af3c22c887e7c846a8afe525c
bbf23510da9f063fbc9b7334d2a938e1edfe314a
/examples/training/avg_word_embeddings/training_stsbenchmark_cnn.py
1761eed4bf1f502aa00007ed181f98347deb1d9a
[ "Apache-2.0" ]
permissive
jonathansantilli/sentence-transformers
e2b2905997fef8df056aec63962d8697af66504c
9433e9b3d4d88ab286f6108f1cd9ee966a263a35
refs/heads/master
2023-04-24T10:15:18.641775
2021-05-04T12:30:11
2021-05-04T12:30:11
364,264,204
0
0
Apache-2.0
2021-05-04T13:25:04
2021-05-04T13:25:03
null
UTF-8
Python
false
false
3,693
py
""" This example runs a CNN after the word embedding lookup. The output of the CNN is than pooled, for example with mean-pooling. """ import torch from torch.utils.data import DataLoader import math from sentence_transformers import models, losses, util from sentence_transformers import LoggingHandler, SentenceTransf...
[ "rnils@web.de" ]
rnils@web.de
510b69b892937b2ecbb532c19cc34f4795f82e5e
60d209f361bf35ac764076100b51ae692c31c1b2
/telnet-switch.py
a1015b32775a571e5bd5743d408c2c9b9f70a714
[ "MIT" ]
permissive
noor-fernandez/MPLS-Network-Automation
d696115069a406669c4e7afebb0086f8f4247ccd
9f6fb6a2ecf0cdd5917898c37deb5f084662bd68
refs/heads/master
2020-05-16T02:34:01.922376
2019-10-22T15:10:04
2019-10-22T15:10:04
182,633,990
0
0
null
null
null
null
UTF-8
Python
false
false
1,349
py
import getpass import telnetlib HOST = "localhost" user = input("Enter your telnet username: ") password = getpass.getpass() IPs = open("myswitches") for idxIP, IP in enumerate(IPs): idxIP = idxIP + 1 idxIP_as_byte = str.encode(idxIP) IP = IP.strip() print("Configuring Switch " + (IP)) HOST = IP...
[ "noreply@github.com" ]
noor-fernandez.noreply@github.com
615618476768211b90173af1a529a1f04375dcc1
920b9cb23d3883dcc93b1682adfee83099fee826
/itsm/sla/serializers/__init__.py
3d55494a7d26dc78b8ca855461729f1a20246260
[ "MIT", "LGPL-2.1-or-later", "LGPL-3.0-only" ]
permissive
TencentBlueKing/bk-itsm
f817fb166248d3059857b57d03e8b5ec1b78ff5b
2d708bd0d869d391456e0fb8d644af3b9f031acf
refs/heads/master
2023-08-31T23:42:32.275836
2023-08-22T08:17:54
2023-08-22T08:17:54
391,839,825
100
86
MIT
2023-09-14T08:24:54
2021-08-02T06:35:16
Python
UTF-8
Python
false
false
1,767
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-ITSM 蓝鲸流程服务 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-ITSM 蓝鲸流程服务 is licensed under the MIT License. License for BK-ITSM 蓝鲸流程服务: ------------------------------------------...
[ "1758504262@qq.com" ]
1758504262@qq.com
a5952935415bf5278dae22b843c4de6b4d6ccc8d
f18c2e719076d3bc10dd8b4a266cc7b729d782fd
/TimePrediction.py
819b478cf1110c81efbb77e3d8a1055df42e1ac9
[]
no_license
alexcasella/Streamlit
60ae03e5d3247a3954f4dac98e936f65e836a7e4
156452089894125889dcc3bf3814b9a1bd358e92
refs/heads/main
2023-05-06T04:53:40.405706
2021-05-30T08:46:49
2021-05-30T08:46:49
371,083,955
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
# Import the relevant packages import streamlit as st import pandas as pd import numpy as np # Import the prediction function from Joseph_alg import ult_pred from Joseph_alg import get_values # Import the dataframe data = pd.read_csv('data18m.csv', index_col=0) smooth = pd.read_csv('Smooth_data18m_pure.csv', ind...
[ "noreply@github.com" ]
alexcasella.noreply@github.com
0a70e9fe37406e80f5bbedab647d73c4114377f1
84ffcfdc27941b63ec86fd731dd7a78436eec7e2
/Python/Assignment_2/cycling.py
a9352f5bb8de23b157cbda5c23987ffd965e3131
[]
no_license
findingRellik/CSCI1300_intro_programming
1b4955d81cf513d25a347ef3bdef244f635483a1
ee0308b163faaa66e8d1f55d3e759fac04ed2848
refs/heads/master
2020-12-31T05:24:00.594659
2016-05-03T10:45:50
2016-05-03T10:45:50
57,960,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
#Assignment 2 Football problem #Recitation 10 am ECCR 235 #Austin Metzner print ("Cycling: power and energy") m = float(input("Enter mass of cyclist (kg): ")) mb = float(input("Enter mass of bike (kg): ")) v = float(input("Enter velocity (m/s): ")) g = 9.8 k = .18 cr = .001 cf = float(input("Enter CFdraft: ")) #assumi...
[ "aume6638@colorado.edu" ]
aume6638@colorado.edu
5c07ea3c97e275d3dfeb730a586531d4e2216def
37fff9882c1dbaea8e1a18eeee9865b7f7f1fc12
/Websockets/RT_Analytics/analytics/urls.py
b32993ebdbfd484ec5a5401c16cd7812aeedbc98
[]
no_license
Addy209/GraphQL
f0e8297b7224a42eb68a5cc62434b9dd8034cf1f
69c1dba3ee048f57dbe2ae8983519c86bdce03d9
refs/heads/main
2023-06-11T04:50:22.791456
2021-06-21T00:46:52
2021-06-21T00:46:52
378,825,216
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
from django.contrib import admin from django.urls import path, include from .views import GetTestData urlpatterns = [ path('',GetTestData.as_view()) ]
[ "46429259+Addy209@users.noreply.github.com" ]
46429259+Addy209@users.noreply.github.com
0b15c71947ca2f3e1c0bafc476731d0397432994
03820593096f960ad4e568339adbfeec596a3703
/odoo13/openacademy/models/models.py
a8be4332ad90bb8907fb490c838dafd20da9765f
[]
no_license
Jeiikot/Odoo
0f3cd1fbf4eb2fe5965ff8b8133018c3d20ddddd
57245ebc9e0cc1fdbdae1e994e10f24526ef78fc
refs/heads/master
2023-01-19T23:18:28.114722
2020-11-25T17:50:43
2020-11-25T17:50:43
263,752,291
0
0
null
null
null
null
UTF-8
Python
false
false
4,428
py
# -*- coding: utf-8 -*- from datetime import timedelta from odoo import models, fields, api, exceptions, _ class Course(models.Model): _name = 'openacademy.course' _description = "OpenAcademy Courses" name = fields.Char(string="Title", required=True) description = fields.Text() responsible_i...
[ "jeiikot21@gmail.com" ]
jeiikot21@gmail.com
4c71c6e6836042b43c21a50c00f75b8b6bfa4e37
200de187f734493a026dba6df99eb53acd7ca789
/node_modules/watchify/node_modules/chokidar/node_modules/fsevents/build/config.gypi
0859da99c98c3344d77531bb949e0ad8373570cc
[ "MIT" ]
permissive
jeremybdavis/flux-todos-tutorial
5515d892cd02e7dde794462bd2e48aa92c401eb9
dd3e1678dc7bd44aadead0a93c8369defab11555
refs/heads/master
2021-01-15T12:26:20.012155
2015-08-20T21:15:48
2015-08-20T21:15:48
41,118,239
0
0
null
null
null
null
UTF-8
Python
false
false
3,522
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "icu_small": "false", "node_install_npm...
[ "jdavis129@gmail.com" ]
jdavis129@gmail.com
78f63b79d9b2c2005e2d3836eeddcc6611c7ef1d
07f80a079277a130bb4c7725ba6a220b16338f30
/Python_Dojo/Movie_Picker.py
664030eb16130eeb9897aec569deeeb22c6017bf
[]
no_license
jakeT93/improved-enigma
e910bf6c776e5fe30cce7f2200072f453d5af2f0
d4167542ee4afa00082d810e6701204daa1ca969
refs/heads/master
2021-09-05T10:53:44.768552
2018-01-26T16:28:22
2018-01-26T16:28:22
115,924,086
0
0
null
2018-01-01T18:06:43
2018-01-01T14:25:04
Python
UTF-8
Python
false
false
256
py
#Movie_Picker #Selects a random movie or video file within the given constraints import os videoFilesRoot = "" videoFilesRoot = raw_input("Please enter general path : ") videoFilesRoot = videoFilesRoot.replace("'", "") print(os.listdir(videoFilesRoot)
[ "kirenjacobthomas@gmail.com" ]
kirenjacobthomas@gmail.com
e2ca6e0e138035c73bbf4db3ef1d749afc55e22a
616c6c525b87281ee81aa3e1985947ead0da78ab
/assistant.py
2a0f4b5da989138084a74452ef5dd391197d645e
[]
no_license
vedant2608/Devs-console
14cbfcf98d98e564235ec36ccd527b311708429f
1bab7dd4ffe433d9f5d0b9a05125f75ede3b9aa3
refs/heads/main
2023-02-18T20:49:21.113055
2021-01-22T06:07:24
2021-01-22T06:07:24
330,216,801
0
1
null
null
null
null
UTF-8
Python
false
false
22,618
py
import os from datetime import * import sys import subprocess import pyttsx3 import pyfiglet import screen_brightness_control as sbc engine = pyttsx3.init() engine.setProperty('rate', 190) def run(cmd): completed = subprocess.run(["powershell", "-Command", f"{cmd} 2>$logs.exe"], capture_output=True) return co...
[ "vedant.datey2001@gmail.com" ]
vedant.datey2001@gmail.com
040f3f198d4bd164c0c895c5125770abc31e4f36
e08ad592722f6c737551fb3d9b6fcf0b7bbeb00c
/data/process_data.py
67b144adae437eba3f6af3c5a8098ba0afc94a61
[]
no_license
DataWorks71/disaster_response_pipelines
27dcb225404f45e37fe19dc59010376d3ce8ff7f
b439b035b3cf761d22650ac98b1f90c82a9aec9a
refs/heads/master
2020-04-04T13:46:36.600898
2018-11-05T18:35:41
2018-11-05T18:35:41
155,532,455
0
0
null
null
null
null
UTF-8
Python
false
false
7,096
py
import sys import pandas as pd from sqlalchemy import create_engine def load_data(messages_filepath, categories_filepath): """Load and join/merge datafiles to single dataset. Args: messages_filepath: str. The relative filepath to message file. categories_filepath: str. The relative filepath to cate...
[ "dataworks@hafenbradl.com" ]
dataworks@hafenbradl.com
6c25b7082d8b57a27da90bf5fec1dd716d6b95d2
85d93f1a93e33cc84f19c1c71bce67d34f15c4ad
/src/utils.py
d0d22e0f1fa395bef796dc6fd5cf24c50f324288
[ "MIT" ]
permissive
tyburam/neural-cryptography-pytorch
a72cd96d9e8fc153e03aa7231baa1eb0427edb80
0e102e7199e196010ef6d9391b15d71b07897ad9
refs/heads/master
2020-04-19T16:17:30.838673
2019-03-23T18:22:19
2019-03-23T18:22:19
168,300,016
8
0
null
null
null
null
UTF-8
Python
false
false
422
py
import numpy as np import torch.nn as nn from src.config import * # Function to generate n random messages and keys def gen_data(n=BATCH_SIZE, msg_len=MSG_LEN, key_len=KEY_LEN): return (np.random.randint(0, 2, size=(n, msg_len)) * 2 - 1), \ (np.random.randint(0, 2, size=(n, key_len)) * 2 - 1) def in...
[ "tyburam@hotmail.com" ]
tyburam@hotmail.com
ab1f8c6225bdbd28011bbdd000a104075aa52bc0
532aab843a9b50cd216cf65846aa22f72377f5b4
/grid_plume/scripts/merge_grids.py
6fec8a74228ce888645d3db2cf619a3da175ff3e
[ "LicenseRef-scancode-public-domain", "Unlicense" ]
permissive
lakiSL/GnomeTools
b3c3513823ebebcfb32a81d107a4395aab6dab2f
1f3c635f8629a8c9119d422bf743091a647d8764
refs/heads/master
2020-05-20T16:14:08.627844
2019-04-20T00:08:45
2019-04-20T00:08:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,948
py
#!usr/bin/env python """ Script to add up a bunch of plume files into one big file Only handles "flat" grids at the moment """ from __future__ import division #Change the / operator to ensure true division throughout (Zelenke). import sys, glob #Replacement for commented-out line below which imported unused module...
[ "jasmine.sandhu@noaa.gov" ]
jasmine.sandhu@noaa.gov
eae46453ad899822fdd9abdd0e56f590c67f8a01
c0258e00834a4e0963169156f6a3f7667d80c156
/myApp/migrations/0014_auto_20200519_1829.py
96e0bc35498c1772416660bd1422810975e04d0d
[]
no_license
wajeshubham/django-rest-framework-api
ad040978f886461f4314f52ff261d09eb3d8a1fe
3154e735160709ed3f6cca3901d250e12bb405ba
refs/heads/master
2022-08-09T15:17:55.905154
2020-05-19T14:02:05
2020-05-19T14:02:05
265,250,394
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
# Generated by Django 3.0.5 on 2020-05-19 12:59 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('myApp', '0013_auto_20200519_1804'), ] operations = [ migrations.AlterFie...
[ "noreply@github.com" ]
wajeshubham.noreply@github.com
0f924a8c650f964566ee201929a0a8d2e95ee9ec
aaafc4e18a8b54b388e199a42bd3ca2d59038a20
/Regression/bigmart.py
91eb3ca495fb9af7d04a6b5320c5e01970cf3f9d
[]
no_license
Mushtaq-D5037/Projects
9aa2a804635bad6ed2a674fad075a170b325e84d
549efb0ece9cad1490bea8adf3ebdecc7a29c8af
refs/heads/master
2022-10-22T00:40:12.125944
2022-10-12T05:23:41
2022-10-12T05:23:41
203,940,895
0
0
null
null
null
null
UTF-8
Python
false
false
6,240
py
# -*- coding: utf-8 -*- """ @author: Mushtaq Mohammed """ import pandas as pd import numpy as np import matplotlib.pyplot as plt import seaborn as sns # hypothesis # item price > 0 # item sales > 0 # read csv files train = pd.read_csv("store_Train.csv") test = pd.read_csv("store_Test.csv") # combine training and t...
[ "noreply@github.com" ]
Mushtaq-D5037.noreply@github.com
268a3b1192dc668f432e6837975f82ba8346752f
8ab0475048241daf0a094fda46799de3187f850b
/scripts/merge.py
c0778012b880cb4538717a05a56467dea97dbeec
[]
no_license
Rajan333/splitter
283b38c95743bf3936153f4a013da1dae561d692
f051c2d0b9ff5d09d709e3ec969ee41ac1e3da3b
refs/heads/master
2021-08-08T22:54:32.580652
2018-06-15T18:59:48
2018-06-15T18:59:48
125,057,541
3
1
null
null
null
null
UTF-8
Python
false
false
614
py
import sys import os import subprocess cmd = '/usr/local/bin/ffmpeg' ffmpeg_p = subprocess.Popen(cmd, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE) output = ffmpeg_p.communicate() #print(output) _input_path = '/Users/rajan/ns/splitter/scripts/output_files' #lst = os.listd...
[ "rajan.middha@innovaccer.com" ]
rajan.middha@innovaccer.com
1f988e26451398adb5fc1c64a491840b860490d4
254d70889f0140861202e898c5a3e854aa7deb05
/tests/settings.py
7495221148093a4ce3984bb4f777660437fc563c
[ "MIT" ]
permissive
adamcharnock/django-pipeline
17ced313a828eb4d8b645bc5d20b81c9b556dcc9
9bcbee0719f1866c47cd0eb07e74adfa2abb256a
refs/heads/master
2021-01-23T20:50:00.426959
2013-06-20T22:58:09
2013-06-20T22:58:09
3,117,934
1
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
import os local_path = lambda path: os.path.join(os.path.dirname(__file__), path) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'TEST_NAME': ':memory:' } } SITE_ID = 1 INSTALLED_APPS = [ 'django.contrib.contenttypes', 'django.contrib.sites', 'django.contrib.st...
[ "timothee.peignier@tryphon.org" ]
timothee.peignier@tryphon.org
55e3a58b688cb028650fc9d133994735b94a7458
9f5b50fff3c494a5deab73599e0d5dd3983e3652
/features/tongueBottom/__init__.py
02c3c60b37d319f28ddda586e5c9af7722cab825
[]
no_license
FlameSky-S/TCM-Backend
893240e918452b0949deac36d17db31389071e98
9807cf58c0f786e6383d5f2fc9f62f7454f81ce0
refs/heads/master
2023-07-25T09:48:01.260300
2021-07-12T02:57:01
2021-07-12T02:57:01
381,318,493
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
from .TongueBottomSeg import TongueBottomSeg from .VeinsColor import VeinsColor from .VeinsIndex import VeinsIndex from .VeinsSeg import VeinsSeg
[ "richandyuquan@live.com" ]
richandyuquan@live.com
9a51215ba75438061eb7f89641fc6b928c17f61f
24ca00779a928d87e3c00420423cd8d058bb8796
/Funciones/Clases.py
a94f825dbf4af4e987de43bbc1a7274fb69da3fe
[]
no_license
DanielDubonDR/IPC2_Proyecto2_201901772
56a0659a42eee5183f5564d2d145282dcdbec97e
d3f55692cb67db07a393231f2eabd44f725a8a4c
refs/heads/main
2023-05-05T06:36:13.045335
2021-06-01T00:47:56
2021-06-01T00:47:56
351,954,446
0
0
null
null
null
null
UTF-8
Python
false
false
1,452
py
class datos: def __init__(self, id, nombre, nFila, nColumna, matriz): self.id=id self.nombre=nombre self.nFila=nFila self.nColumna=nColumna self.matriz=matriz def __str__(self): string=str("id: ")+str(self.id)+str("\nNombre: ")+str(self.nombre)+str("\nFilas: ...
[ "3179425811504@ingenieria.usac.edu.gt" ]
3179425811504@ingenieria.usac.edu.gt
220b49000230975a27b02bfe9f5b5058e4104058
04803c70bb97012b7d500a177ac0240fb2ddbe38
/1heptane/pdep/network5103_1.py
de86f21a9e7594325e2ef9f2c28ecfb9bfcb0e1b
[]
no_license
shenghuiqin/chpd
735e0415f6688d88579fc935459c1b0f53596d1d
396ba54629036e3f2be0b3fabe09b78c90d56939
refs/heads/master
2023-03-01T23:29:02.118150
2019-10-05T04:02:23
2019-10-05T04:02:23
192,084,217
0
0
null
2019-06-18T18:33:13
2019-06-15T13:52:28
HTML
UTF-8
Python
false
false
98,364
py
species( label = 'C=C(O)[C](O)C(C)C([O])=O(31589)', structure = SMILES('[CH2]C(O)=C(O)C(C)C([O])=O'), E0 = (-476.204,'kJ/mol'), modes = [ HarmonicOscillator(frequencies=([325,375,415,465,420,450,1700,1750,2750,2800,2850,1350,1500,750,1050,1375,1000,3580,3650,1210,1345,900,1100,3000,3100,440,815,...
[ "qin.she@husky.neu.edu" ]
qin.she@husky.neu.edu
1af5cd448e1e9c8e83bc546e3cbdb5ce3b00683c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2387/60708/290720.py
ba2f48389061059797cdf4f0828fef6430847308
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
68
py
s1=input() s2=input() if(s1=='1'): print(16) else: print(s2)
[ "1069583789@qq.com" ]
1069583789@qq.com
932201f1f2a80402144846da9103a14f970583bc
629968cbd491dcced1a64165523b7ebd8b548abb
/app/science/demo_image/sara_data_source/cleanup.py
a3429bf5322dd4768529c0ea765a24186d8c1169
[]
no_license
countzen2000/face-service
1bb121b55a534181431cdcca03ad9be61faaa45f
51cecda39347d1bacd58e4abe0891c9e8bfdbe52
refs/heads/master
2021-06-21T01:59:16.614212
2017-08-15T01:09:14
2017-08-15T01:09:14
100,322,642
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
from __future__ import division, print_function, absolute_import import cv2 import os # Loading each image is very slow, but lets try one run face_cascade = cv2.CascadeClassifier('classifier/haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier('classifier/haarcascade_eye.xml') # # Make sure t...
[ "billy.shin@bcgdv.com" ]
billy.shin@bcgdv.com
4c862c1e3a54efb2995cba4d73ef0e5c4fbc6473
ae2c38c8562ee9dbb7578e965ee1109043a25814
/src/plot_end.py
0a1ec75702dd656b55cb9bcaa40753c5cfb2e3d2
[]
no_license
agilman0803/Main_PDE_Repo
988dc1043eff528384eaae5f4743f21a30fbe815
bc54f20c774a9cede482db11091a8ed6303438d8
refs/heads/master
2020-12-08T06:59:40.371291
2020-01-15T05:03:01
2020-01-15T05:03:01
232,919,761
0
0
null
2020-01-09T22:39:43
2020-01-09T22:39:42
null
UTF-8
Python
false
false
3,120
py
## @file plot_end # Visualizer sub class for plotting the first and last frames of the solution to a # 1d and a 2d problem # Uses pyplot.plot and pyplot.contourf respectively to generate the desired plots from . import visualizer import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import B...
[ "j.v.roggeveen@gmail.com" ]
j.v.roggeveen@gmail.com
faaf74956ae15b83a8c7ac9a3bcd61b1ebb018f0
2434bad76814cb49a755c5f3a76060655903cab8
/solid/ocp.py
b5efd158db05534fcd0828fddc43e9b3426859d9
[]
no_license
chrismedrela/2020-01-27-tdd
87208142a369f37db958c03e84f01c79424630a3
b07fd7261ce6c8cd622bb477ba848dd1d05df15c
refs/heads/master
2020-12-21T08:36:23.237118
2020-01-26T21:20:54
2020-01-26T21:20:54
236,375,579
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
from dataclasses import dataclass from datetime import datetime, timedelta from typing import Optional import pytest @dataclass class Customer: first_purchase_date: Optional[datetime] # datetime or None birth_date: datetime is_veteran: bool # @dataclass decorator automagically generates the...
[ "chris.medrela+github@gmail.com" ]
chris.medrela+github@gmail.com
8ce2af89ed640e6aa1387411389a00fc631f3498
d9b03a4cc29e9bebf78c0be3066f9e78203af22e
/PID_pwm0.py
bd3fb875ac92645a3e20350da46f3fe08a2b625c
[]
no_license
simketejong/aquadouwe
2b6d3df7d738313730125777e9610a822a313049
e52f62a4f8e99c7218fe23b52d48ae03229e4319
refs/heads/master
2021-01-10T03:20:40.335896
2015-10-24T18:49:46
2015-10-24T18:49:46
43,691,379
1
1
null
2015-10-25T19:51:43
2015-10-05T15:00:58
JavaScript
UTF-8
Python
false
false
2,626
py
#The recipe gives simple implementation of a Discrete Proportional-Integral-Derivative (PID) controller. PID controller gives output value for error between desired reference input and measurement feedback to minimize error value. #More information: http://en.wikipedia.org/wiki/PID_controller # #cnr437@gmail.com # ####...
[ "simketejong@gmail.com" ]
simketejong@gmail.com
2c693c0650b6399755d44d77ec37321c6343f7ae
56b135591185acd69e93d2ad0683a94d90201511
/py/55.py
3358d2b56b53e3611f8fc76b5ef86bf04c0edc4c
[]
no_license
threeifbywhiskey/houston
568e95efb521042b9f6695a26cb09eff1286821d
da9647106109a1c45cce61261791026216f8bc11
refs/heads/master
2021-01-20T06:59:49.771724
2014-03-16T16:16:28
2014-03-16T16:16:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
def lychrel(n): for i in xrange(50): n += int(str(n)[::-1]) if str(n) == str(n)[::-1]: return False return True print len(filter(lychrel, xrange(10000)))
[ "3ifbyw@gmail.com" ]
3ifbyw@gmail.com
e0d09522cbd1931a1ae6ab337616cd4f3dbb95c5
0f9b8f4c735036cbeafee3a169152aff92796892
/simulacion/venv/Scripts/easy_install-3.6-script.py
f3a22db2c49fc50ff1a861e63ae48df0d505d388
[]
no_license
fabarros/CAPSTONE
922bb3f4d791e54e82bc7c9a6bddf0b9996e3fae
d3fb965f66ca64e2948bf705806b08a0ce5e8e96
refs/heads/master
2020-07-31T13:44:20.264071
2019-09-26T14:13:48
2019-09-26T14:13:48
210,619,240
0
0
null
null
null
null
ISO-8859-2
Python
false
false
516
py
#!"C:\Users\fabar\OneDrive - uc.cl\Universidad\2019-2\Investigación de Operaciones\simulacion\venv\Scripts\python.exe" -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.6' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name_...
[ "fabarros@uc.cl" ]
fabarros@uc.cl
0c39eaa9a35b6eee008799c9dcf1c6b2829403cb
c4ae91e31a13865df38994c831cc891833fcb270
/users/migrations/0008_rename_commmented_customuser_commmented_on.py
0d232e9cc28cbee04e74a75d2c1b8d770602ce50
[]
no_license
Beefy-py/drf-react-youpost
e8eae87fb01b5e2f9e50f048563952f8899d2c17
241abed96a9539b42d7cd264caa08e4ee445ff04
refs/heads/main
2023-07-11T16:00:48.924071
2021-08-31T23:35:26
2021-08-31T23:35:26
387,951,021
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 3.2.6 on 2021-08-21 20:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20210818_2129'), ] operations = [ migrations.RenameField( model_name='customuser', old_name='commmented',...
[ "hoftkenny@gmail.com" ]
hoftkenny@gmail.com
338659e0b3650f32f043d3dddbc2609ce451583f
1d204a27ca5b798b557c546a26acf29575261bd9
/bcbio/upload/__init__.py
2ec90ac6f67878a29dbb32eab5c7e6e2bc2881cf
[]
no_license
kevyin/bcbio-nextgen
8b9bf91cba9be52dae8625589985a2642b83ebb2
6b05823d1b5983c4d6e2a9d9a48ba72a7fad30b6
refs/heads/master
2021-01-15T20:19:09.572940
2013-02-24T05:35:21
2013-02-24T05:35:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,769
py
"""Handle extraction of final files from processing pipelines into storage. """ import datetime import os from bcbio.upload import shared, filesystem, galaxy _approaches = {"filesystem": filesystem, "galaxy": galaxy} def from_sample(sample): """Upload results of processing from an analysis pipelin...
[ "chapmanb@50mail.com" ]
chapmanb@50mail.com
f6f49e460639a36eed8f533cb21319c96f7010cf
7f1ea035ef62640554052168aaa46427a97adbd4
/metagraph_cuda/plugins/cudf/types.py
e14bc1997f071b98ba63623396d8668a1ab7bdf7
[ "Apache-2.0" ]
permissive
paul-tqh-nguyen/metagraph-cuda
e330b41c4b0ec49746997d3e1c52606d4441b6f2
b9a7a83ed6f1f841a37ee7a77531d4dad82b4ea3
refs/heads/master
2023-01-29T06:36:12.598906
2020-12-16T18:38:15
2020-12-16T18:38:15
286,832,050
0
0
Apache-2.0
2020-08-11T19:34:16
2020-08-11T19:34:15
null
UTF-8
Python
false
false
11,495
py
import numpy as np from metagraph.wrappers import ( NodeSetWrapper, NodeMapWrapper, EdgeSetWrapper, EdgeMapWrapper, ) from metagraph import ConcreteType, Wrapper, dtypes from metagraph.types import ( DataFrame, Vector, NodeSet, NodeMap, EdgeSet, EdgeMap, ) from .. import has_cudf...
[ "paul.tqh.nguyen@gmail.com" ]
paul.tqh.nguyen@gmail.com
d82ecb057f1699e2b2ef12d6e86d8b251fb119c2
efda10ac2e2f029a3d75e35101445d508eb6c4b8
/scenario-3.1/monitor.py
36d7d525d91dd1a8f164bf1277f54860c992c362
[]
no_license
miaomiaovivi/packet
550b7fd13b180785b547d01c539869d1d1350107
f8033c361b19309cd83cfeeae3163107c211421c
refs/heads/master
2021-09-06T16:57:27.924535
2018-02-08T20:22:21
2018-02-08T20:22:21
113,625,157
0
0
null
null
null
null
UTF-8
Python
false
false
5,772
py
import getopt import json import os import requests import sys import constant as const from server import Server, RequestHandler from criu import CRIU class Monitor(object): _COMPUTE_PORT = None _COMPUTE_HOST = "http://127.0.0.1" _CRIU_DIR = "criu_dump" _PREV_CRIU_DIR = "criu_prev_dump" _PAIR = ...
[ "xiaowei1@andrew.cmu.edu" ]
xiaowei1@andrew.cmu.edu
53c42adfacc6ce3edf509f3185acb6127e1bb751
3c8246c84f94ead6703eff7729013777aa344388
/find_street_mention.py
c4852c465fb4ef50082498922cce664cd6d2e36d
[]
no_license
NATALIAGR/Twitter_location_mention_detection
39a018d474386df583187039abe431006875df6e
52fa244238ec8a996e2b56cc99543c2094b20801
refs/heads/master
2020-07-07T00:26:16.741996
2019-08-19T16:01:49
2019-08-19T16:01:49
203,185,847
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
#!/usr/bin/env python # coding: utf-8 # In[ ]: """ @author: Natalia Grion """ import re import nltk from nltk import word_tokenize nltk.download('averaged_perceptron_tagger') nltk.download('vader_lexicon') # Regex street loop street_compiler= re.compile(r'\w+\s([Rr](oa)?d|[Ss]tr(eet)?|[Aa]v(en...
[ "noreply@github.com" ]
NATALIAGR.noreply@github.com
926f98e8a68c4c9d69298173b68e6e7d6c48d97f
b9330bc0e333e7a1bb5905ba5d1039ff42cb110b
/tests/testapp/urls.py
9fdaa721dc76ea19e5675ad4f44e198575dfac9d
[ "MIT" ]
permissive
coldrye-collaboration/django-authlib
865c853ce75543bc64ad86f53d0703f0db879f53
6589316159bb0c2dace29d35334e4f930353eb88
refs/heads/main
2023-07-26T05:05:53.157272
2021-09-07T14:31:13
2021-09-07T14:31:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
from django.contrib import admin from django.shortcuts import render from django.urls import include, re_path from testapp.views import custom_verification, custom_verification_code from authlib import views from authlib.facebook import FacebookOAuth2Client from authlib.google import GoogleOAuth2Client from authlib.tw...
[ "mk@feinheit.ch" ]
mk@feinheit.ch
9c4d4b914e4b146d879626d485aac23f0d61c0af
98e820b4aaecea6509b8ae3147d31583732a38c2
/Lab2-RGandFA/FiniteAutomaton.py
f35c1faace51a51c8112e58543eff581ab9500ea
[]
no_license
ancapatriciastegerean/LFTC
175bb4ead47976fd321157699901b1e000bc3b6a
906593825e73e2e186ced61b2a31454f5dfada15
refs/heads/master
2022-04-04T13:04:17.168032
2020-01-13T21:44:52
2020-01-13T21:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,368
py
class FiniteAutomaton: def __init__(self, Q, E, S, q0, F): self.Q = Q self.E = E self.S = S self.q0 = q0 self.F = F def is_state(self, value): return value in self.Q @staticmethod def line_parsed(line): # returns after the equal sign and the elem...
[ "tpie2451@scs.ubbcluj.ro" ]
tpie2451@scs.ubbcluj.ro
e977127dda8ac2f2c9a41bf57af3bd7e54a7ce47
83bc96df34fc2311a33a68e8e79af802d84370b9
/vmraid/model/sync.py
603a5c359111066b36066fc1ab17e48fec1d725d
[ "MIT" ]
permissive
sowrisurya/vmraid
001072130ac6be5a3ef5a84523d8949d891e6954
f833e00978019dad87af80b41279c0146c063ed5
refs/heads/main
2023-05-05T13:52:45.386039
2021-05-31T10:23:56
2021-05-31T10:23:56
372,466,378
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
# Copyright (c) 2015, VMRaid Technologies Pvt. Ltd. and Contributors # MIT License. See license.txt from __future__ import unicode_literals, print_function """ Sync's doctype and docfields from txt files to database perms will get synced only if none exist """ import vmraid import os from vmraid.modules.import_file ...
[ "sowrisurya@outlook.com" ]
sowrisurya@outlook.com
4a0b8e945cc87af0984f292a9d3a7cf7c5c27d23
bc7927288ada439b7d52d2246f5415497651f3f4
/tools/mp_graph.py
2b5f12f544438cbc58066741d29de3f04f7cdc90
[ "Apache-2.0" ]
permissive
sailfish009/cgnn
2ccea385224fc384c8462f97cde9759c3dc81410
29d6341af2cacb1f738c3cf184c4d21b69600a29
refs/heads/master
2022-04-19T19:06:52.746653
2020-04-10T06:16:39
2020-04-10T06:16:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,065
py
# Copyright 2019 Takenori Yamamoto # # 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 agre...
[ "11532812+Tony-Y@users.noreply.github.com" ]
11532812+Tony-Y@users.noreply.github.com
9df52bdddb088e60b3d737e0b79c9023234d8230
e49eaa8a2de83ba5abad230b41effd1f19a70369
/db_credentials.py
35ef0c18118d8d50ab73fa4b78ead4b2bbc3a761
[]
no_license
NobleCactus/CS_340_Portfolio
f73b568cf474248830bc5b1c4cca2feb0c957a37
3bd6e082ccc08f300cff63f6455b42438f066971
refs/heads/master
2023-03-24T11:17:27.031211
2021-03-14T17:22:49
2021-03-14T17:22:49
333,941,956
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
# To actually have your app use this file, you need to RENAME the file to db_credentials.py # You will find details about your CS340 database credentials on Canvas. # the following will be used by the db_connector.py and # in turn by all the Python code in this codebase to interact with the database host = 'classmys...
[ "andrew.eppinger@yahoo.com" ]
andrew.eppinger@yahoo.com
be379de4863ae31f20197b96ce02d6fba18d36d5
fb5b2b1adde15cfb43de697a9eb0815d326ac504
/python语言程序设计/第五部分-函数定义/FiveAngle.py
b99bd7579b1b0d665a79827044350a7c6b0bb300
[]
no_license
wangyongguang/Python
9d45a64e85cf4dfd2a1787954bab44ee7035f38c
298986b0234b1b17d823f70f1b0acc0cece8f447
refs/heads/master
2021-09-10T08:40:01.723028
2018-03-23T03:22:52
2018-03-23T03:22:52
114,337,026
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from turtle import Turtle p = Turtle() p.speed(3) p.pensize(5) p.color("blue",'yellow') p.fillcolor("red") p.begin_fill() for i in range(5): p.forward(200) p.right(144) p.end_fill()
[ "549257430@qq.com" ]
549257430@qq.com
9df84799211740c7f4e37ba828a3043d278eb843
989e55fc48ba8fc37b1677231382b8efd001585f
/acm_placement_app/users/tests/test_tasks.py
a69167c34bda005933b93f271580014f23ed9635
[ "MIT" ]
permissive
mrklees/acm-placement-app
222b8810775c35937243d81bcd4becc0c68b378e
0ecc20861fa5b44580dec12986446e7c84537281
refs/heads/master
2020-05-24T02:44:27.725919
2019-06-05T02:17:15
2019-06-05T02:17:15
187,058,889
0
1
null
null
null
null
UTF-8
Python
false
false
501
py
import pytest from celery.result import EagerResult from acm_placement_app.users.tasks import get_users_count from acm_placement_app.users.tests.factories import UserFactory @pytest.mark.django_db def test_user_count(settings): """A basic test to execute the get_users_count Celery task.""" UserFactory.creat...
[ "keyvan@keyvanm.com" ]
keyvan@keyvanm.com
9979ba39da4d5323f6ed7358fab546d7d3b827a1
08e65977cbdca21613763fff6a721c7ffb315e4b
/apply-gain.py
02ea0fcceaea2ff65936164b2de5c9bef22ebf50
[]
no_license
paulomouat/AudioUtils
eb56810fe141a46cca19ef3a28d92d819f40d980
03585898b14d70986f802f7a7abd6e5ac0818ff3
refs/heads/main
2023-07-10T22:50:09.194870
2021-08-01T20:47:05
2021-08-01T20:47:05
387,241,821
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
#!/usr/bin/env python3 import sys, getopt import numpy as np from wavfile import read, write from wavfileinfo import outputinfo def usage(): print('apply-gain.py -i <inputfile> -o <outputfile> -g <gain>') sys.exit(2) def db_to_float(db, using_amplitude=True): db = float(db) if using_amplitude: ...
[ "paulo.mouat@gmail.com" ]
paulo.mouat@gmail.com
246d6219b180cf29e8e3fbfa058381452ac03983
d4d1e0b19498484136268c7761eb524f3d9d9252
/azeezllica/polls/views.py
5b395b93a992e18fbf9455e63ca210747670b2cb
[]
no_license
azeez13-meet/MEET-YL2
1dd443d357e094d452d8e47e462bdc8d0af013b6
b56991f0144464f25432aa33386ea1dd63ea544e
refs/heads/master
2020-05-20T13:04:49.890485
2014-12-11T17:47:01
2014-12-11T17:47:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from polls.models import Choice, Poll def index(request): latest_poll_list = Poll.objects.order_by('-pub_date')[:5] context = { 'latest_poll_list': latest_pol...
[ "guest-wlpeBm@meet.mit.edu" ]
guest-wlpeBm@meet.mit.edu
10c1fdfae2274a01c1e017d2d8b28cb745bf1285
98b38056b8134f9faca12bd055787ced4d20e47b
/Q2/code.py
0098b1dc52c07acd837f7ca39768c02f5f6d4679
[]
no_license
ShiyuLi1997/Hw4
29f20b71f2ef1a87a53c02ad964a27af8cc20cef
4533aedb9e1c2fd26af384236b6c05d3b47d41e9
refs/heads/main
2023-01-05T09:52:03.782961
2020-11-10T12:19:26
2020-11-10T12:19:26
311,585,750
0
0
null
null
null
null
UTF-8
Python
false
false
6,222
py
import random from time import time from matplotlib import pyplot as plt import math from statistics import mean """ The merge sort implementation is taken from website: URL: https://realpython.com/sorting-algorithms-python/#the-merge-sort-algorithm-in-python """ def merge(left, right): # If the first array is emp...
[ "lishiyu6@msu.edu" ]
lishiyu6@msu.edu
a3e4403580bd3cf7ad4cc7dc5c9cb90c0cf3f184
977f7a7386899a5d0152b29b57ec26682b430437
/data_managers/data_manager_malt_index_builder/data_manager/malt_index_builder.py
7ebf885fd08201668a570bb1e1566b3996ae4c65
[ "MIT" ]
permissive
galaxyproject/tools-iuc
0b87e21e1cb075ca6dc6b12622bc4e538a7c6507
96f8a533278b4b6394aebd7a8f537513b0d29b1a
refs/heads/main
2023-08-31T16:14:34.563541
2023-08-31T04:31:22
2023-08-31T04:31:22
23,992,530
164
508
MIT
2023-09-13T19:41:14
2014-09-13T11:18:49
HTML
UTF-8
Python
false
false
4,530
py
#!/usr/bin/env python import json import optparse import os import subprocess import sys def get_id_name(params, dbkey, fasta_description=None): sequence_id = params['param_dict']['sequence_id'] if not sequence_id: sequence_id = dbkey sequence_name = params['param_dict']['sequence_name'] if ...
[ "noreply@github.com" ]
galaxyproject.noreply@github.com
0b0715f158e2c44f0d69e82bbb870580eb41b7b7
87442943f7f9a833253c31a9dab71c8e5ed910df
/mysqlconnection.py
44d728176909c9e453b770b5e418333c3c111a02
[]
no_license
Codingmamba/Python-login-forum
5dacd86486a151ba9ad768ed8f01ae4cab19ea82
649483397db7106c60228b03986037707b68db9a
refs/heads/master
2020-03-08T08:06:33.812280
2018-04-04T05:43:21
2018-04-04T05:43:21
128,012,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,981
py
""" import the necessary modules """ from flask_sqlalchemy import SQLAlchemy from sqlalchemy.sql import text # Create a class that will give us an object that we can use to connect to a database class MySQLConnection(object): def __init__(self, app, db): config = { 'host': 'localhost', ...
[ "darnwi@amazon.com" ]
darnwi@amazon.com
43ace6831b2886e6fc2011556b593bda0552e970
faca9214e8c0a0d45696d88daaad8e086b2a7488
/app/api/fuzzy.py
dc6a2e603672648712ae48be5449c4f217abcb16
[]
no_license
GabrielFalcom/flask_vue_oracle11HR
5f088d0ebc369f626202203dc96e58b3d5044f2f
54d9e1481c555495998abbdc5cbec7b9b83cf69e
refs/heads/master
2021-06-26T12:33:09.354843
2019-12-12T04:02:41
2019-12-12T04:02:41
227,514,248
1
0
null
2021-05-06T20:30:58
2019-12-12T03:43:40
HTML
UTF-8
Python
false
false
3,414
py
import json from flask import jsonify, views from app import db from models import Country, Department, Location, Employee class FuzzyApi(views.MethodView): def get(self,country_id=None, department_id=None,city=None): if country_id and not department_id: departmentsCountry = db.session.quer...
[ "Gabriel Paixao" ]
Gabriel Paixao
d3359c699b2abfc093f3fe1941057b16f9e57524
188b46e77d511ad381acabf8eeecfdd5f43f5f94
/venv/bin/pip3.8
215392558d9a3ce5e21e6b53cbeca98a46921c63
[]
no_license
mooncinnamon/pipelinetest
1289ef90a369b5d3c9ae800a1c6d4f65472ac2ca
e4c1fb06a0ae994dc5ea25af57c34a89e183a0c6
refs/heads/master
2023-06-19T13:40:25.131928
2021-07-19T08:05:40
2021-07-19T08:05:40
375,726,271
0
0
null
null
null
null
UTF-8
Python
false
false
255
8
#!/Users/mooncinnamon/Project/shutle/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "moon.pinnamon@gmail.com" ]
moon.pinnamon@gmail.com
66b2f7a53d577a25631242cf7bf300eeff0b13e4
ea96bdf0b7fb55ed7cfcbdc9eaa2de81035db105
/leadmanager/leads/api.py
a73b649cf2d84570729f7d06b612356b19f1e32f
[]
no_license
nabilhesham/Lead-Manager-React-Django
55c57e9712c97e6d26e153f8a50b9a411bc8a83b
0978b7b9ea70b6d785d0bb05a1d7033f0406faa7
refs/heads/master
2023-01-07T20:15:55.986252
2020-03-25T23:37:09
2020-03-25T23:37:09
247,982,708
0
0
null
2023-01-07T16:03:25
2020-03-17T13:53:37
Python
UTF-8
Python
false
false
487
py
from leads.models import Lead from rest_framework import viewsets, permissions from .serializers import LeadSerializer # Lead ViewSet class LeadViewSet(viewsets.ModelViewSet): # queryset = Lead.objects.all() permission_classes = [ permissions.IsAuthenticated ] serializer_class = LeadSerializer...
[ "nabilhz1994@gmail.com" ]
nabilhz1994@gmail.com
f2734cd5b6c1d4547346763a7be1798180f76933
93951b1949407098d8a46c0ef059869df744b821
/product_herb_e/wizard/__init__.py
d8a95b30cbd8e6048f674d43f53fd42c664c76db
[]
no_license
eyedz9/herb-e
9b3cb386bbe4067c7780a591a07d921e191e91a6
ea5671d6c18e3c8b33a6683a098690de56ecaa1c
refs/heads/master
2020-04-06T07:08:16.640841
2016-09-10T16:45:29
2016-09-10T16:45:29
63,463,493
0
0
null
null
null
null
UTF-8
Python
false
false
19
py
import new_product
[ "root@vultr.guest" ]
root@vultr.guest
aad1005c74f5ba2b3ccf74f2f00e84c320fa4a15
b90ca63620dc438f4003f6f508c7a978b8ba78ac
/6/rehab_arfan/python/first.py
e4b4dfcd1030a5b479586f6a04fd6a7919b111e7
[]
no_license
aqueed-shaikh/submissions
1718d08a97bcf70b0a78900ba6b6470cd77ffba7
9d4562de4ddae6f5f682a1a210d9e62a3c30c3f7
refs/heads/master
2021-05-27T15:02:46.924276
2013-12-17T04:03:40
2013-12-17T04:03:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
#random functions def bigger(a,b): if a > b: return a else: return b def biggest(a,b,c): return bigger(a,bigger(b,c)) def median(a,b,c): if bigger(a,b) < c: return bigger(a,b) else: if bigger(a,c) < b: return bigger(a,c) else: return...
[ "areha308@gmail.com" ]
areha308@gmail.com
6fe9f60a6e047c4ddbc46c705e2af0f9e2a4b2a7
0ec9e67e3d11982e1c6eb23375490217f9960dd3
/UCB_Python/week04_day02_Python3/06-Stu_Shifty/Solved/shifty_solved_Bonus.py
0a89cc1fa73b1703985d4ccfb23b6d4e3e29084b
[]
no_license
yamscha/repo_class
53fb317394b3a469c1b8f1d5dfbcf89982b4f0c4
d8080ea15c2387789f89292412a7a7a047df1a21
refs/heads/master
2020-05-02T10:59:29.839497
2019-03-27T03:54:50
2019-03-27T03:54:50
177,914,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,643
py
# List of letters in the alphabet regularAlphabet = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] # Empty list for the shifted letters of the cipher ciphe...
[ "yamini@github.com" ]
yamini@github.com
6fe4d48456469dcfa58a924d7e50b66908cadf95
0abd8f28aa103342ba9a1e48aabdd8ebba262ae9
/simannealsolve.py
02a3d593df44b98c6df3669dd08ccc544b2be635
[]
no_license
con-ji/cs170proj
6851a31e6bf37d0d1a79719ea7d445f9f88797d9
3c60b53674c801135825addcf5c9c710f9d8f4c6
refs/heads/master
2021-08-22T18:34:35.815544
2017-12-01T00:04:28
2017-12-01T00:04:28
112,406,283
0
0
null
null
null
null
UTF-8
Python
false
false
2,538
py
''' Uses simulated annealing to solve this. For realsies this time. Simulated Annealing Python Library: https://github.com/perrygeo/simanneal TODO: input20_3.in input35_4.in ''' import simannealsolve import sys from simanneal import Annealer import math import random class WizardConstraints(Annealer): def __init_...
[ "jason-ji@berkeley.edu" ]
jason-ji@berkeley.edu
fc49c1c9eae4f3ff37984f06b97134064b5b424a
fa181e5dddf9505ccf51cbc7a883bd5b1d30bdd2
/almacenes/models.py
63fa237d961b5a26c49b8b11b33673e9c53c13b2
[]
no_license
tachuelota/automotriz
a39e10d8bb686d0268464149fddc575de364a8a0
0ca1c70d0579a6822e83a36861213eaae655a3d7
refs/heads/master
2021-01-24T03:43:06.279169
2013-10-21T13:55:41
2013-10-21T13:55:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,518
py
# -*- coding: utf-8 -*- from django.db import models from common.models import TipoMoneda class Marca(models.Model): """ """ descripcion = models.CharField(max_length=100, verbose_name=u"descripción") abreviatura = models.CharField(max_length=5) def __unicode__(self): return u"%s" % sel...
[ "luisjarufe@gmail.com" ]
luisjarufe@gmail.com
628d2152aa36cbc45f0bf606e330b8fc8bb790a2
716903317278fcaa1d2c01980c13bf214145773e
/IA-KNN-IRIS.py
3bcc7863eae7b00c978caa97e52c13a5a8c0ae05
[]
no_license
JkevinX23/intro-IA
9a6e28cd27253c72469aa62e9d3a4d505c170fbe
1257ec1141ac0c2cccfb2aea7f40166f10cc7685
refs/heads/master
2020-05-20T23:42:13.904480
2019-05-16T18:37:39
2019-05-16T18:37:39
185,808,229
1
0
null
null
null
null
UTF-8
Python
false
false
7,588
py
from sklearn.datasets import load_iris #Carrega o dataset de dados da iris from random import randint from math import sqrt from operator import itemgetter from numpy import array from numpy import choose import numpy as np import matplotlib.pyplot as plt import pandas as pd rp_global = [] testes_global = [] ''' Ki...
[ "kevinmira12@gmail.com" ]
kevinmira12@gmail.com
b563c65b4bfd34cd2ea3ebc55a52c57631c4aa1c
73d9d5e1618b207429aac4ce260292e8f7b0c33d
/agent.py
9e865aecb493c16f941f2090d2417b62edcf1e2f
[]
no_license
saidulislam/deep-reinforcement-taxi-v2
5aa152904e81e5b891b6e94365880ac8724a6fe9
d08eb1a14c1023a0f3ba15d3d6042207207291bf
refs/heads/master
2021-02-14T12:05:02.484583
2020-03-04T04:07:49
2020-03-04T04:07:49
244,802,766
0
0
null
null
null
null
UTF-8
Python
false
false
2,994
py
import numpy as np import gym import random from collections import defaultdict class Agent: def __init__(self, nA=6): """ Initialize agent. Params ====== - nA: number of actions available to the agent """ self.nA = nA self.Q = defaultdict(lambda: np.ze...
[ "noreply@github.com" ]
saidulislam.noreply@github.com
769f55187c8980e95ac6b89b8f5d6894dfbc8721
ea9d660733a645330949a80fc50a6313b234619c
/src/user/views.py
8d1e017ab76d21e9281bb5a633e025dec0e70e42
[]
no_license
saurabh1e/payNudge
4cc680cd9d7618df51c50a5da7af3b08c45365ce
a2ea3c82203a908c15a4f1a0f945dd0cd8feb901
refs/heads/master
2022-12-14T13:18:07.684321
2019-07-14T09:16:29
2019-07-14T09:16:29
196,816,495
1
1
null
2022-09-16T18:05:37
2019-07-14T09:16:22
HTML
UTF-8
Python
false
false
6,588
py
from random import randint from datetime import timedelta from flask import request, jsonify, make_response, redirect, json from flask_jwt_extended import (create_access_token, jwt_required) from flask_restful import Resource from flask_security.utils import verify_and_update_password, login_user from flask_security im...
[ "saurabh.1e1@gmail.com" ]
saurabh.1e1@gmail.com
eb51bd2537abf626faae83f8b8dc0d660c4f5fc0
485b6a0816a28e84211d06ea78bf056d5d1759b5
/cat_vs_dog_app/views.py
73449a690a13f4cc28455c565a6ced3f931cff4f
[]
no_license
AlekhyaD/cat-vs-dog--django
cb2950ef2c1af807182a3abf52d3c017b24dacba
d812d0c3dfa2dd8cd52c807c9ba376987ccfba95
refs/heads/main
2023-01-21T01:12:57.431477
2020-12-06T17:04:46
2020-12-06T17:04:46
319,074,986
0
0
null
null
null
null
UTF-8
Python
false
false
2,973
py
from django.shortcuts import render # Create your views here. from tensorflow import keras from keras.models import load_model import numpy as np #import cv2 from keras.preprocessing import image from PIL import Image from django.shortcuts import render from keras.preprocessing import image import numpy as np import...
[ "noreply@github.com" ]
AlekhyaD.noreply@github.com
ad360f168ac25df6f7cb52dbb954cb8fb3f80db5
f9f74f44f3e81bbe2ee70dcba36a2285037eeeb7
/App/models.py
288f62093395f271b873bcab3c1205fdae8b78d4
[]
no_license
sujits-hub/UserActivity
9b9425fe209cbd20e44d342ea914c54942584aca
8de69b9eb3bce99276bb1b64d604fa97f5651e07
refs/heads/master
2022-09-06T04:44:24.790104
2020-05-27T08:07:39
2020-05-27T08:07:39
267,040,757
0
0
null
null
null
null
UTF-8
Python
false
false
1,131
py
from django.db import models from django.utils import timezone class User(models.Model): ''' This Model is used to store information about the user. attributes: user_id: unique CharField() which contains the id of the user real_name: CharField() which contains the name of the user tz: DateTimeField() whi...
[ "sujitcpatil1851@gmail.com" ]
sujitcpatil1851@gmail.com
f69f5d8ce76527e186cccc6f06e466798fe7b256
ef1bf421aca35681574c03014e0c2b92da1e7dca
/pyqode/core/modes/matcher.py
ae2b73693ace03cec917c4572e642bde46af1ca6
[ "MIT" ]
permissive
pyQode/pyqode.core
74e67f038455ea8cde2bbc5bd628652c35aff6eb
0ffabebe4f0397d53429024f6f44db3fe97b0828
refs/heads/master
2020-04-12T06:36:33.483459
2020-01-18T14:16:08
2020-01-18T14:16:08
7,739,074
24
25
MIT
2020-01-18T14:16:10
2013-01-21T19:46:41
Python
UTF-8
Python
false
false
9,836
py
# -*- coding: utf-8 -*- """ This module contains the symbol matcher mode """ from pyqode.core.api import get_block_symbol_data from pyqode.core.api.decoration import TextDecoration from pyqode.core.api.mode import Mode from pyqode.qt import QtGui #: symbols indices in SymbolMatcherMode.SYMBOLS map PAREN = 0 SQUARE = ...
[ "colin.duquesnoy@gmail.com" ]
colin.duquesnoy@gmail.com
afe320205a6db04fd97ad178bf72c89d401dc959
c2a892b2ab87897e648d141500d04d4024a89252
/mlpipe/cli/interface.py
088651cd6fb99fd0ced6046de8ab05a4b82af13d
[]
no_license
robie2011/mlpipe
52e01002ecdb8553e83dc54d582df2bdefd42892
d6b0c803535c07afc389749c5833e43f58e9deeb
refs/heads/master
2021-07-13T04:19:42.618649
2020-03-30T16:09:14
2020-03-30T16:09:14
247,807,021
1
0
null
2021-06-02T01:13:03
2020-03-16T20:09:12
Python
UTF-8
Python
false
false
258
py
from dataclasses import dataclass from datetime import datetime @dataclass class ModelLocation: name: str session_id: str path: str sizeBytes: int epochs: int batch_size: int samples: int metrics: str datetime: datetime
[ "robert.rajakone@fhnw.ch" ]
robert.rajakone@fhnw.ch
e5f9eafb72a9cb05aa3946670ed8698211e70df4
96e05939da42a4366ee221e3b6282cbfe9d8b530
/urls.py
2c1719446150cda6823016476929a65f8bab672a
[]
no_license
drewp/photo
522045f02f6977ef559afb8ea00a7adc38c4e609
8f7e7504f89dbc35855ccfd5e0df269f7ad306af
refs/heads/master
2021-04-12T05:35:03.045418
2018-09-18T08:22:23
2018-09-18T08:22:23
1,566,006
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
import urllib, logging, os from ns import SITE log = logging.getLogger() def localSite(url): if url.startswith('/'): return url if url.startswith(SITE): return url[len(SITE)-1:] raise ValueError("%s not on site" % url) absSiteHost = ( os.environ.get("PHOTO_SITE_HOST", "photo.bigaster...
[ "drewp@bigasterisk.com" ]
drewp@bigasterisk.com
927cc866efe9fa8f8e2e5e77a5ef3af51c28806d
4f212c4b20581b2303398e8d77573177a2f65744
/q1.py
297a598b1bcf0961c75f85afb2134c4fca6066b8
[]
no_license
shivam15s/assignment-3-shivam15s
156840f505144a128934ec375ebdd14f9e3fd8b0
b5310ed4fd604db1372d832846d350430918ccd5
refs/heads/main
2023-04-10T22:29:26.912683
2021-04-22T16:20:10
2021-04-22T16:20:10
358,378,674
0
0
null
null
null
null
UTF-8
Python
false
false
2,434
py
import numpy as np from numpy.lib.npyio import load import pandas as pd import matplotlib.pyplot as plt from sklearn.datasets import load_breast_cancer from sklearn.preprocessing import MinMaxScaler from logisticRegression.logisticRegression import LogisticRegression from metrics import * np.random.seed(42) data = lo...
[ "shivam15800@gmail.com" ]
shivam15800@gmail.com
5aca83650438f40e55367ff75028af33c6310e46
7525eb86c374201ffcc6cc767a1bc0e4aeff9168
/examples/timeout/server.py
e83007c17f7fa98e891798cc7c1d01526521bd44
[ "MIT" ]
permissive
irmen/Pyro5
ed386d028ab36c40003e75f5d4dce725151d468c
c9eb525b3b1700bd16405499d874be93f5802144
refs/heads/master
2023-08-22T10:16:22.222288
2023-06-04T16:37:51
2023-06-04T16:37:51
83,903,998
271
34
MIT
2023-02-23T18:19:34
2017-03-04T15:39:14
Python
UTF-8
Python
false
false
730
py
import time from Pyro5.api import expose, locate_ns, Daemon, config @expose class TimeoutServer(object): def delay(self, amount): print("sleeping %d" % amount) time.sleep(amount) print("done.") return "slept %d seconds" % amount config.COMMTIMEOUT = 0 # the server won't be using...
[ "irmen@razorvine.net" ]
irmen@razorvine.net
4d1e5d9ad529462c01deed24dec8ef3a4826c2cd
24b33a4a70223ce22e3583dc6d8196e22da5057d
/examples/analysis/OpticalImageTest.py
a57389c38a5c2f584d5c9814edb65d5a0da88540
[ "MIT" ]
permissive
will-hossack/Poptics
4b4fcd1c596d257835ba2e448a05b5904bfa20e5
4093876e158eb16421dfd4e57818210b11381429
refs/heads/master
2022-11-28T02:45:57.542189
2020-08-03T08:47:26
2020-08-03T08:47:26
265,811,818
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
""" Example to for a test grid and image through simple singlet with default parameters. """ import matplotlib.pyplot as plt from poptics.analysis import OpticalImage from poptics.lens import SimpleSinglet from poptics.tio import tprint def main(): # Make a test image of 100 x 100 pixels and size 300...
[ "will.hossack@gmail.com" ]
will.hossack@gmail.com
788198d754bec62231b412ac94e7031913e5149d
1705f13c70fa76cc400da2c3e84da6a4fac7f1a2
/Factory.py
347e8bfae15cfe67d735555bbd05e57fc369adb6
[]
no_license
Rur1k/Pattern
62a3dcfe263451727b4ff3f3f5713c8038e66ee1
0ce70189c62f4f5cec13aed3e41f850cc2db0018
refs/heads/master
2023-05-04T11:29:58.940033
2021-05-26T14:28:37
2021-05-26T14:28:37
360,499,744
0
0
null
null
null
null
UTF-8
Python
false
false
966
py
class Transport: def CreateTransport(self): pass class AirTransport(Transport): def CreateTransport(self): return 'Create air transport' class SeaTransport(Transport): def CreateTransport(self): return 'Create sea transport' class LandTransport(Transport): def CreateTransport(...
[ "falgerok.master@gmail.com" ]
falgerok.master@gmail.com
b3a34414131f70d1385b8b9595851efaa7c0a956
1f1405d2321b15666c1d88170820b2c4023cfe21
/list_vs_array_comparisons/test.py
18b6457b7b41b245786041c40ee90c2bec99f6b9
[]
no_license
mehmetegeacican/Data-Structures-Python
e3aa5ec32a0c8f6711faaed85ece5fca345aefa1
cfdb9f6f02d4041e1ab8d5da21afa384fdbc8967
refs/heads/main
2023-02-02T22:04:23.797009
2020-12-22T09:18:58
2020-12-22T09:18:58
309,906,454
3
0
null
null
null
null
UTF-8
Python
false
false
2,927
py
from linked_list import * from linked_list_sort import * import random from math import ceil, floor print("HELLO WELCOME TO LIST VS ARRAY COMPARISONS") size = input("ENTER THE SIZE OF ARRAY (SIZES OF 100 TO 5000 IS ADVISED)") llist = LinkedList() A = [None]*int(size) for i in range(len(A)): A[i] = i + ...
[ "noreply@github.com" ]
mehmetegeacican.noreply@github.com
961ccea223bfcaa1eec7d10fa51f4b9f665092d8
b4a90da211c58228fdb66ed7d25d481326842852
/testing/unittests/test-generators.py
7e811b1ab8a5fa25f66ea004b105bff40bdca330
[]
no_license
like2000/PyHEADTAIL
6c943d1a9fe72ab04a87568e96c8d2f8c40f2ba2
3ecfc9d6325381450a5c808abf834e931f8e5933
refs/heads/master
2020-05-29T18:56:37.479678
2019-06-06T10:01:57
2019-06-06T10:01:57
16,484,363
3
2
null
2014-03-18T10:24:58
2014-02-03T16:05:59
Python
UTF-8
Python
false
false
3,777
py
#!/usr/bin/python from __future__ import division import sys, os BIN = os.path.dirname(__file__) # ./PyHEADTAIL/testing/unittests/ BIN = os.path.abspath( BIN ) # absolute path to unittests BIN = os.path.dirname( BIN ) # ../ --> ./PyHEADTAIL/testing/ BIN = os.path.dirname( BIN ) # ../ --> ./PyHEADTAIL/ BIN = os.path....
[ "oeftiger@cern.ch" ]
oeftiger@cern.ch
99071ef7a104489568cf83e9b6a02c2b55966809
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2021_07_01/aio/operations/_iot_hub_resource_operations.py
0a935f1474514c5eabfe0dce67fd6d5241828a2a
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
128,318
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
Azure.noreply@github.com
1a7ba9922dc7ad5edb07f0927418e6314f3beab2
07524e9ec69f339dc4898564ecdf9dc5496555a6
/Ervany Septa Prawara.A-10-4C-Tugas P5/Menubutton - TugasP5.py
35b11ac5b1f08aff5cd72dfde0ffe7258f65dece
[]
no_license
ervanyspa/python
fe0a01c9645e75a5dc6754df8fc4d9399ed7f22e
d894d8030b714db51dee7da949366214db532c04
refs/heads/master
2023-03-12T02:23:36.291350
2021-03-03T02:05:57
2021-03-03T02:05:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
650
py
from tkinter import * mainform = Tk() mainform.geometry('500x200') mainform.wm_title("Menubutton") mainform['background']="#bbdfc8" lbl = Label(mainform) lbl['text']="Pilih Bahasa Pemrograman" lbl.pack() mbt = Menubutton(mainform) mbt['text']="Bahasa Pemrograman" mbt['activebackground']="#75cfb8" mbt['activeforegrou...
[ "ti.ervany@gmail.com" ]
ti.ervany@gmail.com
6eaf25242a314c9c3bd54e3421c93441b06cfdc2
fa9bd18aa442e58da6647a3087e5cdb43718c777
/md5fun.py
1c016fd5f44091bc0f24a7394c4d221f3d5ee4e4
[]
no_license
kuiqejw/Security
5830dd1b04fb2c4a5a3bf05502a5fed50e2ba1ce
a245a4a53c3bdac6d96fec71d8ab7b6d8ce4a379
refs/heads/master
2020-04-22T21:28:45.680659
2019-05-06T01:31:02
2019-05-06T01:31:02
170,674,859
0
0
null
null
null
null
UTF-8
Python
false
false
4,969
py
import hashlib import random import time from string import ascii_lowercase #read and write def getFileContent(filename): file = open(filename, mode = 'r', encoding='utf-8', newline = '\n') lines = [] for line in file: if line.strip(): lines.append(line.strip()) return lines def getFileContentD...
[ "noreply@github.com" ]
kuiqejw.noreply@github.com
1556b0892916ec6c428405d5f4b71791ac399917
0c355ffd8815a4da5e08a50840b2949f7f4c53b7
/8단계_문자열/study.py
8e03c457ac1bd30d3c0af544d9854b5a6071a906
[]
no_license
alsgur6180/baekjun
81fcd1e5b5eb0ebbc41bd52753b6b7949fba85c4
6584c065689d312f711dc9a5220797ca6b1a1907
refs/heads/master
2023-02-04T21:41:32.362614
2020-12-27T12:11:55
2020-12-27T12:11:55
290,671,784
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
s = input().upper() setList = list(set(s)) best = 0 result = '' for i in setList: if best<s.count(i): best = s.count(i) result = i elif best == s.count(i) and result != i: result = '?' print(result)
[ "alsgur6180@naver.com" ]
alsgur6180@naver.com
3d85728869a6a5f2b3254a2625613e36d3bf0311
2394a7ace0398485d0c851136efd402e5b7718e4
/run_game.py
4958496168c29cc5670ea22ec88a6675887f2d50
[ "Apache-2.0" ]
permissive
TheBigKahuna353/ScratchGameEngine
e4546b8e74eba28a1ff4fe69d78ed897a6334299
7330e3f7a95eade9ad219bdc397f9f9050847b79
refs/heads/master
2023-01-10T06:25:17.491865
2020-11-12T07:37:37
2020-11-12T07:37:37
290,346,249
1
0
null
null
null
null
UTF-8
Python
false
false
228
py
import pygame from threading import Thread def run(engine): Thread(target=start, args=(engine,)).start() def start(engine): pygame.init() screen2 = pygame.display.set_mode((500, 500)) while True: pass
[ "65262579+TheBigKahuna353@users.noreply.github.com" ]
65262579+TheBigKahuna353@users.noreply.github.com
df6e2204bce9b1bbe8cbdea4fabaf6ddeeb0ef70
45d955ba10d0478bc3bb4e04c5ff4e5778343d77
/env/bin/django-admin
652d7d3b462788b5f3fff54d8c31f2831827a156
[]
no_license
GennadyBLack/Django_social
b3b318f08b4bb4a7b8c3a0f830220d1760fe4923
c0507cbfd035fd3d488f3ad98d1c9c820fe28d49
refs/heads/master
2022-11-28T04:27:19.796729
2020-04-15T19:08:51
2020-04-15T19:08:51
253,865,617
0
0
null
2022-11-22T05:28:51
2020-04-07T17:28:55
JavaScript
UTF-8
Python
false
false
284
#!/home/she/wowchat/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "richard.black183@gmail.com" ]
richard.black183@gmail.com
9db4c5ea883e33030a8c2dd4c0af0434a3be59e8
fbb643aa6044af78697b7274cf2a507437987db6
/test/serialbox-python/serialbox/test_serializer.py
17ac2c9cae210e838319672ee2a870ca221b08d2
[ "BSD-2-Clause" ]
permissive
mbianco/serialbox2
c164875640ca5d2f4eac6e0d1036e9ed1678f395
1d5fdcf10c21f88dcf0b1779b3a00cbe384a55bf
refs/heads/master
2021-01-12T08:25:20.104433
2016-12-15T15:17:01
2016-12-15T15:17:01
67,140,472
0
1
null
null
null
null
UTF-8
Python
false
false
18,230
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- ##===-----------------------------------------------------------------------------*- Python -*-===## ## ## S E R I A L B O X ## ## This file is distributed under terms of BSD license. ## See LICENSE.txt for more information. ## ##===---------...
[ "fabian_thuering@hotmail.com" ]
fabian_thuering@hotmail.com
611e8b71aaa47a96f014a44dca6f7f079c89b447
d856c9f4682b2d32d6f2571ba925b6c8fe4f7572
/lib/test/__init__.py
7bc6eac05f393c752827ab5bdf85f25d8de04d05
[]
no_license
vsraptor/bbhtm
4a2d5a263a7dbd8c1c5a4eb30f78b4960572414d
8c051d118c9a35743fcbb435adc6985b50979d5b
refs/heads/master
2020-12-24T19:46:20.460406
2019-01-31T22:17:12
2019-01-31T22:17:12
58,018,682
16
6
null
null
null
null
UTF-8
Python
false
false
38
py
#__all__ = ['data','test','results']
[ "me@me.com" ]
me@me.com
60ffedaa00bbf00d1911ac30a215e3866a5a5dab
754a53b8da48a5920aef5221ba4f4503828efcb9
/test/unit/test_postgres_adapter.py
c5b6d05b39cf58cfde3abe135515401a467cabda
[ "Apache-2.0" ]
permissive
tjengel/dbt
a88f35fbf13ddddef856af0e87eab0a94fe4d290
6a62ec43e946547ee7ee934138422bd40a9d2cdc
refs/heads/development
2020-09-03T01:50:18.896130
2018-09-07T16:03:17
2018-09-07T16:03:17
219,355,230
0
0
Apache-2.0
2019-11-03T19:39:54
2019-11-03T19:39:54
null
UTF-8
Python
false
false
2,662
py
import mock import unittest import dbt.flags as flags import dbt.adapters from dbt.adapters.postgres import PostgresAdapter from dbt.exceptions import ValidationException from dbt.logger import GLOBAL_LOGGER as logger # noqa class TestPostgresAdapter(unittest.TestCase): def setUp(self): flags.STRICT_M...
[ "noreply@github.com" ]
tjengel.noreply@github.com
27f7598d4ad87002d9ba329193fc4307bf8a0533
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03243/s829842448.py
787222bd819c81ea3a40fa9d036778147e46371b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
68
py
N = int(input()) i = N // 111 if N%111 != 0: i += 1 print(i*111)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com