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
ecd9588c319c4da7f54f4b8a4a417892354d5db3
5264b8b29534dc67b3245a13f608375257bcb14c
/digit_prediction.py
a9d35aaeeef445a237da12b378e9e1fd724e6efc
[]
no_license
georginawan/ML_course_projects
3f5064e078733910e6ad61b14be99e5141f16016
bf0648292cb2fb2f58f0cc93a7e33c92e2c644fd
refs/heads/master
2022-11-19T01:59:15.185718
2020-07-24T02:12:00
2020-07-24T02:12:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
import matplotlib.pyplot as plt from sklearn import datasets, svm, metrics # Load dataset digits = datasets.load_digits() images_and_labels = list(zip(digits.images, digits.target)) n_samples = len(digits.images) data = digits.images.reshape((n_samples, -1)) # Create a classifier: a support vector classifier...
[ "noreply@github.com" ]
noreply@github.com
1250d50dc0a283fb5f560c425cfd1a5399737f7e
8fc31285a4b9cff3542ba54d774b63139f62b905
/todoapp/serializers_first.py
4ae6d2aaa195542c8beddd2e29ab5a6de05f152d
[]
no_license
Aashritha1/Todolist
dd364f4db1cc134340cac8da21a257312e8f9fd0
f37a7b1f3392a0b8870ba35a603d05b66b61a6f6
refs/heads/master
2021-06-05T18:09:47.668476
2020-05-13T09:42:07
2020-05-13T09:42:07
102,403,817
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from rest_framework import serializers from .models import * class ToDoListSerializer(serializers.ModelSerializer): class Meta: model=TodoList fields=['name','createddate','user'] class TodoItemSerializer(serializers.ModelSerializer): class Meta: model=TodoItem fields=['name','d...
[ "Aashritha Reddy" ]
Aashritha Reddy
9c613702a7a4f5d6686f7fe5dbb23f642b6f271b
c1656c1b54d2b6d5ead355845fb890b0a37d50e9
/bookshelf/node_modules/mongodb/node_modules/kerberos/build/config.gypi
313ea013ab1c83dfbfb2fb7c63bd47d2fc5f3c42
[ "Apache-2.0" ]
permissive
joshthedudeoflife/javascriptstuff
ae4c90c04f882daddcbb0eee38087ad62c94fcd2
7d81b368f3b79681a77bd63d83b717423b7f51c5
refs/heads/master
2021-01-01T17:16:42.880719
2013-12-12T03:52:00
2013-12-12T03:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,034
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "clang": 1, "host_arch": "x64", "node_install_npm": "true", "node_prefi...
[ "josh.chou@ses-technologies.com" ]
josh.chou@ses-technologies.com
b231f1fd255cfccba0004ae6b8f9dde538a072e6
5adfa64b0b9b1a2256012534c34667f062b1db6f
/html/cgi-bin/get_accounting_user.py
44228e92800d82bd5b773497074cee5fad6da7dd
[]
no_license
jasonshih/torque-monitor
d7839f75d0cb3458fb1107ef459db4122f10f7da
33fdc59c2327b5f7ebea16e2517d2984782e91ee
refs/heads/master
2020-03-29T02:34:41.123355
2015-04-21T10:35:39
2015-04-21T10:35:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,297
py
#!/usr/bin/env python try: import json except ImportError: import simplejson as json import math import datetime import sqlite3 import os import re import sys import cgi import logging import inspect import time import gzip import pprint sys.path.append( os.path.dirname(os.path.abspath(__file__)) + '/../...
[ "h.lee@donders.ru.nl" ]
h.lee@donders.ru.nl
4cf15cbfe94f9f32ba11698d036f5b9b377319d2
6ed5878c79f2f192e8cbe322c4e755837c8fc57c
/lib/colourize.py
8c7a85a2057cbc492af0375326890106e0e89968
[ "BSD-3-Clause" ]
permissive
MnM/tomcat-ear
655ad42a9c84cc1e267241a632b6c83a44f7569a
9ce7d5e05392de86377fe78e8c8e367ac15a1991
refs/heads/master
2020-06-08T08:02:03.479673
2011-11-29T21:21:34
2011-11-29T21:21:34
2,721,019
0
2
null
null
null
null
UTF-8
Python
false
false
214
py
BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE = range(8) RESET_SEQ = "\033[0m" COLOR_SEQ = "\033[1;%dm" BOLD_SEQ = "\033[1m" def colourize(s, colour): return COLOR_SEQ % (30 + colour) + s + RESET_SEQ
[ "matthias.maiershofer@gmail.com" ]
matthias.maiershofer@gmail.com
de4358321e7b35ee720bfbc1c35f7cda306421b0
ce3172021a4a443f39868a92ed1b675af32e1e60
/dethi10.py
3daf10310f2359114123392c5ee5bc163553e630
[]
no_license
trongthanhqvo/xulyanh
fb99b3c1d25404bf00d23dd88b447fb37e727275
3119a96ce44cdaba786c8af6b642bf5e36801f0b
refs/heads/master
2023-06-01T07:33:24.639648
2021-06-20T19:43:21
2021-06-20T19:43:21
374,326,464
2
0
null
null
null
null
UTF-8
Python
false
false
939
py
import cv2 import numpy as np # 1 I = cv2.imread("./anhthi/anh5.jpg") # cv2.imshow("I", I) # 2 Ihsv = cv2.cvtColor(I, cv2.COLOR_BGR2HSV) print("Muc sang lon nhat cua kenh V:", np.max(Ihsv[:, :, 2])) # cv2.imshow("Ihsv kenh S", Ihsv[:, :, 1]) # 3 Iv = cv2.blur(Ihsv[:, :, 2], (3, 3)) # cv2.imshow('Lam tron kenh V', Iv...
[ "thanhlio3625328@gmail.com" ]
thanhlio3625328@gmail.com
3c6d1df4a078962da98463d4f64e2fde79dabb3f
0e0bd9d0082bf71918db9f6c92c2cefd32fd23bd
/guild/plugins/summary_util.py
212871690080b5a3fec85b0eb605897c66cddc10
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
christabella/guildai
b911d9758296503c431b571dc4696a3690f44b3d
10d34eb9aa02aa4a374c340e75b5d44d9f3d8a25
refs/heads/master
2022-12-17T18:34:45.766299
2020-08-31T12:42:25
2020-08-31T12:42:25
294,189,964
0
0
Apache-2.0
2020-09-09T18:02:13
2020-09-09T18:02:12
null
UTF-8
Python
false
false
8,533
py
# Copyright 2017-2020 TensorHub, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "g@rre.tt" ]
g@rre.tt
07084edfc0a38c7c3bdc4a84284b065fa40acf3e
769545480dd9b4ba0b98dce0511846f10370c2b1
/RESTVer03/settings.py
ee2efe256431c3a2e11843bbf4e49c5496de496c
[]
no_license
YellowZYHuang/RESTVer03
52e57758fc195ff595eb9a5e4cabb1a068a366ad
bcae27f63a5df2de9ee2176e405f16e74cc02471
refs/heads/master
2022-11-05T23:03:16.172204
2020-06-15T11:46:35
2020-06-15T11:46:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,747
py
""" Django settings for RESTVer03 project. Generated by 'django-admin startproject' using Django 3.0.6. 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 os ...
[ "yellhuang63@gmail.com" ]
yellhuang63@gmail.com
d97ae80bb9f7ee568c7dd90340ff4af6c68a81e9
6a02fede45d612f776a539edb623f0d6a0e0404e
/nodes.py
470f1ae5af5db5bb9b1df66c3f4911565d48af96
[]
no_license
shmunj/QUEST-FOR-EUTOPIA
b4f7042b7fc19b87b69bc468d8787a7829b11b19
82ce590c10f1965d7a6b5c28e25b20938e398afa
refs/heads/master
2021-01-22T09:17:55.439334
2015-04-17T23:56:45
2015-04-17T23:56:45
32,012,453
0
0
null
null
null
null
UTF-8
Python
false
false
2,849
py
import pygame from random import randint class Node: def __init__(self,position): self.position = position self.building = None self.wait = 0 def drawOnMap(self,map): (self.position[0] + map.x,self.position[1] + map.y) class Building: def __init__(self,object_type,node,key...
[ "shkrulj@churchbank.(none)" ]
shkrulj@churchbank.(none)
e3ad1ed44686ff90ccf33fb88d515259f946536c
b1c05dd82b879aea5721bc9ef328d1a23cddab71
/api/sim_repo/handler.py
ba65433c5906e4521d6e38d451d03634533fd727
[ "MIT" ]
permissive
max0ne/twinkeydow
66d67eef7744969c1c71fd8d883ab1a5460bc18e
e1f40ef0e7c27f8d5ce5d659af9bfeaaa4a95aa8
refs/heads/master
2022-01-25T05:11:22.713136
2018-10-05T04:02:26
2018-10-05T04:02:26
125,097,721
4
0
null
2018-10-05T03:57:25
2018-03-13T18:35:25
Jupyter Notebook
UTF-8
Python
false
false
4,463
py
import json import sys import os from io import BytesIO import boto3 from pymongo import MongoClient import numpy as np from numpy import linalg as LA # code generated from AWS Secret Manager def get_db_credentials(): secret_name = "mongodb_credential" endpoint_url = "https://secretsmanager.us-east-1.amazonaw...
[ "himax1023@gmail.com" ]
himax1023@gmail.com
19836803dd62e45c2e35725ab7852bcf6087723b
070a6843e24c0eee6397d47495effcce5e8130df
/rcs/adapter/apps.py
9aec4366173455225132846a4a25482b4f4e6e80
[]
no_license
Forrest-Z/rcs
5e86edd08d292adafcf9ef694ed7894ff12bf2ef
9dd5cd9d3693b6bae9014dff365b2968b45313b7
refs/heads/main
2023-07-06T13:39:38.938705
2021-08-10T08:30:35
2021-08-10T08:30:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class AdapterConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'rcs.adapter'
[ "18507132980@163.com" ]
18507132980@163.com
1eed8db7a047b19919eb49133235bfec5abfbdc6
13cae418da6a601a952af8d0a0b1f5f7400f6add
/Semana10/main.py
0f5a06aff52c4d66030e557180c5c80f03e151bd
[]
no_license
fabian-capunay/UTEC_ICC_104_Grupo02
59d48ae240d8a6f06022a146024f4182847c3274
9b8ba9780771f5ef1ec325f12428d3b68942fdb8
refs/heads/main
2023-06-01T05:32:45.798653
2021-07-12T04:46:49
2021-07-12T04:46:49
379,392,610
0
0
null
null
null
null
UTF-8
Python
false
false
1,844
py
from graphviz import Graph from graphviz import Source n = int(input("Ingrese cuántos países va a ingresar: ")) paises = [] for _ in range(n): paises.append(input("Ingrese el nuevo país: ")) dicc = {} ############### DICCIONARIO ############### for pais in paises: v = int(input(f"Ingrese la cantidad de paises vecin...
[ "gabriel.espinoza.h@utec.edu.pe" ]
gabriel.espinoza.h@utec.edu.pe
70b6a96a5e86590af626b1850c97c43fdc5aef74
cb94daeef1c8443c2b9623ea5aaa47e9977766ef
/src/gedml/launcher/managers/__init__.py
e1861012b92bd2c1e69655bd062d4f43540cb743
[ "MIT" ]
permissive
TrendingTechnology/GeDML
ce1cec59d03d00a8d11917f2b04f1668106b37eb
1f76ac2094d7b88be7fd4eb6145e5586e547b9ca
refs/heads/master
2023-07-17T20:06:51.955273
2021-09-06T13:23:57
2021-09-06T13:23:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
37
py
from .base_manager import BaseManager
[ "zhang-br21@mails.tsinghua.edu.cn" ]
zhang-br21@mails.tsinghua.edu.cn
b9e0d907e0eebe4a46bc206410c06c4e64095e43
5fde2c19e58b9ca6e434f94097340f902b7a53c0
/deeplabcut/pose_estimation_tensorflow/dataset/pose_defaultdataset.py
3fddae224b5a95b76eb6eba7a56f15fc746a7212
[ "MIT" ]
permissive
kalpitthakkar/deeplabcut_mgh_pose
59ac45f08fae95773cf6bab465b36a7e3434076b
8fa4a59f422ff0357552e290230838239edcfe1b
refs/heads/master
2022-11-06T06:38:54.536671
2019-08-30T23:59:18
2019-08-30T23:59:18
199,476,875
0
1
MIT
2022-11-04T09:42:04
2019-07-29T15:14:47
Python
UTF-8
Python
false
false
10,717
py
''' Adapted from DeeperCut by Eldar Insafutdinov https://github.com/eldar/pose-tensorflow ''' ''' Adapted from DeeperCut by Eldar Insafutdinov https://github.com/eldar/pose-tensorflow ''' import os import logging import random as rand import numpy as np from numpy import array as arr from numpy import concatenate as...
[ "kthakkar1605@gmail.com" ]
kthakkar1605@gmail.com
636edf3467c9802e246c2feb9878287eb93494af
22827671ddef7a74a58ebd7e7e451c796046a6ae
/ExamPrep/Shit Comp/Python Code/PythonShit(UpToRoots)/arangelinspace.py
0c043e7262118d009fe2e086e0c23ac82febcc0f
[]
no_license
FHomewood/ScientificComputing
1fb06c15ad553d4ad68325ee2ae67f1344a57c00
bc3477b4607b25a700f2d89ca4f01cb3ea0998c4
refs/heads/master
2021-09-04T06:13:06.814700
2018-01-16T15:57:37
2018-01-16T15:57:37
110,961,484
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
'''arange''' # an arange returns evenly spaced values (where you give the space size) within a given interval and is part of the numpy package #numpy.arange(start,stop,step) #where start is a number that you want to start with, the interval includes this value #stop is the end of the interval the interval does not ...
[ "fhomewood98@gmail.com" ]
fhomewood98@gmail.com
1fccb71e2e7399c3f6bc3a31de7d3f14c55ec2ed
a8c30380881c4003a5eb9cad1094dc30a963c838
/models.py
a5933db8af456bbb2de7a17a9047df8580be3c56
[]
no_license
manuvallee/qa_matching
2c31be5a90881e22a8207c9110a972f4c4903b74
3d3f1b4b2ec45788a4240f2fd8693246cd048c92
refs/heads/master
2022-12-17T11:17:53.906076
2019-07-24T13:57:55
2019-07-24T13:57:55
168,342,834
1
0
null
2022-12-08T02:33:35
2019-01-30T12:54:52
Python
UTF-8
Python
false
false
15,076
py
import keras from keras.preprocessing.text import Tokenizer from keras.preprocessing.sequence import pad_sequences from keras import optimizers from keras import backend as K from keras import regularizers from keras.models import Model from keras.utils import plot_model from keras.callbacks import EarlyStopping from k...
[ "noreply@github.com" ]
noreply@github.com
1b30a24117e56b65631b71bd52bc2032fb37e417
ccd8c45aad7ec1beaac9af5d419e61e35e996b35
/djangoapp/base/settings.py
278e3ac8bd1b4cbfbc66dd57d853c5022fe85c10
[ "MIT" ]
permissive
bdabrowski/web-security-training
f3ec2e08f1c196afca5cd79ddd99690fd67fe6be
aaa8ba8f130e3fa2fbac474fdb59a2051cda463c
refs/heads/master
2022-12-18T04:32:55.643745
2019-08-07T16:06:58
2019-08-07T16:06:58
200,509,626
0
1
MIT
2022-12-11T01:03:34
2019-08-04T15:29:47
Python
UTF-8
Python
false
false
4,649
py
DEBUG = True DEBUG_SQL = True LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True MEDIA_ROOT = 'public/media' MEDIA_URL = 'http://localhost:8000/media/' MEDIA_DEV_URL = '/media/' STATIC_ROOT = 'public/static' STATIC_URL = '/static/' AUTHENTICATION_BACKENDS = ( 'django.contri...
[ "bar.dabrowski@gmail.com" ]
bar.dabrowski@gmail.com
613ad35a3b3c957595cef4dbc365deb2fe4f805e
65e3bd4e1f155402c1a00198dacde4ee8668dd51
/DRAW/drawgan.py
aa05c7b7aeb49266bdbd5c08ccf12c36c92c1557
[]
no_license
shijy07/deep-learning-project
b3bc1c80d0f1f967f7155e468e105d4836146599
27f1ce6deaa3ed0ac2ac869bdde6a8f05dffa0df
refs/heads/master
2020-04-09T06:10:21.064728
2016-12-15T01:19:17
2016-12-15T01:19:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,951
py
import numpy as np import tensorflow as tf from tensorflow.examples.tutorials import mnist import time import os from helper import * class DRAWGAN(): def __init__(self, sess, build_encoder, build_decoder, build_discriminator, read_attn = False, write_attn = False, T = 10, dec_size = 128, enc_size = 128, batch_...
[ "jucheng1992@gmail.com" ]
jucheng1992@gmail.com
325ce60a54f9b633e41e0764919b0fe431c94705
4fd5860beb1e6809eee297509bcc776dfca40aca
/phase_coh_1871_2016/codes/figs.py
2ab4b1d42585720a11853ce5c3f3f57bcec0ac8f
[]
no_license
manmeet3591/fingerprint-volcano-enso-im
40a41eca517abdd09079feb7ae58cc866343d6a8
21f39125ece4d03c5ee2961e4aae3768ee61cdb8
refs/heads/master
2021-07-05T09:49:28.858614
2021-04-19T02:55:45
2021-04-19T02:55:45
229,057,834
1
1
null
null
null
null
UTF-8
Python
false
false
8,588
py
#! /usr/local/opt/python/libexec/bin/python """ Functions used to plot the output figures ========================================= """ # Created: Thu Nov 16, 2017 02:05PM # Last modified: Fri Nov 17, 2017 09:02AM # Copyright: Bedartha Goswami <goswami@pik-potsdam.de> import numpy as np import datetime as dt from...
[ "manmeet20singh11@gmail.com" ]
manmeet20singh11@gmail.com
f6080fc0663a5816d1a10eaf5fd0a3b5597058dc
86c1714953d583f37a74579e38424144dd520510
/getting_started/keras/pred_w_netwk_2node.py
6735513c1ef57695c387f3ffbd9299d3bf1e48ea
[]
no_license
DestrosCMC/Machine_Learning
1320eef12a30c69f270ce8e03652149826994126
4b0a040cbca23f375ac69ecbb1dd46997b95218e
refs/heads/master
2022-12-12T19:45:52.370192
2020-09-10T20:56:14
2020-09-10T20:56:14
286,491,281
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
def predict_with_network(input_data): # Calculate node 0 in the first hidden layer node_0_0_input = (input_data * weights['node_0_0']).sum() node_0_0_output = relu(node_0_0_input) # Calculate node 1 in the first hidden layer node_0_1_input = (input_data * weights['node_0_1']).sum() node_0_1_out...
[ "noreply@github.com" ]
noreply@github.com
652fe2511ee0e10c397c5ab430f14834d4cdc55c
7099c2f4e6cc452dc661a7687447ee3b41ef261a
/config.py
bcb385220b98a629c880e82b0d33216d8da73f68
[]
no_license
BEaStia/flaskProject
b2ae6d95fee39d6f8dd1e5530c5b281074967943
46335aaa56177cc9ec8c4e9ef9d3386684eb30e9
refs/heads/master
2016-09-01T08:49:04.894793
2015-10-14T07:07:59
2015-10-14T07:07:59
44,230,139
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db') SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
[ "gophan1992@gmail.com" ]
gophan1992@gmail.com
31a1a0b1cc8d8d0ceb692ff3f27aa50bde473558
6f4fda663a11cfe40281efb69eae548559ec767c
/src/finn/transformation/qonnx/qonnx_activation_handlers.py
3336b1eee7fa9d54092cd56b9ba0edaf9d0884b1
[ "BSD-3-Clause" ]
permissive
VincentSeven1/finn
833bd133f5188abefd61d34382a997824bf8dde9
d1cc9cf94f1c33354cc169c5a6517314d0e94e3b
refs/heads/main
2023-08-30T17:52:38.683357
2021-11-05T14:49:29
2021-11-05T14:49:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,901
py
# Copyright (c) 2021, Xilinx # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of conditions and the follow...
[ "hendrikborras@web.de" ]
hendrikborras@web.de
4fc209e569dd61f383f6074f9cb0cf3bf4e9fea9
1fd6cbaf8e7cf562b83c8223d6dc7f8ec70ecb4a
/0665_Non-decreasing Array.py
47b18c646ee5c0a0b61069dfc93b701ca8534794
[]
no_license
Yyyyyjkim/LeetCode
2ddb186aa71b1e06911387d6989ed74bb2ac818e
c9b4dfcda763550447f1ae0b46ebd3f479946dd4
refs/heads/main
2023-02-16T15:28:38.245498
2021-01-18T11:28:08
2021-01-18T11:28:08
329,005,220
0
0
null
null
null
null
UTF-8
Python
false
false
1,151
py
nums = [4,2,3] nums = [4,2,1] nums = [3,4,2,3] nums = [1,2,3,1] # mine class Solution: def checkPossibility(self, nums): for i in range(len(nums)): nums_copy = nums.copy() nums_copy[i] = nums_copy[i-1] if i>0 else float('-inf') if nums_copy == sorted(nums_copy): ...
[ "dbwjd159753@hanmail.net" ]
dbwjd159753@hanmail.net
27d1a3c411b12208e8d4fb289eb2af4bf85cb440
ca75f7099b93d8083d5b2e9c6db2e8821e63f83b
/z2/part3/updated_part2_batch/jm/parser_errors_2/239061968.py
6824dca6f32823cb12a5f3a0a45879a6c8761224
[ "MIT" ]
permissive
kozakusek/ipp-2020-testy
210ed201eaea3c86933266bd57ee284c9fbc1b96
09aa008fa53d159672cc7cbf969a6b237e15a7b8
refs/heads/master
2022-10-04T18:55:37.875713
2020-06-09T21:15:37
2020-06-09T21:15:37
262,290,632
0
0
MIT
2020-06-09T21:15:38
2020-05-08T10:10:47
C
UTF-8
Python
false
false
1,180
py
from part1 import ( gamma_board, gamma_busy_fields, gamma_delete, gamma_free_fields, gamma_golden_move, gamma_golden_possible, gamma_move, gamma_new, ) """ scenario: test_random_actions uuid: 239061968 """ """ random actions, total chaos """ board = gamma_new(2, 3, 2, 4) assert board is...
[ "noreply@github.com" ]
noreply@github.com
f7a3a1e5c2415d25674c3cecc6fa65aaa8ac1e0c
e791b4be5de2c21db2f0eb26559be983a0b4a00f
/app/main.py
e54f954c018d75ebd9afe720e5475032bdd99788
[]
no_license
jefersonpassos/sms-api
dea66600c28f93feec3591fa9ca998f7a9aa114d
0ada642591e4b65a55605390c88f9792ab090d52
refs/heads/master
2021-08-22T07:20:25.333787
2017-11-29T15:56:01
2017-11-29T15:56:01
110,285,773
0
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
from flask_api import FlaskAPI from flask import request from flask_cors import CORS, cross_origin import os from datetime import datetime import moment from .blueprints.ranking import ranking_blueprint from .blueprints.retencao import retencao_blueprint # def create_app(setting=None): # Inicia uma aplicacap f...
[ "noreply@github.com" ]
noreply@github.com
a7c65bdf2c3d76a9d0bef4bc19e8fa9001e6129b
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/dialogflow/__init__.py
53f4af3ef55ac638fe4d82d7edb0b86755a4101d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
1,194
py
# -*- coding: utf-8 -*- # # Copyright 2019 Google LLC. 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...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
dd26986cca4679b0a9e6a16fce3c20db4e78af5e
4b7006c000b396ae5f9fa6c904920012ae106564
/XDG_CACHE_HOME/Microsoft/Python Language Server/stubs.v1/ADeIi1-LryDNFxrvGNDFajA7b1dquV2HmbhB0_8uy0U=/_ctypes.cpython-37m-x86_64-linux-gnu.pyi
61443d376a962b0f8982fac7ddacf6aa7069dc55
[]
no_license
JairEscamilla/Puntos-de-inflexion
7280b70a2e1e8c1e6c1ca5ebe939b0a59574bd03
43e8c381bbe2ae1dd7aef12588338ccabd5e1cc6
refs/heads/master
2020-06-04T12:35:20.696310
2019-07-16T05:28:36
2019-07-16T05:28:36
192,024,072
0
0
null
null
null
null
UTF-8
Python
false
false
7,870
pyi
import builtins as _mod_builtins PyCFuncPtr = PyCFuncPtrType() class ArgumentError(_mod_builtins.Exception): __class__ = ArgumentError __dict__ = {} def __init__(self, *args, **kwargs): pass @classmethod def __init_subclass__(cls): 'This method is called when a class is subclas...
[ "hernandez_yo14@outlook.es" ]
hernandez_yo14@outlook.es
3f2a7f48be046e9abe32337895e250822e9e5371
d7ef3b2dd88641d7b220d8714d8f378be2ac6045
/MacOSX10.11/tools/csv2xml.py
eef4f7f24281ca27b6447572618e6dc8e3665e97
[ "CC0-1.0" ]
permissive
scaponapple/scaponapple
6744a215ec74b4fc592f2a1775575b3b619d74bf
bcd088ba5ae38183ec54b414082b2ca667939d23
refs/heads/master
2020-12-24T07:28:41.462347
2016-08-31T21:14:27
2016-08-31T21:14:27
57,238,564
15
6
null
2016-08-31T21:14:28
2016-04-27T18:59:02
HTML
UTF-8
Python
false
false
2,607
py
#!/usr/bin/python #Read in CSV data and write to XML file import csv, os, sys def xml_encode(input): output = str.replace(input, '&', '&amp;') output = str.replace(output, '>', '&gt;') output = str.replace(output, '<', '&lt;') output = str.replace(output, '\n', '<xhtml:p/>') return output #Files to read an...
[ "maura@eclipse.ncsc.mil" ]
maura@eclipse.ncsc.mil
7dabc2769284f27f4c536e8a0c19b53b4c1b217a
571d1ec6972b75f0d0515195e8062d9b4fc624bd
/_tests/hough/test_hough_against_all_artsy_test_images.py
32d99c3d88703dc4fd24e5ae4a6ed8a6ce93f826
[]
no_license
timpowellgit/allweveeverhad
2b1a36ffc6e328caf5e340698a87d9e03b1959a6
c1cf0e16a9e06a96a26ae37d1feebd3094635202
refs/heads/master
2022-12-01T20:16:32.655243
2019-02-24T21:50:49
2019-02-24T21:50:49
170,889,209
0
0
null
2022-11-22T02:22:56
2019-02-15T15:50:29
Python
UTF-8
Python
false
false
4,160
py
from collections import defaultdict from matplotlib import cm from multiprocessing import Pool from PIL import Image from scipy import spatial from skimage import color, data, exposure, filters, measure, feature, io, color, draw, transform from skimage.color import rgb2gray, rgb2grey from skimage.draw import line from ...
[ "" ]
7a877964c195ba8b4611fc1c614aab2598a7d346
b2301365d220ff0295b8beddbed38b0581f9610d
/Django/landscapes/landscapes/urls.py
6bb380064f3a5011c960add9367daf6a83339d72
[]
no_license
JoA-MoS/Python
db246a5ff2201c6ef1dfb9d9b0fd8a37e1d7c46d
4547c2667f3eaf0a001532bb2b103aab3c344fbe
refs/heads/master
2021-08-16T11:18:20.420868
2017-07-21T05:52:18
2017-07-21T05:52:18
96,125,892
0
0
null
2021-06-10T18:40:09
2017-07-03T15:34:52
Python
UTF-8
Python
false
false
786
py
"""landscapes URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class...
[ "justin.r.dietz@gmail.com" ]
justin.r.dietz@gmail.com
cddfc9177257df40d436d50cbb8e5b8c6df0014d
0b86600e0288c0fefc081a0f428277a68b14882e
/code/test-tex.py
88494d5f2d9c294df67876d5ebb5c013470ef015
[]
no_license
Byliguel/python1-exo7
9ede37a8d2b8f384d1ebe3d612e8c25bbe47a350
fbf6b08f4c1e94dd9f170875eee871a84849399e
refs/heads/master
2020-09-22T10:16:34.044141
2019-12-01T11:52:51
2019-12-01T11:52:51
225,152,986
1
0
null
2019-12-01T11:51:37
2019-12-01T11:51:36
null
UTF-8
Python
false
false
128
py
# Ceci est un test de code Python # Accents a verifier à é ù def fonc(x): """Fait ceci à é ù""" return x ** 2 + 1
[ "arnaud.bodin@math.univ-lille1.fr" ]
arnaud.bodin@math.univ-lille1.fr
ecd93e403f59177af30c79be215d4ebf01bfa725
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_068/ch27_2020_03_11_11_55_56_463054.py
48928ddb084204cf2ffd0f1ab7892e1dc62e802c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
a = input("Você tem dúvidas? ") while a != "não": print("Pratique mais") if a == "não": print("Até a próxima")
[ "you@example.com" ]
you@example.com
ff404499125718c7bc23a7e03718afe076a5d95d
1efb2e0b945a82e039c2a58f46ce842dc59ca3d9
/train.py
e787ffe6d6bf8e4a63efe8dfb9a27fdb9639f1b8
[]
no_license
YuPengg/liveness-detection
764590dc1b34a8c4eb503554f98f3265133be5bf
cbc7337c5f3df59d98151321171911a903e8f575
refs/heads/master
2023-03-09T23:57:34.780108
2021-02-28T13:47:02
2021-02-28T13:47:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,253
py
from livenessnetwork.livenessnet import LivenessNet from sklearn.preprocessing import LabelEncoder from sklearn.model_selection import train_test_split from sklearn.metrics import classification_report from tensorflow.keras.preprocessing.image import ImageDataGenerator from tensorflow.keras.optimizers import Adam # fro...
[ "zhaohengheng@outlook.com" ]
zhaohengheng@outlook.com
27fbb0ae54c359c770b98b0045daae02c6544609
2eb1d501e6b7c3b7d553a538340361b523ed2895
/car_manager.py
f44f1ed0c4e217e37c3c7b980e2d385d0d666c48
[]
no_license
gadgetjoseph/turtle_crossing
4b286d530060bfb07befde0ccd707a573fe2d992
5d2a680f3f9bb025d91f097c044e86f8059213ce
refs/heads/master
2023-07-31T11:33:15.795209
2021-09-13T01:35:04
2021-09-13T01:35:04
405,483,504
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
from turtle import Turtle import random COLORS = ["red", "orange", "yellow", "green", "blue", "purple"] STARTING_MOVE_DISTANCE = 5 MOVE_INCREMENT = 10 class CarManager: def __init__(self): self.all_cars = [] self.car_speed = STARTING_MOVE_DISTANCE def create_car(self): random_chance...
[ "joe@mahaffey.us" ]
joe@mahaffey.us
f7ebec68295acdd8c2ebd01fc77f111c36a1808c
4f2199e03cda9c64a1d0975f35201dd833cce1cc
/Image_Blending/Convolution.py
301b751d9a754731027752b6cf32742b630d18b1
[]
no_license
SurajMondem/Computational_Photography
e158ab204c44bf3e201d08278e0ce1ee07f5ce2a
3c0b98e4c6a80dfb8b8325640e1319e906487cfe
refs/heads/main
2023-03-19T19:41:18.556787
2021-02-25T19:19:23
2021-02-25T19:19:23
336,098,811
0
0
null
null
null
null
UTF-8
Python
false
false
3,812
py
import numpy as np import cv2 def convolutionColor(image, kernel, average=False, debug=False): # Color Convolution of the Image with kernel # Implements 3*3 kernel on all 3 layers(RGB) of the images print("Image Shape : {}".format(image.shape)) print("Kernel shape : {}".format(kernel.shape)) if ...
[ "surajmondem@gmail.com" ]
surajmondem@gmail.com
c94ac4a2779b3b2949f4abc2a3c22adf85b777d8
67180e35b2ab3a25b80c0e7ed75cae52828083e4
/main.py
8b93fda6ea02991202826366c657aac5aaf1a771
[]
no_license
fabiobr05/Cotacao_Bitcoin
61f669f22c03ef0b669469376cf6750520747c05
3a9d074d2c4e6520adc15afd760a4c1eb81a965c
refs/heads/master
2023-06-25T10:24:28.482725
2021-07-26T23:45:22
2021-07-26T23:45:22
389,200,745
0
0
null
null
null
null
UTF-8
Python
false
false
2,326
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 19 18:55:29 2021 Program: bitcoin.py @author: Fabio Batista Rodrigues """ # Este programa recebe dados atuais do bitcoin por um determinado tempo e imprimi # ao final um grafico # Ou seja, enquanto estiver rodando recebe e armazena # Importar bibliotecas imp...
[ "noreply@github.com" ]
noreply@github.com
626aa752a07696a76a2dd11c4ad7dc35dfb6c474
546b8e9907be6a33e2a466e7ae7592a9c593f0ef
/pyslogger/demo_server.py
cf1c03d0dcf9cce82ca1407975ebcd9e4eefcb22
[]
no_license
wuyun252/python_user_lib
e7df40b79ed7f5171fe80f994cabbe3afa787050
e7d71c479b57be70caf94239b630d95399796d07
refs/heads/master
2020-04-07T12:15:24.498503
2018-11-20T09:15:54
2018-11-20T09:15:54
158,360,516
0
0
null
null
null
null
UTF-8
Python
false
false
122
py
# coding: utf-8 import pyslogger.server def main(): pyslogger.server.main() if __name__ == '__main__': main()
[ "cloudywu@tencent.com" ]
cloudywu@tencent.com
9652627954c15e9e7a7cc860e1713a90b8f9787f
dada5dee63a8d798e18ffc06bb2b8870defcfefc
/autoconf/boost_math.py
8c01b02804cfa71901f004633073f756eb536e68
[ "MIT" ]
permissive
edubois/sconsProject
2bd66324ce7c4006a8a31bf43c1e18950e267f67
d75c6172f30c09ba8c68ef74f49f8b5b78c01dd8
refs/heads/master
2020-05-18T15:54:25.074815
2015-05-10T20:04:53
2015-05-10T20:04:53
32,820,146
0
1
null
2015-03-24T19:28:04
2015-03-24T19:28:03
Python
UTF-8
Python
false
false
305
py
from _external import * from boost import * boost_math = LibWithHeaderChecker( [ 'boost_math_c99', #'boost_math_c99l', 'boost_math_c99f', 'boost_math_tr1', #'boost_math_tr1l', 'boost_math_tr1f', ], 'boost/math/special_functions.hpp', 'c++', name='boost_math', dependencies=[boost], )
[ "fabien.castan@free.fr" ]
fabien.castan@free.fr
e1cdcdbfa81d45685ca6cfc07ad06b79cc989344
0eae8f1acdfbdc674cff5ac042fc0cb154bd6b1f
/src/api-service/__app__/onefuzzlib/azure/creds.py
e630d6c85a6f29189631e390e3ec61bfb6fc2f8b
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
weiplanet/onefuzz
9138ce609a0ff5056c9bc5e2710bfb4176143cf7
24f43478ddaf40cf8ad525e8c8a04a21d6693bd4
refs/heads/main
2022-12-19T09:14:13.680230
2020-09-30T22:54:25
2020-09-30T22:54:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,394
py
#!/usr/bin/env python # # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import logging import os from typing import Any, List, Optional, Tuple from azure.cli.core import CLIError from azure.common.client_factory import get_client_from_cli_profile from azure.graphrbac import GraphRbacManagemen...
[ "bmc@shmoo.com" ]
bmc@shmoo.com
d100847697c1f5a0e4ae4d5ce2e679021a087bee
ba5040cfb937048fc54e016c5f241af3ae065ba4
/rasp_log_system/rasp_log_system/asgi.py
9dcd2031f4bee776814ff62ea76e6178b0156b60
[]
no_license
nick-pessim/rasp-log-system
dd303c03fb7cb88f1b7e87a162d6df64afd11058
0c52f39abfc0a30792e6f84c978ffcef2239d375
refs/heads/master
2022-06-09T06:25:30.972792
2020-05-06T09:07:32
2020-05-06T09:07:32
255,386,491
1
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for rasp_log_system 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...
[ "nickolaspessim@hotmail.com" ]
nickolaspessim@hotmail.com
06610cfadfa7b7f1355f379fc9b4d330bce025b0
a1e7457b5d1ef03ea9d891a6886718b3029c2ba4
/zoe_scheduler/state/blobs/__init__.py
35e47533ccc22fcd06c1ecf2657d097af0742752
[ "Apache-2.0" ]
permissive
ddcy/zoe
06bd104b0d3b632ed18ff8a8cc5b580b1f140b1f
bd1ac8cdefeda3ebd1ccc941243b781cb7c0beb2
refs/heads/master
2020-12-26T21:46:17.128925
2016-02-26T17:52:20
2016-02-26T17:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
929
py
# Copyright (c) 2016, Daniele Venzano # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
[ "venza@brownhat.org" ]
venza@brownhat.org
abf528a8445ff395f6976061a018674f5c1ab9f9
ea707a82e963f258094b3ef8778c908f4f57786f
/scripts/motors2.py
1f90c5ae37abf83ee87382132269ad1b85c56ffe
[]
no_license
EitoHayashi/pimouse_ros
9f3bf307c51e44c883213d4ced404878612b722c
64a6fee42406e4883b991c1cfa4964c6d5b43523
refs/heads/master
2020-06-10T07:42:25.129422
2019-07-02T02:26:09
2019-07-02T02:26:09
193,619,402
0
0
null
null
null
null
UTF-8
Python
false
false
2,461
py
#!/usr/bin/env python #encoding: utf8 import sys, rospy, math from pimouse_ros.msg import MotorFreqs from geometry_msgs.msg import Twist from std_srvs.srv import Trigger,TriggerResponse class Motor(): def __init__(self): if not self.set_power(False): sys.exit(1) rospy.on_shutdown(self.set_power) ...
[ "dragon@arche1.co.jp" ]
dragon@arche1.co.jp
d275ecad38aeb449dc641572882ba7440eddee8e
dc109564d5113713b36bec07ca3951a66347595f
/main/migrations/0004_alter_client_user.py
0a6d691e61855c302745772ae9b9dc709b1d8bc8
[]
no_license
Spanite/market
a7ca0db4c16191f7ab92f556c7fb4cfbac528fcb
3fd039102f891a18d931ba048f5b3c55a3bc36d3
refs/heads/master
2023-07-25T19:08:42.697072
2021-09-10T10:39:31
2021-09-10T10:39:31
404,367,976
0
0
null
null
null
null
UTF-8
Python
false
false
593
py
# Generated by Django 3.2.7 on 2021-09-09 14:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main', '0003_auto_202109...
[ "sspanite@gmail.com" ]
sspanite@gmail.com
6f2ef6cef4cd514a8ee3cf4342b58b1a61f6666c
c2777c1e132642ae033fd0eaeabb617823fc7e7b
/5month/0509.py
65a493bae12c1319c1fe8a9d4816d4d309e2cd0f
[]
no_license
Ludug323/python
278e7c30f082e6e6e823e17b04e376cc4f2c98c2
b822098059dd0be69c11b6dc0406134d1c321da3
refs/heads/master
2022-11-14T07:46:24.155364
2020-06-27T09:59:35
2020-06-27T09:59:35
272,355,022
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from sklearn.linear_model import LinearRegression import numpy as np import matplotlib.pyplot as plt temp = np.array([18,16,25,34,35,36,27,24,28,16,36,32,22,24]) time = np.array([0.8,0.4,3.5,8,10,14,5,2,7,0.4,13.5,9.8,1.2,2.7]) tempRes = np.reshape(temp,(len(temp),1)) timeRes = np.reshape(time,(len(time),1)) lm = Lin...
[ "60188596+Ludug323@users.noreply.github.com" ]
60188596+Ludug323@users.noreply.github.com
9a1703eb7f7b932b4a275cc28f1f541f4328efb5
3a460b4bb6a4cc2c8a0d8d724ddb1a14c94f81fb
/shot_win32.py
8e969a1f1dbde18c85af94c9bbffba62a099a6d2
[]
no_license
MSCMonster/screenshot
ddec768972d09bc533172c86fb1e93e2dec7b57c
3698d20261d45a4de9f31df72ee792d64d7761b6
refs/heads/master
2022-05-12T21:17:56.525466
2019-08-01T10:16:25
2019-08-01T10:16:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,829
py
#!/usr/bin/env python # -*- coding=utf-8 -*- # author: Dongye<dongye_bio@qq.com> # 2019-08-01 14:29 import sys import time import win32gui, win32ui, win32con from PIL import Image args = sys.argv def window_capture(window_name, filename): hwnd = win32gui.FindWindow("Notepad", window_name) left, top, right, ...
[ "dongye_bio@qq.com" ]
dongye_bio@qq.com
1c0e4264cfc25c5b85b1d1754a31fa9653f0732f
610f934ae016ce7e340a5e574ca841d5f575fd0e
/penguin_backend/penguin/models.py
4ad219c69a0eb0158160ebd1bf503e140b734bfc
[]
no_license
dd8917vk/penguin
dd1eb86c0aa67da4098856301a8c52ea907a68dd
10d5985e503edcb2539ced4f2135c899255da2b1
refs/heads/main
2023-01-31T21:49:32.634773
2020-12-16T18:22:36
2020-12-16T18:22:36
318,674,772
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
from django.db import models from django.utils import timezone from django.contrib.auth.models import User # Create your models here. class Commands(models.Model): command = models.CharField(max_length=255) description = models.TextField() link = models.CharField(max_length=255) html = models.TextField(...
[ "dd8917vk@metrostate.edu" ]
dd8917vk@metrostate.edu
2d8a814710552b67a0235f2559da8a69b2da366e
d2068164bcf7604011cd56fd15562b7105592547
/utils/security.py
e74afc6db128071c510a43d3986dd62664d19ab1
[]
no_license
mmunozpatino/pricing_python
11091c8a3848e99c502b9cac83ef6cd7ffd1d0fe
ef6a94af2d51aa4938ff8ff20f6bffbdc6adc07c
refs/heads/master
2020-03-30T07:52:56.313602
2018-11-17T03:08:53
2018-11-17T03:08:53
150,972,479
1
0
null
null
null
null
UTF-8
Python
false
false
1,867
py
# coding=utf_8 import http.client import socket import utils.json_serializer as json import utils.errors as errors import memoize import utils.config as config memoKeys = {} memo = memoize.Memoizer(memoKeys) """ @apiDefine AuthHeader @apiExample {String} Header Autorización Authorization=bearer {token} @apiEr...
[ "mercedesmp1305@gmail.com" ]
mercedesmp1305@gmail.com
47ca697e284e6664d1e966bda357bb112aa56356
d3b80b8de39d4bb4bab02b0e8b5092c2e32aff24
/login-getmileage.py
d3256d39233544095f5551a9f87de3fbfbd22e09
[]
no_license
brightparagon/learn-python-crawl-scrape
658a058fee4ecdb31c92be54b5cb684f5d4d4658
f28769fd469f69a485e560dc42d20aa08c51dc77
refs/heads/master
2021-05-02T05:23:13.512441
2018-07-02T14:58:54
2018-07-02T14:58:54
120,919,940
1
0
null
null
null
null
UTF-8
Python
false
false
731
py
import requests from bs4 import BeautifulSoup from urllib.parse import urljoin USER = "<TEST>" PASS = "<TEST>" # start a session session = requests.session() # login login_info = { "m_id": USER, "m_passwd": PASS } url_login = "http://www.hanbit.co.kr/member/login_proc.php" res = session.post(url_login, data=logi...
[ "kyeongmo2@gmail.com" ]
kyeongmo2@gmail.com
b306dcb0889d1ec282242b257ade90f599f43fea
227b02ca30168c31accd1b7d38c3436b737a2f8e
/lenstronomy/Data/image_noise.py
3ab46bd7ca164bfecd4003235a32c6a0ead736ba
[ "MIT" ]
permissive
Thomas-01/lenstronomy
b7d802c6213f0b7780acb7946b9bb150081b5d34
36db4c7f43ba28d6bdecdab1f15c537043f4a286
refs/heads/master
2020-06-03T04:22:06.123622
2020-03-31T18:33:47
2020-03-31T18:33:47
191,435,987
0
0
MIT
2019-07-11T03:22:29
2019-06-11T19:21:27
Python
UTF-8
Python
false
false
4,711
py
import numpy as np class ImageNoise(object): """ class that deals with noise properties of imaging data """ def __init__(self, image_data, exposure_time=None, background_rms=None, noise_map=None, verbose=True): """ :param image_data: numpy array, pixel data values :param expo...
[ "sibirrer@gmail.com" ]
sibirrer@gmail.com
243ee64845d2473fb88e9c2168eb03387905fc78
48d6378907d4ec555d5d4a9e2822311df4b853d3
/atken/buildApp old1/urls.py
2da23cff00234ab3aac9a5f8f7bd9b137a8a1082
[]
no_license
Alucard121/ATKenterprises
5a2cb4edd74b186cf1adb607ec309ab7acfa0423
44c59eb156b27ee4273f5a3eb19335b662de0c7c
refs/heads/master
2023-08-20T12:46:07.035179
2021-10-11T13:18:08
2021-10-11T13:18:08
414,189,190
0
0
null
null
null
null
UTF-8
Python
false
false
2,643
py
"""buildmart URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
[ "nadiraziziyah@gmail.com" ]
nadiraziziyah@gmail.com
24c9c23e085951b4e2693a0a4745c82be1c58e40
687c9aae1e34451a00b846561c5358006d34457d
/Simple-Streaming-Gateway/sources/__init__.py
df055438323bec395b97349ab522f5dad7847447
[ "BSD-3-Clause", "MIT" ]
permissive
altaga/Near-Extinct-Bird-Detector
ec5c2092f29836a5ff86fac739d448c7f9093223
ebbd7f318b1c671b1bde827e9b14ac672d9850c4
refs/heads/master
2023-04-26T21:32:51.074162
2021-05-28T22:32:52
2021-05-28T22:32:52
354,477,233
0
0
null
null
null
null
UTF-8
Python
false
false
2,339
py
import sys from sources.test import TestStreamReader, TestResultReader from sources.serial import SerialStreamReader, SerialResultReader from sources.tcpip import TCPIPStreamReader, TCPIPResultReader from sources.fusion import FusionStreamReader, FusionResultReader if sys.platform not in ["win32", "darwin"]: from ...
[ "v.a.i@hotmail.com" ]
v.a.i@hotmail.com
94bd1bddec577b769e43f9aa0f141e09eda1b616
1fee0eaa0950488fc473d7d5ab2cffb10aa076be
/mdls/mode13/v13_na_ri_8r64dr_ver101_config/read_snap_adcout.py
4d98734bd6edaef507ecc4286c6a1c1b3be8fd59
[]
no_license
demorest/vegas_devel
19a9a18890ffeebb426521c0cc53d31a5c26cd80
43633271af6dd1e01b73de5b12bacc40740886ce
refs/heads/master
2021-01-21T00:07:48.109003
2013-03-25T18:31:45
2013-03-25T18:31:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
883
py
#!/usr/bin/python2.6 import numpy, corr, time, struct, sys, logging, pylab, matplotlib, scipy #connect roach fpga = corr.katcp_wrapper.FpgaClient('192.168.40.70') time.sleep(1) #pay attention, the snap module is controled by the inner software register #as snap64_ctrl which can be found at /proc/pid/hw/ioreg/ #the ...
[ "jayanthc@gmail.com" ]
jayanthc@gmail.com
a07d321a6e3487ba98ccbee43b741ebdeb3f6ade
e8f4a641ae13c1638ff3011a50817aaf6d355cae
/scripts/py/s3_delete_domain_list.py
7be444a0e09c0f6118812f9ea8a44e0441a17b5b
[]
no_license
RY-2718/frontera_crawler
f9bd9d00bc70264e04bdc2de934b547d77b47663
12eea4ae4d6d791ddd7c0d2cdabec9c602edc0ab
refs/heads/master
2021-09-04T11:19:07.566067
2018-01-18T06:36:24
2018-01-18T06:46:54
117,086,242
3
1
null
null
null
null
UTF-8
Python
false
false
1,015
py
# -*- coding: utf-8 -*- import re from six.moves.urllib.parse import urlparse import gzip def blacklist(file_name): blacklist = set() with open(file_name,'r') as f: for row in f: s = row.strip() if len(s) > 0: if s[0] == "#": s = s[1:] #print("debug: %s" % s) bla...
[ "ry.3607x5531@gmail.com" ]
ry.3607x5531@gmail.com
5c94e0ecd48a3e1e6b1341ab6049f1b1c6cc7455
e0e55462707e8257559736f212ad086fbb5f9af5
/util/path_config.py
47d0bb3fd2df3e4777e54233ca5de1acb9a0a277
[]
no_license
jtpils/SSRNet
45e5c97f82e21c4f672d3c7e61de0c6036b7a95c
05d70706f4ecdecd502890a799b0d316db15ebd3
refs/heads/master
2022-11-26T11:46:24.597002
2020-07-28T02:56:33
2020-07-28T02:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
import sys open3d_path = '/mnt/A/jokery/projects/Open3D_test3/src/build/lib/' tc_path = '/mnt/A/jokery/projects/08_2/' sys.path.append(open3d_path) from py3d import * def get_tc_path(): return tc_path
[ "noreply@github.com" ]
noreply@github.com
17a1df7dcac84bf1d45a7d01c7f032668282338c
711504efdf973fecea6071b2c74e1ce7edeeab9d
/venv/Scripts/easy_install-script.py
f471931b9378d550d8db7822817f35da80812979
[]
no_license
lost222/pycharm-git
182addf8d8f4ac72081f823cee0e41cb7b6c914c
14c588cdd984c43431fc524ecb76ffa38c31c470
refs/heads/master
2021-04-27T00:18:43.327974
2018-03-04T13:37:01
2018-03-04T13:37:01
123,791,253
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
458
py
#!C:\Users\ÑîÆð\PycharmProjects\untitled4\venv\Scripts\python.exe -x # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==28.8.0','console_scripts','easy_install' __requires__ = 'setuptools==28.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw...
[ "1610299@mail.nankai.edu.cn" ]
1610299@mail.nankai.edu.cn
eb39a04674e7ca8db1a3f4abf668f05b3cbc5162
d6a09b1ff1ef6e7f63e6e0ecd4f6a3860de546a3
/UI.py
54724463c33ebd9109e2acfc483cb65d80de032f
[]
no_license
yichongsan/Phone_number_recognition
c7a593a978bbd67a6a30bfb02ccf5555f351520c
8bba9d4e7cc6625e8e63096ad60ec6f5a6c32f77
refs/heads/main
2023-04-25T06:19:16.988245
2021-05-14T14:28:32
2021-05-14T14:28:32
367,386,096
0
0
null
null
null
null
UTF-8
Python
false
false
13,627
py
from tkinter.filedialog import * import cv2 as cv import cv2 from PIL import Image, ImageGrab import os import tkinter import tkinter.filedialog import time from PIL import ImageGrab,ImageTk import pho_reg as pr from tkinter.messagebox import askyesno import numpy as np from keras.models import * class...
[ "noreply@github.com" ]
noreply@github.com
d71f2466df1c9554cae2cf12998556a240bc251a
711756b796d68035dc6a39060515200d1d37a274
/output_exocyst/optimized_46960.py
25862edd43771c3123d24cf36d218bdacaf22006
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
13,505
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
ace4177b9eeb6385234840817570d41259aafab4
ea6c8d7faac953011826ef322b4ac94ad3d3a35f
/src/inference_algorithms/_0_evaluate_suffix_and_remaining_time.py
830888cfd95da2e64307bf378fbfe14d9a245bbb
[]
no_license
kaurjvpld/Incremental-Predictive-Monitoring-of-Business-Processes-with-A-priori-knowledge
adf0def67c0246486b9b56d288fed4c878a2ac85
90f79f9f8c753d9e9742ec52e3b9865f88124d9b
refs/heads/master
2021-05-09T19:06:05.606889
2018-07-03T00:52:49
2018-07-03T00:52:49
118,630,830
0
4
null
2018-12-07T12:06:22
2018-01-23T15:39:43
HTML
UTF-8
Python
false
false
9,568
py
''' this script takes as input the LSTM or RNN weights found by train.py change the path in the shared_variables.py to point to the h5 file with LSTM or RNN weights generated by train.py Author: Niek Tax ''' from __future__ import division from keras.models import load_model import csv import copy import numpy as np ...
[ "kaurjarvpold@gmail.com" ]
kaurjarvpold@gmail.com
377ffc81461d55b5d2c5387bd29f399deb97784d
833df5de8df0ab4e79536e869e971faace8f34cf
/imitation learning.py
6cca09b405e194af6374f287ddfdbfee230bc6fe
[]
no_license
Hehua1311553678/RL
936e701a04f03117437c6d9ea62237c567c49b73
e0000fb9c36fdd9359dfbe1944cdd820eb45f387
refs/heads/main
2023-06-19T07:24:18.635487
2021-07-20T02:34:29
2021-07-20T02:34:29
353,001,977
0
0
null
null
null
null
UTF-8
Python
false
false
3,627
py
"""Loads CartPole-v1 demonstrations and trains BC, GAIL, and AIRL models on that data. """ import pathlib import pickle import tempfile import stable_baselines3 as sb3 from torch import nn import torch as th from imitation.algorithms import adversarial, bc from imitation.data import rollout from imitation.util import...
[ "1311553678@qq.com" ]
1311553678@qq.com
53a2ec0ea80c41078c9b9e85a70dd1a64e5b0e07
4014c430ae4ee311e10a5eb483e15a616c01621c
/Training/Tkinter.py
3b69872ae749534dce18da3a0fbf22b62aa547a1
[]
no_license
nsotiriou88/Python
8f1ed1e21c31ee1cbbca0bb7cc7d7eec3ea03063
3cd73ba67d2131272464fd6eb29745393b6447ec
refs/heads/master
2021-04-29T14:39:58.493147
2019-04-23T00:33:48
2019-04-23T00:33:48
121,779,720
1
0
null
null
null
null
UTF-8
Python
false
false
2,735
py
try: import tkinter # python 3 except ImportError: # python 2 import Tkinter as tkinter # print(tkinter.TkVersion) # print(tkinter.TclVersion) # ============ Example with button =========== # class Application(tk.Frame): # def __init__(self, master=None): # tk.Frame.__init__(self, master) # ...
[ "nsotiriou88@gmail.com" ]
nsotiriou88@gmail.com
0a895f1f4937acd75b9c99d191c3306bff7ea81a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02951/s718036718.py
3cccf0c6bef0cc9a94bcd2b254316aabdb7fd13e
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
78
py
a, b, c = map(int, input().split()) a = min(b + c, a) c = b + c - a print(c)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fec2216ac15dc2b197773932ae980fce4c6e8343
61f17c0982247fdefcd7b80d185bbb6aecf27174
/exercise2/twitter/tweet.py
abcb1671c0155aef20dc312d0026ed82096ed5cd
[]
no_license
mantaspanos/python-2-3-exercises
25b560a44710910573510343413044c48b8a0a5d
e18ac86f470544da731a7121273b6db9cc01a0ce
refs/heads/master
2020-12-30T16:39:58.513232
2017-05-07T01:02:56
2017-05-07T01:02:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
import json class Tweet: def __init__(self, raw): self.raw = raw def followers(self): return self. raw['user']['followers_count'] def __cmp__(self, other): return other.followers() - self.followers() def __str__(self): return '@{0} at {1}: '.format( self...
[ "ben@straub.cc" ]
ben@straub.cc
c42dd898b991312680a9eb77d014cb786b502475
dd5508ec479d89a7cce216cf137958a9c815490e
/plugins/countdown.py
1130f21f6caa0ce9791e3793e56c9ed49519b825
[ "MIT" ]
permissive
GoodiesHQ/Daddy
c938f1b67ac411164374ee36953fcf076d2e981f
f77a1caf13bfb0fbf5134e9f4a69293307bf5656
refs/heads/master
2020-09-08T08:27:14.900199
2017-08-23T23:14:07
2017-08-23T23:14:07
94,431,719
0
1
null
null
null
null
UTF-8
Python
false
false
1,495
py
from daddy import utils from discord.ext import commands import aiohttp import discord import json class Countdown(): """Crypto exchange API for Daddy""" def __init__(self, bot): self.bot = bot @staticmethod def create_url(src, dst): return Exchange.API_URL.format(src, dst) # @ut...
[ "goodies@protonmail.com" ]
goodies@protonmail.com
4bd22000694e9b19112e1f19da88669cc480d925
dd4a5bcb1d69451e97fb2a174932f284c23398e4
/main-DB.py
52c6785c8713f48bedac5eaa9dcdca4e15b6a438
[ "MIT" ]
permissive
vbscript055246/problem-solving_quizzing_platform
8a41446fbaf97f27fd3ffd079c051ea6b4b80cb9
0af2483d4239b7fcdb3ec8580e44954a54b38d7f
refs/heads/main
2023-03-04T05:47:46.850379
2021-02-17T17:29:54
2021-02-17T17:29:54
339,616,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,125
py
import pymongo import pandas as pd import datetime import sys from openpyxl.cell.cell import ILLEGAL_CHARACTERS_RE DBserver = pymongo.MongoClient('mongodb://localhost:27017/') DB = DBserver['ir'] collection = DB['usermsgs'] output = [] df = pd.DataFrame(columns=['name', 'time_slot', 'mode', 'type', 'quiz_number', 'ac...
[ "vbscript055246@gmail.com" ]
vbscript055246@gmail.com
04da9389ac359b4f61f4129ca3324127ec46c3c1
ad5a2092eda8af1c5cf1816fe0c1c7a91f016fda
/snap/settings.py
fdfd4daaefd15f1e0814c1f539fc9ca4bf054e0b
[]
no_license
namanarora00/batchsnap
d578578ab1359d3d2a924d43d1ac190d5f65a95e
7a278cdd0492c2d408142ce1e58c5728616d21e0
refs/heads/master
2021-10-23T08:34:08.532926
2019-03-15T20:06:53
2019-03-15T20:06:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,082
py
""" Django settings for snap project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # Bu...
[ "36225548+palindrome69@users.noreply.github.com" ]
36225548+palindrome69@users.noreply.github.com
d2f5121ef49d129c365b76e47b453d55e931648c
0ace1c9cec78ea498ec401a8300bf2fe3352ebdb
/kdezero/functions/utils.py
c524d339c1ee89bdef19c2c53280d827cf021965
[ "MIT" ]
permissive
kotabrog/K_DeZero
fca36a63dec29465c916c48c53ff476b896b206c
e8145a539874956bc235d4577fa38211c01c30ea
refs/heads/main
2023-04-15T20:22:44.648836
2021-04-17T05:29:45
2021-04-17T05:29:45
349,944,914
0
0
null
null
null
null
UTF-8
Python
false
false
3,523
py
import kdezero from kdezero import as_variable, Function from kdezero import cuda from kdezero.functions.ndarray_functions import matmul, sum_to, sum class Linear(Function): """y = x * W + b """ def forward(self, x, W, b): y = x.dot(W) if b is not None: y += b return y ...
[ "suzuki.kota0331@gmail.com" ]
suzuki.kota0331@gmail.com
01627fac02a1071ee25be2045e281fb3294146ff
60fe84c0a8fcfbed6d581af8a44bfea60c16592a
/paddlex/paddleseg/core/infer.py
af7388a6623c24fa48f2e39a7790af165fad69a2
[ "Apache-2.0" ]
permissive
Strive-for-excellence/PaddleX
ec4cce43f8407d4288c11b72132d6e811101a88e
dc14077a3b0e8ab9e512a78938d8f01b969f0942
refs/heads/release/2.0.0
2023-08-26T15:07:45.418855
2021-09-23T13:30:25
2021-09-23T13:30:25
409,951,979
1
0
Apache-2.0
2021-09-24T12:15:49
2021-09-24T12:15:48
null
UTF-8
Python
false
false
10,785
py
# Copyright (c) 2020 PaddlePaddle 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 applic...
[ "lujiafeng@baidu.com" ]
lujiafeng@baidu.com
052a2fec1e7d06a2ba0f6997bf07d9d453dcf143
f31fda8014ecadf6af7d4e3392fb917c49e0352a
/HeavyIonsAnalysis/JetAnalysis/python/jets/akFilter2CaloJetSequence_pp_mc_cff.py
be232d658ab95be08e158cc0de98688f77436bd0
[]
no_license
jniedzie/lightbylight
acea5051f053c49824a49a0b78bac3a2247ee75f
f5a4661fcf3fd3c0e9ccd8893a46a238e30c2aa8
refs/heads/master
2020-03-18T12:24:31.970468
2018-02-09T15:50:00
2018-02-09T15:50:00
134,724,759
0
1
null
2018-05-24T14:11:12
2018-05-24T14:11:12
null
UTF-8
Python
false
false
14,936
py
import FWCore.ParameterSet.Config as cms from HeavyIonsAnalysis.JetAnalysis.patHeavyIonSequences_cff import patJetGenJetMatch, patJetPartonMatch, patJetCorrFactors, patJets from HeavyIonsAnalysis.JetAnalysis.inclusiveJetAnalyzer_cff import * from HeavyIonsAnalysis.JetAnalysis.bTaggers_cff import * from RecoJets.JetPr...
[ "rchudasa@cern.ch" ]
rchudasa@cern.ch
24b155dfb3d3c008cec35fe620cdb0860ebf2ee2
9ecbb9cba8bdc04b80bcfec51ba9334330dfc221
/main.py
1975bfff533e777fa2a8998765a7aa8f9f9b9664
[]
no_license
wrccrwx/vat-2
7b619d20c2163c11f8bfa8bb595c2c628bfd91c1
8c8c769f5d910c355f6916b768b52b2e31ba1d32
refs/heads/master
2020-04-02T04:20:32.928745
2017-05-14T01:45:01
2017-05-14T01:45:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
import numpy as np import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data from vat import VAT import mnist_model do_VAT = True mnist = input_data.read_data_sets("MNIST_data/", one_hot=True) batch_size = 100 max_epoch = 100 keep_prob_during_training = 1.0 x = tf.placeholder(mnist_model.ft...
[ "issigned@gmail.com" ]
issigned@gmail.com
1367272170c6c2fe4e9fdfa587a3138dc85931cb
8ec02d2d8537b83420f5a0bdbb28b9d3f4fd64ef
/rotkehlchen/tests/utils/history.py
5a8272b8490e3fadbad03dca13de372191d00ceb
[ "BSD-3-Clause" ]
permissive
sponnet/rotki
c571f5cc7586592711aa2af3107f83528ef8ae47
7991d254f60ee6db2764db7b12296a5b5a732e18
refs/heads/master
2020-12-14T04:37:05.447563
2020-01-04T09:12:54
2020-01-04T09:28:38
234,641,916
0
0
BSD-3-Clause
2020-01-17T21:45:13
2020-01-17T21:45:12
null
UTF-8
Python
false
false
25,577
py
from typing import Any, Dict, List, Union from unittest.mock import patch from rotkehlchen.constants.assets import A_BTC, A_ETH from rotkehlchen.exchanges.data_structures import AssetMovement, MarginPosition, Trade from rotkehlchen.fval import FVal from rotkehlchen.rotkehlchen import Rotkehlchen from rotkehlchen.tests...
[ "lefteris@refu.co" ]
lefteris@refu.co
e68336ec767b58d17ef407f423fa9edde1ddc8a0
0b1c431960238934476941104d45bf907c0e35c2
/myapp/admin.py
70f88d44c9e37518e18d48736308a4380d626b65
[]
no_license
jjmerchante/2015-sat-pfinal
9d2d63974f0e04dda12311de53295b0ed3127acd
a5ff13f97a24021210cda7de04cdcb317e798f14
refs/heads/master
2021-01-10T09:11:10.520052
2015-05-24T17:05:32
2015-05-24T17:05:32
36,181,643
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
from django.contrib import admin from myapp.models import Actividad, Usuario, UsuarioActiv, UltimaActualiz, ComentActiv # Register your models here. admin.site.register(Actividad) admin.site.register(Usuario) admin.site.register(UsuarioActiv) admin.site.register(UltimaActualiz) admin.site.register(ComentActiv)
[ "jj.merchante@gmail.com" ]
jj.merchante@gmail.com
7b0a55694d1435894517e844d37b1f4ae01df83b
fa7afdc030327f92471b6f0d91519592a47b83ab
/systemAntiplagio/module.py
4568c08e89bc3c8c34896ca7a7adf2b6828674f3
[]
no_license
danisveloso/Projantiplagio
3ed080f7e177b8bdda389e59253741ecd2d06c81
3417208cc5766117c28009a06da4721e27500c68
refs/heads/main
2023-03-31T07:12:29.991753
2021-04-08T22:06:42
2021-04-08T22:06:42
356,038,892
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
from django_python3_ldap.utils import format_search_filters def custom_format_search_filters(ldap_fields): # Add in simple filters. ldap_fields["memberOf"] = "foo" # Call the base format callable. search_filters = format_search_filters(ldap_fields) # Advanced: apply custom LDAP filter logic. se...
[ "danisvcosta@gmail.com" ]
danisvcosta@gmail.com
f57b7ff47e9eb72ddf79910114d1fb2d321186e9
591ea44c1654168e9d23ccdc08fdea4c5aa842e6
/feedy/user/data/create_user_repo.py
0a0dd27d776fb358a28d5a04e2b1f7519cbc4e9c
[]
no_license
saber-solooki/sample-feed
c7e770c843d500bf7f96e2dc3a42d626161d7a37
e84eef33253f1e4e870f0e11075091e5bd42cf8b
refs/heads/master
2022-12-07T16:13:58.118894
2020-08-29T08:23:24
2020-08-29T08:23:24
289,496,507
1
0
null
null
null
null
UTF-8
Python
false
false
380
py
from django.contrib.auth.models import User from user.domain.create_user_repo import CreateUserRepo class CreateUserRepoDBImpl(CreateUserRepo): def is_user_name_exist(self, username): return User.objects.filter(username__exact=username).exists() def create_user(self, username, password): Use...
[ "saber.solooki@gmail.com" ]
saber.solooki@gmail.com
73ccc88785e3b447db6019e216b1ee9fca44786e
1b87d5f7cba7e068f7b2ea902bba494599d20a78
/tools/upload/googlecode_upload.py
7d179f3a0d96db814dd7cef9a9724e7b4579bd08
[ "BSD-3-Clause" ]
permissive
jpaalasm/pyglet
906d03fe53160885665beaed20314b5909903cc9
bf1d1f209ca3e702fd4b6611377257f0e2767282
refs/heads/master
2021-01-25T03:27:08.941964
2014-01-25T17:50:57
2014-01-25T17:50:57
16,236,090
2
2
null
null
null
null
UTF-8
Python
false
false
6,896
py
#!/usr/bin/env python # # Copyright 2006 Google Inc. All Rights Reserved. # Author: danderson@google.com (David Anderson) # # Script for uploading files to a Google Code project. # # This is intended to be both a useful script for people who want to # streamline project uploads and a reference implementation for # uplo...
[ "joonas.paalasmaa@gmail.com" ]
joonas.paalasmaa@gmail.com
074544257d384acdae5383bba63f55dfaaea890e
f387deb16abc3d04137b11ac54536419db8dd379
/scripts_simulation/signals_CS_filtering.py
a194c88f0af3f6f3a1998157139482546efdd995
[]
no_license
TankMermaid/dsfdr-analyses
c00c13e2c244edc9b631e9edf6be7053c61b6cb6
0e4254a98922da23e35678e3daf1ca9d71d8a84f
refs/heads/master
2020-04-01T09:32:37.518565
2017-10-18T22:52:36
2017-10-18T22:52:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,886
py
import numpy as np import pandas as pd import dsfdr from biom import load_table from gneiss.util import match from scipy.stats import sem import pickle # input biom table def convert_biom_to_pandas(table): otu_table = pd.DataFrame(np.array(table.matrix_data.todense()).T, index=table....
[ "serene1030@gmail.com" ]
serene1030@gmail.com
725c9e41fbe161ba6460b685d3543af0633d13e5
2c7305b9228b3ec79e11db264fa8bf2e437b3c18
/gag/migrations/0014_auto_20170418_2032.py
b7a17196a2bad9585ec03f9e070dc1fa65897e19
[]
no_license
vikrant67/gaggy
7f4265de3a0f7f782ccbec7c39de8f541f0eecfe
1c23ca52b35e3a796284de4f7762b9a663aa9e97
refs/heads/master
2021-01-20T04:21:43.474989
2018-02-14T10:13:12
2018-02-14T10:13:12
89,678,152
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-18 15:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gag', '0013_auto_20170418_2027'), ] operations = [ migrations.AlterField( ...
[ "vikrant.juit@gmail.com" ]
vikrant.juit@gmail.com
c4386633e969bdc40babc225c48ae49a7ef5cfcc
ae0e6d02edd97a6d6e88b6483d92abca3bf55f63
/delphi_analysis/LorentzTrials.py
4c71699cc8b7fa3f723ff1c20459fe684c2322f5
[]
no_license
thongonary/CMS_Deep_Learning
7a3ccb4ea341434ae083e6f5e0bf43e7df11d963
80e914f935d9cd6ca2f1237bc61fad5519b52906
refs/heads/master
2021-04-06T20:16:08.054349
2018-03-15T21:15:02
2018-03-15T21:15:02
125,426,799
2
0
null
2018-03-15T21:13:40
2018-03-15T21:13:34
Jupyter Notebook
UTF-8
Python
false
false
9,553
py
import sys if __package__ is None: import sys, os sys.path.append(os.path.realpath("/data/shared/Software/")) sys.path.append(os.path.realpath("../")) p = "/home/dweitekamp/mpi_learn/" if(not p in sys.path): sys.path.append(p) from CMS_Deep_Learning.utils.deepconfig import deepconfig deepconfig("cpu",...
[ "dannyweitekamp@gmail.com" ]
dannyweitekamp@gmail.com
cc855dc399a6fa2b5d8ad6612c046799d2ee857d
485b6aab73c97a3bf0fb2b8c783a55a03a1436af
/lab3/isPalindrome.py
29585347cde0ac906901dad3d07dd20ac6035df5
[]
no_license
reut17-meet/MEET-YL1
28d6024558053d25eef2a6ca49407e50e5574b56
91450fee12c32cfbae385bc8f79ea6f99034a637
refs/heads/master
2021-01-10T05:08:56.889510
2016-01-26T18:03:05
2016-01-26T18:03:05
46,806,752
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
def isPalindrome(str): if str[0] == str[-1]: print("TRUE") elif str[1] == str[-2]: print("TRUE") elif str[2] == str[-3]: print("TRUE")
[ "brit13@meet.mit.edu" ]
brit13@meet.mit.edu
f56dc8109379578d3dd6588d4344e91984d81213
5da8ce48282cae5edc386b3bfc58ca39f187e3d8
/serafim/nb.py
c00f5ec53cce506fc4d8d6a4cc9e703db8070a11
[]
no_license
below-1/nb-knn-belis
f9ce34be5d14f63552c7e3087dc7aec5236840ea
75a99c7a1ee682c48c5c6cb80418e3b88bbc0ae4
refs/heads/master
2022-12-12T18:47:25.166608
2019-05-28T06:42:17
2019-05-28T06:42:17
188,361,711
0
0
null
2022-12-08T05:10:32
2019-05-24T06:02:38
CSS
UTF-8
Python
false
false
7,933
py
from collections import namedtuple from serafim.model import DsetRow Classification = namedtuple('Classification', ['max_prob', 'clazz']) KnnResult = namedtuple('KnnResult', ['similarity', 'selected_ids']) class NaiveBayesV2: ''' Multinomial naive bayes for binary category implementation with ordered attrib...
[ "irnawatyully@gmail.com" ]
irnawatyully@gmail.com
98d44008e60806c5aadf01aac3861768c9bcf4d2
be1d9c48ec562b1418b4a0ac0aa6c320ca09eb97
/collect_eval.py
c0614ae54ad9df9490971bc3e54137b2ba116ced
[]
no_license
littlefish12/spatial-pytorch
c9c99dc7f69e4274499233c6f141d943ff4b7484
14ffe976a2387669f183a3fbe45fffd82b992c83
refs/heads/master
2022-02-19T12:56:30.336001
2019-09-16T13:54:37
2019-09-16T13:54:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
DATA = '/data/theory/robustopt/engstrom/store/spatial_eval' import itertools from cox.readers import CollectionReader from cox.store import Store r = CollectionReader(DATA) metadata_df = r.df('metadata') res_df = r.df('results') def get(orig, attack): orig_model = metadata_df['resume'].apply(lambda x:x[46:-19]) ...
[ "engstrom@mit.edu" ]
engstrom@mit.edu
57111e7c74861ad16035159097e6cf4ed1e7deae
57052243ada8b556c47d3eb03d705991a740fe26
/plugins/misc.py
894d3edb16ab7662dbc4096f1c3429688c3fa9a6
[ "MIT" ]
permissive
Fusxfaranto/Robcxjo
0868299b28eefcf044aed8f0393f39b3a9a150c7
943721c5126d232e16cf40f74e37180a9178b26b
refs/heads/master
2020-12-02T15:58:22.632670
2013-10-20T02:10:33
2013-10-20T02:10:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# -*- coding: utf-8 -*- # This is just a lot of inside-joke type of scripts, so I don't know how much use someone else will get out of it from time import sleep name = 'misc' enabled = False operator = False def inline(self, c, e, line, message_source, target): if line[0] == "@seen": sleep(1) self...
[ "fusxfaranto@gmail.com" ]
fusxfaranto@gmail.com
7bcb803514e2cca016a206f9f03f15936cec735d
66a9c25cf0c53e2c3029b423018b856103d709d4
/sleekxmpp/features/feature_starttls/starttls.py
eb5eee1d5f5b8798c4f721522214b325b276dc94
[ "MIT", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
fritzy/SleekXMPP
1b02d3e2b22efeb6bf3f8f487e6c0343b9b85baf
cc1d470397de768ffcc41d2ed5ac3118d19f09f5
refs/heads/develop
2020-05-22T04:14:58.568822
2020-02-18T22:54:57
2020-02-18T22:54:57
463,405
658
254
NOASSERTION
2023-06-27T20:05:54
2010-01-08T05:54:45
Python
UTF-8
Python
false
false
2,100
py
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2011 Nathanael C. Fritz This file is part of SleekXMPP. See the file LICENSE for copying permission. """ import logging from sleekxmpp.stanza import StreamFeatures from sleekxmpp.xmlstream import RestartStream, register_stanza_plugin from sleekxmpp...
[ "lancestout@gmail.com" ]
lancestout@gmail.com
62b325bfbc893aed2fc4ee6d1601f543322942af
a5766cfee2304df40500ee5e8d0cbc1fd41b1a22
/scripts/download.py
97f200e6c8e2c710f3c1007c061c497914a50105
[ "MIT" ]
permissive
ravitandon90/GreBot
c60d02a5181f6b9b3afdd7c857b16a5cab893642
4f1ffc29dcea0a87fd91b9bae66d4bb972bbd0fb
refs/heads/master
2022-08-14T05:19:36.289083
2019-03-17T01:46:23
2019-03-17T01:46:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
import requests import pandas as pd url = 'https://www.graduateshotline.com/gre-word-list.html#x5' html = requests.get(url).content df_list = pd.read_html(html) df = df_list[0] print len(df_list) print df df.to_csv('my data.csv')
[ "ravitandon@Ravis-MacBook-Air.local" ]
ravitandon@Ravis-MacBook-Air.local
038857cb63e1a53e8498e0e7db5a344f570b070f
b501a5eae1018c1c26caa96793c6ee17865ebb2d
/Networking/socket/socket_echo_client_dgram.py
9a94a43d153d9f68fb0d97cdb5884623b3572b54
[]
no_license
jincurry/standard_Library_Learn
12b02f9e86d31ca574bb6863aefc95d63cc558fc
6c7197f12747456e0f1f3efd09667682a2d1a567
refs/heads/master
2022-10-26T07:28:36.545847
2018-05-04T12:54:50
2018-05-04T12:54:50
125,447,397
0
1
null
2022-10-02T17:21:50
2018-03-16T01:32:50
Python
UTF-8
Python
false
false
439
py
import socket import sys sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) server_address = ('localhost', 10000) message = b'This is the message, it will be repeated' try: print('Sending {!r}'.format(message)) sent = sock.sendto(message, server_address) print('Waiting for receive') data, serve...
[ "jintao422516@gmail.com" ]
jintao422516@gmail.com
ec3e99c49cd07250adacf2d417ff14a17a27c5f3
eea704186322a0441124bae2eaefc185c75a69f1
/setup.py
581f4773531a0ab6f4988a45d2bc94e64bcfe9dd
[ "BSD-3-Clause" ]
permissive
ScottTaing/taolib
ff5c78c8e6ba0522f5d932975fdc8805c0564b4e
fbd4138d1be9a3ef032284a52662213833921efc
refs/heads/master
2021-01-17T23:27:14.511401
2011-05-06T05:04:55
2011-05-06T05:04:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,423
py
#!/usr/bin/env python import os import sys from distutils.core import setup, Extension def main(): if not float(sys.version[:3])>=2.4: sys.stderr.write("CRITICAL: Python version must be greater than or equal to 2.4! python 2.6.2 is recommended!\n") sys.exit(1) setup(name="taolib", ve...
[ "vladimir.liu@gmail.com" ]
vladimir.liu@gmail.com
d0f5d2b5e9d35d9888ce5cc86305103b33dc90c5
6ac617768484d97a16e4469228010d09c6922a79
/main.py
c22e66df18c0c80c2d41279fdaf2322860173307
[]
no_license
Ankmitta/Indian-Rail
f9d7d53b6ebcb9e620df156092e6af93bed24fdd
4ab207f4920d14bfaa142014f27815fe0838b443
refs/heads/master
2023-08-31T23:02:41.792869
2021-11-03T13:37:33
2021-11-03T13:37:33
424,238,016
0
0
null
null
null
null
UTF-8
Python
false
false
2,598
py
import os import pandas as pd from pydub import AudioSegment from gtts import gTTS def textToSpeech(text,filename): mytext=str(text) language='hi' myobj=gTTS(text=mytext, Lang=language, slow=True) myobj.save(filename) def mergeAudios(audios): combined=AudioSegment.empty() for aud...
[ "ankurmittal241997@gmail.com" ]
ankurmittal241997@gmail.com
f72480accb059522869217f8cf37e191dde1a7b4
201f07e3ddfd4f1b24c24fc794aa980a255fb2ab
/barriers/views/assessments/overview.py
e1bd181b2078e37846d386e93ed49544758a1f6b
[ "MIT" ]
permissive
uktrade/market-access-python-frontend
7dab68eed0b35205f4c78758ab88c815f65631c2
9510c31f7264c4092f76fce336d05b6709802b1c
refs/heads/master
2023-09-05T09:38:42.473232
2023-08-31T08:42:49
2023-08-31T08:42:49
225,406,107
7
3
MIT
2023-09-13T09:41:55
2019-12-02T15:20:46
Python
UTF-8
Python
false
false
586
py
from django.conf import settings from django.views.generic import TemplateView from ..mixins import BarrierMixin class AssessmentOverview(BarrierMixin, TemplateView): template_name = "barriers/assessments/overview.html" def get_context_data(self, **kwargs): context = super().get_context_data(**kwarg...
[ "noreply@github.com" ]
noreply@github.com
36f02aeca0f0bca0e802b0968c19d4971b98cce8
a417a753ccebaa53690a1343eea7882dd30648eb
/app/notice_board/migrations/0019_auto_20201018_0822.py
d4c092b697c573938a5467b9c1fbe38a9dd250d6
[]
no_license
zagrajmy/backend
30347ced43347a0ebee6bb1fc376d93106c2308d
e860ed1849094658aa9cc5cb8664ad088beb988c
refs/heads/master
2021-03-13T11:40:05.453442
2020-10-20T20:16:42
2020-10-20T20:16:42
224,264,277
0
2
null
2021-02-02T02:16:44
2019-11-26T18:54:52
Python
UTF-8
Python
false
false
879
py
# Generated by Django 3.1.2 on 2020-10-18 06:22 import django.db.models.expressions from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('notice_board', '0018_auto_20201006_2118'), ] operations = [ migrations.RemoveConstraint( mod...
[ "noreply@github.com" ]
noreply@github.com
afa1d18331335d4fcf1b9ad3a626df98083d9026
b5ac0c0643168a18df6e55975ae644252e5af4a8
/app/__init__.py
f8a83f935ba3ab2a03e647593c3e4086f79cffa1
[]
no_license
ekrajchevska/flask-products
18abd5d0e7b953e06007e217ab73b5afaa92b37d
9522db07071f233776ca42ecf54145937c3c9903
refs/heads/main
2023-09-03T12:11:02.036564
2021-10-28T11:06:56
2021-10-28T11:06:56
389,633,243
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_marshmallow import Marshmallow from flask_migrate import Migrate from werkzeug.routing import Rule from instance.config import client import logging # Globally accessible libraries db = SQLAlchemy() ma = Marshmallow() doc_db = client.flaskprod...
[ "eva.krajchevska@gmail.com" ]
eva.krajchevska@gmail.com
29ded85963427005447945c2553a28c700c64f2c
50ee2f4f1a7d2e5ff7ac35118c5ac45f9b923865
/0x04-python-more_data_structures/11-mutiply_list_map.py
e358dac1321fc511f9324487fbc1dcfae81e9a3d
[]
no_license
spencerhcheng/holbertonschool-higher_level_programming
b489fbe8eba6109ef1eaa0d9363f3477e7eb16c4
f8e1dbc24fcf8fb40ca135d2700872eb773e481e
refs/heads/master
2021-01-20T06:54:35.044899
2018-05-20T05:09:59
2018-05-20T05:09:59
89,943,332
0
1
null
null
null
null
UTF-8
Python
false
false
114
py
#!/usr/bin/python3 def mutiply_list_map(my_list=[], number=0): return(list(map(lambda x: x*number, my_list)))
[ "spencerhcheng@gmail.com" ]
spencerhcheng@gmail.com
94581915ea348d182f7651b622abd64d679a331a
2b3a58498b84524a3b0cf779dff3c130f459052b
/moj program4.py
ea1417a8b410a5cb76c0dee4f995e9c979b6b6ed
[]
no_license
ivanjankovic16/pajton-vjezbe
fbfe8a89b12d223113c83899ddabef73ce2688a7
f87830118f43795515e71a5c6cade4351e483935
refs/heads/master
2022-12-24T00:30:05.686238
2020-07-14T13:57:34
2020-07-14T13:57:34
264,484,534
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
# Ask the user to enter a name. print('Enter a name.') name = input() if name == '': print('You didnt enter a name.') try: name = int(name) print('Nije validno.') except: print('Thank you.')
[ "i.jankovic@rocketmail.com" ]
i.jankovic@rocketmail.com
e74904518f7b8676c858649521bfced59690bbca
961546f11888a2ebd44df9159367f3b5131c579b
/main.py
ed2913f85dd7c0cd73dd7c4732102f96d6ca7da5
[]
no_license
AlexKalegin/WebCrawler
d97aaaf209557675dfd7562870fc26426611ad63
04b8d5bb4a38a202e8a39803e71647c9a9d82ca9
refs/heads/master
2023-05-31T12:58:26.907400
2019-12-16T17:21:03
2019-12-16T17:21:03
180,406,789
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
import argparse from modules import crawler as c import logging def main(): """Метод для ввода пользователем домена, пути, куда сохранять страницы, и количество потоков""" descr = 'Программа, для сохранения страниц. Просто введите домен и путь, ' \ 'куда сохранять ' parser = argparse.ArgumentP...
[ "49450416+AlexKalegin@users.noreply.github.com" ]
49450416+AlexKalegin@users.noreply.github.com
41dbed6a198b8c3da58395694c1a0decef96ab91
dfacc537678799d69f2cbba5a7841991d67ef8c9
/PythonSelFtamework/TestData/excelDemo.py
6fbc8145b61c69e4b5626edd7215b7ede6405444
[]
no_license
liby07/GitDemo
9f4165f4cc665f21e11773e2c3ddc3dd28bf5cae
f56fef7ea989185b9197f76bc5112586b76626da
refs/heads/master
2022-09-11T17:20:23.251544
2020-05-27T08:39:31
2020-05-27T08:39:31
266,838,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,284
py
import openpyxl book = openpyxl.load_workbook("//home//liby//Documents//exceldemo.xlsx")#go to the excel sheet Dict = {} sheet = book.active#to get the control on the active sheet in excel cell = sheet.cell(row=1,column=3)#cell starts with row and column as 1 print(cell.value)#to print that cell value sheet.cell(row=1...
[ "libyelsa795@gmail.com" ]
libyelsa795@gmail.com
d64ec2d98ded72c25f4a3d44160e2d38fed76160
afde9df66f4cc44af2e4560d4432e71ba00dacef
/soundDemo/soundDemo/sound/impulseGenerator.py
c4b4032202fc09ed56e4173179e14626f8f72ae5
[]
no_license
orlevi/soundDemonstration
748d3bdf62979f434244aa386b3f84b97f143111
c857f43e729020cae989272972f0e60d04e3dcfb
refs/heads/master
2020-05-20T10:04:59.438897
2015-08-15T17:09:01
2015-08-15T17:09:01
35,433,424
1
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
__author__ = 'nfreiman' import pyaudio import numpy import time from scipy import signal CHUNK = 1024 FS = 44100 CHUNKS_TO_RECORD = 220 class ImpulseGenerator(object): def __init__(self): self.player = pyaudio.PyAudio() self.outStream = self.player.open(format=pyaudio.paFloat32, channels=2, rate=F...
[ "netanelf@gmail.com" ]
netanelf@gmail.com
fbf7079171d49bd65187fef1a9f95647991df359
adf146eb882c736045112e49d3779538c89b44bd
/travel/migrations/0016_merge_20200828_1312.py
e47a65e0664c47eab322564fad04bea3a55c343c
[]
no_license
Atanna128/steam
3ff544817e96d387123fdd29bc1cb38354442943
e56252b7bca7aff789bbde3d2c8f47ea00348be2
refs/heads/main
2023-04-05T01:31:23.588557
2021-04-02T04:43:01
2021-04-02T04:43:01
353,903,881
1
0
null
null
null
null
UTF-8
Python
false
false
272
py
# Generated by Django 3.0.3 on 2020-08-28 06:12 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('travel', '0015_auto_20200827_1532'), ('travel', '0012_merge_20200827_0825'), ] operations = [ ]
[ "buingoctu1998@gmail.com" ]
buingoctu1998@gmail.com
2f8c48b7ba5f2ca80b7183f8ee6a95a57d46f86e
f3ce995652b9fd135fd1ea9e4085fb2485765738
/Icons.py
9dc389272621ceef1bc644598a5d2d0ca540bf65
[]
no_license
marcoh1012/DesktopCleaner-V2
34fbd154b51accd64d57d79ed341414dac3fb414
1bda48aa07e4710966e088306be0c44876933e18
refs/heads/master
2020-12-10T23:05:09.671506
2020-01-14T02:15:46
2020-01-14T02:15:46
233,737,065
0
0
null
null
null
null
UTF-8
Python
false
false
287,989
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.11.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x06\x76\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ \x00\x00\xfa\x...
[ "33380761+marcoh1012@users.noreply.github.com" ]
33380761+marcoh1012@users.noreply.github.com
f27cf061a35c0d3ad1ffbc522afd84a22c8a66b7
f033eb0842aa3c4ec9fbc4887e72d06db148744a
/Craigslist/craigslist.py
2520ae1504170e895d60543ee29cac6ade238b66
[]
no_license
abdulhafiz005/Web-Scraping-Projects
dceb263137052d7ee4eee813943586e9d98b0a66
acc94f18a38c948fd7b46dd9a0546a606fdee97a
refs/heads/main
2023-04-12T08:20:06.292513
2021-04-24T11:40:58
2021-04-24T11:40:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
from selenium import webdriver import csv try: gig_or_job = str(input("Enter Type (job or gig) : ")).lower() keyword = str(input("Enter Keyword : ")).lower() if gig_or_job == "job": gigjob = gig_or_job gig_or_job = "jjj" elif gig_or_job == "gig": gig_or_job = "ggg"...
[ "noreply@github.com" ]
noreply@github.com
0e459c66182b7b2e2a327b16d5cbddaed7961172
65686eb6c9acfa900da88f65bf5e3b6410f53635
/grades.py
d77cf3934fbf9177bf69fc3f50a30ff853605337
[]
no_license
DaveRox/Python_Programs
4df0231836a46c5773de10d62eb86f7fcf5d303e
bf0ddfc4e47c733c36cb3238feb220aa3594d104
refs/heads/master
2020-12-25T11:15:57.637435
2016-08-01T11:44:30
2016-08-01T11:44:30
64,507,417
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
try: score = raw_input("Enter Score: ") s = float(score) except: print "Please enter a numeric score between 0.0 and 1.0." quit() if s < 0.0: print "Please enter a numeric score between 0.0 and 1.0" quit() if s > 1.0: print "Please enter a numeric score between 0.0 and 1.0" quit() if s >= 0.9: print "A" ...
[ "dguilford@gmail.com" ]
dguilford@gmail.com
faecb04d8ac141614835504fc60bf144ebedc147
7711d649865cbb05d86b5985e6a1ee99a38df3b3
/thirdparty-cpp/boost_1_62_0/tools/build/src/util/set.py
9f3b1524407898c8e5e7bddd02796597960bcad7
[ "Apache-2.0", "BSL-1.0" ]
permissive
nxplatform/nx-mobile
0ae4ba8b5b20cf06a9396d685a35b4651c0eab02
0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5
refs/heads/master
2021-01-17T07:35:33.860681
2017-04-25T10:12:30
2017-04-25T10:12:30
83,760,335
1
0
null
null
null
null
UTF-8
Python
false
false
1,486
py
# (C) Copyright David Abrahams 2001. Permission to copy, use, modify, sell and # distribute this software is granted provided this copyright notice appears in # all copies. This software is provided "as is" without express or implied # warranty, and with no claim as to its suitability for any purpose. from b2...
[ "narongrit@3dsinteractive.com" ]
narongrit@3dsinteractive.com
71522388895aa9b96e91d33115a18a44030a8f11
dc182e5b4597bdd104d6695c03744a12ebfe2533
/Hackerrank Solutions/array.py
548b0132cc10c538e8612616e21c82103c603c13
[]
no_license
srinaveendesu/Programs
06fb4a4b452445e4260f9691fe632c732078d54d
f6dbd8db444678b7ae7658126b59b381b3ab0bab
refs/heads/master
2023-01-27T14:42:40.989127
2023-01-18T22:36:14
2023-01-18T22:36:14
129,948,488
1
0
null
2022-09-13T23:06:04
2018-04-17T18:30:13
Python
UTF-8
Python
false
false
4,002
py
#QQ# #https://www.hackerrank.com/challenges/array-left-rotation/problem #!/bin/python3 import math import os import random import re import sys if __name__ == '__main__': nd = input().split() n = int(nd[0]) d = int(nd[1]) a = list(map(int, input().rstrip().split())) l = (a[::][d:]+ a[:d]) ...
[ "srinaveen.desu@gmail.com" ]
srinaveen.desu@gmail.com