blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
43c8d1a9b3efa665b4fb6fc75672a0ecd4805a45
42bee9a601e102ce884382f8e9ba125c8c9d7468
/signs/migrations/0009_auto_20161222_2030.py
9ed4de5fc0ca0f83e32999301da65a006a269691
[ "Apache-2.0" ]
permissive
ppreeper/signage
9bfa02e1d01ed048ecae4300938272ce8cfa9493
033df11f8980862a5b8da2eaac7ba04d9ebb6f1d
refs/heads/main
2023-03-06T13:00:19.584956
2023-02-23T04:06:01
2023-02-23T04:06:01
78,864,588
0
0
null
null
null
null
UTF-8
Python
false
false
1,110
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-12-23 03:30 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('signs', '0008_auto_20161222_2027'), ] operations = [ migrations.RemoveField( ...
[ "ppreeper@gmail.com" ]
ppreeper@gmail.com
82de8bf21474e30eeb3a6fcffd3d1d58d367c8b1
40c855e1d5343e234d46777ac2f19f413aa99fd1
/employee_app/models.py
076d4dd4984455ae17cb27a63b42e6471d0bb170
[]
no_license
tathyakapadia/Django_Cybage_Assignment
2d805eac1996cc39b2321b55af74547f81ac687e
bc611dd606e7ba91814fc393d8045c0b51edc4da
refs/heads/main
2023-01-10T09:41:31.523094
2020-11-09T09:41:28
2020-11-09T09:41:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,757
py
from django.db import models class Organization(models.Model): organizationName = models.CharField( max_length=100, null=False, blank=False) def __str__(self): return self.organizationName # def default_org(): # return Organization.objects.get_or_create(organizationName="DefaultOrg")[0]....
[ "tathya4225@gmail.com" ]
tathya4225@gmail.com
f0320b3b1e118fdbbad1d2595014cde9eaf74e65
d02adc312091edd768d5bf47267d3bb6d25a47d1
/final project/sample_models.py
6605d6ce0cd08c0707f95025eb53e6d0db4bef4f
[]
no_license
shanjgit/udacity-NLP-projects
46d0bc56e2638668923a748f223faf3aadabe84a
615bdcc22095b08b43bfcb8b5c7456b7ea5ab86f
refs/heads/master
2020-04-28T21:52:22.449744
2019-03-14T12:47:29
2019-03-14T12:47:29
175,597,273
1
0
null
null
null
null
UTF-8
Python
false
false
9,109
py
from keras import backend as K from keras.models import Model from keras.layers import (BatchNormalization, Conv1D, Dense, Input, TimeDistributed, Activation, Bidirectional, SimpleRNN, GRU, LSTM) from keras.regularizers import l2 def simple_rnn_model(input_dim, output_dim=29): """ Build a recurrent network fo...
[ "lightemit@gmail.com" ]
lightemit@gmail.com
763b3c41f750dca1f47c7fdc416ee621be024e3c
90cdae33e672b23a3ccb84dec0f281e78d3934ce
/auto_test_leke/web_test/src/common/method.py
038feba19e8b7600635d53982ce2dd7eead0e753
[]
no_license
kuangtao94/TestHome
dffdb3737ab60f6db435c770c33f423d814b5594
46acedadd225b07fe73f43feebd5c66d19c7eeac
refs/heads/master
2020-06-29T07:38:37.316844
2019-11-24T02:14:25
2019-11-24T02:14:25
200,475,947
0
1
null
null
null
null
UTF-8
Python
false
false
1,918
py
# coding:utf-8 from selenium import webdriver import os from selenium.webdriver.common.by import By #导入by定位 from selenium.webdriver.support.ui import WebDriverWait #导入显示等待包 from selenium.webdriver.support import expected_conditions as EC #导入期望条件 from logging import log ...
[ "1512500241@qq.com" ]
1512500241@qq.com
7edba09660881e3764ee50d3188e8cd70e43a36f
5684a61797621b7be82d2bc1e8c5014259222477
/server.py
5691ee21ceeda1379239ee746702f8841a5b1fc0
[]
no_license
AnthonyMMiller/pybook_oop
a09d3c71f169c24cf87f7180ff5dbaa7859ce7e4
d5f86a494c2bb2302c67efa290dab830a6dc43cf
refs/heads/master
2022-06-14T06:17:06.218409
2020-05-12T05:14:19
2020-05-12T05:14:19
263,234,508
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
import sqlite3 # Database functions class Database: def __init__(self,db): self.conn=sqlite3.connect(db) self.cur=self.conn.cursor() self.cur.execute("CREATE TABLE IF NOT EXISTS book (id INTEGER PRIMARY KEY, title text, author text, year integer, isbn integer)") self.conn.commit(...
[ "1anthony1@gmail.com" ]
1anthony1@gmail.com
18772b128b050a7ff3d1dabdbdd5d2091d72921c
2d94902e0367f364eabd038b4aa49ac34e1ebd47
/config.py
7e17e0f65019ab54b69a72e387746c5c258de67a
[ "Apache-2.0" ]
permissive
qitianchan/Patap
25f642759698391c77527ed3f676a84fcf918023
e71bd95300d94f7e26f9d87e5bdb9f4c73175383
refs/heads/master
2021-01-20T20:03:52.546735
2016-07-27T12:01:31
2016-07-27T12:01:31
64,106,084
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
# Create dummy secrey key so we can use sessions SECRET_KEY = '123456790' # Create in-memory database DATABASE_FILE = 'patap.sqlite' SQLALCHEMY_DATABASE_URI = 'sqlite:///' + DATABASE_FILE SQLALCHEMY_ECHO = True # Flask-Security config # SECURITY_URL_PREFIX = "/admin" SECURITY_PASSWORD_HASH = "pbkdf2_sha512" SECURITY_...
[ "qitianchan@sina.com" ]
qitianchan@sina.com
1f17b1b6a2c0bd4d5957fdf6884f06dc99a93f8a
82c562bf2257c248fae968ad27876f840c98d5cc
/python_stack/django/django_orm/firstorm/firstorm/settings.py
f42135421e8b5e24068980b7988b67264548ecc7
[]
no_license
tbkrft567/CodingDojo
5175dbf5cae1e7b23ad1b91e6370bbf1467e2c31
142974abeffa0aef93f3761ffd3a9e2cc452e990
refs/heads/master
2023-02-19T09:03:26.644627
2021-02-21T22:06:54
2021-02-21T22:06:54
230,340,732
0
0
null
2023-01-19T16:39:50
2019-12-26T23:24:56
Python
UTF-8
Python
false
false
3,100
py
""" Django settings for firstorm project. Generated by 'django-admin startproject' using Django 1.10. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os ...
[ "tbkrft@gmail.com" ]
tbkrft@gmail.com
c6f33d8d91c4d33b1e2add5fcf4896a139314cc8
be50e8a41b8f0f82f91fc5abe4a377815476fafa
/src/data/adobe5k.py
9286401ddd19dd7cf01bc183694cc53cfe76489c
[ "MIT" ]
permissive
XenonLamb/CSConvNet
fae5eea59f24b6f5555384f8552fb7e3d5698221
b8fbf016789e54805b1ac87925e2cc8c00e8e3a6
refs/heads/master
2023-06-20T08:10:32.785147
2021-07-12T15:26:54
2021-07-12T15:26:54
248,464,717
2
2
null
null
null
null
UTF-8
Python
false
false
1,449
py
from data import srdata class ADOBE5K(srdata.SRData): def __init__(self, args, name='ADOBE5K', train=True, benchmark=True): data_range = [r.split('-') for r in args.data_range_adobe.split('/')] if train: data_range = data_range[0] else: if args.test_only and len(data...
[ "SENSETIME\\xulu@hkst18060094.domain.sensetime.com" ]
SENSETIME\xulu@hkst18060094.domain.sensetime.com
d8541729ab254efed662b593b9d468fc5bb5016a
85bfa6fc1ff7f0f4973083251552a86c3cc5acea
/Numbers.py
8c15b0c0908eedc993b12b9ac899479082f7113f
[]
no_license
Barshon-git/Test
4353b87e81fa9081d8cfc1a6dbc2323605da9fb6
8317fe9c3268d248cd082b1686b15b4024c4308a
refs/heads/master
2020-06-20T19:13:11.361498
2019-07-16T15:38:32
2019-07-16T15:38:32
197,218,742
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
print(2) print(2.5) print(2+7) print(2-7) print(2*7) print(2/7) print(2+4*6) print((2+7)*7) print(10%4) my_number=123 print(my_number) print(str(my_number)) my_number=-45.23 print(abs(my_number)) print(pow(my_number, 2)) print(max(my_number,-234)) print(min(my_number,-2124)) print(round(my_number)) from math import *...
[ "52784421+Barshon-git@users.noreply.github.com" ]
52784421+Barshon-git@users.noreply.github.com
e87ad93a3d3dcdf7cfea8ea52573b0f8fcc1a35a
54290d468f91a21f131458b136213354a3780a46
/fabfile.py
2f37bf95d517421a6878a2eb07b905c48515e92f
[ "WTFPL" ]
permissive
LaPosteSNA/addok
9435cccd37e936c89c538caed08f5db04e6bd0eb
22a4e407c5a94d412673d223a25a8a3651801a71
refs/heads/master
2021-01-22T13:13:37.465954
2016-01-26T17:02:01
2016-01-26T17:02:01
45,954,224
1
0
null
2015-11-11T02:15:32
2015-11-11T02:15:31
null
UTF-8
Python
true
false
3,886
py
from fabric.api import cd, env, execute, hide, puts, roles, sudo, task env.project_name = 'addok' env.repository = 'https://github.com/etalab/addok.git' env.local_branch = 'master' env.remote_ref = 'origin/master' env.requirements_file = 'requirements.txt' env.use_ssh_config = True env.shell = "/bin/bash -c" # Defaul...
[ "yb@enix.org" ]
yb@enix.org
20f9a920e3fe0d8331bd86ce5e2efa02f2201bee
f8248aa7ba95fa914db8aaadfe1a4c69f8b63c91
/phase_1/demo4_2.py
be5eb2bb10dbd4bd6298fbfa8a6f5b3011244dea
[]
no_license
LoTwT/clawer
6001a0cec519628b273048b6453c1b7f42e23b09
192eeb02e745e1415ddd1c47f86bdc2c60be6114
refs/heads/master
2023-06-05T22:35:47.605393
2021-06-26T18:27:57
2021-06-26T18:27:57
359,274,008
0
0
null
null
null
null
UTF-8
Python
false
false
2,159
py
# 小说下载器 # 输入吞噬小说网对应小说 url, 下载小说 import requests from lxml import etree import os base_url = "https://www.tsxs.org" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36", "referer": "https://www.doutub.com/" } def get_n...
[ "709937065@qq.com" ]
709937065@qq.com
a4cbdc127de8adeb4a567c47aef68184eacde895
17af0907a768516e8e3773e0c758da3749f6de39
/crawling-backup/crawling_scrapy 2/scrapyproject/ecommerce/ecommerce/items.py
12d67dd6a869e9540280ce6c5581359b09fe69eb
[]
no_license
ssubin29/WebCrawling_PBL
9aa34683a1af6b7f58cadd751fc6d0fc0b59b5cc
3004762c31e794a740fa39d20e111873ad955192
refs/heads/main
2023-06-06T09:55:20.348451
2021-06-28T04:51:22
2021-06-28T04:51:22
353,890,863
1
0
null
null
null
null
UTF-8
Python
false
false
515
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class EcommerceItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() main_category_name = scrapy.Field() ...
[ "(20201003@sungshin.ac.kr)" ]
(20201003@sungshin.ac.kr)
94be3ed0169b5b1a099858c6d26cca996a1e3f6c
ee7ca0fed1620c3426fdfd22e5a82bba2a515983
/dsn_qc_pbsa/models/qc.py
49236e76f3e03ea571e2b17105d32c21ef6826d9
[]
no_license
disna-sistemas/odoo
318d0e38d9b43bea56978fe85fc72850d597f033
0826091462cc10c9edc3cc29ea59c417f8e66c33
refs/heads/8.0
2022-03-08T19:01:21.162717
2022-02-15T13:06:26
2022-02-15T13:06:26
99,210,381
0
5
null
2019-07-24T08:49:58
2017-08-03T08:36:55
Python
UTF-8
Python
false
false
1,399
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2012 OpenERP SA (<http://openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "sistemas@disna.com" ]
sistemas@disna.com
c8a986b497b7a0c2128f13bbfde54e050e90750c
1745474c122c8a810ec835024c28c39c276f6e34
/facetrain.py
ce5763a2387ee13e1464aa7f5d52d1f385ef4cff
[]
no_license
HariAcidReign/ImageRecognition
92ccfc96bea62e3fa2120d4c0f44a848bd73052e
3d635a59d4a4c4354bff13928bd7ed4617c8cdae
refs/heads/master
2022-05-26T20:22:19.053898
2020-05-01T13:42:31
2020-05-01T13:42:31
259,615,230
0
0
null
null
null
null
UTF-8
Python
false
false
1,688
py
import os import cv2 import numpy as np import pickle from PIL import Image #Finds path of this facetrain.py file and assigns it to BASE_DIR BASE_DIR = os.path.dirname(os.path.abspath(__file__)) IMAGE_DIR = os.path.join(BASE_DIR,'images') face_cascade = cv2.CascadeClassifier('cascades/data/haarcascade_fr...
[ "noreply@github.com" ]
noreply@github.com
d7c716d5a9bf07da17abc23ef4d78ad48a9b06b9
e43f3a2b54b4f4b17c598a35dcf26fd534630b31
/blog/forms.py
c424d5419b962e12971ccf8c3289e20a82564fcc
[]
no_license
s8508235/CloudProgrammingWebApp
caa61282807a5cd5ed9e8060716a69f1b76838d0
6f9c379ab8c598cd5d132cec21b8c3b839899a29
refs/heads/master
2021-01-20T13:43:31.644473
2018-10-05T12:20:34
2018-10-05T12:20:34
90,520,119
0
0
null
null
null
null
UTF-8
Python
false
false
713
py
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import Post class SignUpForm(UserCreationForm): first_name = forms.CharField(max_length=30, required=False, help_text='Optional.') last_name = forms.CharField(max_length=30, ...
[ "s8508235@yahoo.com.tw" ]
s8508235@yahoo.com.tw
10affdb29314ddfb1405ef86dcd765a719c52ee1
6a6ef66fbf39e8a5c77c3359fc3d1995f5e32646
/purchase_app/purchase/views.py
ebcee4cd76718836d289f938414efe558b144757
[]
no_license
Shwetaa22/PurchaseModel
0a380634305218d784540122ef3ce8bbcf419ea6
128abc346648d0b6ce364a0dbe5cb29663d36290
refs/heads/master
2023-02-02T09:42:30.613976
2020-12-20T14:24:22
2020-12-20T14:24:22
321,710,974
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
from django.db import connection from django.shortcuts import render from django.db.models import Sum, Count from django.http import JsonResponse from .models import PurchaseModel,PurchaseStatusModel def home(request): return render(request, 'home.html') def bar_chart(request): labels = [] data = [] ...
[ "shweta.ayre@tacto.in" ]
shweta.ayre@tacto.in
0f623b7efc31b36e7164ee5d0583e99681d30c6a
86059cbbba04e62a1a6b217ea043081d10c55174
/SOFTENG_370 _AdditionalPart/ServiceA.py
a6b810d13434a32c9165439754e8b21b55438766
[]
no_license
AdityaJNair/PythonAssignment
4d0190a8bf2576fcf7863fea5cd7b195e6060bc5
3c0b8cb1d47b29382bc40239fe4735034db1965e
refs/heads/master
2021-01-20T11:50:55.030343
2016-08-18T05:21:20
2016-08-18T05:21:20
65,005,206
0
0
null
null
null
null
UTF-8
Python
false
false
3,270
py
import os import sys import pickle import time import threading import atexit import re from queue import Queue import math ANY='any' class ServiceA(): service_dictionary = {} communication_queue = Queue() communication_list = [] arrived_condition = threading.Condition() def start_service(self)...
[ "adijnair@gmail.com" ]
adijnair@gmail.com
388949d03d9a2d1082cb50d691f752acbb33b87e
ec11ade6f674d92c3accc917771c69de927c882c
/gmso/utils/decorators.py
aff3219d0151aee0d37154a8b7a955157ed5c9a0
[ "MIT" ]
permissive
rmatsum836/gmso
36a20a5b5c3548af7a0830c127fcba284f15c39b
8c662cc8e511f3b47f6e791d1a0d6a5f2ffeb1bc
refs/heads/master
2021-09-21T01:39:16.863137
2020-03-10T17:56:19
2020-03-10T17:56:19
244,210,188
1
0
MIT
2020-03-01T19:26:49
2020-03-01T19:26:48
null
UTF-8
Python
false
false
635
py
from functools import wraps def confirm_dict_existence(setter_function): """This decorator confirms that any core type member is in the topology's set (if it is used to wrap setters of the core type member class) """ @wraps(setter_function) def setter_with_dict_removal(self, *args, **kwargs):...
[ "umesh.timalsina@vanderbilt.edu" ]
umesh.timalsina@vanderbilt.edu
f2c256c323ba1cec97493ee8de823784aeb287cc
ac8779998b00a35b2fced864b007334a32873bf1
/manage.py
cf1caf56512e01322d1767d71e4b7fce84a389b2
[]
no_license
openmaker-eu/dsp-explorer
5cb5ad4e7190dc8559b69a3154da9ae6383ef536
8a8b007ac6095ac6864e030641545724a6872f2e
refs/heads/master
2022-12-09T13:50:47.218076
2019-02-14T20:21:53
2019-02-14T20:21:53
90,641,109
5
8
null
2022-12-08T02:06:16
2017-05-08T15:02:38
Python
UTF-8
Python
false
false
809
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dspexplorer.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that ...
[ "alex.comunian@gmail.com" ]
alex.comunian@gmail.com
d800c64654a972e6395fb5cd0ec1bd2d1e9771bc
2c1afb1c43b8ba0df7791ccdb11c709e15a430d1
/cp_datawarehouse/etl/load.py
be92a9901e49723a9e8b2a4e4993b3aa3f80839e
[]
no_license
nicolasblaye/cp_datawarehouse
aca0146811e19910341f932a6e9ebba3954f750e
f7dfdd42e9161a0e465e8de64a0e84844e983a91
refs/heads/master
2020-03-21T18:52:00.131509
2018-07-01T20:38:04
2018-07-01T20:38:04
138,917,778
0
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
""" Load module provides functions to load data into various cp_datawarehouse tables """ import logging import psycopg2 import psycopg2.extras import pandas as pd from cp_datawarehouse.config.base import config LOGGER = logging.getLogger(__name__) CONFIG = config() def insert_users_list(users_list): """ I...
[ "nblaye@powerspace.com" ]
nblaye@powerspace.com
79a789918719a6e265aac3a7a5bbc428f2e62603
767a21165b30e8c443664b2f1f1254a2c75adc17
/python/ray/rllib/RL/DeepADFQ/run_anytime_planner.py
f2e7fb62b6fd6ecff60c11b9712dd31b04939d30
[ "Apache-2.0", "MIT" ]
permissive
christopher-hsu/ray
2113b1341e765f98950f970695aed71a69a19e91
abe84b596253411607a91b3a44c135f5e9ac6ac7
refs/heads/master
2020-06-10T22:49:45.683288
2019-08-05T19:15:56
2019-08-05T19:15:56
193,778,726
0
0
Apache-2.0
2019-06-25T20:27:48
2019-06-25T20:27:48
null
UTF-8
Python
false
false
3,092
py
import pdb import numpy as np import pickle import datetime, json, os, argparse import envs import pyInfoGathering as IGL parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('--seed', help='RNG seed', type=int, default=0) parser.add_argument('--render', help='r...
[ "christopherhsu8@gmail.com" ]
christopherhsu8@gmail.com
28f6b650adb85f3d667907e9d3035cf4f87b003a
4cd3609eded219222020b13c63d8dcfcba2cee0a
/badolexpenses/settings.py
d18d38c8219d9333a03165046b0788062d309cd8
[]
no_license
axdev4591/badol
b9856438a5d5201de4f8fe56b82bd444b815d63a
8739cf04cd19d34f49e7f77432230268b3b7e89b
refs/heads/master
2023-01-24T20:28:24.238471
2020-12-07T16:15:01
2020-12-07T16:15:01
317,877,435
0
0
null
null
null
null
UTF-8
Python
false
false
6,010
py
""" Django settings for badolexpenses project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import...
[ "axelmouele@gmail.com" ]
axelmouele@gmail.com
b3b1665fb21f6233aa62577bc888715c6c87326f
e5a044708032b853f1cdf8906da63502716fd410
/test/test_acs_response.py
50ae8c13ac7310108d49f9d76f8061799b9c37d7
[]
no_license
GBSEcom/Python
4b93bab80476051fc99f379f018ac9fa109a8a6a
5fa37dba8d0c3853686fdc726f863743376060c9
refs/heads/master
2021-12-04T12:55:29.605843
2021-11-19T22:01:03
2021-11-19T22:01:03
136,058,345
1
2
null
null
null
null
UTF-8
Python
false
false
1,064
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
b7fbde2b24ceb11a7e7084a5c6a99e00950b5a0e
28525dc93b71aed4465a76c5b92136795712cb10
/University/run.py
f8128905748c2a876b34caca226f8304b117ff25
[]
no_license
anasvp444/MachineLearning
7f2383ea069159e7813a94a2a64f32e7f2a5273a
b5581c6f8662c2eeda9f7ca69daa054b67c7bcaa
refs/heads/master
2020-05-05T06:54:55.347035
2019-12-04T02:36:01
2019-12-04T02:36:01
179,806,220
3
1
null
null
null
null
UTF-8
Python
false
false
2,203
py
from sklearn.linear_model import LinearRegression from flask import Flask, render_template, request, flash, redirect, url_for, Response import numpy as np import pandas as pd data = pd.read_csv('Admission_Predict_Ver1.1.csv') continues_data = data[['GRE Score', 'TOEFL Score', 'Uni...
[ "anasvp444@gmail.com" ]
anasvp444@gmail.com
ce2c39c3477019baaa00ce42f360612cc208f501
24d8cf871b092b2d60fc85d5320e1bc761a7cbe2
/eXe/rev2283-2409/base-trunk-2283/exe/engine/path.py
8c18ee779da2843b3377442bd070d39038cb31c2
[]
no_license
joliebig/featurehouse_fstmerge_examples
af1b963537839d13e834f829cf51f8ad5e6ffe76
1a99c1788f0eb9f1e5d8c2ced3892d00cd9449ad
refs/heads/master
2016-09-05T10:24:50.974902
2013-03-28T16:28:47
2013-03-28T16:28:47
9,080,611
3
2
null
null
null
null
UTF-8
Python
false
false
29,655
py
""" path.py - An object representing a path to a file or directory. Example: from path import Path d = Path('/home/guido/bin') for file_ in d.files('*.py'): file_.chmod(0755) This module requires Python 2.2 or later. Licensed under GPL. URL: http://www.jorendorff.com/articles/python/path Author: Jason Orendorf...
[ "joliebig@fim.uni-passau.de" ]
joliebig@fim.uni-passau.de
281b53afc70f1980e6fd4fce95475fb535e8f4a3
4219ce3a8d69ece222700b6eca4ed615dc8a3b33
/light.py
1dead3e43034d265477cc38b3142f3652b92421b
[ "MIT" ]
permissive
ami-GS/Timelapse_RPi
8b144606f7e2ffbd24f312420e240a9f11948097
f7732f4882ddf64cc5496e1bc2bab05ad75fa221
refs/heads/master
2020-04-28T06:56:06.913496
2015-02-23T11:59:50
2015-02-23T11:59:50
18,900,825
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
import RPi.GPIO as GPIO class LEDs(): def __init__(self, chan_list = []): GPIO.setmode(GPIO.BOARD) if chan_list: self.setChannels(chan_list) def init(self): self.__init__(self.chan_list) def setChannels(self, chan_list): self.chan_list = chan_list GPIO....
[ "1991.daiki@gmail.com" ]
1991.daiki@gmail.com
8d7aefb0ee4e87eb4980fd57b5be7b87f7709f88
d3bfad41c5d935e6420322cf175b96b1ad1c7146
/venv/variousDebug.py
c41d03c457ff841db96b32ec0ed45e0426a12c80
[]
no_license
Rastinn235/02456-deep-learning-project
8d3221e4b30aec647b90f81bc40b81506f40981a
5b9a8e3011193075736d7780a2ffb6731204031c
refs/heads/main
2023-02-10T18:51:24.826296
2021-01-04T22:37:02
2021-01-04T22:37:02
318,879,838
0
0
null
null
null
null
UTF-8
Python
false
false
1,610
py
# plot random piano roll midiroll = midi.midi2roll(listofAllMidiFiles[1]) midi.plotPianoRoll(midiroll) plt.figure(figsize=(8, 4)) plt.show() train, target = midi.splitLowHighNotes(midiroll) print("split") midi.plotPianoRoll(train) plt.figure(figsize=(8, 4)) plt.show() midi.plotPianoRoll(target) plt.figure(figsize=(8, 4...
[ "s144002@student.dtu.dk" ]
s144002@student.dtu.dk
09f70f369e144a71c51b73ed22daee52504648d1
a7248b870e97100ac0128d28f74fa70186c4cb7a
/Data Integration.py
9742f3a9e94dcf25874c56dc5ad0d9d015c6761b
[]
no_license
sklimantovich/IntersetInterview
b4e97cd9d4158e6d76147fa45ba97fcf2e18942d
d8b7f0231ce72d424a0df9b894130d6248432596
refs/heads/master
2021-01-20T06:17:38.970517
2017-04-30T16:05:59
2017-04-30T16:05:59
89,860,439
0
0
null
null
null
null
UTF-8
Python
false
false
5,759
py
# This script is compatible with Python 3.6. # Using Python 2.7 may not work # Written by Sergey Klimantovich # Date: 30/04/2017 import json import csv from datetime import datetime import argparse import os """ This method opens a file with JSON object, read it line by line and creates json_data objec...
[ "noreply@github.com" ]
noreply@github.com
f840cd0dfd6083df3c8aa4752cea0ac6b3a1cea0
75f34a0053cd3dc53862395148479d507e376b0e
/Starfield/main.py
9eadda72a9745b85463c10de85a1a3c22d5a1949
[]
no_license
nakamarusun/TA-stuff
0d093fe0ae720e8b68015146e0a5c74f15da1e8f
eb66ba8a74dea3f8fb2cfd5d2d949d530639e0ad
refs/heads/master
2023-03-02T17:09:07.752131
2021-02-08T15:49:33
2021-02-08T15:49:33
297,830,367
1
0
null
null
null
null
UTF-8
Python
false
false
1,168
py
import pygame import pygame.event import pygame.display import object_manager import pygame.time import util from time import time pygame.display.set_caption("Starfield") # Inits the pygame library pygame.init() while 1: # Records the first delta begin_time = time() # Loads the events to a local var ...
[ "nakamarujc@gmail.com" ]
nakamarujc@gmail.com
e73627f2cd62d56e3044aac448a938ae74e30088
191f1e8535e11ce4ab3e2f5298f52a8c6d801866
/python/code3/xml-parsing assignment.py
e5cb2b07778f87caf62cad2947021c1ba5507230
[]
no_license
Chitransh219/chitransh-web-capg
c895807d03956b785a2258b742b4b9bdffad04ed
55f53d8bef0b8702165a6903d483b3723ac28fac
refs/heads/master
2023-04-20T20:34:57.142629
2021-05-08T05:44:07
2021-05-08T05:44:07
365,429,103
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
import urllib.request, urllib.parse, urllib.error import xml.etree.ElementTree as ET import ssl api_key = False # If you have a Google Places API key, enter it here # api_key = 'AIzaSy___IDByT70' # https://developers.google.com/maps/documentation/geocoding/intro if api_key is False: api_key = 42 serviceurl = ...
[ "derashrichitransh@gmail.com" ]
derashrichitransh@gmail.com
af54c2b60779c31d1d0d83a753f2c43b38f14d77
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/mDzheHpwtqyXePEBE_1.py
ab0f5df7676101d833a8e557fffe7d8f9cbc98e4
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
45
py
def sum_polygon(n): return (n - 2) * 180
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
5b59245810f273b453d8890a4323042d1618a756
dcfdad4ce2289af76fc1ca2a9f593a13a79b390d
/CS154_Labs_2ndSem/Lab10/file_worrd.py
45c75e7ea91c696879235a5f17708d11d17ee1ed
[]
no_license
arponbasu/CS154_Labs_2ndSem
ee2b4b02ea13028d59236cf51a64ca89505a9fd0
f48b016776a57435f050fe6babac1fc90ac3d85e
refs/heads/main
2023-07-05T01:20:14.895773
2021-09-01T16:32:58
2021-09-01T16:32:58
392,825,511
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
fl=open(sys.argv[1], 'r').readlines() word_list=[lines.split(" ") for lines in fl] print(len(word_list))
[ "noreply@github.com" ]
noreply@github.com
46823e51aef1425db664261b1bf8807eda1cf97f
ff21dd1b906db472584aa92a32c22fb9351c9ffd
/NOTE/02_PythonBase/day20/exercise/mycopy.py
84c9355038bbc272ced2e384557d1676f5064f61
[]
no_license
Bertram-Liu/Note
0e176b2c9625f02e463b8f6be3587f1f0b873e9b
60a30b03ff5d41ab6233e6fd30074de396703b68
refs/heads/master
2020-07-18T18:14:24.920528
2019-09-04T11:55:59
2019-09-04T11:55:59
206,290,323
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# 1. 写程序,实现复制文件的功能 # 要求: # 1. 要考虑关闭文件的问题 # 2. 要考虑超大文件的问题 # 3. 要能复制二进制文件 def copy(src_file, dst_file): '''src_file 源文件 dst_file 目标文件''' # 以下实现复制 try: with open(src_file, 'rb') as fr, \ open(dst_file, 'wb') as fw: while True: ...
[ "bertram_liu@163.com" ]
bertram_liu@163.com
2294bcc3211c94ad16f0784191f9eb000b41fb76
23805cffc86ac4dfb5bcce672b8c7070b4616e41
/Apprendre-Python/sum-1-n/scripts/feedback.py
638e0fc434e034cca499389e17e3f7f853abd000
[]
no_license
ukonline/pythia-tasks
f90ff90299fe0eedd0e2787bcf666df07c709a00
81a3731eb0cdfe16b26a4e75a165a5071fb48ff5
refs/heads/master
2021-01-25T03:26:33.915795
2016-01-04T20:03:24
2016-01-04T20:03:24
40,974,655
0
2
null
2016-12-21T13:12:14
2015-08-18T13:49:39
Python
UTF-8
Python
false
false
1,247
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Course: Apprendre Python # Problem: Somme de 1 à n # Feedback script import ast import csv import json import os import sys sys.path.append('/task/static') from lib import pythia import math def computesum(n): result = 0 i = 1 while i <= n: result += ...
[ "seb478@gmail.com" ]
seb478@gmail.com
c9e7c33fa1def03f75ae6eae3e0060a1052e6d21
1e05b18a9dd212e21789deec471262cc84e9dce7
/models/fastrcnn_resnet_50.py
a37cf739c748a34375d1d9ba2784d1568d4f8abd
[]
no_license
Bovey0809/global_wheat
9ff7f1888a7b1ad5668369d0c242bb8728348822
6daf58503c5525352497a689f1854df14f62b77d
refs/heads/master
2022-11-23T02:35:05.725850
2020-07-09T07:03:20
2020-07-09T07:03:20
277,493,088
1
0
null
null
null
null
UTF-8
Python
false
false
268
py
import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim from torchvision.models.detection.faster_rcnn import FastRCNNPredictor from torchvision.models.detection import fasterrcnn_resnet50_fpn class fastercnn(torch.nn.Module):
[ "my364007886@gmail.com" ]
my364007886@gmail.com
8c2c7e01389a645b6a32e59ca057febd60ccbc87
5afce1498e13fd7f45c139fa66b0560c6a9fb479
/DBproject/wsgi.py
00b752dc663f2e1f4362c19798317c596076744e
[]
no_license
borigor/DBproject
8bc17d7ea2f247edfa74ca29ab723caa4bee8f59
54c2d572e19661320a2b6bf4eb68671b1374243e
refs/heads/master
2021-01-23T06:50:11.655902
2014-04-30T04:27:35
2014-04-30T04:27:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,428
py
""" WSGI config for DBproject project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via the ``WSGI_APPLICATION`...
[ "igor.gigi13@gmail.com" ]
igor.gigi13@gmail.com
547aa077f046aab16aae678a4411d80daf8a71ac
e44455d19049fcff6fb74504207c396e67e2a9b5
/Eng_lda(FINAL).py
577c820dbd2d78ed0afec2a1bda54615a3dd631f
[]
no_license
NoraishaYusuf/Research-Project-WQD7002
e52de6e2e96fa97cf85c0a2043afe55d5fbdc524
e6ee020456c5d4f95d0c7281675ce7282e576b9e
refs/heads/master
2021-02-18T01:58:39.584405
2020-06-18T01:10:34
2020-06-18T01:10:34
245,147,481
0
0
null
null
null
null
UTF-8
Python
false
false
7,498
py
# ============================================================================= # MALAY CORPUS: # 1. Tuned LDA model for train data # 2. Use tuned lda model to infer topic distribution on test data # ============================================================================= "Execute preprocessing functions" ...
[ "noreply@github.com" ]
noreply@github.com
b529d4e2ef137a416b1a7794a47c6e9eebffab3b
01ac9e40052a468dd472a296df0003c4e629e2c9
/news_all/spiders_ydyl/cppcc_all.py
4081ec07efd2853fce653816d12c6835d575b706
[]
no_license
Pintrue/news_all
b5cee16584ed92e6574edd825b574214df65d917
eb8c32c79bdacd8e2f76b88f27871c3cd0118006
refs/heads/master
2022-03-23T13:34:10.354029
2019-11-22T07:40:50
2019-11-22T07:40:50
223,058,997
2
1
null
null
null
null
UTF-8
Python
false
false
1,433
py
# -*- coding: utf-8 -*- from scrapy.linkextractors import LinkExtractor from scrapy.spiders import Rule from news_all.spider_models import NewsRCSpider class Zgzxw_allSpider(NewsRCSpider): """中国政协网""" name = 'zgzxw' mystart_urls = { 'http://www.cppcc.gov.cn/zxww/newcppcc/zxyw/index.shtml': 7642, ...
[ "py416@ic.ac.uk" ]
py416@ic.ac.uk
8660e3e52419ba988cffe6b272af016b10932e8c
3279fdc580a255bd5d9fcb9f7ba74db87289bb2f
/build/turtlebot/turtlebot_capabilities/catkin_generated/pkg.installspace.context.pc.py
2f1dd7351f47345b5129c3d03adc686e9c3f0e76
[]
no_license
juspch/homeservicerobot
3450cb0ceddc8a09a9da879a0f3f81795f79a998
afdfacc87637a926d037330108c1d6fc45aaa7a2
refs/heads/master
2022-04-15T15:00:14.453327
2020-04-13T14:33:25
2020-04-13T14:33:25
255,339,431
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "turtlebot_capabilities" PROJECT_SPACE...
[ "juspch@gmail.com" ]
juspch@gmail.com
d5d0d875069bad8de3497ee1a32aeff5d8fa994f
7326f37b50c5e78f0620503ed2fc48467e86386d
/tests/test_slow_class.py
da1206f98cf6ce468f76d3543fea090a55a5ebec
[]
no_license
zsolt-halo/pytest-mock-examples
4a5e59c297e22d7dd49caf12db6b6ac1437db409
c1d53f383b9dd5f6a69616b6937d448bc7aed304
refs/heads/master
2022-12-04T22:40:04.259800
2020-08-20T14:06:39
2020-08-20T14:06:39
289,021,963
0
0
null
2020-08-20T14:04:22
2020-08-20T14:04:22
null
UTF-8
Python
false
false
302
py
from mock_examples.main import slow_dataset def test_mocking_class_method(mocker): expected = 'xyz' def mock_load(self): return 'xyz' mocker.patch( 'mock_examples.main.Dataset.load_data', mock_load ) actual = slow_dataset() assert expected == actual
[ "lee.changhsin@gmail.com" ]
lee.changhsin@gmail.com
964f0f6d8e473b5059787827e5796aee63a0f3bf
5e6ee5d0f840bf031bab13df120987dc31491034
/restfulapicrud/restfulapicrud/urls.py
31852b1d2f0d2de7f58a9906e25779311f8ea86f
[]
no_license
cal1log/heroku_api_rest
9027d3b24c704ed8f15c6badd7dd8fca62894cfa
a800706ac5e24a26ef7c68dc039b6bba0448fce3
refs/heads/main
2023-06-28T00:11:14.578647
2021-07-26T21:03:12
2021-07-26T21:03:12
388,584,473
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
"""restfulapicrud URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Clas...
[ "orlago250183@gmail.com" ]
orlago250183@gmail.com
3777fe9862ea7b7c070a0c2c8480e304e297d9dd
235b114c39d7c4889b8c73f22a242465c549a79b
/venv/lib-python/3/sre_constants.py
f683bd9fcfea77318cb923035b513273cdef1716
[]
no_license
yay135/Rtree
00c489ba34192be85431861c90e299715150f3da
af61058aa2fdadfd86aee5892e8b47249b42d74b
refs/heads/master
2020-05-17T11:11:34.114030
2019-04-28T18:52:24
2019-04-28T18:52:24
183,678,712
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
/home/yay135/pypy3.6-v7.1.1-linux64/lib-python/3/sre_constants.py
[ "yanfy135@gmail.com" ]
yanfy135@gmail.com
d7db13e9901dfdb2541b150c96b70055368e00ee
cf720b69d428b92186e84e52ff4f7eb39b8dd723
/Probablity and Statistics/3. WAP to find the probability of drawing an ace after drawing an ace on the first draw.py
d831885a30876fdd223cd5f274b1fb19dbec87e6
[]
no_license
bl-deepakchawla/ML-Followship-Program
b0fd2232f6dd2ea4356e4402be86cca84a5fbd60
41d88172ea226c42c1f56fd9e59769142575734c
refs/heads/master
2020-04-01T13:56:11.595143
2018-10-31T10:28:19
2018-10-31T10:28:19
153,273,456
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
def pr_ace_after_ace_draw(l_ace_cards, l_total_cards): l_pr_ace_card = (l_ace_cards/l_total_cards) * 100 return l_pr_ace_card g_total_cards = 52 g_ace_draw = 1 g_total_cards = g_total_cards - g_ace_draw g_ace_cards = 4 - g_ace_draw g_pr_ace_card = pr_ace_after_ace_draw(g_ace_cards, g_total_cards) print("Proba...
[ "deepakchawla35@gmail.com" ]
deepakchawla35@gmail.com
7e13be84bbf8b99b433ee0cdf9942b535f5fe129
e2a78a6ada3d87f90231b0457eb46d5999c75ee0
/LINFO1101/[INFO1] Informatique 1 - Introduction à la programmation/Session 03/Q_Plus grand diviseur.py
36d53895d2e44438216f09844cf53611c46c6d23
[]
no_license
Oldgram/SINFEDU
3df19e6db5737bc1fff5e0dcd2171c5e737f4b31
1012355bc418c62de117b56bf4726336b88bf8ef
refs/heads/master
2023-02-26T19:52:28.987465
2021-02-02T14:33:35
2021-02-02T14:33:35
233,269,625
6
6
null
2021-01-20T23:32:47
2020-01-11T17:26:59
Java
UTF-8
Python
false
false
115
py
if a == 0 or a == 1 : return None l = [] for i in range(1, a+1): if not a % i: l.append(i) return l[-2]
[ "goffindy@gmail.com" ]
goffindy@gmail.com
2b450b24f67d599f14f273d97dbbfbec3c6f8837
d6bac4d51530329a8b8ec7f865c56655d5517ada
/formatString.py
8a2a43c13456b738ae49ff3f89bc9b45d8324442
[]
no_license
diogocatapreta/pythoncouse
7bde33e83f799aed12f8fb96eea057f94195f086
f865ef4c3928a1d7ee7be62ebbdc70c3aee605f0
refs/heads/master
2021-04-30T08:31:08.763622
2018-02-22T18:10:17
2018-02-22T18:10:17
121,377,677
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
name = "Diogo" machine = "Welly" interpolation = True if interpolation: print("Hello {0}, I'm a machine and my name is {1}".format(name, machine)) else: #String Interpolation sample print(f"Hello {name}, I'm a machine and my name is {machine}.")
[ "diogocatapreta@gmail.com" ]
diogocatapreta@gmail.com
22fe6252c1d33a331415ffaf644c9dbdb687b865
99b062cb9f5f3ff10c9f1fa00e43f6e8151a43a6
/algorithm/IM/반나누기.py
0f16cc1db1f921f7c87b424d4ce293b0641550ca
[]
no_license
HSx3/TIL
92acc90758015c2e31660617bd927f7f100f5f64
981c9aaaf09c930d980205f68a28f2fc8006efcb
refs/heads/master
2020-04-11T21:13:36.239246
2019-05-08T08:18:03
2019-05-08T08:18:03
162,099,042
4
0
null
null
null
null
UTF-8
Python
false
false
783
py
import sys sys.stdin = open("반나누기.txt") T = int(input()) for tc in range(1, T+1): N, Kmin, Kmax = map(int, input().split()) score = list(map(int, input().split())) div_class = [] for T1 in range(1, 101): for T2 in range(T1+1, 101): A = [] B = [] C = [] ...
[ "hs.ssafy@gmail.com" ]
hs.ssafy@gmail.com
b3a29506b11dcc3e4676d7b4a86512f5f01e9ffb
91f665f982b164eeb3b6db21eb047746e8488ba5
/LY.py
97808d7d4a5ab867627318ae834ce2f411beae00
[]
no_license
46319943/qgis_plugin_homework
1dd6915b9617e55609c2dd858c64cb011742ab5d
94cb6bc74512a439effad1e5556e1bf9cbfeb3bd
refs/heads/master
2023-01-02T21:17:56.255944
2020-10-20T09:10:18
2020-10-20T09:10:18
305,649,392
0
0
null
null
null
null
UTF-8
Python
false
false
6,775
py
# -*- coding: utf-8 -*- """ /*************************************************************************** LY A QGIS plugin LY Generated by Plugin Builder: http://g-sherman.github.io/Qgis-Plugin-Builder/ ------------------- begin : 2...
[ "495384481@qq.com" ]
495384481@qq.com
cc93233f0b52c7d0783f65cc3716005438cc0fd3
164ffe077dde59373ad9fadcfd727f279a1cfe93
/jni_build/jni/include/tensorflow/python/client/timeline.py
03e07a27ad5cafa21dfe51e752b2a4f8cbfac7b7
[]
no_license
Basofe/Community_Based_Repository_Traffic_Signs
524a4cfc77dc6ed3b279556e4201ba63ee8cf6bd
a20da440a21ed5160baae4d283c5880b8ba8e83c
refs/heads/master
2021-01-22T21:17:37.392145
2017-09-28T21:35:58
2017-09-28T21:35:58
85,407,197
0
2
null
null
null
null
UTF-8
Python
false
false
24,412
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "helder_m_p_novais@hotmail.com" ]
helder_m_p_novais@hotmail.com
1125be93d6bf6ec5f578a754b518db5452606a9d
4d8f0c491943e0c688c11561c7f57d815b014b76
/experiments/tf_vae_pixel/resnet_16.py
a289791f5c82669c58bc4a02e9871acbdb7e5406
[]
no_license
kundan2510/nn
d5e434e9d6275a82a04c12df4d8e4be855c39ab5
39d247f3b64f9ac9400835dd72d3af7a84578449
refs/heads/master
2020-12-26T03:10:23.949984
2016-12-27T20:23:58
2016-12-27T20:23:58
64,513,518
0
1
null
2016-07-29T22:19:40
2016-07-29T22:19:39
null
UTF-8
Python
false
false
42,905
py
""" Multilayer VAE + Pixel CNN Ishaan Gulrajani """ import os, sys sys.path.append(os.getcwd()) N_GPUS = 1 try: # This only matters on Ishaan's computer import experiment_tools experiment_tools.wait_for_gpu(tf=True, n_gpus=N_GPUS) except ImportError: pass import tflib as lib import tflib.debug import tf...
[ "kundankumar2510@gmail.com" ]
kundankumar2510@gmail.com
1ae844e3e607fb795c24cc0a0a10b36e1af206df
ff74348a3ad5f08e5f857767fb900580a0fc2894
/Module/testJSON.py
487b0f1fbfbf2fffa531c1ea90d142bc6bbc904e
[]
no_license
AForbis/Movies-ETL
9ab77c64d63673b0f127bdff16fa828ff496e75d
d64f057d590199ba1aaeee1b6fcf464589bd633d
refs/heads/main
2023-03-19T17:47:02.505846
2021-02-26T16:00:09
2021-02-26T16:00:09
338,619,501
1
0
null
null
null
null
UTF-8
Python
false
false
399
py
#%% import json import pandas as pd import numpy as np # %% file_dir = 'C://Users/alexf/Desktop/Bootcamp/Movies-ETL/' # %% with open(f'{file_dir}/wikipedia-movies.json', mode='r') as file: wiki_movies_raw = json.load(file) # %% len(wiki_movies_raw) # %% # First 5 records wiki_movies_raw[:5] # %% # Last 5 records wi...
[ "alexforbis@utexas.edu" ]
alexforbis@utexas.edu
2f9ff8e134eaa96dab94a8adf57b27fb8a23be23
d6cf604d393a22fc5e071a0d045a4fadcaf128a6
/Challenge Book/JOI_2007_C.py
7e53612c30d66f59e862f33ab20efe583c393bc7
[]
no_license
shikixyx/AtCoder
bb400dfafd3745c95720b9009881e07bf6b3c2b6
7e402fa82a96bc69ce04b9b7884cb9a9069568c7
refs/heads/master
2021-08-03T21:06:45.224547
2021-07-24T11:58:02
2021-07-24T11:58:02
229,020,968
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import numpy as np import sys sys.setrecursionlimit(10 ** 7) read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline # 半分全列挙 N, M = map(int, readline().split()) P = np.array([0] + read().split(), np.int64) P = P[P <= M] P2 = (P[:, None] + P[None, :]).ravel() P2 = P2[P2 <= M] P2.sort() # numpyで並列にやらないと間に合...
[ "shiki.49.313@gmail.com" ]
shiki.49.313@gmail.com
2c399c1745c86c9f7a98fac907d68674946c84be
ed5cb7ca5d815ee9401b58d1f2f0c560cba2e46a
/homework2(ylab).py
048111aee3585429b56c636d2e70c1a7eb4c8a94
[]
no_license
reydnn/ylab-homework
57ab0e79246534086d0913df627c823c36076191
c2d7f5aaedc7beabc061d4e97f6423d8c5898799
refs/heads/main
2023-08-23T20:27:12.527163
2021-10-17T11:43:35
2021-10-17T11:43:35
417,834,948
0
0
null
null
null
null
UTF-8
Python
false
false
10,367
py
from tkinter import * import random as random game = True field = [] x_count = 0 length = 10 widht = 10 def print_window(): # отрисовка игрового окна root = Tk() root.title('Игра') for row in range(length): line = [] ...
[ "noreply@github.com" ]
noreply@github.com
f4279375082aa381ae5e057b8c58038de2b7a844
b39c3568d2347dfb1dfa9581f0bf9e3e24d15a73
/rl_algos/offpol_correction.py
66ede794260a0f3c8a17fdd3b450d3971224c672
[]
no_license
P-Schumacher/research
2f55ea4fa5bad32c2537298a619c4f55d4338f06
61bcf6aed6594d57c3074b43a2b8ffa80e79ca5d
refs/heads/master
2023-02-12T08:43:41.400651
2021-01-04T13:22:47
2021-01-04T13:22:47
242,512,373
0
0
null
null
null
null
UTF-8
Python
false
false
5,645
py
import tensorflow as tf from pudb import set_trace @tf.function() def off_policy_correction(subgoal_ranges, target_dim, pi, goal_b, state_b, next_state_b, no_candidates, c_step, state_seq, action_seq, zero_obs): # TODO Update docstring to real dimensions '''Computes the off-policy cor...
[ "pier_schumacher@hotmail.com" ]
pier_schumacher@hotmail.com
49e1044a4d5765da4d4a8804e49e49c69cc6eaae
985d7454f6684d3b7fdb1311596eda6364c84a5f
/Backend Projects/education-platform-for-pythoneers/task_statistics_app/tests/test_models.py
62162c023f7a503f0b9fc2af38fc2e482ce5f252
[]
no_license
kgarbacinski/Devs-Mentoring-Students-Projects
3c152b3ae548c4cc941774c1a9102586d3d281e0
05114fbad76ddb62aaf3adfc4007494ec6fb0e06
refs/heads/master
2023-08-13T16:26:35.833156
2021-10-16T08:54:35
2021-10-16T08:54:35
406,718,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,607
py
from django.test import TestCase # Own from task_statistics_app.models import TasksStatistics class TestTasksStatistics(TestCase): @classmethod def setUpTestData(cls) -> None: TasksStatistics.objects.create( task_title="Test Task", sum_of_all_tries_per_task=0, sum_...
[ "kgarbacinski@gmail.com" ]
kgarbacinski@gmail.com
200a73a7cdedd2e3dde32dd56a9c23425875847d
ccabbdb36a21c2e248821ceba9cd9d147de1f96c
/0x02-python-import_modules/add_0.py
5f01a53b5c52abc310801def9469ef3c96bd682d
[]
no_license
adri-er/holbertonschool-higher_level_programming
eb08dc8a8c3338a37d3d3e005520a0f2338c0af1
305db8d8834eac0283b1514d3c11940c9c1c12e3
refs/heads/main
2023-08-13T10:02:21.501247
2021-09-23T02:57:35
2021-09-23T02:57:35
361,915,377
1
1
null
null
null
null
UTF-8
Python
false
false
205
py
#!/usr/bin/python3 def add(a, b): """My addition function Args: a: first integer b: second integer Returns: The return value. a + b """ return (a + b)
[ "adriana.er98@hotmail.com" ]
adriana.er98@hotmail.com
55cef7ba6f4bab4b32350b0bcbab3ce2d4c00d12
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/development-support/wheel-smoke-test.py
fc47c188998f8298c69edac63841101e78c93158
[]
no_license
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
""" Helper script for performing smoke tests on an installed copy of PyObjC # NOTE: This file is not yet complete """ import platform from distutils.version import LooseVersion import objc # noqa: F401 from AddressBook import * # noqa: F401, F403 from AppleScriptKit import * # noqa: F401, F403 from AppleScriptObj...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
43b57a33e9da0cb5bf97b804bf1344c69e0fe7a8
84028feac9a808d64e7b45afde597bc3f2eef6c9
/movie_program/apps.py
79d39a36d0f0ba4e4c58900703821d884f86317f
[]
no_license
kaleykong/copy_netflix
df4bb537f8b55668d814f3d36cd82913e54dd73d
d39a5c52e3b31771ee54531a93f208edffb280a0
refs/heads/master
2022-12-06T08:35:32.517541
2020-08-24T09:46:53
2020-08-24T09:46:53
289,798,844
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
from django.apps import AppConfig class MovieProgramConfig(AppConfig): name = 'movie_program'
[ "kaleykong@lever-t.com" ]
kaleykong@lever-t.com
b59ab8b44b9932748a04872ae0b78b7ccf42e11d
7a75cb7621a198e9609c1922f51b701a709bd94b
/flickrapi-1.4.2/flickrapi/multipart.py
69e6f14f47bcc37cd2f1530d125a8e08509658f4
[ "BSD-3-Clause", "MIT" ]
permissive
cycomachead/FlickrTools
eee9ee0a89a384da01a932ee8f0c535f27344b7b
1610dcb4ad253ffab7a1bb9a5e79270569376566
refs/heads/master
2021-01-23T12:45:50.579816
2013-10-06T10:09:14
2013-10-06T10:09:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,885
py
# -*- encoding: utf-8 -*- '''Module for encoding data as form-data/multipart''' import os import base64 class Part(object): '''A single part of the multipart data. >>> Part({'name': 'headline'}, 'Nice Photo') ... # doctest: +ELLIPSIS <flickrapi.multipart.Part object at 0x...> >>> image = op...
[ "cycomachead@gmail.com" ]
cycomachead@gmail.com
5aa39cd29ff6236b62f61c9c3f51364eea44b3a5
419db2c95082e57eab3ebea9568693c2a961add7
/pyverilog/dataflow/dataflow_analyzer.py
8136f89271efed5ed13e2089e74ec92349f3bf33
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hoangt/Pyverilog-1
ef309528150a3174e74126b2f1328ca9824fcbfe
d0cb60a5633e88f59a7c5c36dff8981f000ee525
refs/heads/master
2021-01-19T22:53:52.170548
2015-09-16T15:23:16
2015-09-16T15:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
#------------------------------------------------------------------------------- # dataflow_analyzer.py # # Verilog module signal/module dataflow analyzer # # Copyright (C) 2013, Shinya Takamaeda-Yamazaki # License: Apache 2.0 #------------------------------------------------------------------------------- from __futu...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
6a30dc9b38211d87c056b375cf9b69902f2e7a72
db02d8bb5df07ebcfdbb17a771efdc6fc4d412e2
/classifier.py
068bd5fbc8c14e4a74eb1a45cbf058a4b701ffd2
[]
no_license
meismaomao/Pig2
8b9d5db25bff7614e94188d94d797baece6529b7
6b490cf125a9a993113e979e0f82fac87d71b6f3
refs/heads/master
2021-08-28T23:32:55.062506
2017-12-13T08:35:49
2017-12-13T08:35:49
112,196,648
24
6
null
null
null
null
UTF-8
Python
false
false
3,762
py
import tensorflow as tf import numpy as np import model import data_process import pickle from sklearn.svm import SVC from sklearn.neighbors import KNeighborsClassifier def main(data, iter_num, labels, train=True): BATCH_SIZE = 2 ITERATION = iter_num embedding_size = 1024 CLASS_NUM = 30 train_anch...
[ "yqljxr@163.com" ]
yqljxr@163.com
3aee2304f6ce6905b17a4929c76426d41f7fb975
873a93d9082d5a8679a23bd0fdd32a6b48722ba5
/error.py
707eefa0ebbabae4db40136b075a223d53014852
[]
no_license
AdedejiAdewole/SoilFertility-predictive-model-
35dba309559264bef8458f2d63cf7ddc559a2585
a2ee67dbf1d7820cbfd7df53dd8fbb381866d879
refs/heads/master
2023-01-30T10:08:37.569809
2020-12-07T13:24:52
2020-12-07T13:24:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,814
py
import pickle import threading import time import numpy as np import pandas as pd from kivy.app import App from kivy.clock import Clock, mainthread from kivy.lang import Builder from kivy.uix.label import Label from kivy.uix.popup import Popup from kivy.uix.screenmanager import ScreenManager, Screen from k...
[ "noreply@github.com" ]
noreply@github.com
513585815f578441d36ec0ca05c53d57e7f93932
20357b1919b7c7c846704ab1bca9a0e1f8fb732e
/Notebooks/core/image/image_compression.py
86edb3d3688b051e38362e22aa6e9d80d5575c9d
[]
no_license
h3nok/MLIntro
56e287dadb7fb56afdc0ac6cf5378764e7ed633c
397936ea146bf7522277c70061b386feb3563317
refs/heads/master
2022-12-13T05:28:14.779945
2021-12-09T18:29:12
2021-12-09T18:29:12
199,041,488
0
0
null
2022-12-08T11:36:48
2019-07-26T15:34:56
Jupyter Notebook
UTF-8
Python
false
false
4,028
py
import cv2 import numpy as np import os class Compressor: __image__ = None def __init__(self, image): self.__image__ = image self._src_path = None @classmethod def from_image_path(cls, image_path: str): """ Initializes the Compressor class. :param image_path:...
[ "nkenok@outlook.com" ]
nkenok@outlook.com
30e1bb070924905323da2b3adf333239477b7c6d
8bac6c63a7b826bfd6b415e6faa51ff22505d112
/openNFR-skin-2018/usr/lib/enigma2/python/Components/Renderer/NFRSambaVpnIp_renderer.py
fabdc9a68e371461e2f463086cbfa48cd40c720c
[]
no_license
stein17/Skins-for-openNFR
03330102b7d883f8485297cea0468143d9116b6f
ca6c5d02035e4bacdad6efc45995249a317b7fb6
refs/heads/master
2023-03-12T19:58:50.112456
2022-03-21T07:02:03
2022-03-21T07:02:03
94,653,786
0
15
null
2023-03-02T17:52:37
2017-06-17T23:05:42
Python
UTF-8
Python
false
false
467
py
from Renderer import Renderer from enigma import ePixmap class NFRSambaVpnIp_renderer(Renderer): def __init__(self): Renderer.__init__(self) GUI_WIDGET = ePixmap def postWidgetCreate(self, instance): self.changed((self.CHANGED_DEFAULT,)) def changed(self, what): if what[0] != self.CHANGED_CLEAR: if sel...
[ "lutz.f.kroll@gmail.com" ]
lutz.f.kroll@gmail.com
a7ef23256e595386a7431764d2bac9c29a0477b7
6e6a082325a9b38ce9b5258e6171a776636fdd68
/movie-project/main.py
75cc96e29ffaf20e7e91ae6e24ac8fe1f83b3555
[]
no_license
bunja/python-100days
5d8d0e7739e642ab16289c6a1b371776a761370a
494e945a9e5d4cecff6583f5851ee18564a1f2e9
refs/heads/main
2023-08-30T17:12:41.244183
2021-11-04T13:45:28
2021-11-04T13:45:28
369,013,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,405
py
from flask import Flask, render_template, redirect, url_for, request from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, SubmitField from wtforms.fields.simple import HiddenField from wtforms.validators import DataRequired import...
[ "kos.lv@yandex.com" ]
kos.lv@yandex.com
d764099b2b06d795e622a7d7bca8d90fd827e50f
c3cce2f010504298da154d3a9f7efa094e1d006d
/programs/count_string_without_space.py
d6062eaa79f21d69cc5f7b0e834e0c52d2d67475
[]
no_license
MVasanthiM/guvi
8bbaa06960830d487e16d58066e0871d987667c5
db2eebb55edac19387e8f218a3af9e6de87980de
refs/heads/master
2020-06-03T00:07:51.431371
2019-08-13T12:52:51
2019-08-13T12:52:51
191,355,065
0
0
null
null
null
null
UTF-8
Python
false
false
70
py
a=input() c=0 for i in a: if i.isspace!=True: c+=1 print(c)
[ "noreply@github.com" ]
noreply@github.com
bf7fcf88de1f76cb2ade9e1d5ad78bb6c9d5350f
8ae0bf166da68488efec84fe79063f874687b332
/tests/ext/django/settings.py
47565381bb011dbafa23c965dd6905ecef88234f
[ "BSD-3-Clause" ]
permissive
snopoke/slycache
75aafcd0fb9c9289a292c907f48159652e275f93
412e9e81a8c53f684f3fd7c5dafb6b06ecfbd0c0
refs/heads/main
2023-06-01T19:20:12.847651
2021-03-16T20:30:28
2021-03-16T20:30:28
340,279,785
0
0
NOASSERTION
2021-06-14T07:26:50
2021-02-19T06:34:25
Python
UTF-8
Python
false
false
494
py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', }, } INSTALLED_APPS = ['slycache.ext.django'] CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 60, 'LOCATION': 'location-1', }, ...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
4a6527f8ab80096d974ecbc2592c03ee486098cf
6632896b4e320c932bdaa98b2caa16e057905333
/utils/io/labels/character.py
42500f3bb08e1952e8f60fcd45e82f1d64eb7841
[ "MIT" ]
permissive
sky1170447398/tensorflow_end2end_speech_recognition
56229b5de62c8a4580a9d349afe6ccdf20d478fb
7ef52ae702db3852a7339136852bb14585e55b3b
refs/heads/master
2021-07-13T14:26:22.117311
2017-10-12T00:51:12
2017-10-12T00:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np class Char2idx(object): """Convert from character to index. Args: map_file_path (string): path to the mapping file """ ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
f083028d794d36880b64451d9cd91e8f72074936
b5c2bc7dcfd924717775a6b8c4a79c02cec2090b
/pre-processing/pre-processing-code/lambda_function.py
89d1157dbb4b1419083ed4143656951056159d42
[ "CC-BY-4.0", "CC-BY-3.0" ]
permissive
rearc-data/who-covid-19-cases-deaths
52d5e58e0468e29e9a9d49d82f17feedd9f42619
532c896b89febce38b3d0edd36c35a4c69e6040a
refs/heads/master
2023-06-03T08:31:56.049504
2020-05-19T05:19:18
2020-05-19T05:19:18
258,016,496
0
0
null
null
null
null
UTF-8
Python
false
false
4,437
py
import time import json from source_data import source_dataset import boto3 import os from datetime import date, datetime os.environ['AWS_DATA_PATH'] = '/opt/' dataexchange = boto3.client( service_name='dataexchange', region_name=os.environ['REGION'] ) marketplace = boto3.client( service_name='marketplace-catalog...
[ "me@derekwolpert.com" ]
me@derekwolpert.com
ed71b75da8a01e6d632ea9b987b714f5e40022da
46f1c3c6c319bc52772779d9e3d5ed5649849fa8
/pybasic/ex01_removefile/mergebatfile.py
07744ba7074c70522aebcaaf428f0236c9ad17cf
[]
no_license
fioletflying/pycook
b2789cb8b3ab87c6062211c82ef8b554acd0543a
8e70a1fb3b8c687987325f91b4918853eaae693e
refs/heads/master
2021-06-23T19:05:35.083184
2021-02-03T02:00:26
2021-02-03T02:00:26
180,733,211
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @author : Feifei # @IDE : Pycharm # @file : mergebatfile.py # @time : 2019/6/3 14:41 import os import sys def mergeBat(inputPath,outputPath): listpaths = [] files = os.listdir(inputPath) for file in files: if os.path.splitext(file)[...
[ "fioletflying@hotmail.com" ]
fioletflying@hotmail.com
a59b69de96b87c4963e2a5082a415c273af284f3
2da8bcfb9a72e507812a8723e38ad6d030c300f1
/two_sum_1.py
57a56e2fc2bce51207bff8c27039bcaa0809aea2
[]
no_license
aditya-doshatti/Leetcode
1a4e0f391a7d6ca2d7f8fdc35e535f4ec10fb634
eed20da07896db471ea6582785335e52d4f04f85
refs/heads/master
2023-04-06T02:18:57.287263
2023-03-17T03:08:42
2023-03-17T03:08:42
218,408,346
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
''' 1. Two Sum Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 +...
[ "aditya.doshatti@sjsu.edu" ]
aditya.doshatti@sjsu.edu
b9f094638372cc8dd62303be40a4c5728ec5ed7a
491d89ae62905494318fe89183c0c8ecfd981240
/python基础/数据类型和变量.py
ec3b4ac87f4fd72f444dae4c06ac0c73da49c2e9
[]
no_license
jiangfeng-Myself/my-test
44e75219a541decf5cc277ee58e28736a3ca277e
8a26cdb8e6d705c4968a87f96a210ac57ada1a40
refs/heads/main
2023-05-11T09:06:46.990230
2021-05-13T15:31:08
2021-05-13T15:31:08
361,392,735
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
# 数据类型: # int # float # string # 转义字符: # \n :换行 # \t : 制表符 # 用''' '''展示多行信息 print('''line1 line2 line3''') # 布尔值: 布尔值的运算(and 和 or 和 not) print(True and False) print(True or False) print(not True) # 空值: # 变量:同一变量可以被重复赋值 a = 'abc' print(a) a = 234 print(a) # 除法: # 单纯的除法:10/3 ...
[ "noreply@github.com" ]
noreply@github.com
a6c9e2f8afdfa6e3ecfc304bd5ba029828ddd079
05fe579c12f0013ce83a106083ddb66ace5e8f47
/tests/ut/profiler/analyser/test_minddata_analyse.py
8d05ddc449bd9c051e0779ee0ddd08c06f4c94c7
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "BSD-3-Clause" ]
permissive
mindspore-ai/mindinsight
59d3f47144ada9a12d2c82d9826ad5f5288aed78
a774d893fb2f21dbc3edb5cd89f9e6eec274ebf1
refs/heads/master
2023-07-22T22:46:43.075617
2023-07-17T11:26:58
2023-07-17T11:26:58
250,692,948
224
24
Apache-2.0
2020-12-29T12:22:51
2020-03-28T01:58:56
Python
UTF-8
Python
false
false
2,818
py
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "zhangyihui7@huawei.com" ]
zhangyihui7@huawei.com
7d4e6bffda2aa0fba7162dcdddd61002522e4a74
5f408e5c43cf39a0ae6abf1c1309004f997cc7ee
/extras/benchmark/format_bench_results.py
45065d4b7c14abb9180393e80434e2d0bf098081
[ "Apache-2.0" ]
permissive
fran6co/fruit
408e24385ded3c8d49e23f0c572e4ce4d7569622
b34b703b4d50b49a658aeab227765bc3260d7d89
refs/heads/master
2021-01-19T10:34:32.890334
2017-05-09T08:42:15
2017-05-09T08:42:15
82,211,310
0
0
null
2017-02-16T18:14:59
2017-02-16T18:14:59
null
UTF-8
Python
false
false
13,384
py
#!/usr/bin/env python3 # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "poletti.marco@gmail.com" ]
poletti.marco@gmail.com
8138e1872ba83e8b4e5232c1d3cc450e30f9a153
527cc44efaa5a2d738d638d76cf4737b37a0e27d
/fiepipe.py
3302504191367767067a54043f89092e1dc52f4e
[ "MIT" ]
permissive
leith-bartrich/fiepipe
c98a978d81a24013a98bbae97c65ca053e9af481
2f48054a349059ec5919ff9402a02c03b27b5915
refs/heads/master
2021-04-06T13:52:51.391039
2019-06-25T21:01:39
2019-06-25T21:01:39
125,394,369
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
#!/usr/local/bin/python import fiepipelib.localplatform.routines.localplatform import fiepipelib.localuser.routines.localuser import fiepipedesktoplib.shells.fiepipe def main(): # TODO register fie.us and populate the public key from somewhere authoritative. platform = fiepipelib.localplatform.routines.local...
[ "brad@fie.us" ]
brad@fie.us
a7b1fbcdbf63db82f5b5e4d4447927af0cdd1ab4
9fbb38727732e234b78c06f9bd3f443b524364df
/partners/migrations/0013_migrate_clubcard_to_m2m.py
6e7a22f65ae93531e99b30ccbb6a00f6b2f9427d
[]
no_license
stden/bonushouse
0f6e42b22b809ad8cf26b16345a2e611ebb4008b
e6a47105026021c6b5ee9882de9181eb9ee6c668
refs/heads/master
2016-09-09T19:58:58.508714
2013-07-09T14:55:24
2013-07-09T14:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,716
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import DataMigration from django.db import models class Migration(DataMigration): def forwards(self, orm): "Write your forwards methods here." # Note: Remember to use orm['appname.ModelName'] rather than "from ...
[ "root@free.ds" ]
root@free.ds
33ec7b25f70d0994dc1a5448e31e5b47d09d0dcb
34f756b62911e36c3aa16af59630b80799e22b8d
/server/main.py
30f1de5cb4e6bf980e945260b7ee1a85adc72101
[ "MIT" ]
permissive
vadym-khodak/play-with-k8s
4b227bc9d4d814f3f266e6fa90daa25d68969e0a
b81090ea800c3da7f7007f9f332c723da29776fc
refs/heads/main
2023-06-22T00:40:31.375168
2021-07-16T19:20:34
2021-07-16T19:20:34
381,859,086
1
0
MIT
2021-07-12T09:59:02
2021-06-30T23:42:05
Python
UTF-8
Python
false
false
1,273
py
import platform import time from typing import Optional import redis from fastapi import FastAPI, Header from fastapi.middleware.cors import CORSMiddleware import config def create_app(): app = FastAPI() app.add_middleware( CORSMiddleware, allow_origins=config.ORIGINS, allow_credenti...
[ "vaddimart@gmail.com" ]
vaddimart@gmail.com
ec76951464f19ee4aa67d70eb7a04c24ce9a6d22
5b08637874bc959bfffe9a076313fd38712ff522
/main.py
8c1995bd9e0f646e93cde8e87871299a1feba7be
[]
no_license
OULibDavis/scrape_ou_sso
8625e25fbe9e31396969d31dcfb2ac801fd9e17d
0ec8de78f45960ffc33709fec54a4bded87e9276
refs/heads/master
2022-11-30T22:43:18.507380
2020-08-14T15:52:13
2020-08-14T15:52:13
287,369,580
0
0
null
null
null
null
UTF-8
Python
false
false
1,608
py
import requests from lxml import etree from urllib.parse import urlparse from secrets import username, password s = requests.Session() resp = s.get("https://accounts.ou.edu/") if "sso.ou.edu" in resp.url: print("Redirected to SSO sign-in") # Make sure we have the valid login url to send authentication t...
[ "tdpearson@ou.edu" ]
tdpearson@ou.edu
5146a405a7caef3f85bb856a7847056768592a77
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/clients/4wire_measurement_keithley_VoltageOnly.py
1b1099070a75253fc9935b89243ab044f299db36
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
1,605
py
import labrad from time import * from csv import * import numpy as np from keithley_helper import voltage_conversion as VC from keithley_helper import resistance_conversion as RC #Run on the Windows cxn = labrad.connect() #Connect to Windows Computer to use Keithley DMM keithley2 = cxn.keithley_2100_dmm() keithley =...
[ "ryanblais11@berkeley.edu" ]
ryanblais11@berkeley.edu
6149c261c026056311ebdf78fa584f97cdb749a1
bdd0135efeaee109a9aba65199be90b00518489c
/src/server.spec
bcd259210d21cce47310b62cff2faa962fa91285
[]
no_license
plundeen/remote-mgmt
a6d99046f225e2d8b999db3813286dbfefe78528
968cdadbd81fb3f3cf72ad03067464542562d0e5
refs/heads/master
2023-08-26T07:59:10.332494
2021-10-13T22:27:04
2021-10-13T22:27:04
410,017,612
0
0
null
2021-09-24T22:52:32
2021-09-24T15:40:17
Python
UTF-8
Python
false
false
1,088
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['server.py'], pathex=['C:\\Users\\plundeen\\PyProxy\\src'], binaries=[], datas=[('templates', 'templates'), ('static', 'static')], hiddenimports=[], hookspath=['hooks'], ...
[ "plundeen@tae.com" ]
plundeen@tae.com
48ee96aaa54d9169918858f83eda7034d7c94797
af3d3cd43d156d10fd2b6016b3527cb2d03e7d7a
/utils/score.py
590edd1e6c390b39767c5a0ac6c59d60d9f2a60f
[ "Apache-2.0" ]
permissive
YapheeetS/stance_detection
11e79ec1bcca3a2bdba795c71635b29eb5d70b19
7710d558676b4ec86f2dd1fde5da43e29ba3676f
refs/heads/master
2022-12-01T17:55:59.763174
2020-08-20T18:47:31
2020-08-20T18:47:31
289,083,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
#Adapted from https://github.com/FakeNewsChallenge/fnc-1/blob/master/scorer.py #Original credit - @bgalbraith from sklearn.metrics import f1_score LABELS = ['agree', 'disagree', 'discuss', 'unrelated'] LABELS_RELATED = ['unrelated','related'] RELATED = LABELS[0:3] def score_submission(gold_labels, test_labels): m...
[ "liaohaojin@163.com" ]
liaohaojin@163.com
823e85e0dfe556e154f26652a500ed91838d9a13
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/volunteers/tests/selenium_abstractions.py
5cda3d87e310f4732fb2b14444382ce6e7a8d3c9
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,479
py
import time from test_factory import Factory class VolunteerTestAbstractions(object): def create_new_volunteer(self): sel = self.selenium self.create_john_smith_and_verify() sel.click("css=.detail_tab[href=#volunteer]") time.sleep(1) assert sel.is_text_present("No volunteer...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
391255ad2f1eb691e84f5d00bbc3fd938027e7ef
23403df53224ca581b9ace9114d424bcaa6506a0
/mnist/model_experiment.py
cac54f7d95fd379b7f4255cebd57f5f0d044ce25
[]
no_license
jimthompson5802/ludwig_examples
7ee06e62ebc202e48e7cd90693e32b4a7ef0140f
926f37e6bf4cc0c92817828b45ddcd06277e64e6
refs/heads/master
2022-05-02T11:48:12.314495
2022-04-20T00:12:12
2022-04-20T00:12:12
216,285,701
14
1
null
null
null
null
UTF-8
Python
false
false
667
py
from ludwig.api import LudwigModel import logging import glob import os # reset data preprocessing files = glob.glob('./data/*.hdf5') for f in files: try: os.remove(f) except: pass files = glob.glob('./data/*.json') for f in files: try: os.remove(f) except: pass # tra...
[ "jimthompson5802@aol.com" ]
jimthompson5802@aol.com
5171d6acac1e78b70a50a813ff700ead3317d7d9
7b7c570b30d6d7a0e9b904c7cb378cfb0d0f0e07
/mlflow/models/flavor_backend.py
894829a8cfcb69840c6c12785cdff07fc6a9cbb5
[ "Apache-2.0" ]
permissive
mlflow/mlflow
ca97bfbbf32f8e59f454e428f5e46eb3d34d062f
37298ffafcd34002352d01d579d4524790544267
refs/heads/master
2023-09-01T13:15:53.902815
2023-09-01T09:00:42
2023-09-01T09:00:42
136,202,695
14,102
3,748
Apache-2.0
2023-09-14T21:52:42
2018-06-05T16:05:58
Python
UTF-8
Python
false
false
3,421
py
from abc import ABCMeta, abstractmethod from mlflow.utils.annotations import developer_stable @developer_stable class FlavorBackend: """ Abstract class for Flavor Backend. This class defines the API interface for local model deployment of MLflow model flavors. """ __metaclass__ = ABCMeta de...
[ "noreply@github.com" ]
noreply@github.com
4d600fd63c0aeed5bf18477543b5bc0ec2ebc2dc
c4c92ecdec0d6f767af0f7a2f222be8b9a172896
/migrations/versions/ad463e3591c5_.py
b20f101422b8902b6fc8b12699780f6b45108d9d
[]
no_license
BBiscov1/WurkBootstrap
aa22737643d0577b2c58ad273821cc6f18654d91
c9cf461069fb5b248dc663d488568d476c80932f
refs/heads/master
2022-12-27T00:27:44.265575
2020-09-29T20:02:01
2020-09-29T20:02:01
300,112,915
0
0
null
2020-10-01T02:07:55
2020-10-01T02:07:54
null
UTF-8
Python
false
false
1,181
py
"""empty message Revision ID: ad463e3591c5 Revises: 2c06ec7f8cbe Create Date: 2020-05-12 18:57:15.884186 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'ad463e3591c5' down_revision = '2c06ec7f8cbe' branch_labels = None depends_on = None def upgrade(): # ...
[ "angelonelson@outlook.com" ]
angelonelson@outlook.com
7008601e3bf3445d42e9710cf5c83b8b76fad6b2
efe7ac5034698b95c7bf86b2800182b6c042310c
/script.service.hue/resources/lib/kodiHue.py
74eb113100ab1a32223b74f4a4515b8f301fab9d
[ "MIT" ]
permissive
Paynemaster/script.service.hue
3b8320659c28569b75548160fe13214f39458398
1a7c8e9ca732d27a4838f20f6a20c861694d8763
refs/heads/master
2023-03-02T09:03:36.365045
2020-12-30T18:06:28
2020-12-30T18:06:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,191
py
import json from datetime import timedelta from socket import getfqdn, socket import requests import xbmc import xbmcgui from resources.lib.qhue.qhue import QhueException from . import ADDON, QHUE_TIMEOUT, SETTINGS_CHANGED from .kodisettings import settings_storage from . import qhue, ADDONID, logger, ca...
[ "krisyoung@gmail.com" ]
krisyoung@gmail.com
df34fa64996088ed055a205098db599c6b6c7e9c
19f9ac0c772c3d1be4d7e94bc5599a84ec1dd837
/Site_management/asgi.py
fbb5c953f0eeb46453b2428d96e224e22b37eb67
[]
no_license
NyashaGodobi/Assignment-4
572b4a6c81daa532441995b6d873a351c22adaa3
04648f496fc0ab6a81a9cdaef4d60373c05b001a
refs/heads/master
2022-11-22T09:03:05.674651
2020-07-24T12:17:05
2020-07-24T12:17:05
282,211,736
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for Site_management project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJAN...
[ "marlvinchihota@gmail.com" ]
marlvinchihota@gmail.com
d6080c0d06a462d633df72f5b365878e71594a2c
a175af1ab20cfa010ff6da0b9c56df9101cca73d
/Module1/Chapter5/chapter5.py
82d0c346c9e5cf7360454eed85000dd476492e5c
[]
no_license
1170300830/Machine-Learning
17cd07e9629a909ca78f6d827c801c7d84d63e41
b3862df67cb420a4b3f9e053227d89b06551612a
refs/heads/master
2020-03-28T17:17:02.627550
2019-02-27T06:27:31
2019-02-27T06:27:31
148,774,481
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
#week 7 ''' 第五章 为数据过程建造功能组合 建造机器学习流水线 发现最近邻域 建造一个 k-nearest 领域分类器 建造一个 k-nearest 领域回归器 计算欧几里得距离分数 计算皮尔逊相关分数 在数据集中发现相似用户 生成影片推荐 ''' ''' 协作筛选从当前用户过去的行为建立模型 推荐给其他的用户 '''
[ "43235704+wongyu1999@users.noreply.github.com" ]
43235704+wongyu1999@users.noreply.github.com
2822101bd3a1a94ad8f127b4a1edf24936e4c48e
a6007c4fdd47b81c332eecf5f2e5388a1d9eb269
/weshow.py
89c220412e68c5e8d6b2f0987f1d862a0fb60b97
[]
no_license
Thomechen/Movie_schedule
b914298e0614cde57bf10704c6ef3dab095261cd
74acf1f90b57ddda1f3ed0c4ec6819448a6e2f96
refs/heads/main
2023-01-23T20:27:36.069432
2020-12-07T17:19:30
2020-12-07T17:19:30
313,836,379
0
0
null
null
null
null
UTF-8
Python
false
false
2,213
py
import requests import urllib.request from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import Select from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common....
[ "island6614@gmail.com" ]
island6614@gmail.com
426754a25a41c7f3a465cbbe669c2600c93eb885
a9f7ecbb56fcb6b18fd6620af2861530eadb2fb1
/MyBlog/views.py
d8488d4fb2cebca0b564e1c700db93db772fca65
[]
no_license
bhagyashree3s/MyBlog
ecc4db5f552f56b7c0ef5dc561f6b960325ea5c7
21d5d93aab4780890a5739950948542ab29c8c5d
refs/heads/master
2022-11-17T11:09:37.426674
2020-07-14T14:38:52
2020-07-14T14:38:52
279,607,524
0
0
null
null
null
null
UTF-8
Python
false
false
307
py
from django.http import HttpResponse from django.shortcuts import render def about(request): return render(request,'about.html') #return HttpResponse('you will make it bhagyashree') def homepage(request): return render(request,'homepage.html') #return HttpResponse('hi bhagyashree!! XOXO')
[ "bhagyashree3surve@gmail.com" ]
bhagyashree3surve@gmail.com
482bf4048abae7d06883ea17e77e348d28c91223
368d7fcea081c803cdab44ad74f308e6710fbf5c
/for_loop/for-loop-ex2.py
a784e58e297a70c7f2751d34a4362b4d7330efe2
[]
no_license
kronkanok/workshop_2
153d4da87e77989cec7abde7e6c6e9dcc1e513b5
b326fe31e1f53a5a9f0b6b9129c18607bce605c1
refs/heads/main
2023-03-18T11:27:25.873578
2021-03-13T14:14:30
2021-03-13T14:14:30
330,190,305
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
string = "banana" for char in string: print(char)
[ "noreply@github.com" ]
noreply@github.com
17e98671744e907b39b79ee00bceb8d098905ea7
c0792645c156cb9e20a1aa2b28c565150358bc6e
/apps/inmueble/migrations/0017_auto_20180526_0412.py
8ddac3048c867751bb7c7635c709ef1ddbd2cc4d
[]
no_license
clioo/Praver
b22fd92886e0399845adb4366663cae6a7d7853b
523f0d78e0a2039a5bae3e539c93e2c2415a0840
refs/heads/master
2020-03-11T12:38:54.272392
2018-06-28T18:24:21
2018-06-28T18:24:21
130,003,043
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2018-05-26 10:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inmueble', '0016_auto_20180526_0410'), ] operations = [ migrations.AlterModelOptions...
[ "jesus_acosta1996@hotmail.com" ]
jesus_acosta1996@hotmail.com
37718b8153ac580be6d880230e37603860b6b3ae
5c212a4da89d89d40f9a795d28a1b39e626b44d3
/ini/case.py
8bf1b929a3e879a54e311820355fc10faf2ef300
[]
no_license
AnSwErYWJ/Python
0e07166196440d29bfd864653cbb38c75e4c511b
b411a852e7dba471336c080933d3fae4f82360d1
refs/heads/master
2016-09-05T23:50:26.388458
2015-10-28T03:54:25
2015-10-28T03:54:25
35,715,220
1
0
null
null
null
null
UTF-8
Python
false
false
1,377
py
#!/usr/bin/env python # coding=utf-8 import os import os.path import ConfigParser class student_info(object): #初始化 def __init__(self,recordfile): self.logfile = recordfile self.cfg = ConfigParser.ConfigParser() #读取文件 def cfg_load(self): self.cfg.read(self.logfile) ...
[ "ywj1993@yeah.net" ]
ywj1993@yeah.net
a17c8e10327fd1f3e4410e993fc2d0e913549aef
f601b3c96bf7c33f488789ca7c5dd61f3af0aa67
/Project/src/main.py
5bf15901c9b9b470324a81e1b5a3c848353f6a5b
[]
no_license
abdur75648/COL-780-Assignments
c7ad4557fa186f4604397c452f6da4a92ab66e7d
e21e8cd401e2781cadda1983fc88338b5aad4b4a
refs/heads/master
2021-09-01T14:35:01.710437
2017-12-27T13:48:03
2017-12-27T13:48:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,410
py
import numpy as np, networkx as nx import scipy.ndimage from bundler import * from box import * from functions import * try: import mrf # mrf is a Cython module that depends on the gco graph cuts library except ImportError: print('mrf import failed! Cannot use the MRF-based models. Try compiling it with ...
[ "noreply@github.com" ]
noreply@github.com
07bcadddefd59904943642eeef05cf637f5af081
1b2714c2b103a9a7cd0babe1a84ec24669e3dfeb
/python_study_2/page9/script.py
a4f472c417ca6da7e1e487d2a172f3653b3c22c6
[]
no_license
ianlombu-09/Python-Course
bd885e50cdd9fcd636c1d92ee673e4775ac945bb
a26a8c7d881f6d1d4203e5280325f26c271df8d0
refs/heads/master
2023-03-22T02:47:05.853108
2020-08-19T03:02:53
2020-08-19T03:02:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
numbers = [765, 921, 777, 256] for number in numbers: print(number) # When the number variable is 777, print '777 found, stopping loop' and exit the loop if number == 777: print('777 found, stopping loop') break
[ "ianlombu@protonmail.com" ]
ianlombu@protonmail.com
9ba285150af283cf9d35c2c7919feedb6398d693
33f351a8444ad0f63b7efd5014957d58175681a8
/mosaic.py
3b52f1f9dde233cf6907ce5c3a9eca462b5657ae
[]
no_license
rjonnal/FEM_raster_model
21bb070c397d73733e366893a8d11314430d8b0f
7568aec5aeff93146c7481c216f2360e03a36f2c
refs/heads/master
2021-01-11T21:23:09.319209
2017-03-15T22:05:31
2017-03-15T22:05:31
78,775,079
0
0
null
null
null
null
UTF-8
Python
false
false
17,047
py
import numpy as np from scipy import interpolate from scipy.signal import convolve2d from matplotlib import pyplot as plt import os,sys from time import time,sleep from fig2gif import GIF from cone_density import ConeDensityInterpolator from random import shuffle from data_store import H5 import datetime class Mosaic:...
[ "rjonnal@gmail.com" ]
rjonnal@gmail.com
f33b381516ae361987247b7d5ecf3162ea2b1413
2ecbfa15c50088090d60283b5dbbf0e6f2481c43
/python/classes/Json.py
a52dd3b0bc7e8d1435d6eb9ab4314f94d14ed8c0
[]
no_license
petrfaltus/mortgage-calculation-rest-client-source-codes
cff88a705c0017ecc605d0db037f08c47c6c89d1
60577daa8bba32900e585c1451cc02c390cbed41
refs/heads/main
2023-08-28T21:00:19.458340
2021-10-27T18:35:40
2021-10-27T18:35:40
334,079,942
0
0
null
2021-04-03T13:34:26
2021-01-29T08:17:16
Java
UTF-8
Python
false
false
1,655
py
import json class Json: METHOD_NUMBER = "method_number" LOAN_AMOUNT = "loan_amount" LOAN_TERM_MONTHS = "loan_term_months" INTEREST_RATE_PERCENT_PA = "interest_rate_percent_pa" ERROR_CODE = "error_code" ERROR_STRING = "error_string" DATA = "data" INTEREST_RATE_PERCENT_PM = "interest_ra...
[ "petrfaltus@petrfaltus.net" ]
petrfaltus@petrfaltus.net
de2a34e609fc4ee854d4f0dea3df532f693580c9
4973afd9699d27c05072c1580eb28c4905122a92
/statistics_functions/statistics_api.py
53ae7238607a05aa809305d4a0260d80ac142d6e
[]
no_license
SGjorge/TFG_MODELADO-DE-DATOS-Y-APLICACION-WEB-PARA-EL-ESTUDIO-DE-LA-ENFERMEDAD-ARTERIAL-PERIFERICA
d4443f3ad487244f285ee54293b238c7b19403d2
08e3338848947b93c288b23b7eab770f7e5331c1
refs/heads/master
2021-05-15T05:50:12.485358
2017-12-29T11:34:31
2017-12-29T11:34:31
115,715,342
0
0
null
null
null
null
UTF-8
Python
false
false
421
py
import numpy as np import pandas as pd #import sklearn as sk def mean(array): return np.mean(array) def median(array): return np.median(array) def lowerQuartile(array): dataframe = pd.DataFrame(array) description = dataframe.describe() #print (description.25) print (description) def topQuartile(array): dataf...
[ "dtjorge_2@hotmail.com" ]
dtjorge_2@hotmail.com
d9dcfe1635501330719684caf79db67c250583dc
477c2342a296ef4388da8347dc4f897bb3455906
/BaekJoon/10996.py
8a917175297132ad1d3aa98d8054197c1602778b
[]
no_license
llhbum/Problem-Solving_Python
eb56e7bac44c1fd15cbfc9766839a81d5743b797
97c03ffb4a2f6301c7f7443c11741ac94c9173c6
refs/heads/master
2023-02-11T08:03:02.831518
2021-01-07T11:47:04
2021-01-07T11:47:04
294,284,438
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
N = int(input()) array_2 = [[' ' for _ in range(N)] for _ in range(2)] for i in range(N): if i % 2 == 0 : array_2[0][i] = "*" elif i % 2 == 1: array_2[1][i] = '*' for i in range(N): for i in range(2): for j in range(N): print(array_2[i][j] , end='') print() ...
[ "llhbum@gmail.com" ]
llhbum@gmail.com
f55d8b2b851ab050c47ad3346198c04b4e60571d
5cc3334518c73a7de57f33a9b79ab4dd38693163
/golden_creator.py
57ad7041a243814f8bfa65bfebfa30f3e283b6e0
[]
no_license
arashdn/sof-expert-finding-ml
0affecc06db78e96a55c376f65f53aaf780d1e5f
de8f6b64bf666d7d4fa3a6abd24354d7d8000f6f
refs/heads/master
2021-01-19T18:59:02.731049
2018-01-20T11:02:40
2018-01-20T11:02:40
88,392,949
3
0
null
null
null
null
UTF-8
Python
false
false
1,511
py
import mysql.connector acceptance_ratio = 0.4 number_of_acc_answers = 10 cnx = mysql.connector.connect(user='root', password='root', host='127.0.0.1', database='sof') cnx2 = mysql.connector.connect(user='root', password='root', ...
[ "arash@dargahi.org" ]
arash@dargahi.org
ed1efc723a92cb5f2e7d59cf64eacf8afa578873
986fa7a2fb79d2450926db8e20e555e08bfd515f
/cross3d/softimage/_PySoftimage_setup/PySoftimage/__init__.py
c20db828e71d803b104a48e51e07377652dfc485
[ "MIT" ]
permissive
josephkirk/cross3d
3547ed384e7419574df31f9931b762f6dba2217b
8cf02f9325177c46f52ea757861ca2c9015cb0d8
refs/heads/master
2021-01-11T23:09:35.658549
2018-08-18T09:48:18
2018-08-18T09:48:18
78,552,364
1
0
null
2017-01-10T16:33:53
2017-01-10T16:33:53
null
UTF-8
Python
false
false
1,564
py
## # \namespace PySoftimage # # \remarks Defines the PySoftimage interface for basic Qt interaction with softimage using the blurdev package # # \author beta@blur.com # \author Blur Studio # \date 12/03/08 # import os.path import win32com.client # Import Application Constants from win32com.client import constants...
[ "mikeh@blur.com" ]
mikeh@blur.com