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
b97a4ac16c40b94b99456441480c2be331b175df
69ed58f777954d3773ef5cec11a4c83ccf5b02c3
/model/charbilstm.py
644d1431401e39385f0fad21dd6c3e91d0306d84
[]
no_license
liuyijiang1994/LatticeLSTM
68526e7376696510919787837179dbbbf649deea
0f92c50c8a01290cc9463a60e460a0dd64cafba1
refs/heads/master
2020-11-29T04:14:19.104831
2019-12-25T00:48:39
2019-12-25T00:48:39
230,019,249
14
3
null
null
null
null
UTF-8
Python
false
false
3,320
py
# -*- coding: utf-8 -*- # @Author: Jie Yang # @Date: 2017-10-17 16:47:32 # @Last Modified by: Jie Yang, Contact: jieynlp@gmail.com # @Last Modified time: 2017-12-06 16:21:33 import torch import torch.autograd as autograd import torch.nn as nn import torch.nn.functional as F from torch.nn.utils.rnn import pack_p...
[ "549270875@qq.com" ]
549270875@qq.com
2d36b239b60625e90ad046c03e45fb5e52926f25
95af2e61be899a068f849fc93285fb479373e661
/shop/migrations/0001_initial.py
12b70db449eb400c8643b44e6c08244a06008b5b
[]
no_license
vskidevelopers/vista_shop
28d173d3fc22b1610cc8ca382d2ba6b197c3b29b
9542ae4ed47336f7d29a4287b858bc5bd91be7ee
refs/heads/master
2023-08-25T14:26:10.775789
2021-10-18T09:45:27
2021-10-18T09:45:27
383,741,932
0
0
null
null
null
null
UTF-8
Python
false
false
3,694
py
# Generated by Django 3.1.7 on 2021-07-08 22:04 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "71015535+vskidevelopers@users.noreply.github.com" ]
71015535+vskidevelopers@users.noreply.github.com
0c3bfbea643ac9fd23c1c480c171e9ec77ba22e6
0191140830e827ddfde9300d5cc5962018a7bac1
/celauco/migrations/0001_initial.py
9423288d3a9aaa9dec80cbf2469bbfe1324ef34e
[]
no_license
NicolleLouis/LouisNicolle
d816a60f30d92a9c2bc1b6ef6443c477505bf1bc
b99ae034d58afce5670d0b2fb0e5f3ce57bf1449
refs/heads/master
2023-08-17T20:37:29.024430
2021-09-13T14:26:02
2021-09-13T14:26:02
291,709,252
0
1
null
null
null
null
UTF-8
Python
false
false
794
py
# Generated by Django 3.2.4 on 2021-09-11 17:26 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Board', fields=[ ('id', models.AutoField(pr...
[ "louisxnicolle@gmail.com" ]
louisxnicolle@gmail.com
419ff41ff8a7bdd1437bc2577a4796fc5b0eb7f1
ec5ca9298d1f60eaf01c86e360e74a3aa3e87dfa
/lambda_function.py
e8932ebb7aa1f4cf594b75c157d8f13e41229f5f
[]
no_license
lizkovalchuk/berryface-api
dd426941add8c833c3472e34f15c6896a646f36e
b6dab9cb586e84f773e9ee6f5939090c818734ba
refs/heads/master
2023-05-11T03:46:19.316018
2020-06-07T14:57:42
2020-06-07T15:37:06
266,224,399
0
0
null
2023-05-01T21:40:54
2020-05-22T23:09:16
Python
UTF-8
Python
false
false
292
py
from flask import Flask def lambda_handler(event, context): first_name = event['queryStringParameters']['first_name'] last_name = event['queryStringParameters']['last_name'] message = 'Hello {} {}!'.format(first_name, last_name) return { 'message' : message }
[ "liz.kovalchuk@gmail.com" ]
liz.kovalchuk@gmail.com
ba3d482874710352ab5062878a78afef4b7e2ebc
14d6a120cb5423a544226f657cfae58f64d2c757
/PythonApplication1/scripts/writeHDF4.py
8062f995932762ec5d3456b137475a1c29515b7b
[]
no_license
wanghui0225/PythonApplication1
c58eac8fad87b76ad22e0afd732d9e759e2c81df
e77aa7c3c06d0a9c4da59707c3afdabdbaaa12c3
refs/heads/master
2021-12-14T17:57:27.937463
2017-05-02T01:07:43
2017-05-02T01:07:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
from pyhdf.SD import * # import Numeric Python package -- Numpy from numpy import * data = array(((1, 2, 3), (4, 5, 6)), int16) # Create an HDF file sd = SD("hello.hdf", SDC.WRITE | SDC.CREATE) # Create a dataset sds = sd.create("sds1", SDC.INT16, (2, 3)) # Fill the dataset with a fill value sds.setfillvalu...
[ "xffx2009mvp@outlook.com" ]
xffx2009mvp@outlook.com
e034d071ef555e03a49271707153a67948bf4448
bc4ac6eca7152b084ae52cb9dde5c0f5b8147168
/feature/sample_set.py
a810bbcfe879e7aae2efaad6fe55160a1295f1e9
[]
no_license
windream/Kaggle-Click-Through-Rate-Prediction
f561af9f91964c6675b952e1be53d5f0b161876f
0a944af8b44101f91634bb23204e3b042f2714b8
refs/heads/master
2021-01-01T17:56:23.030122
2014-12-16T22:19:24
2014-12-16T22:19:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
import random if __name__ == "__main__": # source file source_file = "../feature/train.feat" # train file target_file = "../feature/train_sample.feat" # percentage ratio = 0.2 # line number num_line = 0 fin = open(source_file, 'r') first_line = True for line in fin: if first_line: first_line = False ...
[ "windream1991@qq.com" ]
windream1991@qq.com
72a5f4a5f73dc67f063fd7791f93f3401115f0d6
61b2316087ce162df449256edbc8c69c4ce2c249
/BIDS_converter/t3st_workspace.py
fa3461629950d5be5960ff5504e80b8d1bcdacca
[ "MIT" ]
permissive
Aaronearlerichardson/BIDS_coding
8675ef3081162bf979808b1f06ff5a2bd2c96b52
78feb08ed8ad6b782cae19591b4df5e8547b99bb
refs/heads/main
2023-07-20T06:41:28.154855
2021-08-02T19:37:04
2021-08-02T19:37:04
362,968,453
1
0
null
2021-04-29T23:02:01
2021-04-29T23:02:00
null
UTF-8
Python
false
false
1,403
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import numpy as np import json import gzip if __name__ == '__main__': with open('config.json', 'r') as fst: config = json.load(fst) headers=np.zeros(194) files = ["/home/sbf/Desktop/git/BIDS_coding/BIDS_converter/testing/D52/D52_Session001_PhonemeSe...
[ "jakdaxter31@gmail.com" ]
jakdaxter31@gmail.com
2b327a89232bf100c2283e5c8c9a6919ef486468
5850b8e26bbe517ad52cff69c4710ef6eef6194d
/src/store/urls.py
ab0edf778f216a02fd7862d3830770cc8c88ffd1
[ "MIT" ]
permissive
shubham2803/e_commerce
854508b690fe09aa0ca1ecacd984ee260c0a103c
6b20659614f5c7e108926abafc67618401fcc386
refs/heads/master
2022-12-05T09:27:11.520680
2020-09-01T13:15:02
2020-09-01T13:15:02
292,002,384
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from django.urls import path from . import views urlpatterns = [ path('', views.store, name='store'), path('cart/', views.cart, name='cart'), path('checkout/', views.checkout, name='checkout'), path('update_item/', views.updateItem, name='update-item'), path('process_order/', views.processOrder, n...
[ "36783620+shubham2803@users.noreply.github.com" ]
36783620+shubham2803@users.noreply.github.com
02e52c2347da093af5505532b567051e74fb748f
c1ba56288134f1ffad2439f7c43cc4e4db3e4c75
/week5/task5_exps.py
8b05a01cd7eff043fb45f5932167d16098776106
[]
no_license
vcampmany/M3_ImageClassi
c7d41c1e215980fe7dd4463805e028644ef1704d
44601b1fc4dd35d072389fc035a784006124b969
refs/heads/master
2021-01-12T10:28:02.236107
2017-02-22T12:15:04
2017-02-22T12:15:04
76,462,959
2
0
null
null
null
null
UTF-8
Python
false
false
2,241
py
import os import random def mkdirs(directory): if not os.path.exists(directory): os.makedirs(directory) mkdirs('task5_results/') batch_sizes = [16, 32, 64, 128] epochs = [10, 20, 50, 70] optimizers = ['SGD', 'RMSprop', 'Adagrad', 'Adadelta', 'Adam', 'SGDNesterov'] learning_rates = [0.0001, 0.001, 0.01, ...
[ "vcampmany@gmail.com" ]
vcampmany@gmail.com
2dba5e467981027461bc51f60ff5bcdb7a25d7d0
f1bb6d4792dda53c879fc0c4c594d32c6489d656
/data/template_dataset.py
2d3bf56d6cdbecaf6ea74283ed467bffd4c58e19
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
sepideh-srj/flashNoflash
ea3167be2fb051f23b6fba2e0cc79b76910e1c4a
8233e8bb03e5e696e5101584fa854476c33a7e60
refs/heads/main
2023-03-14T16:06:36.471979
2021-03-10T22:48:38
2021-03-10T22:48:38
346,510,895
0
0
null
null
null
null
UTF-8
Python
false
false
2,556
py
import os.path from data.base_dataset import BaseDataset, get_params, get_transform from data.image_folder import make_dataset from PIL import Image class AlignedDataset(BaseDataset): """A dataset class for paired image dataset. It assumes that the directory '/path/to/data/train' contains image pairs in the ...
[ "ssarajia@solar.planets" ]
ssarajia@solar.planets
3b21d450831f5e4a76387d281b2bad7692bb7bab
7b27c3a9b65ca09fe5b538df0e5372d97f61fbe3
/Week-1/Assignment-2.py
a0d623c796034e4c0bd10e60a903979bd23210fb
[]
no_license
anmol-sinha-coder/LetsUpgrade-AI_ML
86c635fb00ef0736c6355cbb69f47b0976928adb
e076a846de86bb73d98716111390b16c90ffadd3
refs/heads/master
2023-01-01T14:06:42.376060
2020-10-22T16:48:14
2020-10-22T16:48:14
291,265,164
0
0
null
null
null
null
UTF-8
Python
false
false
3,262
py
#!/usr/bin/env python # coding: utf-8 # # <font color="blue">Question 1: </font> # ## <font color="sky blue">Research on whether addition, subtraction, multiplication, division, floor division, and modulo operations be performed on complex numbers. Based on your study, implement a Python program to demonstrate these o...
[ "noreply@github.com" ]
noreply@github.com
4c89b68fffcb86278a1d769cd4b64f7a8e2b8880
baad77465c6470247b6a00736aed1442ae084249
/tools/oh/recorder/run.py
e0dee87b91065c2c312050b8733696decee746e7
[ "MIT" ]
permissive
yiluzhu/arbi
03d5d3bbc32bb7def7e9ae84ff174677fd371cf6
5b141e981547341dcb32e730f058da567731ebed
refs/heads/master
2020-03-11T05:15:13.999035
2018-04-16T20:14:53
2018-04-16T20:14:53
129,797,314
4
1
null
null
null
null
UTF-8
Python
false
false
1,503
py
"""Run OH recorder which saves odds history into database.""" import os import datetime import logging import argparse from arbi.tools.oh.recorder.oh_engine import OHEngine from arbi.constants import ROOT_PATH def setup_local_logfile(): path = os.path.join(ROOT_PATH, 'logs') if not os.path.exis...
[ "noreply@github.com" ]
noreply@github.com
723edf0b9de71d395cd0d4beac14caf25e3acd39
2bfc43a46b897a6d5adeb86a3196caf64d5aeeaf
/unnume/venv/Scripts/easy_install-script.py
056a3bdd7f601d1afefbce20778f9689c5020200
[]
no_license
ManoliuSergiu/ProiectWeb
d543f2725ee203dbdfd330848b022de9e29580cb
0cb864346e096e4e5d3bcba7fd6964932d8ee33c
refs/heads/master
2020-09-14T17:23:27.837117
2020-01-16T14:52:50
2020-01-16T14:52:50
223,199,199
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
#!C:\Users\pc1\PycharmProjects\unnume\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "pc1@DESKTOP-GOII4U4" ]
pc1@DESKTOP-GOII4U4
edff1e0a90919d3b969b84c644ead717e0076ea3
2829784631281679f284ddce07f75a5e01472005
/src/middleware-kafka/services/config_service.py
7f84d818a94860e2f8fb84c28d7f50d6328dfd5a
[ "MIT" ]
permissive
LeoNog96/IntegradorRedmine
26cbe2eb23f7d12c48c96c978633a4dda47fca4c
bb5477caa9088665b3d18e26530609ba831517d9
refs/heads/master
2020-12-23T10:03:31.629372
2020-02-05T20:12:11
2020-02-05T20:12:11
237,118,758
0
0
MIT
2020-02-05T20:11:23
2020-01-30T01:41:16
Python
UTF-8
Python
false
false
57
py
from settings import settings def save(dict): pass
[ "leonardo.lns@outlook.com" ]
leonardo.lns@outlook.com
28bcaadd4bc0bb017fd1339c673a9950a8068b02
623ea84dd0a3eb6930e62a581bf66c828cf635ad
/test/test_individual_data_consent_request_details.py
fa8251b2a9bd72b90a1c7a1023437d48ad12c719
[ "Apache-2.0" ]
permissive
mydatamyconsent/python-sdk
0fe663cbb07e74fd920cd3cb0d55113b0d405799
668069e5feab812f25d5709f45447735c6277e8f
refs/heads/master
2023-04-13T07:06:48.399162
2022-11-20T18:16:44
2023-03-16T17:41:57
205,012,683
0
0
Apache-2.0
2023-09-04T13:36:36
2019-08-28T19:57:48
Python
UTF-8
Python
false
false
1,621
py
""" My Data My Consent - Developer API Unleashing the power of data consent by establishing trust. The Platform Core Developer API defines a set of capabilities that can be used to request, issue, manage and update data, documents and credentials by organizations. The API can be used to request, manage and upd...
[ "balamurali@live.com" ]
balamurali@live.com
17715a24bbeb2801d527d4597578a2dd367c973b
7e436e3d59626fc2f44b2c0185d909c95020f24b
/src/clean_tweet.py
532c6417745ea30e110465cda844fc18132cb7b8
[]
no_license
fariszahrah/disaster-tweets
65fefacda29c685577a5874a812d108cab7205f7
ff729691a7986b2f8a78ae479e052649c5fb7971
refs/heads/master
2022-07-11T09:38:37.936576
2020-03-20T04:22:12
2020-03-20T04:22:12
244,951,612
0
0
null
2022-06-22T01:23:21
2020-03-04T16:38:58
Jupyter Notebook
UTF-8
Python
false
false
16,363
py
import re #Credit: Gunes Evitan #https://www.kaggle.com/gunesevitan/nlp-with-disaster-tweets-eda-full-cleaning#4.-Embeddings-&-Text-Cleaning def clean(tweet): # Punctuations at the start or end of words #for punctuation in "#@!?()[]*%": # tweet = tweet.replace(punctuation, f' {punctuation} ').s...
[ "fariszahrah@gmail.com" ]
fariszahrah@gmail.com
a76cca19fa4d0bfcf0f465ae0c1bec1dce41ed75
c824722d02a36f888f74bf60455361a2a1fe5212
/rnacentral_pipeline/rnacentral/genes/methods/singletons.py
23f128344be241778a004c7535b3cea245c45a8c
[ "GPL-1.0-or-later", "Apache-2.0", "Artistic-1.0-Perl", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference" ]
permissive
RNAcentral/rnacentral-import-pipeline
d1b52291fc083470d75cf400b10792e1613662db
4505f748f9a932ffe4663c16b6c81574e4c04178
refs/heads/master
2023-08-31T23:37:29.744476
2023-04-11T11:10:48
2023-04-11T11:10:48
29,351,993
5
0
Apache-2.0
2023-07-12T13:58:10
2015-01-16T14:34:15
Python
UTF-8
Python
false
false
1,074
py
# -*- coding: utf-8 -*- """ Copyright [2009-2021] EMBL-European Bioinformatics Institute 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...
[ "bsweeney@ebi.ac.uk" ]
bsweeney@ebi.ac.uk
fc60af11b3d368c537f0f4df6d74171c61349d76
364edc98a05ddecf5ad7b7614d2a35a95d19705b
/rxpy/subject.py
02dcecc1bc9be7f5921fc1486dee19a05d51b19c
[]
no_license
as950118/outsource
f7f10b5ba62487da8ccddd894aaedc8af48e9d50
05a9f654aa222f4da4ce9c4902dde094c9d158d0
refs/heads/master
2022-12-21T00:18:45.405708
2020-02-03T15:53:16
2020-02-03T15:53:16
193,331,277
0
0
null
2022-12-06T22:38:00
2019-06-23T09:50:33
HTML
UTF-8
Python
false
false
401
py
from rx import Observable, Observer from rx.subjects import Subject class PrintObserver(Observer): def on_next(self, value): print("Value :", value) def on_error(self, error): print("Error :", error) def on_completed(self): print("Completed") subject = Subject() subject.subscribe(P...
[ "na_qa@icloud.com" ]
na_qa@icloud.com
11f36b50e3f48e7e2509f4d2fc8fa5d1a6aae45a
2be1a23a8e807f0b3e0d94335c7141ef10893f88
/testCurveFit
75d0e9c692282bf7fdb101b686605412eeafcb11
[]
no_license
jmobrecht/NN
787d01bd328b34e5eada8387ed3b5e8f31cdd1c2
e969c146cdb1db5f189c12dd840940ba549d3a2e
refs/heads/master
2020-04-04T15:02:22.558348
2019-01-17T06:48:12
2019-01-17T06:48:12
156,022,588
0
0
null
null
null
null
UTF-8
Python
false
false
584
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jan 16 15:17:47 2019 @author: jmobrecht """ import numpy as np import matplotlib.pyplot as plt from numpy import exp import scipy as scipy from scipy.optimize import fmin xData = np.arange(-10,11,1) yData = 1.5*exp(-(xData - 0.3)**2 / 2 / 0.9**2) # D...
[ "noreply@github.com" ]
noreply@github.com
34ffb5d009addd355ca61c499cabdb72ee4f7c18
83ab997a9d17dc4eab3fbc123f3766db3309f9ff
/pyipinfoio/pyipinfoio.py
ce607bd9bf4787678db5943bd584ff301258628e
[]
no_license
aarshshah88/unifyID2
8b7712944f22ca54f6adb54b14901bfa97a054ff
77b699b086c1b5081a08185a4552d2fdf430704b
refs/heads/master
2020-03-30T17:47:43.201363
2018-10-03T20:03:59
2018-10-03T20:03:59
151,470,513
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
#!/usr/bin/env python """ Simple wrapper around the ipinfo.io IP geolocation API. """ import json import subprocess as sp class IPLookupError(Exception): pass class IPLookup(object): def __init__(self): pass def lookup(self, ip_address, param=None): """ Returns a diction...
[ "aarshshah8@berkeley.edu" ]
aarshshah8@berkeley.edu
cddb93ab8410df2131df8f0c264fbef8a438559a
f944bda31eccab66c50d8452daaaa2147e12c0eb
/todo/todoapp/urls.py
ab4421abbc56a406afdb954cf0b8fb1a39a9d1a1
[]
no_license
mataurrehman/todo
483dab489d1b63b0baf11a7355e5fe79c6cefc4e
22bbb35d6b43bcbcbcc65b39ad38c5381611c339
refs/heads/master
2020-04-12T02:42:34.464874
2018-12-18T11:47:37
2018-12-18T11:47:37
162,250,914
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
from django.conf.urls import url from django.urls import path, include from .views import AddTodo, DeleteTodo app_name = 'todo' urlpatterns = [ url(r'^add/', AddTodo, name='add'), url(r'^delete/(?P<todo_id>\d+)/', DeleteTodo, name='delete'), ]
[ "ata.rehman@arbisoft.com" ]
ata.rehman@arbisoft.com
c435f6f9e7b20dc1af9c920cba94abff9c3cc1da
799fee946fa3f4773cb1340bb36af5b465fdc570
/tests/test_models/test_body_models/test_utils.py
98127bf148f16a4805906a814f7a689e4be4c29c
[ "Apache-2.0" ]
permissive
open-mmlab/mmhuman3d
8c534d3c252f68f2d14d3e67fe67bfbccadfad36
9431addec32f7fbeffa1786927a854c0ab79d9ea
refs/heads/main
2023-08-31T13:30:59.894842
2023-07-10T02:32:20
2023-07-10T02:32:20
432,877,190
966
139
Apache-2.0
2023-08-31T08:49:16
2021-11-29T02:10:31
Python
UTF-8
Python
false
false
4,440
py
import torch from mmhuman3d.models.body_models.builder import build_body_model from mmhuman3d.models.body_models.utils import ( batch_transform_to_camera_frame, transform_to_camera_frame, ) from mmhuman3d.utils.transforms import ee_to_rotmat def test_transform_to_camera_frame(): # initialize body model ...
[ "noreply@github.com" ]
noreply@github.com
ec68fcbdad6e89265b1e12e9341ad203211a2bb2
283bbf2ce575ea72010e9823907285b08d20fce4
/breathecode/services/slack/commands/cohort.py
2836ed2bf671bb37af7aab2ef7b781a00670daf5
[]
no_license
AnMora/apiv2
c084ffcb4ff5b7a0a01dac8fca26f4f4c37aad97
fa3b3f0ce4a069facdecd18e133c7b4222a0004a
refs/heads/master
2023-05-19T23:00:34.257230
2021-06-08T21:17:56
2021-06-08T21:17:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,379
py
import os from breathecode.admissions.models import Cohort, CohortUser from ..decorator import command from ..utils import to_string """ Possible parameters for this command: - users: Array of user slack_ids mentioned inside the slack command text content - user_id: Slack user ID of the message author - team_id: Slac...
[ "aalejo@gmail.com" ]
aalejo@gmail.com
fb78af8b8bb34dbbb0b29d69af2e0a4b4955b28e
a5f59a30687421c5c6ecc72a14067259820eaa93
/login.py
cb52964f50c53f47c4d431692ce20940f2cded96
[]
no_license
lianhuo-yiyu/spider-1
11d05c849e268bfb02e547fae407f0be1f88db2e
19b329314d55c575a267dd742390510f4fb02900
refs/heads/main
2023-04-21T09:52:34.748838
2021-05-16T04:58:51
2021-05-16T04:58:51
367,788,021
0
0
null
null
null
null
UTF-8
Python
false
false
1,887
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'GUI+Spider.ui' # # Created by: PyQt5 UI code generator 5.12.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Mai...
[ "c1754615501@163.com" ]
c1754615501@163.com
b5bdc5c3043f35b944f6d596c8f5d1d482539dbe
876e5f781c9e1a63a009cc28f3ab50212ab41604
/flaskblog/globals.py
a4e41736bfbde712fa5dc6008919227c0bd4729b
[]
no_license
marcusreaiche/flaskblog
a3df290f03f323096f3fd539551ff9774a3b90fa
699e0dde988573f4b93c98740b919d5ff594ce24
refs/heads/master
2022-12-24T17:40:39.119620
2020-04-20T13:30:55
2020-04-20T13:30:55
256,365,024
0
1
null
2020-10-01T09:04:37
2020-04-17T00:54:34
HTML
UTF-8
Python
false
false
30
py
default_image = "default.jpg"
[ "marcusmendes@bndes.gov.br" ]
marcusmendes@bndes.gov.br
cca1495cff92383e39bc08ec30f151959032bba4
69b9efa742ad9642c366e5cf0dfa66220e86da1e
/cocoon/frontend/apps.py
a86ad66420b94dae998b87fed7926409bd143402
[]
no_license
tiusty/Cocoon
f1321493b7d3240177da21ff2222b51f71f49a0b
bdc305eb42c9d3864a0caa2e65e783e4cfbfc5b4
refs/heads/master
2022-03-16T15:24:07.565619
2019-05-09T00:23:34
2019-05-09T00:23:34
75,447,440
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
from django.apps import AppConfig class FrontendConfig(AppConfig): name = 'cocoon.frontend'
[ "awagud12@gmail.com" ]
awagud12@gmail.com
8a820254c3b45c180cd69dd7195b194cca9e2f40
6629620b2e43a24a092afc49851bf308048584b9
/pkdpjango/pkdp/migrations/0001_initial.py
6e4af49b29a07088aad7c4d0cf28c534d5b93d49
[]
no_license
qhftkf1/10.PKDP_Django_Study
0e7cff99530b5b55f279c9f75e7371b752f17783
1041e33879372f182327c0b173cce93222f3db83
refs/heads/master
2020-09-21T13:22:23.642113
2019-11-29T09:28:36
2019-11-29T09:28:36
224,800,726
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
# Generated by Django 2.2.7 on 2019-11-29 07:55 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Member', fields=[ ('id', models.AutoField(a...
[ "qhftkf1@naver.com" ]
qhftkf1@naver.com
9d600474b7861453ddda00d8ddf359b8ca080af8
a9cf8e5dfc45c9aa5bef4be12d132a6f76cab3ea
/sampling_free/layers/__init__.py
e8552eae5b83112151318a756843b0f89a3f71d4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
laborer123/sampling-free
e431bdd1197bf95549303f335c6ff672e682a0d5
01dfd40cf794ee5afea4f052216483f3901ecd20
refs/heads/master
2023-07-18T06:05:16.831606
2021-09-03T03:40:32
2021-09-03T03:40:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
from .batch_norm import FrozenBatchNorm2d from .misc import Conv2d, DFConv2d, ConvTranspose2d, BatchNorm2d, interpolate from .nms import nms, ml_nms from .roi_align import ROIAlign from .roi_align import roi_align from .roi_pool import ROIPool from .roi_pool import roi_pool from .smooth_l1_loss import smooth_l1_loss fr...
[ "chenjoya@foxmail.com" ]
chenjoya@foxmail.com
2788699b4ba4e58a703b5f03b5f6948f125e2335
bf18940e16c0df40503e556fff5d4c9a4fd07c3a
/src/__init__.py
713b0f68ac6cc2ae56f05a736c02d7b3aacc5b7a
[]
no_license
Firehead94/VisualSP
5af7b865801ddbbdaed28ccb38d0f199b2cb3107
0c11a185c5a38ca8e38d71124332e9d7a5050677
refs/heads/master
2020-04-17T01:19:14.722848
2019-04-12T01:16:33
2019-04-12T01:16:33
166,087,176
0
0
null
2019-02-06T19:05:31
2019-01-16T18:07:46
Python
UTF-8
Python
false
false
408
py
import src.datastorage.FileHelper as FileHelper import src.controllers.MainController as MainController #import src.camera.CameraFeedOld as CameraFeed #import src.camera.detectAndTrack as OurCV filehelper = FileHelper #VisualSPMain.setWindowFlags(QtCore.Qt.FramelessWindowHint) #Objects of the different files to ...
[ "justinjonscott@gmail.com" ]
justinjonscott@gmail.com
097c5b2cc05f75d93727e0ce813a87278bba4120
e1489380c0518f49123a1eda937a3ef7093b6e48
/Experiment_1/src/Extractor/interactive_heatmap.py
fcf1925c346efd41dc9bbc588b631734e4f68ca4
[ "MIT" ]
permissive
RyoOzaki/myResearch
ae7ca6e1fd775c5b7667b446a105219d285eb59f
a8f8ec63e1b1802517b12db2b6f3e286a3984bcf
refs/heads/master
2022-04-26T01:25:50.267653
2020-04-17T12:18:50
2020-04-17T12:18:50
155,150,786
0
0
null
null
null
null
UTF-8
Python
false
false
1,199
py
import numpy as np import matplotlib.pyplot as plt import readline from pathlib import Path from argparse import ArgumentParser, ArgumentDefaultsHelpFormatter parser = ArgumentParser(formatter_class=ArgumentDefaultsHelpFormatter) parser.add_argument("--target", type=Path, required=True) parser.add_argument("--cmap", ...
[ "ryo.ozaki@em.ci.ritsumei.ac.jp" ]
ryo.ozaki@em.ci.ritsumei.ac.jp
c3ecb7bd557ccf09fce1a2985db8fbd74374cb8f
5afe9746b07feee088eee3159e760f300313ca33
/my_products/asgi.py
04a3e38ad0ae146e93c58a8ef39052f98b3c85ed
[]
no_license
Opkorny/Django_ukol
bd2cd906e2870e0b87872baa5f74fdc2d571a00c
dc047206045f2dc8413e004bb2fa45ed682a6478
refs/heads/master
2023-04-24T10:39:29.372098
2021-05-09T19:02:22
2021-05-09T19:02:22
364,873,565
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for my_products 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_S...
[ "l.korzonek@seznam.cz" ]
l.korzonek@seznam.cz
a9bd6e95a742e3a7aa67af814ef9e012a653ad17
b8c12de2d2171288111131e7e32fb03cd26e6480
/posts/migrations/0001_initial.py
426d7391d21b74c995ca9606007f43722366da7b
[]
no_license
AbdouTlili/django-message-board-app
690e5706a41846a3e38170c6996c7e1f6d76717c
d41301f213cae4b4fd5775dfa7d6bc9d3e0390f9
refs/heads/master
2023-01-14T15:00:20.652556
2022-04-16T16:36:36
2022-04-16T16:36:36
242,925,326
1
0
null
2022-12-27T16:37:06
2020-02-25T06:17:15
Python
UTF-8
Python
false
false
470
py
# Generated by Django 3.0.4 on 2020-03-21 15:39 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(aut...
[ "zacnnnt@zacnnnt.zacnnnt.com" ]
zacnnnt@zacnnnt.zacnnnt.com
ac36a753da90e3db42711aab89c1fbffab9610f0
8881c115653961b72f0566923750d97288f1cfd9
/app/core/migrations/0001_initial.py
697d74de7efc352a895bf3aa12f11b23ce9772a2
[ "MIT" ]
permissive
rockudaime/recipe-app-api
ac6b0bb96f40ff36f38752811e59beb665cb3a9b
58dc49bd8f91db2c2bc65aafbc252173a09230c9
refs/heads/master
2020-04-29T09:24:21.189807
2019-03-17T21:00:53
2019-03-17T21:00:53
176,023,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,708
py
# Generated by Django 2.1.7 on 2019-03-16 22:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
[ "bazarow0407@gmail.com" ]
bazarow0407@gmail.com
77760f298fa467936b7f493ffec0c73956c58076
925857a6d4c6aa2bfdf01ff5bf9fe4e82ad7e1fb
/mysite/tracker/migrations/0030_merge.py
fb29cf7a6d1ee48ed6bce0892da1343f35e9bc30
[]
no_license
rivkaco/Buzzhunter_Proj
88a262805d6aae33f4a64bfbf57e800f9b902306
6f89116cb613a08a166f05c7272b917c0a050b1c
refs/heads/master
2021-01-23T06:20:32.408753
2017-03-22T10:03:58
2017-03-22T10:03:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('tracker', '0008_auto_20170319_1505'), ('tracker', '0029_heatmap'), ] operations = [ ]
[ "rivkafreund@gmail.com" ]
rivkafreund@gmail.com
eb2d15ca8f556155a42d6387f633b23755a40b50
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/client/gui/battle_control/controllers/progress_circle_ctrl.py
4c979246ebce6a237814dd811c6e984512e6c7c5
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
18,137
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/client/gui/battle_control/controllers/progress_circle_ctrl.py from functools import partial import BigWorld import Event from constants import REPAIR_POINT_ACTION, SECTOR_BASE_ACTION from debug_utils import LOG_WARNING, LOG_ERROR from gui....
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
9f9f6c16c59edf5086edfe78049d56c7a2fd2f34
b0f4d13f53b4103042901eb51a4279aa518ef88f
/Project euler/problem30.py
7167a1c49a52a630aea7139a3145da6087ef3a6c
[]
no_license
miguel-vila/problemas-de-programacion
534ada813d1b53077124fd775bb475b023c35997
28883504a70319cd8e20f11723658ccab14148ca
refs/heads/master
2021-01-21T04:37:12.357635
2016-04-04T16:24:36
2016-04-04T16:24:36
8,253,825
0
1
null
null
null
null
UTF-8
Python
false
false
231
py
#------Problem 30------ def problem30(): l=[] for i in range(100,1000001): s=0 for j in range(0,len(str(i))): s+=pow(int(str(i)[j]),5) if s==i: l.append(i) return sum(l)
[ "miguelvilag@gmail.com" ]
miguelvilag@gmail.com
17e744796cd9aca853b65b73733f29212d47547b
1bedfc063f77154361b63595606eabd2dc89267a
/src/regression/prophet/plot_prophet.py
fff9b10a033d42eee9085639e7f3a00f53e22b8a
[]
no_license
weast24/mltools
9fbc5121db14fc0989a1c258443e4f8bac568c3f
7a3673d2948dc80f37401533c34783ad96a9bc91
refs/heads/master
2020-08-28T15:41:33.602096
2020-02-28T05:51:17
2020-02-28T05:51:17
217,743,491
0
0
null
2019-12-10T18:01:14
2019-10-26T17:17:16
Python
UTF-8
Python
false
false
2,100
py
# from sklearn import preprocessing # 標準化 # https://note.nkmk.me/python-list-ndarray-dataframe-normalize-standardize/ # 参考 # https://facebook.github.io/prophet/docs/quick_start.html#python-api import matplotlib.pyplot as plt # import numpy as np import pandas as pd from sklearn import preprocessing from fbprophet im...
[ "t.nishi.aa@gmail.com" ]
t.nishi.aa@gmail.com
91ca0063fb3bd8b301ab839f591b4cd8184b4cc1
3ae4ccda6a9a5298f910c18a6b2a271fdc3c876f
/CeedlingModuleOperations.py
c02b9272f095260e12f903774fd8b4a07049cd3f
[ "MIT" ]
permissive
SublimeText/Ceedling
81ee2feee6aca31bb2d7a50b7b655c2b78784b1d
ac959fea6dbc77cf38045a237d61b3736d744e2f
refs/heads/master
2022-12-23T22:57:33.483194
2022-12-16T20:24:06
2022-12-16T20:24:06
1,596,780
5
7
MIT
2022-12-16T20:24:07
2011-04-11T00:04:06
Python
UTF-8
Python
false
false
3,628
py
import functools import sublime import sublime_plugin from .CeedlingOpenFile import CeedlingPathBuilder from .CeedlingSettings import CeedlingProjectSettings class CeedlingCreateModuleCommand(sublime_plugin.WindowCommand): def run(self, action="create"): window = self.window view =...
[ "20469645+pajacobson@users.noreply.github.com" ]
20469645+pajacobson@users.noreply.github.com
fb3913b68c0607813508dbbff53a29f2539b6333
d3ea952510812ba6de7b84eb53304940781d9d5e
/web_server/mysite/settings.py
78a92458a5049baa9cd78dd63ca2f8ed0b2f46aa
[]
no_license
555ukr/cs_joy
462f6347b32cbb0db3f654755862f2de3f1c3dc0
c65a1ae8afa97c39ee43a689bb1390807797e81f
refs/heads/master
2020-07-03T23:43:58.000522
2019-09-11T16:06:03
2019-09-11T16:06:03
202,088,993
0
0
null
null
null
null
UTF-8
Python
false
false
3,088
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # ...
[ "kalashnyk@innoscripta.com" ]
kalashnyk@innoscripta.com
20334bf9763728e991b3fab838bd05fe3a5f655e
ed7ba820a12661449720f56212df4250fc83b660
/Список квадратов.py
3d2de9c02b0dc1e5cce54ec161bd25a75e792d9a
[]
no_license
TimBoraev/Python
67e628f3668f5165ac427a5a8ffeb0e0b543318f
ed8c8229f86f522937e12169182523b682dfc32b
refs/heads/main
2023-03-17T04:24:14.684584
2021-03-06T11:43:18
2021-03-06T11:43:18
338,002,535
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
n = int(input()) i = 1 while i**2 <= n: print (i**2) i+=1
[ "noreply@github.com" ]
noreply@github.com
92a6eda5843f5acd09c628d6b117536ae53e8cb3
b27140a79e2f8200ef7acbf79b39139db1a794c6
/gradient_descent_mse.py
5c8b8abf23c55f2a0a7830ffbbba8a2d8c05ee00
[]
no_license
astonish1123/deep_learning
7ae8c20e4749602954b57146d3f159dabc8c3efa
9bd9f83f6cfb260dec8a0b259b03b7576ca3959b
refs/heads/master
2021-01-06T17:41:22.117804
2020-03-03T16:38:40
2020-03-03T16:38:40
241,421,756
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
import numpy as np from data_prep import features, targets, features_test, targets_test def sigmoid(x): return 1 / (1 + np.exp(-x)) if __name__ == "__main__": np.random.seed(42) n_records, n_features = features.shape last_loss = None weights = np.random.normal(scale=1/n_features**.5, size=n_feat...
[ "h.nakashima.ny@gmail.com" ]
h.nakashima.ny@gmail.com
e81213a43d1ab098c4d060da52c200613dcf802a
bd6853f1d575d7d53a069e7a7d512b41a21ab713
/demo/chaco/enable_draw_line.py
5a35738eb1136c7d33837ce6f0e8719364865f12
[]
no_license
sunshouxing/Pyramid
4a08ac69ef7bff72e172ad4e53175647d9636858
6286f2c6bd68cfbff9eedb6682fe77bae6663edc
refs/heads/master
2020-12-31T02:50:11.742891
2016-09-24T13:54:56
2016-09-24T13:54:56
65,541,683
1
0
null
2016-08-12T09:33:46
2016-08-12T09:33:46
null
UTF-8
Python
false
false
2,068
py
# -*- coding: utf-8 -*- from traits.api import HasTraits, Instance, List, Enum, Float, Int, Color, Tuple from traitsui.api import Item, View, HGroup from enable.api import ComponentEditor, Component def convert_color(c): if c.__class__.__name__ == "QColor": return (c.red() / 255.0, c.green() / 255.0, c.bl...
[ "shouwang.sun@aliyun.com" ]
shouwang.sun@aliyun.com
f846d5aa9820a1cc2ddd5da62bab9d9def5118fb
8b07b4a45bad5bbca9596372dc47f656dd12face
/python/pygdisp.py
893ecda133461a98df6163486729d479c67fc0d0
[]
no_license
soburi/mft2014
f303bf90d095acdb93c36bd2e0d0a5087a26f5cf
cbea9494f49e11ef0def433d37e4dbc0eed637da
refs/heads/master
2020-05-29T15:50:53.207337
2014-12-08T16:01:32
2014-12-08T16:01:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,651
py
#!/usr/bin/python import numpy import cv2 import cv2.cv as cv class PygDisp: def __init__(self, pyg, w, h): self.pyg = pyg size = (pyg.display.Info().current_w, pyg.display.Info().current_h) scr_width = w scr_height = h if (w < 0): scr_width = float(size[0]) scr_height = float(size[1]) if( scr_...
[ "soburi@gmail.com" ]
soburi@gmail.com
f6e74ba49764c4245f61beabf3c6737993b74fa6
057d662a83ed85897e9906d72ea90fe5903dccc5
/.PyCharmCE2019.2/system/python_stubs/-1247971762/gi/_gi/FunctionInfo.py
08fe51300b7b7b03f1451dd70de9ae5fb449ad8f
[]
no_license
Karishma00/AnsiblePractice
19a4980b1f6cca7b251f2cbea3acf9803db6e016
932558d48869560a42ba5ba3fb72688696e1868a
refs/heads/master
2020-08-05T00:05:31.679220
2019-10-04T13:07:29
2019-10-04T13:07:29
212,324,468
0
0
null
null
null
null
UTF-8
Python
false
false
928
py
# encoding: utf-8 # module gi._gi # from /usr/lib/python3/dist-packages/gi/_gi.cpython-37m-x86_64-linux-gnu.so # by generator 1.147 # no doc # imports from gobject import (GBoxed, GEnum, GFlags, GInterface, GParamSpec, GPointer, GType, Warning) import gi as __gi import gobject as __gobject class FunctionInfo(_...
[ "karishma11198@gmail.com" ]
karishma11198@gmail.com
d45bb7ecdbb04386c719f2b64768b2b8aea2a151
7a930def8168ed7c7b83649b22ac34b0128a0707
/TemporaryScripts/pickle_reader.py
30b0d349cfdcac6d0ce5a2ff60f6e9999ae74ff7
[ "MIT" ]
permissive
PradoVarathan/C-SHAL-DeepSEA
6d6ff221de3fb78d5ca77c47c9bde541f69b4f8e
a7b7d5a5f1afc61487779856661ad81d3be04b6c
refs/heads/main
2023-02-11T13:21:59.193403
2020-12-30T16:09:53
2020-12-30T16:09:53
310,713,783
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
import pandas as pd def read_pickle_file(file): pickle_data = pd.read_pickle(file) return pickle_data
[ "ppugale@iu.edu" ]
ppugale@iu.edu
010cefecf1effc42c0e6cb4832c2d22fe531d18e
2ba3853ca746e4ea7991532e659518f455032773
/day1/6.流程控制之if.py
b0c5d65bd8682570625a2af2073d6b48f935c7d2
[]
no_license
autoolops/python-sh-ops
3e8e2c19c0a5ed19565ffd511425300a8655a333
6ce3c81f262dd039ce55bb9aae46ce5a9752d136
refs/heads/master
2020-03-19T09:05:12.334027
2018-06-06T02:23:21
2018-06-06T02:23:21
136,259,030
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
#!/usr/bin/env python # Author:YongFu Wang # Date: 2018/3/31 # -*- coding: utf-8 -*
[ "1026980620@qq.com" ]
1026980620@qq.com
95ea081218c6d5f432695b3b8e6be76adf492fb5
8ef8e6818c977c26d937d09b46be0d748022ea09
/cv/ocr/dbnet/pytorch/dbnet_cv/__init__.py
65b6016ceb237276f13baab4fba2ab2a8c266426
[ "Apache-2.0" ]
permissive
Deep-Spark/DeepSparkHub
eb5996607e63ccd2c706789f64b3cc0070e7f8ef
9d643e88946fc4a24f2d4d073c08b05ea693f4c5
refs/heads/master
2023-09-01T11:26:49.648759
2023-08-25T01:50:18
2023-08-25T01:50:18
534,133,249
7
6
Apache-2.0
2023-03-28T02:54:59
2022-09-08T09:07:01
Python
UTF-8
Python
false
false
373
py
# Copyright (c) OpenMMLab. All rights reserved. # flake8: noqa # from .arraymisc import * from .fileio import * from .image import * from .utils import * from .version import * # from .video import * # from .visualization import * # The following modules are not imported to this level, so dbnet_cv may be used # withou...
[ "yongle.wu@iluvatar.com" ]
yongle.wu@iluvatar.com
45eaf1fa3b3983467fdb103226bc942bbba3d172
67b18fea33992c6551f3bb75b3882ec4456a7da2
/sudoku.py
398e463f2f84bf02190abb1de3f7a3a138831695
[]
no_license
brl0/sudoku
1ebcb98e36af42522cd31e7cd79932ddce4f2d5e
b686d2a11de8b0a2564b20225959405dacff788f
refs/heads/master
2022-12-19T02:57:51.737851
2020-09-07T14:47:55
2020-09-07T14:47:55
289,584,705
0
0
null
null
null
null
UTF-8
Python
false
false
4,637
py
import asyncio from concurrent.futures import ProcessPoolExecutor from pathlib import Path import time from loguru import logger import numpy as np import pyautogui, pytesseract, cv2 from PIL import Image pytesseract.pytesseract.tesseract_cmd = r"C:\Users\b_r_l\scoop\apps\tesseract\current\tesseract.exe" pyautogui.P...
[ "B_R_L@hotmail.com" ]
B_R_L@hotmail.com
f4551f819c759f0a3995b6cc97a6ab89d06c1924
f07b26c879fb5424d47f94da9313d183b1eeae6f
/Python Crash Course/Ty4-8.py
9123574e4e82e3777c8e1f7b975a752363588632
[]
no_license
Kirushanr/Python
1f685e1affe853eee9e9225964ac127be55ccb3a
3952cf6f191851bb5cdd5123b86a2f27aeb01902
refs/heads/master
2022-02-16T21:27:30.151436
2019-09-28T10:49:51
2019-09-28T10:49:51
114,710,063
1
0
null
null
null
null
UTF-8
Python
false
false
99
py
cube = [] ; for value in range (2,11): cube.append(value**3) for value in cube : print(value)
[ "kirushan22@gmail.com" ]
kirushan22@gmail.com
3636b76404a69947dae29bd528db4ccab84c8469
315450354c6ddeda9269ffa4c96750783963d629
/CMSSW_7_0_4/src/TotemRawData/RawToDigi/python/.svn/text-base/ExampleClustering.py.svn-base
08efb09d86301e6ce3a10a1cf864bd0d73f76826
[]
no_license
elizamelo/CMSTOTEMSim
e5928d49edb32cbfeae0aedfcf7bd3131211627e
b415e0ff0dad101be5e5de1def59c5894d7ca3e8
refs/heads/master
2021-05-01T01:31:38.139992
2017-09-12T17:07:12
2017-09-12T17:07:12
76,041,270
0
2
null
null
null
null
UTF-8
Python
false
false
2,113
import FWCore.ParameterSet.Config as cms process = cms.Process("RealDataMonitorXML") # minimum of logs #process.load("Configuration.TotemCommon.LoggerMax_cfi") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(20000) ) # input of raw data process.source = cms.Source("RawDataSource", ...
[ "eliza@cern.ch" ]
eliza@cern.ch
38cd0029c788bca9efbf7774f3d7caafaafcf326
a66b7da9b7d04e1fea8669bb736b92f87e49b030
/tests/django18_sqlite3_backend/base.py
f7efd2e03cbdfa0e9838ed984b10d342fdd24a4d
[ "MIT" ]
permissive
zebuline/django-perf-rec
5e8e4ff2e690e326618cb4abf9ed25a67c16843b
e0bed464976b113df5cb58205a847b3d8e81b27f
refs/heads/master
2020-04-09T07:38:49.180825
2018-12-02T15:41:50
2018-12-02T15:41:50
152,588,701
0
0
MIT
2018-10-11T12:33:25
2018-10-11T12:33:44
null
UTF-8
Python
false
false
429
py
# -*- coding:utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from django.db.backends.sqlite3.base import DatabaseWrapper as OrigDatabaseWrapper from .operations import DatabaseOperations class DatabaseWrapper(OrigDatabaseWrapper): def __init__(self, *args, **kwargs)...
[ "adam@adamj.eu" ]
adam@adamj.eu
16bdfbb69022e188cfddfe7a56c6ceefe906a91f
146f024cc668cb6476dfb898b39e02c9fa8f364a
/imaction/imaction/as_action.py
ec991d56e9da956cb83f37858f72725718b7b9c3
[]
no_license
jackrole/py-repo
25c1174c1e5ffb203f86d095de7190dbfbcf3c60
431cdd2b23d7af7437b61d18103e21d04e0aa68e
refs/heads/master
2021-01-01T19:49:43.302261
2017-07-31T02:58:16
2017-07-31T02:58:16
98,701,114
0
0
null
null
null
null
UTF-8
Python
false
false
7,749
py
# encoding: utf-8 # pylint: disable=W0613 from functools import wraps from importlib import import_module import inspect import re from uuid import uuid4 from six import string_types ACTION_NAME = 'action' ACTIONID_NAME = 'id' DOC_FLAG = '@as_action' FLAG_OUTPUT = "#" ACTION_ATTR_ACNAME = 'action_name' ACTION_ATT...
[ "hijackyeah@163.com" ]
hijackyeah@163.com
e692cc95202c1de782bdf7f2c262bb05b88dcb36
e9820b9e3ebdf3f88897a530de6bba847cddc1a8
/Two_to_One_AmpBox/r00207/Test.py
9633a017d4664d5c96c9747647a01b8278c0bc8c
[]
no_license
mppaul/ARIANNA
df40f39ceec90155cf8c2bc631cf269b0320dbfa
cbd292405cde96f0ad31c7ce95ee442ff8de5778
refs/heads/master
2021-07-09T11:32:19.886344
2019-04-30T23:14:31
2019-04-30T23:14:31
97,674,211
1
0
null
null
null
null
UTF-8
Python
false
false
5,628
py
import ROOT import matplotlib.pyplot as plt from optparse import OptionParser import numpy as np import sys from matplotlib.widgets import Button import datetime as datetime def cc(s1, s2): f1 = np.fft.fft(s1) f2 = np.conj(np.fft.fft(s2)) f1 = f1/f1.std() f2 = f2/f2.std() f = np.fft.ifft(f1*f2) ...
[ "mppaul@uci.edu" ]
mppaul@uci.edu
0c6d7ed46fb6bf1c000563093d9fff2956cbfbf7
bfd53b86032f130e9693a067938e025ff3efcb4b
/build/master_template.py
0deb9dcfa2fd756c8c914d18b213fb4c01cf4705
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
CMaloun/f5-azure-arm-templates
ea2155be329eaff83dc67671e4206aab9cc9b97d
8744dd35bd7ce775345f9975b15fe78a3f5eed92
refs/heads/master
2021-04-26T23:10:39.746355
2018-03-14T13:47:26
2018-03-14T13:47:26
123,940,656
0
0
null
2018-03-05T15:37:54
2018-03-05T15:37:54
null
UTF-8
Python
false
false
155,456
py
#/usr/bin/python env import sys import os import json from collections import OrderedDict from optparse import OptionParser import master_helper import script_generator import readme_generator # Process Script Parameters parser = OptionParser() parser.add_option("-n", "--template-name", action="store", type="string", ...
[ "j.sevedge@f5.com" ]
j.sevedge@f5.com
9028e75eec7c52e5c1103aa926a2fa0661cfce5a
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/keto/python/ory_keto_client/models/ory_access_control_policy_roles.py
cff6965d729259b822fa0830da11454472db44ab
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
3,658
py
# coding: utf-8 """ ORY Keto A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. # noqa: E501 The version of the OpenAPI document: v0.0.0-alpha.37 Contact: hi@ory.sh Generated by: https://openapi-generato...
[ "noreply@github.com" ]
noreply@github.com
cbdebeafb04f96d314c8cff61bfd5d2e75b1b53f
43227c0275047ac2c95bcad8e04a89547b06b13b
/bot.py
0d8d8b3eacae0e9ced9f731bd0a3b7ea3d19da17
[]
no_license
KseniaSeverina/pykili-projekt
fe885600bcd1a1e3b5a69e42321a22e2cec06cd6
d6410b7c92ab970fe8b650b7a156cf72084a21c1
refs/heads/master
2023-02-09T02:07:20.100032
2020-12-30T17:30:00
2020-12-30T17:30:00
267,350,199
0
1
null
2020-12-30T17:30:01
2020-05-27T15:02:20
Python
UTF-8
Python
false
false
21,073
py
import requests import re import telebot, time TOKEN = "1116644032:AAFdzJyo1jztwHgAlI5GsJRvDU34SdNEKwY" bot = telebot.TeleBot(TOKEN) """ СОЗДАЕТ ССЫЛКУ ИЗ СЛОВА, КОТОРОЕ ВВЕЛ ПОЛЬЗОВАТЕЛЬ """ def create_pseudo_url(word): # берем основную часть ссылки, первую букву слова (должна быть заглавной) и добавляем само...
[ "noreply@github.com" ]
noreply@github.com
7cf433f2690cb3f70f61b23743e8a9a0d2e1c84b
05491924fef1330eb59d331204449a23c1a30413
/tests/AnimatedNitching.py
d9322a71553cce7769fe9c38040f06f50ca384b2
[]
no_license
SimonePonzio/NitchingGAs
50afbd59de1da2c14ad2893d58592db68d20e307
a6b0bf793a4fcb138b857f1b8910283529a775a3
refs/heads/master
2020-09-03T02:22:22.718860
2019-11-24T14:30:46
2019-11-24T14:30:46
219,360,742
0
0
null
null
null
null
UTF-8
Python
false
false
2,404
py
#!/usr/bin/python3 import random from deap import creator, base, tools, algorithms from utilities import PlotBinSeq, ScatBinFct, GenBinSeq, NormBinSeqToNum from matplotlib import pyplot as plt from matplotlib import animation from NichingMethods import FitSharing from distFunctions import NormHamming2 from FitFunction...
[ "simone.ponzio.94@gmail.com" ]
simone.ponzio.94@gmail.com
59a5df30688da1fbe17059122a7631d8d4fe920f
305a40c35379ba2b63cd84856e54b3d100dcd141
/CoderForce/global.py
10dbe18d140f5932849c0a3a0e794866ea668707
[]
no_license
VivekKrG/Python-3-Practice-Problems-and-Solutions
fb4b998a7bc1982f8f1acaef1190600f96d26a17
6beaa0cfb7f7ca7f4a58109c92573901c60d8e1e
refs/heads/master
2021-01-04T21:18:13.096214
2020-02-15T18:51:07
2020-02-15T18:51:07
240,763,358
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
tests = int(input()) for __ in range(tests): digits = input() count_digit = dict() for digit in digits: count_digit[digit] = 1 + count_digit.get(digit, 0) if count_digit.get('0', 0) is 0: print('cyan') else: count_digit['0'] -= 1 # for divisibility of 2 even_present = 0 sum = 0 for ite...
[ "noreply@github.com" ]
noreply@github.com
33cfba8927f6c73c8c4f54fe8699b94fccf0a14e
28b11abfbd6da259c97393e38bafd94f8db04e6e
/Algorithm/select_sort.py
468dcea75c781e62774b675cbaf4ed28a188bd80
[]
no_license
mandyqcx/scrapy
6ba8f57e34bdaf6a8928c252e67e53ea1383a555
3c723a20a038a368e19fbe62648974cb5929f5f8
refs/heads/master
2020-03-27T02:45:23.871959
2019-05-15T07:52:52
2019-05-15T07:52:52
145,816,141
0
0
null
null
null
null
UTF-8
Python
false
false
443
py
# -*- encoding:UTF-8 -*- #去列表中最小的值 def select_smallest(item): smallest=item[0] for i in item: if smallest>i: smallest=i return smallest def select_sort(item): result=[] for i in range(len(item)): smallest=select_smallest(item) result.append(smallest) it...
[ "dw_qiuchunxiao@163.com" ]
dw_qiuchunxiao@163.com
db672512345acbb709d1c6b9b56711bcc0bad61f
d836dc98dc2cacc97de791b097b0103c7e3ac724
/pos_neg_division.py
ce0779b424981c5ac38e6bfead0d9eff656caaaa
[]
no_license
pushpendradwivedi/Restaurant_reviews-Sentiment_analysis
ce6cd4f7a5fba8516ec4eb7687ca8d763dcc8b1b
1310092e9363a6c13e8b8f8e6bdd412dfc4527e6
refs/heads/master
2021-01-11T11:49:43.645085
2016-04-30T16:03:56
2016-04-30T16:03:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,414
py
import nltk import yaml import csv class Splitter(object): def __init__(self): self.nltk_splitter = nltk.data.load('tokenizers/punkt/english.pickle') self.nltk_tokenizer = nltk.tokenize.TreebankWordTokenizer() def split(self, text): """ input format: a paragraph of t...
[ "reeshabh_27@rediffmail.com" ]
reeshabh_27@rediffmail.com
d87cf870f1e7aa58376760c3c8654d5afb94ef2e
43292430b401b82b977fc919b0d75cdb0efd1466
/Data_Wrangling/Data_Wrangling_XML_2
58fe288cca61b2e7ba689b4b7c0da462cf5200b1
[]
no_license
rramchan12/Data_Analyst_NanoDegree_WorkArea
cf8e29da2af7a4ef5602f70e9203ab1b5c98b5d4
a38f72a855495db99a049ceaba99dec888027f9b
refs/heads/master
2020-12-02T17:50:26.894930
2017-08-23T05:28:50
2017-08-23T05:28:50
96,437,645
0
0
null
null
null
null
UTF-8
Python
false
false
2,398
#!/usr/bin/env python # -*- coding: utf-8 -*- import xml.etree.cElementTree as ET import pprint import re """ Your task is to explore the data a bit more. Before you process the data and add it into your database, you should check the "k" value for each "<tag>" and see if there are any potential problems. We have pro...
[ "ravi.ramchandran@ge.com" ]
ravi.ramchandran@ge.com
0e3d2a637d469d7acf27bc16f63652acb8ee2aa6
238689ed812cadcc4edfce805507d60eef37968e
/teambuild.py
6c312236d05bd934a0df7ec706eb479df5178762
[]
no_license
RakuTheSenpai/TeamBuilder
9a1dc7a2cc368dd7ad06ac5c907c482b1ffda42b
6b2167fb103b4dc7b330bbac4242f15354e04876
refs/heads/master
2022-11-08T11:19:11.363002
2020-06-21T18:24:48
2020-06-21T18:24:48
273,560,852
0
0
null
2020-06-19T20:35:08
2020-06-19T18:25:08
Python
UTF-8
Python
false
false
1,030
py
import discord from discord.ext import commands import numpy as np import random TOKEN ='YOUR TOKEN GOES HERE' client = commands.Bot(command_prefix='!') playerPool = [] def chunkify(players, numberOfTeams:int): random.shuffle(playerPool) teams = np.array_split(playerPool,numberOfTeams) return teams ...
[ "raul.r.h.rosas@gmail.com" ]
raul.r.h.rosas@gmail.com
93e0a28e6b7f19b4e095080c5f80115e476c323e
2949105f34093a2ed611aa25964e8ac46ddc0e9b
/Solutions/009.py
f18c022f563c26a3cedf8cc1bdccefee411c0dfd
[ "MIT" ]
permissive
pedrohasantiago/Project-Euler
12633c5d4cb8bfb8ec0cc9db40e366a138dfcbfe
e6e316f64eba836a751dc906ae9ae36f344b8861
refs/heads/master
2020-12-04T08:47:38.940174
2020-09-19T20:06:10
2020-09-19T20:06:10
231,700,264
0
0
null
null
null
null
UTF-8
Python
false
false
2,902
py
# A Pythagorean triplet is a set of three natural numbers, a < b < c, # for which, a**2 + b**2 = c**2. For example, # 3**2 + 4**2 = 9 + 16 = 25 = 5**2. # There exists exactly one Pythagorean triplet for which # a + b + c = 1000. # Find the product abc. # (Link: https://projecteuler.net/problem=9.) from math import sqr...
[ "pedrohasantiago@gmail.com" ]
pedrohasantiago@gmail.com
f369adb1d196410f5fb0fe2de9ec2207cca3497c
b05a72897e4f8c89628b1fd2dae643badbaa330d
/07.04.2020/aufgabe_vererbung.py
b94208820c39650d3aa622b3140026469bb4a9b8
[]
no_license
omerAlBa/HomeOfficeWorkWork
215e56fde4e56706693eba0c104ff99d4fedcabe
db88bfbe223a7eeb5d28fae431675af0b1ce634d
refs/heads/master
2023-01-08T01:46:28.280757
2021-03-14T11:41:10
2021-03-14T11:41:10
250,028,502
1
1
null
2023-01-05T17:18:25
2020-03-25T16:15:55
JavaScript
UTF-8
Python
false
false
500
py
class FileReader(): def __init__(self,file_): self.file_ = file_ def lines(self): array = [] with open(self.file_,"r") as file: for line in file: array.append(line.strip()) return array class CsvReader(FileReader): def __init__(se...
[ "noreply@github.com" ]
noreply@github.com
3292558238a1c314f6d4aa4e1d50871f9b3a95ab
b40d1a26ea04a19ec0da7bf55db84b7ee36cc898
/algoexpert.io/python/KMP_Algorithm.py
f64b7085b85fe4297668d29e69091911d3e79cbb
[ "MIT" ]
permissive
partho-maple/coding-interview-gym
5e8af7d404c28d4b9b52e5cffc540fd51d8025cf
20ae1a048eddbc9a32c819cf61258e2b57572f05
refs/heads/master
2022-09-11T16:36:01.702626
2022-03-14T08:39:47
2022-03-14T08:39:47
69,802,909
862
438
MIT
2022-08-18T06:42:46
2016-10-02T14:51:31
Python
UTF-8
Python
false
false
660
py
def knuthMorrisPrattAlgorithm(string, substring): pattern = buildPattern(substring) return doesMatch(string, substring, pattern) def buildPattern(substring): pattern = [-1 for _ in substring] j, i = 0, 1 while i < len(substring): if substring[i] == substring[j]: pattern[i] = j i += 1 j += 1 elif j...
[ "partho.biswas@aurea.com" ]
partho.biswas@aurea.com
5c28515d3b5ab34c658293847d5bf7e618fa2754
3856c34baa38949498840ba1489c180964cbac6a
/Day4/ansiblevault/inheritance.py
ee797d43a0128e7af40f3c1a13979701b82f8d59
[]
no_license
vinodhmvm/ansibledockertraining
ffcb9c459fefe18507f81982e052c1880558715b
e28f42b5a09f96fc12f0b3044d617eca80aba154
refs/heads/master
2020-03-16T22:01:47.512777
2018-05-11T10:10:10
2018-05-11T10:10:10
133,023,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,570
py
class Parent1: def __init__(self): print("Paren1 Inside Constructor") self.__privateData1 = 100 self._protectedData1 = 200 self.publicData1 = 300 def setValues(self, val1, val2, val3): self.__privateData1 = val1 self._protectedData1 = val2 self.publicData1 = val3 def...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
079b55a0c47fca1522e67b6787157a71c04956e9
46040c370239ac6e91372e61d9729a22ba9af33c
/remove_pages.py
3af8f9b8d2473ee18180c9c803dd2d96e9584740
[]
no_license
lesswrong-ru/django-site
85e066ab42857fa0d81c98a1efaf2a0dc403d4d2
ac4d6f0a5a11751ea9d3eb16f5b8bab53cb4f731
refs/heads/master
2021-06-17T01:22:58.764120
2021-03-26T14:20:11
2021-03-26T14:20:11
196,754,119
0
1
null
2021-03-26T14:20:12
2019-07-13T18:32:09
Python
UTF-8
Python
false
false
363
py
##!/usr/bin/env python import os, sys, django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lw.core.settings.dev") django.setup() from lw.translations.models.book_page import BookPage from lw.translations.models.translation_index_page import TranslationIndexPage translation_index_page = TranslationIndexPage.objec...
[ "lukin.net@gmail.com" ]
lukin.net@gmail.com
683a9042655449e43355bbd3293dae702ab7bc55
6e43c4eb25d5c4c39434df695d6201edcb4b681d
/tgbot.py
ccbf1d1299b9e01b8551be76688b62a6cd9a16ff
[]
no_license
hacker112345/bot
2ea0d628ca14371e5673cf1dc96e90a9c9c05ca8
82993e04c411a34c44dd3c1b854279819f40cf73
refs/heads/main
2023-04-08T22:07:42.356435
2021-04-20T09:36:31
2021-04-20T09:36:31
359,758,167
0
0
null
null
null
null
UTF-8
Python
false
false
29,694
py
import os import time import telebot import subprocess import random from telebot import types bot = telebot.TeleBot("1033264372:AAEogSXODz4cInO1FEyzB59yREEa62lYwK8") ID = '1035726612' b = 1035726612 - 1 b1 = ID bot.send_message(ID, 'Online!') print(''' .-. .-. .----..----. .----. .----. .--...
[ "noreply@github.com" ]
noreply@github.com
3a6e05a9047223178386c6fb5ab3bc6d8a6b5bf9
8a40c4dd81e6dea4d5cb64bb6aa7a95c302e9d76
/Basic/Computing GC Content.py
6b2bd31c72886af9e81d2b27bb8e5d917da2a036
[]
no_license
Cai-98/Rosalind_StrongHold
008c16bd4364e1c8a10a6c12e735edb353cfe8cf
273616eaf62084a31f7b1666343f05d27a5cacff
refs/heads/main
2023-01-02T08:16:55.056818
2020-10-22T04:07:09
2020-10-22T04:07:09
305,619,232
2
1
null
null
null
null
UTF-8
Python
false
false
562
py
def coutGC(s): l = len(s) gc = 0 for i in s: if (i == "G") or (i == "C"): gc += 1 return gc/l DNA = open("D:/Download/rosalind_gc.txt",mode="r") #OUT = open("D:/Download/output.txt",mode="w") GC = {} for line in DNA.readlines(): line = line.strip("\n") if ">" in line: ...
[ "70120866+Cai-98@users.noreply.github.com" ]
70120866+Cai-98@users.noreply.github.com
87e9c9a5393962a961ff314ff575cecafbf786f1
b0d1a3119ab157aa8e24b0f2108957a8081d10db
/pmf.py
5dd8e6dcfb31ac35e200e5f424aa8cc00ecc02b2
[ "Apache-2.0" ]
permissive
Re-bin/PMF
6d9f6189e8c421570e9f24ef2b18ba4b8aab60e4
71e78bec58ebb7e679fcbb28ed650859f0389625
refs/heads/main
2023-04-21T06:26:57.340762
2021-05-04T08:58:02
2021-05-04T08:58:02
364,196,326
2
0
null
null
null
null
UTF-8
Python
false
false
2,683
py
# -*- coding: utf-8 -*- """ Created on Tue May 4 16:16:01 2021 @author: Rbin """ import numpy as np import random from data import * from evaluation import * class PMF(): def __init__(self, train_list, # train data test_list, # test...
[ "noreply@github.com" ]
noreply@github.com
d4771244a1b07b9e93608f1128c32da4c9b42dbe
1f60b847b6047fb9f3d6d167755a8963c292ef58
/mysite/polls/migrations/0002_image_mem.py
5fe5383d449ec3b2d54b60ad463efdd1ebc52a13
[]
no_license
ohadyaron/memesService
1995d6a64aa1a4099a808bccfbfb466b99211b87
62cb88af6ba2f27ce3b0097120895f5501427f99
refs/heads/master
2023-01-29T18:14:05.798457
2020-12-10T12:54:29
2020-12-10T12:54:29
319,025,098
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
# Generated by Django 3.1.4 on 2020-12-07 11:38 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0001_initial'), ] operations = [ migrations.CreateModel( name='Image', fiel...
[ "yaronohad@gmail.com" ]
yaronohad@gmail.com
547130b77e3124908125b2b80ca75fd2bcb1fa7e
dbc35bdcec5f64ef8482c709a28e527c6b66d638
/company_admin/migrations/0005_auto_20170606_1146.py
911dae59f6e275bab7983822ded4841d7621ffab
[]
no_license
PkQDark/Dosa
2bc001f1ab7c2e15ae2c8fb0f2309185024be590
bcead811892b2f0c06e2cb5e03cf3f98a0dc9b7b
refs/heads/master
2021-01-01T06:56:46.259731
2017-09-19T17:29:43
2017-09-19T17:29:43
97,556,407
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-06-06 08:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('company_admin', '0004_auto_20170606_1140'), ] operations = [ migrations.Alt...
[ "blackbirdvlad@gmail.com" ]
blackbirdvlad@gmail.com
f22102025fd34756b35325e2d4093cc99afba43e
deb35de178bc287b544cc35306a66bd292bfe072
/机器学习实战及配套代码/machinelearninginaction/Ch02-Classifying with k-Nearest Neighbors/KNNexercise.py
62407e90b32c206ee5145f1a24b72cce2ba64820
[]
no_license
Suanec/Machine-Learning
3974c8637b0864caa5060faa7734ff88dd89c658
375946ac18617827d73eb8b20a43700940776eba
refs/heads/master
2020-03-09T17:27:36.476712
2018-04-06T11:44:35
2018-04-06T11:44:35
128,908,981
1
0
null
2018-04-10T09:36:19
2018-04-10T09:36:19
null
UTF-8
Python
false
false
8,074
py
from numpy import * import operator import matplotlib import matplotlib.pyplot as plt from os import listdir """ 创建数据集和标签""" def createDataSet(): group = array([[1.0, 1.1],[1.0,1.0],[0,0],[0,0.1]]) labels = ['A', 'A', 'B', 'B'] return group,labels """ k-近邻算法""" def classify0(inX, dataSet,...
[ "841935390@qq.com" ]
841935390@qq.com
229f24fe16fadf4acd7e86dd8e0f310c4ce88e45
45d00c4b8c9464d3ecdcc370e7a33f04c41ec433
/_example/sdk/python/CarInformationAPILib/Controllers/Group1Controller.py
d9fe0e81c9ef0502e51b5fec188036f31dabdeb9
[ "Apache-2.0", "MIT" ]
permissive
commonledger/accounting-api-sdks
6cac5373f17aae85032fb19947ea3f29fb07a57f
db078c2523ae60ba9a5b5d201d180b6dac69b996
refs/heads/master
2020-04-21T14:32:37.371655
2014-11-02T22:02:32
2014-11-02T22:02:32
26,002,106
0
1
null
2014-11-02T22:02:32
2014-10-31T04:32:44
Java
UTF-8
Python
false
false
3,844
py
''' CarInformationAPILib This file was automatically generated by APIMATIC BETA v2.0 on 11/01/2014 ''' import unirest from APIHelper import * from Configuration import * from APIException import * class Group1Controller: def GetCarInfo(self, regNo, color = None, ...
[ "drew@commonledger.com" ]
drew@commonledger.com
50a762dd8b8552f5c3c3c62c995d9b4695b23106
505daab9ce894a4be77350fc4c71e8e7d2cb1648
/vlabs/wsgi.py
7710cb00b51a834f3d38fd366ff183735bb4207c
[]
no_license
kushal-chaurasia/virtual-lab
ae6cbacb83afc3a7a9aa650369522d927579119c
94906f661a619fe5fbfe368a719b93244307403e
refs/heads/master
2023-01-28T21:34:35.870026
2020-12-07T09:35:13
2020-12-07T09:35:13
315,906,309
2
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for vlabs project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "kushaldazzle@gmail.com" ]
kushaldazzle@gmail.com
40e707f1c2eb423730a79fe01da2c42fa45e7954
efcecd960b7489012646b71b2a4cf60dcca23d5d
/GPLT_Python/L1-062.py
00540f0e2a4ca001a7cc783a69d7df638bf2c2da
[]
no_license
zhuzihao-hz/PAT
7114f70438c33089313033fc81a0e81604ec5a48
0580f62d0980e739ccae909f2fc797321f05b718
refs/heads/master
2021-08-22T10:44:46.267202
2020-03-27T09:06:54
2020-03-27T09:06:54
145,277,116
8
3
null
2018-08-19T05:52:17
2018-08-19T05:52:17
null
UTF-8
Python
false
false
245
py
N = int(input()) for i in range(N): s = input() num1 = int(s[0]) + int(s[1]) + int(s[2]) num2 = int(s[-3]) + int(s[-2]) + int(s[-1]) if num1 == num2: print("You are lucky!") else: print("Wish you good luck.")
[ "957504018@qq.com" ]
957504018@qq.com
f118b83a7ecb8f67513fdbc92b6cb08dc79cdd79
c6fb58ca8a6d195642cc8b90ab5e3e9142d04a06
/buildlapse/timing.py
5dc9026e4e8cfb665725c6a1438d1e9d1f4bf697
[ "Apache-2.0" ]
permissive
twoodford/nxt-timelapse
ef045a15c50ebd331bd502cf4b68196b9a0b240e
d689b64160b56860cb2c57b46d93dc12aa20cf30
refs/heads/master
2020-07-03T13:32:49.177505
2015-08-03T19:46:51
2015-08-03T19:46:51
17,402,763
0
0
null
null
null
null
UTF-8
Python
false
false
4,200
py
import threading import time from gi.repository import Gtk, GLib from buildlapse.gui import ListBoxWindow, mkspin, TimeEntry, ProgressWindow class _testaction(object): def setup(self): print("testaction setup") def cleanup(self): print("testaction cleanup") def __call__(self): p...
[ "timothy@tux.home" ]
timothy@tux.home
b6c45c9724bf892138f5c0c54e1190929cb921fc
ea3013c54b06195115b9d8add2b7992d7040b43d
/oop_basic_animals.py
33886a3cd97278c0326aa2f4ab661b07f786888c
[]
no_license
Palmerlxp/lxf_learn
87e65970096d13e1cf19b2fab4beecd2dc503c10
f089d7b58b65f071e3c4a7972fbcfc1e70274b4c
refs/heads/master
2021-05-08T06:34:08.071016
2017-10-12T09:35:26
2017-10-12T09:35:26
106,628,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,016
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class Animal(object): def run(self): print('Animal is running...') class Dog(Animal): pass class Cat(Animal): pass # dog=Dog() # print(dog.run()) # # cat=Cat() # print(cat.run()) print(Dog()) print(Cat()) class Dog(Animal): def run(self): ...
[ "joneswu@cd-yh-share01.local" ]
joneswu@cd-yh-share01.local
d25bea6c65c0b595cf5c520a998dd19f22504d43
55437294354f90e6f2f7a6b26380deff7e998b5f
/3.6.2/lib/python3.6/types.py
f7c28af53261f0aacca283935a3ef457560914de
[]
no_license
ArezKhalimi/bh_bot
b16c66d5de078fef7a79ce61fc9c8135f3e5d0e7
ff8b22edc8f9897b6a08d1f84522d8c0ba83d128
refs/heads/master
2021-04-26T22:13:20.187076
2018-03-18T13:36:05
2018-03-18T13:39:25
124,044,174
0
0
null
null
null
null
UTF-8
Python
false
false
55
py
/Users/ice/.pyenv/versions/3.6.2/lib/python3.6/types.py
[ "iarezik@gmail.com" ]
iarezik@gmail.com
3aa8da0e0b4f416a75072ee1a7a80c675d8c47bc
071eb242b6e79f82ffbc685e8106ae590b8aae2c
/sandbox/my/tests/unit_tests/test_pm.py
9d9ced25b030ed1997ea5243502f443de2c3bd15
[]
no_license
999masks/python_projects
aac130c6f55295bb73b0a4156fa457d787820df1
1ae20659e0c55cebe1f3feefc9207abee6e7f3a7
refs/heads/master
2020-05-22T23:05:46.806620
2017-09-14T05:23:27
2017-09-14T05:23:27
31,001,356
0
0
null
null
null
null
UTF-8
Python
false
false
7,065
py
#!/usr/bin/python3 import time import os.path import serial import random import sys def serial_init(): # open port global ser if os.path.exists('/dev/ttyUSB0'): ser = serial.Serial('/dev/ttyUSB0') elif os.path.exists('/dev/ttyUSB1'): ser = serial.Serial('/dev/ttyUSB1') else: ...
[ "samo054@mail.ru" ]
samo054@mail.ru
ea275c54954ae96600e66a3519bf53ac356b7e44
5b540e81fba11a7408effca43f7294e69bc7d76e
/Puzzle.py
80425276457a7cf116485c3f4f3450cf0a43a59c
[]
no_license
Sunil521/Python-Projects
baed282f72704aa3fc88cc17b1e26b6857b2c6f3
454db8d4dd90c45c49af1a6fb96b08c69aa3a5fb
refs/heads/master
2020-09-04T12:17:31.883025
2019-11-05T11:51:21
2019-11-05T11:51:21
219,730,396
0
0
null
null
null
null
UTF-8
Python
false
false
5,040
py
def position_space(l): for i in range(0, 5): if l[i] == (" "): return i def convertlist(s): l = [] if len(s) != 5: print("Quit") exit() else: for i in range(5): if len(s) == 5: l.append(s[i]) return l def convertstri...
[ "noreply@github.com" ]
noreply@github.com
cdf564d325baab218610d0e5ea7a46cb6cb90ded
127b27087c8a9da20ae968a57f6417657b2240eb
/code/cache/redis_new_list.py
fa5c76608e832307c3938285ec656fd034ba7511
[]
no_license
luislv/caa_bot
059dbc21bc982e5c1701b13f583593e5307b1b26
b14b68dc56c486ef28359d18405b3f53d6ea3093
refs/heads/master
2020-07-07T07:31:16.795601
2018-06-21T06:16:33
2018-06-21T06:16:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
#!/usr/bin/env python3 #coding:utf8 import time # 时间模块 #-----特定功能模块引用区----- import redis import csv #-----DIY自定义库模块引用----- import config #系统配置参数 from diy.inc_sys import * #自定义系统级功能模块 rs_redis = redis.StrictRedis(host=config.dic_config["redis_host"], password=config.dic_config["redis_pass"], port=config.dic_config[...
[ "27461933@qq.com" ]
27461933@qq.com
33207db912f627bcbaa44baf0ad4edf3f56c2638
0bda1f543ef3be8cd12a4709d44da95bc68ba507
/exs/mundo_3/python/075.py
f084fa0ca20c97ee710e02bcaf5c37a615eba6ae
[ "MIT" ]
permissive
BearingMe/exercicios-CeV
e5a18e897a725cd8a7a86fd0473dc2d66ee39771
d65a022041af81a161ae7c98b24a0896e6bb4a5e
refs/heads/master
2023-04-13T09:51:33.449706
2023-03-29T19:51:43
2023-03-29T19:51:43
519,369,091
1
0
MIT
2022-07-29T23:00:45
2022-07-29T23:00:45
null
UTF-8
Python
false
false
803
py
""" Desafio 075 Problema: Desenvolva um programa que leia quatro valores pelo teclado e guarde-os em uma tupla. No final, mostre: A) Quantas vezes apareceu o valor 9; B) Em que posição foi digitado o primeiro valor 3; C) Quais foram os números pares. Resolução ...
[ "50463866+matheusfelipeog@users.noreply.github.com" ]
50463866+matheusfelipeog@users.noreply.github.com
ff4116a0300c562d2232af196b1e1cd4e822c733
a7be5ceed8c6c2ce010f38c5c8324cc8ec9118a5
/DataSplitToUsers.py
f3443ac990464e45e10b3a55782232e66676f11d
[]
no_license
aishwarya-rt/music-recommendations-collaborative-filtering
92d757bdab4d29409b6a5b0b757faf4d91c84e48
588f074a107f0ebbf9df786a1ef0e05b1caf6421
refs/heads/master
2020-11-26T05:34:09.127949
2019-12-19T07:32:39
2019-12-19T07:32:39
228,978,497
4
0
null
null
null
null
UTF-8
Python
false
false
754
py
import csv '''j represents the p files''' for j in range(5,6): '''i is the user index,change to the one in your case''' for i in range(100,101): count=0 with open('p%d.csv'%j,'r') as fin: for row in csv.reader(fin, delimiter=','): if row[0] == 'user_000%d' %i:...
[ "noreply@github.com" ]
noreply@github.com
cd400a68fac11c77858bc6409ccc7da10a5332b8
b26674cda3264ad16af39333d79a700b72587736
/corehq/util/mixin.py
4c0450bc10c880dc787cec04f29c0a71f4f55d22
[]
no_license
tlwakwella/commcare-hq
2835206d8db84ff142f705dbdd171e85579fbf43
a3ac7210b77bea6c2d0392df207d191496118872
refs/heads/master
2021-01-18T02:07:09.268150
2016-03-24T14:12:49
2016-03-24T14:12:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,058
py
import uuid class UUIDGeneratorException(Exception): pass class UUIDGeneratorMixin(object): """ Automatically generates uuids on __init__ if not generated yet. To use: Add this mixin to your model as the left-most class being inherited from and list all field names in UUIDS_TO_GENERATE to gener...
[ "gcapalbo@dimagi.com" ]
gcapalbo@dimagi.com
01f612f76fd472e5077094f918a65ba00cfee698
a5f076e9f3cce2eb1edda31a41c0d5324817478e
/en/util/audio.py
f3b84bfa10ef6333c858d8387fffaff0c2dac54d
[]
no_license
ymNickole/TextToSpeech
0c164f9f2c4770b329d952c2c82da7a2c7e1e0f9
a1e85a4f739dc57f6740832f73c28ccf8e92c93a
refs/heads/master
2020-06-03T14:39:43.645767
2019-06-15T02:57:50
2019-06-15T02:57:50
191,609,155
1
0
null
null
null
null
UTF-8
Python
false
false
7,058
py
import wave import librosa import librosa.filters import math import numpy as np import tensorflow as tf from scipy import signal from scipy.io import wavfile from en.hparams import hparams def load_wav(path): return librosa.core.load(path, sr=hparams.sample_rate)[0] def save_wav(wav, path): # rescaling fo...
[ "510788094@qq.com" ]
510788094@qq.com
dca90dedaf030321cc01173965bf0a98d9e611f8
e0980f704a573894350e285f66f4cf390837238e
/.history/flex/models_20201029145653.py
c271e0bdba6e0a3670289d00d9c26ad51349a930
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,333
py
from django.db import models from wagtail.core.models import Page from wagtail.core.fields import StreamField from wagtail.admin.edit_handlers import StreamFieldPanel from wagtail.snippets.blocks import SnippetChooserBlock from wagtail.core import blocks as wagtail_blocks from streams import blocks from home.models im...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
bfd75890b5a55e701078feaa5066b2a9c9f9eb02
df4378e8bf32ca491a77706c46d5879299e6166d
/symbolic_expressions/merging_by_hand/tigress-0-challenge-3_hash_to_input.py
d76f3ec7a7ecdb1fa23ac698a8580ace83a07bab
[]
no_license
triplekill/Tigress_protection
a26d52a50d8f89c260e1748e4e23d4478cc0db3b
020e8bcd68996b85ccf993f81ddc4fa586fd8aa2
refs/heads/master
2021-05-03T13:30:58.205877
2016-10-28T11:55:57
2016-10-28T11:55:57
72,204,718
1
0
null
2016-10-28T12:16:32
2016-10-28T12:16:32
null
UTF-8
Python
false
false
2,484
py
#!/usr/bin/env python2 ## -*- coding: utf-8 -*- ## ## Triton ## import sys import z3 def sx(bits, value): sign_bit = 1 << (bits - 1) return (value & (sign_bit - 1)) - (value & sign_bit) ctx = z3.Context() s = z3.Solver() SymVar_0 = z3.BitVec('SymVar_0', 64) a = ((((((sx(0x40, (((SymVar_0 << (0x3F & 0x3F))...
[ "jonathan.salwan@gmail.com" ]
jonathan.salwan@gmail.com
53e29c5b87007ec94e2c63f085704c763a3d10a1
14df16e611afb058fee75473cb92c83fbed0bfc4
/src/model/Car.py
52ce6d072f94353ea2a519a1c0e768539cddec02
[]
no_license
SergioMD15/Car-Rental
dccf4a34a6b9ee94e8804d0267c9b20b9e425697
21c5d8d6f6eacc47b087accf4215fd6d4ec35738
refs/heads/master
2022-10-24T16:52:15.743797
2020-06-16T14:31:44
2020-06-16T14:31:44
272,154,579
0
0
null
null
null
null
UTF-8
Python
false
false
730
py
from exceptions.ValueTooLowException import ValueTooLowException class Car: def __init__(self, id, price_per_day, price_per_km): self.set_id(id) self.set_price_per_day(price_per_day) self.set_price_per_km(price_per_km) def set_id(self, i): if i > 0: self.id = i ...
[ "sergiomosquera96@gmail.com" ]
sergiomosquera96@gmail.com
1649bd60448df20026a81a27fc18616b568ef29f
f4e53694ad35d72af927c219a7d82ed6c5bdffa4
/exam_scheduler/migrations/0004_delete_routine.py
f5e0c81c6b870db57031272184dc23c1f545fe41
[]
no_license
AkmElias/db_automatic_scheduler
a7e9a6420b967d77dc9d42851c8f438315ff92ab
81ba2352c1889d1453508b9003a72209705624f8
refs/heads/master
2023-03-31T03:13:05.994242
2021-03-29T19:34:54
2021-03-29T19:34:54
311,032,452
1
0
null
null
null
null
UTF-8
Python
false
false
292
py
# Generated by Django 2.1.4 on 2021-01-04 16:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('exam_scheduler', '0003_routine'), ] operations = [ migrations.DeleteModel( name='Routine', ), ]
[ "imran.matin.17@gmail.com" ]
imran.matin.17@gmail.com
97712dd65249718ede74a9e20f902e530ed6c521
cc8e1df8da83c583188462bda46d8b0052b9d1fc
/Package/randommodule.py
38a1f22608aaa0b36033bd498c7ed4e6686a7fee
[]
no_license
seonk73/Python-
d74b7eae881f86d0d6bbc9bf789b32592c964845
a277baffbf143a52582fe4cbffc091e04e0866fb
refs/heads/master
2022-03-28T16:33:23.032682
2019-12-09T00:48:43
2019-12-09T00:48:43
204,366,138
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
import random print("0이상 1미만 실수 값") print("random.random() : ", random.random()) print() print("시작값 2.5이상 끝값 10.0 미만 실수 값") print("random.uniform(2.5, 10.0) : ", random.uniform(2.5, 10.0)) print() print("0이상 끝값 10미만 정수 값") print('random.randrange(10) : ', random.randrange(10)) print() print("1이상 끝값 7미만, 증가 값이 2인 정수...
[ "seonk73@naver.com" ]
seonk73@naver.com
3a56ab23accce20fe1187c8bc32ac64f54145555
5ecdac376b2f43272910c2429288297c4302b459
/65.py
cfafb6ab114b86be196304563f0f57c813d73120
[]
no_license
higher68/lang_process
c8ff7963ea2824e9387a982bf9ec1d28d91b467e
8b644b9a6f2ffa65e4358adb6e942c8b234a905f
refs/heads/master
2020-03-21T08:01:42.432014
2018-10-08T14:47:07
2018-10-08T14:47:07
138,314,719
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
##!!!!!!!!!!exercute 64.py and setup testdb!!!!!!!!!!!!! ##!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 import json from pymongo import MongoClient # mongodbへのクエリをだす from bson.objectid import ObjectId def support_ObjectId(obj): '''json.dumps()でObjectIdを処理するための関数 ObjectIdはjsonエンコードできない型なので、文字列型に変換する ...
[ "hatiro7code@gmail.com" ]
hatiro7code@gmail.com
57eda055023149e7acd1f892a5d03da7db1cfc98
3485ceeca2dcb96e5fc10d353a8ca18a9b0d54af
/legacy_examples/exp_concat_visual_bpr.py
490764d84236ec822e47259593dedd4492a6dfb8
[ "Apache-2.0" ]
permissive
Yuan-T-Xuan/openrec
2d82cfa7ee4448744e70aa607d981ddb312f74ee
925cff19225874144f839aae30c304df32cc4b1d
refs/heads/master
2020-03-11T17:46:07.472963
2018-10-16T01:53:31
2018-10-16T01:53:31
116,905,600
1
0
Apache-2.0
2018-03-06T00:44:03
2018-01-10T03:54:54
Python
UTF-8
Python
false
false
1,561
py
import os import sys sys.path.append(os.getcwd()) from openrec.legacy import ImplicitModelTrainer from openrec.legacy.utils import ImplicitDataset from openrec.legacy.recommenders import ConcatVisualBPR from openrec.legacy.utils.evaluators import AUC from openrec.legacy.utils.samplers import PairwiseSampler from confi...
[ "ylongqi@gmail.com" ]
ylongqi@gmail.com
ee379f4b42a37839a966e9fad2bf5c305b07c56a
68dc27bd41e1fd8ea4c5a225e7fd78ee879065da
/backend/geo/fetch/wiki.py
3703c34ed39b8525358a0f452fea9ecd8daf8078
[]
no_license
colyk/geo
b0ccc1374564673a67e2a7069f6928c6ba56adbe
fb329869c3c134156a7ea377984bb22c41a1ceaf
refs/heads/master
2023-08-04T13:47:59.365091
2023-05-01T14:03:11
2023-05-01T14:03:11
176,163,672
0
0
null
2023-05-22T22:31:11
2019-03-17T21:35:32
Python
UTF-8
Python
false
false
1,103
py
import requests from bs4 import BeautifulSoup class Wiki: __slots__ = ("query", "lang", "api", "page") def __init__(self, query: str, lang: str = "en"): self.query = query.strip() self.lang = lang.lower().strip() self.api = "https://{}.wikipedia.org/w/api.php".format(self.lang) ...
[ "colykxer@gmail.com" ]
colykxer@gmail.com
99028d394ffee3ec6127b4af8b4a21e4dac6cbe7
a5d0a0499dd069c555080c8cefc2434304afead4
/BOJ/2953.py
18289777d1ae4372c43d03089f4dc700f78adb42
[]
no_license
devjinius/algorithm
9bdf9afc021249b188d6930cf9d71f9147325d9f
007fa6346a19868fbbc05eefd50848babb5f1cca
refs/heads/master
2020-05-04T06:08:32.827207
2019-07-31T02:39:39
2019-07-31T02:39:39
178,999,456
1
1
null
null
null
null
UTF-8
Python
false
false
962
py
# 백준알고리즘 2953번 # https://www.acmicpc.net/problem/2953 # 문제 # 각 참가자가 얻은 점수는 다른 사람이 평가해 준 점수의 합이다. 이 쇼의 우승자는 가장 많은 점수를 얻은 사람이 된다. # 각 참가자가 얻은 평가 점수가 주어졌을 때, 우승자와 그의 점수를 구하는 프로그램을 작성하시오. # 입력 # 총 다섯 개 줄에 각 참가자가 얻은 네 개의 평가 점수가 공백으로 구분되어 주어진다. 첫 번째 참가자부터 다섯 번째 참가자까지 순서대로 주어진다. 항상 우승자가 유일한 경우만 입력으로 주어진다. # 출력 # 첫째 줄에 우승자...
[ "eugenekang94@gmail.com" ]
eugenekang94@gmail.com
1ebe8fd3c1f19ec283da3d82148c47608ea8f58e
79e9e7421821b72e4481a950c289956380278e0f
/2018-03-28/rectangle_overloaded.py
4f885320e85ac4aec4465ca6f499dd007d121428
[]
no_license
xyloguy/cs1410-2018-20-01-examples
89ed885011f690ce261be4aae98fcc11ecfdc0b7
c762273b6e1b8f577ec7199ae15163907d6f2e86
refs/heads/master
2021-05-10T13:32:04.634294
2018-04-25T15:00:17
2018-04-25T15:00:17
118,477,875
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
class Rectangle: def __init__(self, width, height): self.__width = width self.__height = height def get_width(self): return self.__width def set_width(self, width): self.__width = width def get_height(self): return self.__height def set_height(self, height...
[ "poulsen@dixie.edu" ]
poulsen@dixie.edu
29b5dcc4ea75b4d8ba208e86dca6e92950516fd3
9fbb7fd33371877d545c17daa44ada0e17cf1042
/sulphur/sadmin/views.py
ff632bdb96a0bd02e9dbabca90cb77cf6296778e
[]
no_license
vee-varun/Sulphur
7797f5c5558555a17957ad78e82626eea0d9b66e
daccfaae6951f1841cfb92c5b0e5c6d4bdb0bbdb
refs/heads/master
2020-03-23T12:36:22.156644
2018-07-19T12:51:03
2018-07-19T12:51:03
141,569,888
1
0
null
null
null
null
UTF-8
Python
false
false
3,513
py
from django.shortcuts import render, redirect from .forms import loginform from sulphur.lib import authentication from .models import User from hashlib import sha256 # Create your views here. def sadmin(request): if authentication.is_loggedin(request): return redirect('dashboard/') else: retu...
[ "tanejavarun199@gmail.com" ]
tanejavarun199@gmail.com
03ef236a79782a0ad5b4bab9dac9c4cab6c8ac3c
457822e18dc0c3d0676cdb37630ef81076601196
/musey/migrations/0003_auto_20210315_2110.py
72b35d71cbc8f91cbff51a21c94ffda4b188f9bf
[]
no_license
rebekahsong/bb_swe
419bcfb1bae689ecc9a57fd7f658b721218f1c13
6b84b4e39a1903af53e6fdf4fa15039cf2bf5e76
refs/heads/main
2023-04-28T07:55:03.978641
2021-05-19T13:51:31
2021-05-19T13:51:31
345,823,040
0
1
null
2021-05-19T13:51:32
2021-03-08T23:22:38
JavaScript
UTF-8
Python
false
false
753
py
# Generated by Django 3.1.7 on 2021-03-15 21:10 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('musey', '0002_auto_20210314_1837'), ] operations = [ migrations.CreateModel( name='Artists', ...
[ "bbushnell@wesleyan.edu" ]
bbushnell@wesleyan.edu
914fa18ce5c248527ec5814d53f75f2d7e33edfa
77b636666ebc7049550a5314c634dd3712081464
/evaluate.py
52c6d9f3cc729af14d6e10d6f8dd661e0ce32b58
[]
no_license
omgShustrik/audio_classifier
3e92824349423d5d7bed0ab8a048ea14c5cb0a1e
c63fdc0d853c06b33b500269b2dde080e3c01a99
refs/heads/master
2020-03-27T22:39:52.871838
2018-09-03T20:42:11
2018-09-03T20:42:11
147,250,170
1
1
null
null
null
null
UTF-8
Python
false
false
3,124
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Aug 23 23:25:56 2018 @author: Rustem """ import hyper_params as hparams import numpy as np import utils import tensorflow as tf from tensorflow.python.ops import rnn, rnn_cell import argparse import os import os.path def get_files(test_data_dir): ...
[ "Shustrikarsk@gmail.com" ]
Shustrikarsk@gmail.com
a0570052056861acf7a917cb7aec02385f4fb7ac
9527c8f7543af35a460346eff7b0c14f7dc34c16
/serverPageToServerMessage.py
3cec36b268a4b7c53042ad907dc9bc595fa7e36e
[]
no_license
TkachenkoRoman/WebWork
828f13e88c290a0e8973fefd442826381079e3f8
507daede69b35938e56c0aaf2f8f1da2441fec06
refs/heads/master
2016-09-06T00:07:56.952442
2015-05-08T12:48:37
2015-05-08T12:48:37
34,397,441
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
__author__ = 'roman' import jsonpickle class ServerPageToServerMessage: START_SHARING_TASKS_MSG = 1; GREATING_MSG = 0; def __init__(self, msg): jsonMsg = jsonpickle.decode(msg) self.type = jsonMsg["type"] self.data = jsonMsg["data"]
[ "TkachenkoRomanUry@gmail.com" ]
TkachenkoRomanUry@gmail.com