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
6b8fd04745c1d69c819cc2f7e2ca46f5d6b25e51
de23310ac55a7e72e853ca43ebdbce28358a4bb9
/models/residual_viz.py
35bfe4f16c0edf9e74ad6977b2482c5ad2f72ede
[]
no_license
mehdidc/zoo
ea5f97b1402e9501db53cd418271614afe378dc0
194efb0098679c065de51b0f4d4864cb415b17f7
refs/heads/master
2020-04-28T02:28:37.576822
2016-10-31T06:06:21
2016-10-31T06:06:21
174,899,768
0
0
null
null
null
null
UTF-8
Python
false
false
13,157
py
#!/usr/bin/env python """ Lasagne implementation of CIFAR-10 examples from "Deep Residual Learning for Image Recognition" (http://arxiv.org/abs/1512.03385) With n=5, i.e. 32-layer network from the paper, this achieves a validation error of 6.88% (vs 7.51% in the paper). The accuracy has not yet been tested for the ot...
[ "mehdi@cherti.name" ]
mehdi@cherti.name
2e2462e1cee4dda266056451ce2d7caaf0cbdad7
d77decc90e901a1ba7b1c20bb3058deb1f3fabe1
/coba.py
0b92d661fd2fff83d96e6c7cca49146900318a45
[]
no_license
widhera/PerpusOnAir
30689d2ffc1078fff6936fc6d4df41a03dcc5372
10d59d171e484c220cbfaf141e106651b200c7b1
refs/heads/master
2020-04-10T09:33:32.961446
2018-12-19T10:04:27
2018-12-19T10:04:27
160,940,554
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
import pymysql db = pymysql.connect("localhost", "root", "yoza", "perpusonair") cursor = db.cursor() query = "SELECT * from buku " cursor.execute(query) result = cursor.fetchall() print result
[ "widheramahana@gmail.com" ]
widheramahana@gmail.com
03600cc8214045434b642323a45c09a881382679
077c91b9d5cb1a6a724da47067483c622ce64be6
/syn_mem_corruption_3switch_fuzzer_mcs/intermcs_5_/replay_config.py
7aef30971cd0c4b996594cb00d2313e431ebf28b
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import Replayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd='./pox....
[ "b-github.com@wundsam.net" ]
b-github.com@wundsam.net
c71e156f811307de345da807ee15cfe276b92a55
f23c1741a63acd9d431077c4b2068e4072a72d51
/permutation.py
a92b11d13ab718087d9f9ce651ba2472f6a711a6
[]
no_license
Martin9527/LeetCodeTest
b188c997ab01a38201bd5ba792cdc104ca79d1d4
5f860c8fd2d7d7ff94eca6065d643cc4ea204abf
refs/heads/master
2020-05-23T11:21:54.543063
2019-12-08T10:37:42
2019-12-08T10:37:42
186,735,271
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
class Solution(object): def permute(self,nums): size = len(nums) if not size : return [] result = [] curAns = [] usedNums = set() self.backTrack(nums,size,curAns,usedNums,result) return result def backTrack(self,nums,size,curAns,usedNums,result): if size == len(curAns): import copy ans = cop...
[ "=" ]
=
94e70bf6deabed67dd9378651c4c5af909762b47
0d8486c1d55c40bebea7c5428930f18165d2d0e9
/tests/asp/AllAnswerSets/tight/7-queens.asp.test.py
58599c3c79d3455d9b87dcc51342b0dc08b3fe6f
[ "Apache-2.0" ]
permissive
bernardocuteri/wasp
6f81bf6aa8fb273c91bbf68ecce4ecb195a55953
05c8f961776dbdbf7afbf905ee00fc262eba51ad
refs/heads/master
2021-06-08T11:58:25.080818
2020-10-05T16:57:37
2020-10-05T16:57:37
124,245,808
0
0
Apache-2.0
2018-03-07T14:13:16
2018-03-07T14:13:16
null
UTF-8
Python
false
false
11,082
py
input = """ 1 2 0 0 1 3 0 0 1 4 0 0 1 5 0 0 1 6 0 0 1 7 0 0 1 8 0 0 1 9 0 0 1 10 7 6 11 12 13 14 15 16 17 1 11 7 6 10 12 13 14 15 16 17 1 12 7 6 10 11 13 14 15 16 17 1 13 7 6 10 11 12 14 15 16 17 1 14 7 6 10 11 12 13 15 16 17 1 15 7 6 10 11 12 13 14 16 17 1 16 7 6 10 11 12 13 14 15 17 1 17 0 0 1 18 7 6 19 20 21 22 23 2...
[ "carminedodaro@gmail.com" ]
carminedodaro@gmail.com
a7733a3cb52937e8a091ff034739072679920e13
7cb839566d9bc2a4cdc1da7af1044ab006642afa
/emojiconverter/facetoemoji/views.py
f09b689fca4b6d233f7ae9d1eb2ec82b8aeaa5b2
[]
no_license
FalakChhikara/FaceEmoji
84a4195791099fc0b9ca6e8ba4c38f224dfc4ed6
ed14a2d03663eb10f594ede762d0b37a6cf3174b
refs/heads/master
2022-06-07T19:24:47.221178
2020-05-07T03:24:11
2020-05-07T03:24:11
261,701,635
0
1
null
null
null
null
UTF-8
Python
false
false
3,878
py
import cv2 from django.shortcuts import render, redirect import numpy as np import pathlib from tensorflow import keras from tensorflow.keras import backend as K from tensorflow.keras.callbacks import ModelCheckpoint, EarlyStopping, ReduceLROnPlateau filepath='Model.{epoch:02d}-{val_acc:.4f}.hdf5' checkpointer = Model...
[ "falakchhikara2001@gmail.com" ]
falakchhikara2001@gmail.com
086b967156eedb27a1230bbede5ad1ea56377365
4e01bb5dfd42e1a80ac63ec55e98c0ae11ceeaac
/exercises/implementation/append_and_delete.py
f9cf77884b59e05fefd23a2e891e56a215a43d1d
[]
no_license
98sean98/hackerrank
990c0e074180837586bbfce839712b784704ad31
0d633a2a2ff1ddbbab67d99ad7650020c214fb0b
refs/heads/master
2022-04-16T22:34:24.724014
2020-04-12T21:25:47
2020-04-12T21:25:47
255,172,800
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
#!/bin/python import sys s = "abaaaa" t = "abaaaaaaa" k = 5 # s = raw_input().strip() # t = raw_input().strip() # k = int(raw_input().strip()) count = 0 # remove the first letter def remove_first_letter(oldstr): if oldstr != "": return oldstr[1:] else: return oldstr # return first letter def...
[ "seanchok@gmail.com" ]
seanchok@gmail.com
1abd82cd32e985e35728a631c81c33ef0fe62b70
481ce69bd3611715fef0be99c655c95d67f16d5f
/riopy/tests/test_symops.py
a44f6bd76716d46e50bf17f299cbedb403e45b81
[ "BSD-3-Clause" ]
permissive
fsimkovic/riopy
0ffed18c72573e824affa97d5c17ca462c5f2031
5dc4083d1c0919d94ceeac802d3fb40748b947f3
refs/heads/master
2021-03-24T10:14:25.904758
2018-08-30T13:16:02
2018-08-30T13:16:02
117,836,272
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
import unittest from riopy.symops import SymmetryOperator class SymmetryOperatorTest(unittest.TestCase): def test___init___1(self): symops = SymmetryOperator.ops("P1") self.assertTrue(len(symops) == 1) self.assertTupleEqual((0.0, 0.0, 0.0), symops[0].t().as_double()) self.assertT...
[ "felixsimkovic@me.com" ]
felixsimkovic@me.com
83a1bb3a2cdd1a52239b03c71eef467737b35324
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4096.py
8f4fbd00afb059796231d50db43e5910e4bdb267
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,757
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
944dd514a48ddc17daad3a0c927a6afa0d754240
f99a71291f8b2acdeedf7bf8bc7e37ad3a4c79e1
/backend/main/app/modules/mail.py
599e6746e5afbdf05946c4035c8314cfef2d3de1
[]
no_license
benson40111/SmartBike_Parking_Project
8190ced843958be7dba639f58689d6194d19d420
d94eab83d1d495ec5abffad651e7c338671b12e2
refs/heads/master
2021-09-24T09:17:53.763744
2018-10-06T14:12:18
2018-10-06T14:12:18
116,125,717
0
1
null
2018-10-06T14:12:06
2018-01-03T10:46:33
HTML
UTF-8
Python
false
false
941
py
import smtplib from app.conf.config import gmail_user, gmail_password from email.mime.text import MIMEText from email.header import Header from app import logger class mail: def __init__(self): self.server = smtplib.SMTP_SSL('smtp.gmail.com', 465) self.server.ehlo() self.server.login(gmail_...
[ "madness48596@gmail.com" ]
madness48596@gmail.com
96aac0b4b4bb06d1a1361336110a66ef306f8784
cbda89443b351bb2047180dad4e300c13dc3df7f
/Crystals/Morpurgo_sp_outer/Jobs/TIPS_Pc/TIPS_Pc_cation_neut_inner0_outer2/TIPS_Pc_cation_neut_inner0_outer2.py
a0c28b5d437cb4a23e82114742f6ee0128900f05
[]
no_license
sheridanfew/pythonpolarisation
080f52979f98d26360a46412a10c8e3f51ee4549
178e2684e9a239a8e60af5f7b1eb414ac5f31e92
refs/heads/master
2021-07-10T01:07:40.978790
2021-03-11T16:56:37
2021-03-11T16:56:37
96,101,351
0
0
null
2017-07-03T13:37:06
2017-07-03T10:54:52
null
UTF-8
Python
false
false
6,693
py
import sys sys.path.append('../../../../../') from BasicElements import * from BasicElements.Register import GetRegister from BasicElements.MoleculeFactory import ReadMoleculeType from BasicElements.MoleculeFactory import GetMolecule from BasicElements.Crystal import * from Polarizability.GetDipoles import get_dipoles,...
[ "sheridan.few@gmail.com" ]
sheridan.few@gmail.com
4500182d81ed9e0c2cdaa86f3343436b856ccd07
325b1cef3e82013abbf9c8270c5ec7b44b9adc2f
/lab7/informatics/d/for/I.py
17a518b58ea2b225e83fdac36cc7caef04cd1057
[]
no_license
shagyrovmaksat/WDSpring2021
adb4456d6ee456aab479c048f209f87031bd9842
7884ac7aac2603d5d1814bacc9e7293c48f2180f
refs/heads/main
2023-04-02T06:32:36.712900
2021-04-13T07:51:22
2021-04-13T07:51:22
334,648,143
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
import math n = int(input()) cnt = 0 for i in range(1, math.floor(math.sqrt(n)) + 1): if n % i == 0: if(n // i == i): cnt += 1 else: cnt += 2 print(cnt)
[ "noreply@github.com" ]
noreply@github.com
59e1363d026e1cf5c641f40106aba606a342065e
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_337/ch169_2020_06_21_16_48_03_433219.py
d50363959fd13d06ed505512e563e82d36dc80ab
[]
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
390
py
login = input('Login?') lista = [] while login != 'fim': if not login in lista: lista.append(login) else: i = 1 k = True while k: login2 = login+str(i) if not login2 in lista: lista.append(login2) k = False i+=1 ...
[ "you@example.com" ]
you@example.com
48ef9a81a9fa311571610eb4ba62f12c78f8c6f7
8fdffd0ef99fa16201c4e75d16e15ccf0c6698e3
/assign3_01.py
532e8623ab2afa47a29c0d6292bf11bb073286e5
[]
no_license
dirtyfish/AI-2014
616d18f01a8efe39e0c0c6d022f0ffbdcf0e1a54
7ed6fd8519139b22c91eeee768b8703ac2eea3cc
refs/heads/master
2021-01-02T08:22:00.514362
2014-04-20T17:35:06
2014-04-20T17:35:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,664
py
#!/usr/bin/env python """This examples demonstrates a simplish water effect of an image. It attempts to create a hardware display surface that can use pageflipping for faster updates. Note that the colormap from the loaded GIF image is copied to the colormap for the display surface. This is based on the demo named F2...
[ "espenvh@gmail.com" ]
espenvh@gmail.com
1825529811ad6388a02fe1b5071b9d69c47ea4b5
9259d9ede798102042f88177e94be765bb487929
/tut/settings.py
bff22769574e4c9c236a30548dddd0f5dff3cc51
[]
no_license
malcolms7/tut
417335a8bb24606e9a8420fe1fd433f250c46444
fecadae8f88786ddf237150473ba5890c1ad88ab
refs/heads/master
2016-08-06T15:37:01.398099
2015-06-26T11:06:33
2015-06-26T11:06:33
38,108,341
0
0
null
null
null
null
UTF-8
Python
false
false
2,764
py
""" Django settings for tut project. Generated by 'django-admin startproject' using Django 1.8.2. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ # Build paths in...
[ "malcolm@swordfish.co.za" ]
malcolm@swordfish.co.za
4b4b0881f30e1b3c546fe8a0e886bdc18dba6a0d
88ec9caf2c504f83bf192ca7fac6b712b6e1c2f7
/New_Year_Candles.py
2886ad4b9cfd32b66fe3f94eb42e610b6e0cb622
[]
no_license
nitinverma99/Codeforces---1000
69ceb3fb0ee155e1e1574d884a49412bb0854d86
f7f388cd2319e9425d63065717c0e612d46799dc
refs/heads/master
2023-05-11T22:28:17.987429
2021-06-04T19:07:00
2021-06-04T19:07:00
373,936,780
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
a,b = list(map(int, input().split())) # print(a + (a-1)//(b-1)) total = a left = 0 while(a>=b): total += a//b a = a//b + a%b print(total)
[ "nitinv0504@gmail.com" ]
nitinv0504@gmail.com
1a462c2c8ad88fb921bfca9717f9c097a1acc83c
3fe53dceb5e2b66e4b4f16b8b2826bb622c814f4
/api/settings.py
1ef374bf50a898d5d14703cbf2becf1945877365
[]
no_license
terror12/arrecs_backend
e4d2a7df484d5d7d5cec82fe95d1aaf4363a0db1
e465627a2e72afb9337fb98e2750dcef232372de
refs/heads/master
2022-12-07T02:45:17.660044
2020-09-05T11:28:27
2020-09-05T11:28:27
287,525,131
0
0
null
null
null
null
UTF-8
Python
false
false
3,650
py
""" Django settings for api project. Generated by 'django-admin startproject' using Django 2.1.5. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import os import...
[ "ascerra@redhat.com" ]
ascerra@redhat.com
c7eff140736aa3fb99e332946ccc1d762259cc03
4d9bdc1444ab73858a123b8273b72e1d74a9233d
/funNLearn/src/main/java/dsAlgo/hashmap/common_user_browsing_history.py
178e2090b3ecca365c535fa19ff5e9caec2706a8
[]
no_license
vishalpmittal/practice-fun
f7ca1389d758f93ddf2ddc3a58f2592b7caabab4
727dec2e23e765925a5e7e003fc99aeaf25111e9
refs/heads/master
2022-07-11T18:31:49.574410
2022-02-26T23:05:12
2022-02-26T23:05:12
51,132,794
0
1
null
2022-06-29T19:34:05
2016-02-05T07:34:32
JavaScript
UTF-8
Python
false
false
3,593
py
""" Tag: list, hashmap We have some clickstream data that we gathered on our client's website. Using cookies, we collected snippets of users' anonymized URL histories while they browsed the site. The histories are in chronological order, and no URL was visited more than once per person. Write a ...
[ "vmittal@barracuda.com" ]
vmittal@barracuda.com
e613b4269825bc5de44e5ac692827adf17b711a4
a5f6d1d089456196c8282bcdb31db44be3ebaeed
/testSet/testSubmitFeedback.py
1fe219b5e496bb6766bab860dfff882b79f3d553
[]
no_license
ChristianXu/BTCCQA_Mobi
9fa9727d61715668bed6d4e64ddb87371acc98e1
bc9fb3ce31478c801c8896b6b2c2580e9b2c1b89
refs/heads/master
2020-09-27T16:08:18.957108
2017-03-07T02:54:48
2017-03-07T02:54:48
66,329,331
0
0
null
2017-03-07T02:54:49
2016-08-23T03:19:30
Python
UTF-8
Python
false
false
1,431
py
__author__ = 'sara' import unittest import logging from comm import get_element from comm import ReadConfig from comm import bsnsCommon from time import sleep from comm import common from comm import Log logger = logging.getLogger() get_element = get_element class TestSubmitFeedback(unittest.TestCase): def se...
[ "1638306719@qq.com" ]
1638306719@qq.com
c5834f02447506a5bf1c385dce52dce8b33f03af
9d27a601c5418b20aaa93ee0e792d4c585843427
/src/classify_emotion.py
11e901e89bae8d60db8b0b3c150c40638f74fd38
[ "MIT" ]
permissive
NathanHouwaart/EmotionRecognition
cbd6676a42872600052da0e9c60fb5b3a480eb2d
4eb4478286a1dc925f8b4983923e31c421700338
refs/heads/master
2022-04-20T18:19:37.918100
2020-04-19T18:39:23
2020-04-19T18:39:23
257,060,759
0
0
null
null
null
null
UTF-8
Python
false
false
5,026
py
import os import cv2 import time import numpy as np import onnxruntime import sys import matplotlib.pyplot as plt class FERModel: def __init__(self, model_path): self.dimensions = (64, 64) self.model_path = model_path self.session = onnxruntime.InferenceSession(self.model_path, None) ...
[ "nathan.houwaart@student.hu.nl" ]
nathan.houwaart@student.hu.nl
fc260cf8fb0b600ddeb4d654025ef404f5827a97
6711cd9a995cefbcde18a83017a07c588d0294f5
/accounts/urls.py
18fadabd1e6f86d2918522574933576b7beb5c43
[]
no_license
RohithSangati/AuthenticationApp
f68b3b0391c0c4f4f2f511d92674f1c923ca766f
fa09d15a5bd220027d152968d32a7150e29d924c
refs/heads/master
2023-06-27T08:37:36.631520
2021-07-28T10:01:09
2021-07-28T10:01:09
389,277,731
0
0
null
null
null
null
UTF-8
Python
false
false
247
py
from django.urls import path from . import views urlpatterns = [ path('',views.home,name='home'), path('register',views.register,name='register'), path('login',views.login,name='login'), path('logout',views.logout,name='logout') ]
[ "sangatirohith@gmail.com" ]
sangatirohith@gmail.com
7e74abaeb0078b3ee92242a7cc866c13d76bc37f
81982a278946fab96d74e3f711c937647faec036
/Trabalhos/a1.py
32584fb6bf8a53c7a44f632933f6fc2cdb41d8aa
[]
no_license
juanengml/Prog1UTFPR
3f1b71888a0883a4e12922a0c09cce622ca27458
aca289ffece71b4ca4339fa8779a1d2a9076aecc
refs/heads/master
2021-06-23T09:58:37.167188
2019-06-14T01:21:51
2019-06-14T01:21:51
145,451,344
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
#Escreva um programa que leia duas matrizes 3x3 e apresente na tela o resultado da multiplicacao destas matrizes. import numpy as np a = np.matrix('1 2 3 ; 4 5 6; 7 8 9') b = np.matrix('1 2 3 ; 4 5 6; 7 8 9') print np.dot(a,b)
[ "juanengml@gmail.com" ]
juanengml@gmail.com
d8e69b8e34aeccacee227ed7afc368d4d8ea68a0
7492136ed1c7ea853988d3a8487970a59eacc7b5
/code/geopaparazzi/projects/migrations/0003_auto_20200115_1258.py
2cdca5a526734e46dff293eb15e3dd9a29ad8d25
[]
no_license
romanDj/server-geopaparazzi
85e5184406ee0563e3be93dd8d4b824c9fc31895
ce73cb18ef1d03525281847b8121f89cae13a8b7
refs/heads/master
2022-03-29T15:19:36.877833
2020-01-15T19:16:14
2020-01-15T19:16:14
229,759,623
0
0
null
null
null
null
UTF-8
Python
false
false
1,422
py
# Generated by Django 2.2.9 on 2020-01-15 12:58 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('projects', '0002_subdivision_participants'), ] operations = [ ...
[ "true-rock99@ya.ru" ]
true-rock99@ya.ru
285b5d35eb6f94c89715ad4fe68307437cf9ffc0
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/303/usersdata/302/92006/submittedfiles/testes.py
8d4dc26344d08e3707ea45e11e79240ce3625d53
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
3,405
py
lista1 = [1, 3, 4,] lista1[len(lista1)-1] print(len(lista1)) '''a = [8.0 , 5.0 , 10.0 , 5.0] print(a) print(len(a)) a.append(0.0) print(len(a)) for i in range(len(a)-1, 0 , -1): if i ==1: a[1] = 2.0 else: a[i] = a[i-1] print(a) print(len(a)) ''' ''' a = [] for i in range(1,5,1): a.append(f...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
292d5ee0888ecac142f7b24a25d3c8b3cd5a498e
f18593e4501ba4c4d7c0f1453250905449aa5cdb
/test.py
ad4613a25e7a1d57061da5f9f24ad4933b917131
[]
no_license
scottsfarley1993/python-neotoma
9ebf770403cfaf4dad9c6f3af9099a6156f11eef
8ef27dd9635056a63747080385a7b0532db49613
refs/heads/master
2021-01-21T16:53:57.912348
2016-02-23T00:57:55
2016-02-23T00:57:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
import urllib2 from multiprocessing.dummy import Pool as ThreadPool def dbInit(host, user, pw, database):
[ "scott@firesphere.org" ]
scott@firesphere.org
977ff947eef1978e0f1e2b0d8ecbe588b9c14a93
d2798cd94a17d8c6d86ca336c9348fb0a34294b5
/src/3/ngitung.py
b0bc75425a30463c60fc8ee861f74b7f91fc7a16
[ "MIT" ]
permissive
dimasmaulana24/pemrograman2
9fd410d2c754483d42bb1189aa74d1fd28932fec
8eabbd7172e66091511ae9b41dcfd2bcaca9805d
refs/heads/master
2020-08-18T23:08:56.273475
2019-10-17T17:17:00
2019-10-17T17:17:00
215,845,712
0
0
MIT
2019-10-17T17:11:46
2019-10-17T17:11:46
null
UTF-8
Python
false
false
425
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 11 06:24:23 2019 @author: awangga """ class Ngitung: def __init__(self, a, b): self.a = a self.b = b def Penambahan(self): r = self.a + self.b return r def Pengurangan(self): r = self.a - self.b return r def Perkalia...
[ "rolly@awang.ga" ]
rolly@awang.ga
e5af3a05af1c55f4de514b9b82f99141101c9200
8aa0d1d407bb1c66d01261f7e2c4e9832e856a2d
/experiments/experiments_gdsc/hyperparameter/plots/plot_nmtf_gibbs_hyperparameter.py
dd3218e5fb59f547aca48d1125e82075eea0af28
[]
no_license
garedaba/BNMTF_ARD
59e3ec1dbfd2a9ab9f4ec61368ec06e3783c3ee4
0a89e4b4971ff66c25010bd53ee2622aeaf69ae9
refs/heads/master
2022-01-16T06:57:12.581285
2018-06-10T10:22:12
2018-06-10T10:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,261
py
""" Plot the performances of NMTF Gibbs for different hyperparameter values, for three different sparsity levels. """ import matplotlib.pyplot as plt import numpy ''' Plot settings. ''' MSE_min, MSE_max = 600, 1400 values_lambda = [0.0001, 0.001, 0.01, 0.1, 1., 10., 100.] fractions_unknown = [0.2, 0.5, 0.8] folde...
[ "tab43@cam.ac.uk" ]
tab43@cam.ac.uk
6d89a4cdf4198eb91c73355a6b6c82e8c64fd3d0
f0f8760fc044215b46d9f58357df2d85baba5bd4
/qa/users/apps.py
1db58ba3fa6d3c571d5fb327386b005409113f6d
[ "Apache-2.0" ]
permissive
xhh1105/django
e5f5691a343b96ca8551ce32c1e13650957bbdb4
aad4b0c38ad5069aee1acf7fa173e9f1ec26d34f
refs/heads/master
2022-11-23T18:19:17.302857
2019-07-18T11:52:07
2019-07-18T11:52:07
197,558,576
0
0
Apache-2.0
2022-11-22T04:08:55
2019-07-18T09:43:09
Python
UTF-8
Python
false
false
302
py
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class UsersConfig(AppConfig): name = "qa.users" verbose_name = _("Users") def ready(self): try: import qa.users.signals # noqa F401 except ImportError: pass
[ "xhh1105@gmail.com" ]
xhh1105@gmail.com
f76699d346192bb4d093ede35ffb7ae1693a1b0d
a266a3c9adf8be327593a6e3e8e49b6f68f32caf
/ArticleSpider/spiders/lagou_hr.py
3a63d40cf073be95754fae00f4a5601f0dc1fee1
[]
no_license
duyanyong2017/ArticleSpider
28309017ee823b2cb6afacda4f174ce7631f9c27
25859f08852de350b091aa02b8ed04cf30268bac
refs/heads/master
2022-08-03T14:18:35.515197
2020-05-28T14:40:56
2020-05-28T14:40:56
265,598,046
0
0
null
null
null
null
UTF-8
Python
false
false
2,047
py
# -*- coding: utf-8 -*- import os import pickle import time from datetime import datetime import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule import selenium from settings import BASE_DIR from items import LagouJobItemLoader, LagouJobItem from utils.common import...
[ "18896738910@163.com" ]
18896738910@163.com
540a90e5ada5365bcdd02cc93f075cf3bbcc7940
aba9b00edec394f1389a7ecf88a290112303414d
/semestr_8/analiza_obrazu/projekt/image_anal.py
27ef23203928b6d0aa4647a3b8b98e00f6ab0559
[]
no_license
torgiren/szkola
2aca12807f0030f8e2ae2dfcb808bf7cae5e2e27
5ed18bed273ab25b8e52a488e28af239b8beb89c
refs/heads/master
2020-12-25T18:18:36.317496
2014-04-27T23:43:21
2014-04-27T23:43:21
3,892,030
1
1
null
null
null
null
UTF-8
Python
false
false
33,859
py
#*-* coding: utf8 *-* """Moduł zawierający klasy używane do przetwarzania obrazu""" import numpy as np from scipy import misc import itertools from pprint import pprint from glob import glob import os class NoImageError(Exception): """Wyjątek sygnalizujący próbę operowania na niewczytanym obrazie""" pass cla...
[ "torgiren@gmail.com" ]
torgiren@gmail.com
317532f1b4fd432f8a028467d86425206e67c3a8
c8fed2de2e73811c57cca397abd2e3323df33bba
/FeatureExtractor/correlation_identifier.py
c2ea4cec85d5cad26183ec9b56e3355ac658a1f1
[]
no_license
jsonbao/MolecularFeatureEngineering
267b29e85e82f6d2916157b858f8ecd7658ce09b
8498cc487eca66a976aaf18f8f63918c29640684
refs/heads/master
2021-01-15T09:03:07.750254
2016-04-13T21:08:56
2016-04-13T21:08:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,309
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import numpy as np import config import molecule_feature_matrix import csv import os # from sklearn import linear_model __author__="Aakash Ravi" # def identify_uniform_features( feature_matrix, num_features ): # "This function takes in a matrix of size (n x m), where...
[ "aakash_ravi@hotmail.com" ]
aakash_ravi@hotmail.com
f72cc027f3c302262eb787439af41f96e2076840
8567618001fad9f083d2fa76a2f219fff6bb8c9b
/bigfile.py
fb0a84404d520f5ca4fa7afdc49590e1a6b5248a
[]
no_license
li-xirong/w2vvpp
4490537a78f9e948ca4783e20fa133accccd9faf
51d96e654ffbb7ce6cb2ec03e91d1ab5301f92c7
refs/heads/master
2022-07-15T01:02:18.436532
2020-01-01T04:16:40
2020-01-01T04:16:40
200,593,330
28
16
null
2022-06-21T22:59:55
2019-08-05T06:14:03
Python
UTF-8
Python
false
false
5,142
py
import os, sys, array import numpy as np class BigFile: def __init__(self, datadir, bin_file="feature.bin"): self.nr_of_images, self.ndims = map(int, open(os.path.join(datadir,'shape.txt')).readline().split()) id_file = os.path.join(datadir, "id.txt") self.names = open(id_file).read().stri...
[ "xirong_li@126.com" ]
xirong_li@126.com
ccc220f2b8000f31ef1d3cf1ab310fba566c2af0
b4691d2ef3249ad976ad476b68c5822058ba4cb3
/LSTM_dynamic_padding.py
eebce7dfa28ad053b7a7e8279e8ecc18a65500b6
[]
no_license
lucapierdicca/Train_Eval_ActivityRecoLSTM
202bc401e8df5132195a62bb675fb9ad1f731d14
faf722b9517f1b8fb950798f79ada305cce2bb75
refs/heads/master
2020-03-23T01:44:09.933072
2018-09-28T10:03:32
2018-09-28T10:03:32
140,934,241
0
2
null
null
null
null
UTF-8
Python
false
false
25,365
py
import tensorflow as tf import numpy as np import pickle from pprint import pprint from sklearn.model_selection import train_test_split from sklearn.metrics import confusion_matrix, classification_report import os import time import datetime #----------------------------------------------------------------- #-------...
[ "luca.pierdicca@gmail.com" ]
luca.pierdicca@gmail.com
47ee46aa5db53692f70c96faa5a2d6d1f3588a9d
59611a23bae874752b349c913e23a007eb9ad718
/controllers/default.py
37e3f038e46567b87300b7ef53b4efcd743a6010
[ "MIT" ]
permissive
vahidnouri/Parkinson_registry
b60504cd19901073c3727a0652f96a6ac9e4d378
ecd993d456807f66e8e7b6ada0e07e2f8b14af23
refs/heads/master
2020-07-29T20:01:50.509872
2020-06-30T08:11:29
2020-06-30T08:11:29
209,942,661
0
0
null
null
null
null
UTF-8
Python
false
false
13,425
py
# -*- coding: utf-8 -*- IP = '192.168.25.32\\Genetic Drive' permission_denied = lambda: dict(msg='permission denied!') @auth.requires_login() def index(): if permit('reception'): user_signature = False else: user_signature = True msg = None user = auth.user del...
[ "noreply@github.com" ]
noreply@github.com
4d56eaa289df490614282d92d296eda8adb8a58a
c43c88015f9498aed5f3b5a339d245c31781444e
/Free/plm/report/component_report.py
cbebbbcac4378084e142a272266da61b6cff36e8
[]
no_license
mulaudzicalvin/perpul
65106d41d5197fea17628ac1a7fa7e581d29d75e
00e3a5ee1771d2e09a48460ca23c2e9c2ef507d6
refs/heads/master
2020-03-09T18:39:33.131420
2018-02-05T05:17:36
2018-02-05T05:17:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,346
py
# -*- coding: utf-8 -*- ############################################################################## # # OmniaSolutions, Your own solutions # Copyright (C) 2010 OmniaSolutions (<http://omniasolutions.eu>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify ...
[ "daniel.podvesker@perpul.co" ]
daniel.podvesker@perpul.co
dfd2c9c84434876a23e1a72a9b5e5deb43e76f42
de2cf38982336ba752dc83242d163b3aebfcac70
/Python_BigPicture_1/mtsite/mtsite/wsgi.py
91d111396bf6ee65e759c9e00797818f3572b62e
[]
no_license
goelg08/Python
344b38edda9c459ce86cecf7de76699d84266924
596da249225cfdcb48360d45e644fc2c3205197f
refs/heads/master
2021-10-07T17:46:29.295697
2021-09-25T11:41:54
2021-09-25T11:41:54
199,595,031
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for mtsite 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/2.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "Priyanshu.Goel@factset.com" ]
Priyanshu.Goel@factset.com
3dc11225bc631940673ee0dc4948b04e54bc4460
aaa05e97411070603dc87ff8e79eae2dc0856320
/aws/projects/004-phonebook-web-application/phonebook-app.py
9f3db5dcae4cabfba1298d9fe32edd5a71f9e5b3
[]
no_license
devinlimit/Clarusway_aws_devops_workshop
3e9b74b4ac31bc02564d1946edb0c89bacdef0d7
0dff381ae54dd4983191a37dd06b96934e8ed80a
refs/heads/master
2023-01-23T20:45:21.964022
2020-11-21T10:47:57
2020-11-21T10:47:57
292,507,519
0
0
null
null
null
null
UTF-8
Python
false
false
9,038
py
# Import Flask modules from flask import Flask, request, render_template from flaskext.mysql import MySQL # Create an object named app app = Flask(__name__) db_endpoint = open("/home/ec2-user/dbserver.endpoint", 'r', encoding='UTF-8') # Configure mysql database app.config['MYSQL_DATABASE_HOST'] = db_endpoint.readli...
[ "devinlimit@gmail.com" ]
devinlimit@gmail.com
cd7b1c735c48d2803238e6ba0ddab6a70ce5d66f
d0eccc58972cc3946b2a105551b8e48205d85c1d
/general/wit_clip.py
a85357da8f44f7db00bcd07879fd260bc71e3bcf
[ "MIT" ]
permissive
peternara/DALLE-datasets
8848d0b3e1266dddee00a0ba15e85b2fd6eeb91b
527e54aeac879bc4da669fa5c5b64c9354890728
refs/heads/main
2023-08-07T05:17:49.872327
2021-10-07T17:58:40
2021-10-07T17:58:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,463
py
import os import argparse import time import pickle from tqdm import tqdm import pandas as pd from multiprocessing import cpu_count #, get_context from helper_scripts.wit_url_downloader import download_wit_urls from helper_scripts.wit_clip_class import CLIP from helper_scripts.wit_dtype import DTYPE, DFLENGTH, DFLENGTH...
[ "robvanvolt@gmail.com" ]
robvanvolt@gmail.com
d64a94d04f433741f0b07047cfc4f842fc484967
285ef22aace9c4aa40c6311ba49444cf1f7b7cc6
/tools/accu-dump-xar
3895664952fa2ca0a8af922c57570f0ae806e90b
[]
no_license
russel/hugo-site
9d61e115bc63ef7eec9a8396a6c0a5606de8144a
c32a6207bb18c6b45dcae4fcfd9d8eb3b8d9cf32
refs/heads/master
2020-04-18T06:02:07.872251
2020-03-30T10:53:27
2020-03-30T10:53:27
167,303,291
0
0
null
2019-01-24T04:31:18
2019-01-24T04:31:18
null
UTF-8
Python
false
false
7,359
#!/usr/bin/python3 # # accu-dump-xar # # Dump Xaraya journal files to individal JSON files. import argparse import datetime import json import pathlib import sys import pymysql def toutf8(s): try: return s.encode('latin1').decode('utf-8') except: return s def dump_articles(db, outputdir, pub...
[ "jim.hague@acm.org" ]
jim.hague@acm.org
488ec8cc2ff42ab4f1bb862fb0893e4eeb043557
6a242a855a413f11213f2a7e2ced95619ca087a2
/flaskapp.py
fcb07b123633ca9e996d708a190b0ce1e82e6a18
[]
no_license
Knugn/ACC-A3
a28750703180c36ac638890b0f39f465e942d53a
f4d1251072c125d41bd3fe7aa874ce4ace0ea4df
refs/heads/master
2021-01-10T16:49:29.963467
2015-10-28T19:35:26
2015-10-28T19:35:26
43,636,991
0
0
null
null
null
null
UTF-8
Python
false
false
3,757
py
from flask import Flask, jsonify, url_for import sys import swiftutil from celeryapp import celery from celery import group import celerytasks import time import json import timeit from collections import Counter from operator import add flask = Flask(__name__) sc = swiftutil.getswiftconnection() def setupcontexttask...
[ "david.ryman@hotmail.com" ]
david.ryman@hotmail.com
dc5820795cb85edd778b49c8d81deb89ef8b37bd
f0202a8d38a859d79b720fbc1956ab4ba1c4ffb8
/django_input_collection/migrations/0012_auto_20220421_2220.py
9549cf228110d0a8b5075ba045ffaca124ceadd2
[ "Apache-2.0" ]
permissive
pivotal-energy-solutions/django-input-collection
534d7a2cdcba4da3922829c739917e2b13fd810c
20ac7b0bc6a78a7c342ed319a2ac5522e28af976
refs/heads/master
2023-06-23T15:06:50.193333
2023-06-20T22:00:58
2023-06-20T22:00:58
146,794,774
0
0
Apache-2.0
2022-10-12T21:52:07
2018-08-30T19:09:19
Python
UTF-8
Python
false
false
2,981
py
# -*- coding: utf-8 -*- # Generated by Django 3.2.12 on 2022-04-21 22:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("django_input_collection", "0011_auto_20190308_2259"), ] operations = [ migrations.AddField( model_name="...
[ "steven@pointcircle.com" ]
steven@pointcircle.com
28ec5ecaa812f96b31614edf419ad219348942f6
75f55944d023ebf2531c53d406d17f301e9a0ab8
/animechat2.py
e53106c2e170d2c81c7d1fc14905e15c5635dd0b
[]
no_license
yugo-salem/helloneko
3b5aec877c9f9ae22cfe6fb302cd3e9de24f9e41
49692fc18f72d6d34f5ce51ddbb5822061bc6e2c
refs/heads/master
2021-01-11T22:27:02.906980
2017-04-05T17:19:10
2017-04-05T17:19:10
78,963,332
1
0
null
null
null
null
UTF-8
Python
false
false
2,767
py
#!/usr/bin/env python # encoding: utf-8 # pylint: disable=bad-whitespace # pylint: disable=missing-docstring import sys import os from datetime import datetime import time import locale import threading import curses import requests from flask import Flask, request, redirect, url_for from flask.templating import ren...
[ "cutenekochan777@gmail.com" ]
cutenekochan777@gmail.com
d70f60641b1e6d7ecea83be0cb6d27700661fb24
fe2753d5f7638f50dedd847a434461b935b90235
/trail/spiders/easy.py
e83661159bc1f90893191e0bac89812e510fb75d
[]
no_license
teamzot/Crawler
eab63af2fcedfd507281eb577dde54ceae0537e8
634c76809d4f38123d38e9c4342c40bb2d34cac3
refs/heads/master
2020-03-31T18:27:43.097802
2018-10-15T20:58:27
2018-10-15T20:58:27
152,459,597
1
1
null
null
null
null
UTF-8
Python
false
false
2,682
py
# -*- coding: utf-8 -*- import scrapy import datetime import logging from trail.items import TrailItem from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from scrapy.loader import ItemLoader from scrapy.http import Request class EasySpider(CrawlSpider): name = 'easy' ...
[ "zhujiaqi.apply@gmail.com" ]
zhujiaqi.apply@gmail.com
a5ea641c931a8768c01f47ceb5f09ed009af4204
633944f913050debf0764c2a29cf3e88f912670e
/v8/depot_tools/bootstrap-3.8.0b1.chromium.1_bin/python3/lib/python3.8/encodings/mbcs.py
5f56e6e4b8e55e8e1447875202fe15cbdaa2a26d
[ "BSD-3-Clause", "bzip2-1.0.6", "SunPro", "Apache-2.0" ]
permissive
bopopescu/V8-lgtm
0474c2ff39baf754f556ef57619ceae93e7320fd
da307e2f7abfca5fa0e860a809de6cd07fd1b72b
refs/heads/master
2022-02-16T19:10:54.008520
2019-09-25T07:51:13
2019-09-25T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
65
py
../../../../.cipd/pkgs/2/_current/lib/python3.8/encodings/mbcs.py
[ "jundong.xjd@antfin.com" ]
jundong.xjd@antfin.com
ed3b09788c37f6f93130edadcb1bfe343d812d9b
9d6faca0255f1772d065229cb8bd051fb3b4da9a
/model_mnist.py
99b9536042a48781380498c33f5948d3c769f90e
[ "MIT" ]
permissive
NeuralNetworkingTechnologies/Conditional-Gans
467b10a4e18511208fa89a393522621814c4828c
bd077c7bf3f193cebec02c9222b8147334133bc9
refs/heads/master
2021-08-18T16:32:31.751111
2017-11-23T08:50:00
2017-11-23T08:50:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,412
py
from utils import load_mnist from utils import save_images from utils import vis_square from utils import sample_label import cv2 from ops import conv2d from ops import lrelu from ops import de_conv from ops import fully_connect from ops import conv_cond_concat from ops import batch_normal import tensorflow as tf im...
[ "noreply@github.com" ]
noreply@github.com
f2d83f9c85e10655fd77903e001b57c1b6743ce8
eeb06c4643850920a4b726631f2c5a8dadc3b920
/consumer.py
473f636e5e505ae4ecbdb417bf0413a405b94efd
[]
no_license
AlanFil/flask_project
483fe3b94b3a6b658207616f3096c13906a6263f
133be7e3320d57bdd5688909850d5bdc3e03af3b
refs/heads/master
2023-03-29T18:45:59.596160
2021-04-08T19:28:13
2021-04-08T19:28:13
355,698,694
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
import json import pika from main import Product, db params = pika.URLParameters('amqps://zobyksdf:tEXN4vKXrQskmY9Lmi39zqk5IcdHzkSE@kangaroo.rmq.cloudamqp.com/zobyksdf') connection = pika.BlockingConnection(params) channel = connection.channel() channel.queue_declare(queue='main') def callback(ch, method, propre...
[ "maildoalana@gmail.com" ]
maildoalana@gmail.com
9990f31750b3e822f4d86e256ebb9274b1118e58
02f4bd96aa7aba1e5e2734cd89b1db57afac0c51
/ui/locker.py
c792beda4a65fb6cd2b5deeedee2553274d97429
[]
no_license
jbadonai/file-encrypter
6a72678279f4e452732da28eb90252599f11165d
b821daccce9748d2b8b543a767744395ff38cdd0
refs/heads/main
2023-04-09T10:36:50.960312
2021-04-11T10:14:03
2021-04-11T10:14:03
356,877,188
0
0
null
null
null
null
UTF-8
Python
false
false
6,778
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'locker.ui' # # Created by: PyQt5 UI code generator 5.11.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): MainWindo...
[ "jba_onlinework@yahoo.com" ]
jba_onlinework@yahoo.com
e4d38da92d86aa517c776e552be806858ea7e31e
948d84d2e3fc04e353a11384d8570308174242f5
/17-Numpy/numpy-indexing.py
11653d3652d5b8b607738f0216cf7655bc401292
[]
no_license
omerfarukcelenk/PythonMaster
a0084a800b8a41cd2ad538a7ca3687c26dc679ec
0db8f8b0ea2e1c2d810c542068cfcf1a3615f581
refs/heads/main
2023-04-16T17:42:05.501904
2021-04-26T21:19:27
2021-04-26T21:19:27
361,896,109
3
0
null
null
null
null
UTF-8
Python
false
false
604
py
import numpy as np numbers = np.array([0,5,10,15,20,25,50,75]) result = numbers[5] result = numbers[-1] result = numbers[0:3] result = numbers[:3] result = numbers[3:] result = numbers[::] result = numbers[::-1] numbers2 = np.array([[0,5,10],[15,20,25],[50,75,85]]) result = numbers2[0] result = numbers2[2] result = ...
[ "omerfar0133@gmail.com" ]
omerfar0133@gmail.com
19ab53e2d0a45af4d68d2fe50e6b0e1e19b6ffd2
546199ff1eb5d4b5dbedf98cee9f8010857f4280
/retrain_mixsvgp.py
a20ed065833547d877b5202e17435cd1c875e2a5
[]
no_license
karltayeb/ipsc
854db1e08fbb29cd97e38f288484d0e8a5d18200
3aa76431cda460c44baeea832b4897f5253053a6
refs/heads/master
2020-03-22T23:00:42.821625
2018-09-30T22:10:49
2018-09-30T22:10:49
140,784,292
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
import numpy as np import gpflow import gpflow.multioutput.kernels as mk import gpflow.multioutput.features as mf from MixtureSVGP import MixtureSVGP, generate_updates import pickle from utils import load_data import sys import os minibatch_size = 10000 grad_iters = 50 model_path = sys.argv[1] params, assignments, el...
[ "karl.tayeb@gmail.com" ]
karl.tayeb@gmail.com
4bee933c2f4a4be5274281cbf4d3a08f94853e73
2893069a3532da77c76c76c342c3b33d2c096f06
/aoc2020/solvers/implementations/day20.py
02865916888e3b15f96e97a211599283ba92c14e
[]
no_license
maxclaey/AoC-2020
0b26e5d46d54f569a31c4c653d642804a95d64db
2ace7a478634af0ba0b4b264932cb233b3e57352
refs/heads/master
2023-02-04T20:53:24.355399
2020-12-25T08:15:54
2020-12-25T08:15:54
318,214,252
0
0
null
null
null
null
UTF-8
Python
false
false
10,160
py
import logging from dataclasses import dataclass from enum import Enum from pathlib import Path from typing import Dict, List, Optional, Tuple import numpy as np from aoc2020.solvers import PuzzleSolver, SolverFactory logger = logging.getLogger("SolverDay20") @dataclass class Augmentation: rotation: int = 0 ...
[ "maxim.claeys@robovision.eu" ]
maxim.claeys@robovision.eu
66721f5989f7f1546552f135b1514f55b1b361c8
25bc83cf1c829694c6a8fea271060218822bd2c0
/credTweakAttack/pass2path_model.py
8f6d6e2560391c9a93af0b4a14c2adb5f7a1187f
[]
no_license
Bijeeta/credtweak
5608569b5590786e6cdb6d9e3d9dd576c03064cd
c604599bac3267eecce105d35c2b05e90605c3f5
refs/heads/master
2022-08-19T11:02:32.182796
2022-08-03T20:48:26
2022-08-03T20:48:26
187,112,821
19
10
null
2020-09-12T19:28:56
2019-05-16T23:08:32
Jupyter Notebook
UTF-8
Python
false
false
28,086
py
''' pass2path A variant of seq2seq Encoder-Decoder RNN model that learns pairs of (password, transition path), where given a password and a transition path, a new password is generated. This model is based on JayPark's seq2seq model (Python 2): https://github.com/JayParks/tf-seq2seq Number of parameters: m - dimensio...
[ "bijeeta@deepsec.tech.cornell.edu" ]
bijeeta@deepsec.tech.cornell.edu
0c44f570aac05f6528e1e1c49e0360d1afcfe04b
2e153b94076937b230a152ad912f0c4b6810413e
/server/pylanchatd
097853c5b753c3369ffa5c41a5045cb19db9ce89
[]
no_license
saurav-malani/Chat-Application
0784efbfff60f10d4874221f7bd2956b693101d1
19ab48215d82d0298f1aab2d1f204dfaffc4681f
refs/heads/master
2020-03-30T09:49:38.908795
2018-10-01T13:36:38
2018-10-01T13:36:38
151,094,274
0
0
null
null
null
null
UTF-8
Python
false
false
14,927
#!/usr/bin/env python import time # Twisted from twisted.internet.protocol import Protocol, Factory from twisted.web import server, resource from twisted.internet import reactor # Basic Datastructures and Configuration Parser from User import User from Users import Users from ConfigurationParser import Parser # Encr...
[ "malani@localhost.localdomain" ]
malani@localhost.localdomain
9c2d4ee881706a7dad71ad011c33a475eab37bfd
e0c76ae542e3d37807b413eb725f716b88611948
/core/views.py
949619a01bef43fd025b723d26ef67458e2b866e
[]
no_license
nicholas-karimi/django-rest-todoAPI-
713136b1fcab92db972c2e7ac5b5620f88c4d15e
975aa3fc75ef649b2afe298bd2cb7828bd623da7
refs/heads/master
2023-08-25T03:00:56.803070
2021-10-13T21:56:22
2021-10-13T21:56:22
416,905,905
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
from django.shortcuts import render from django.http import JsonResponse from rest_framework.decorators import api_view from rest_framework.response import Response from .models import Task from .serializers import TaskSerializer @api_view(['GET']) def apiOverview(request): # endpoints to be returned api_urls =...
[ "kariminic@gmail.com" ]
kariminic@gmail.com
200a0c214acff2cccff7133ae68f381b0699de4b
d6265afea582ef9d0b282d0dbaf582ef2015a6f4
/tests/satosa/metadata_creation/test_saml_metadata.py
49cff97a4cadfb8c3cca7baeb70e08e9ac3e0e73
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
peppelinux/SATOSA
c94b0d2f7fa07b3b8a751f548b8166452e9e084f
12d9f2532e334978e9a614946d77cc5b217b4383
refs/heads/master
2023-08-10T08:08:22.199322
2020-04-13T17:26:27
2020-04-13T17:26:27
180,346,947
3
0
Apache-2.0
2021-08-24T08:23:33
2019-04-09T10:56:02
Python
UTF-8
Python
false
false
18,113
py
import copy from base64 import urlsafe_b64encode import pytest from saml2.config import SPConfig, Config from saml2.mdstore import InMemoryMetaData from saml2.metadata import entity_descriptor from saml2.sigver import security_context from saml2.time_util import in_a_while from satosa.metadata_creation.saml_metadata ...
[ "rebecka.gulliksson@umu.se" ]
rebecka.gulliksson@umu.se
cda1f89438ec06db8ca93501a5f2d7fd562a8b17
9aa834f603031a86236c457efe5ecbf168215da0
/tweets/forms.py
3ec807cc79cfe8b35bb0a211b0f8d465ea69b09f
[]
no_license
paragkulkarni/Django_mytweets
814aac760c1c04d5b6cf0ac6c182a76f0846e3a1
984269dae48fe2c3f170dfc6de5d6796cb66d478
refs/heads/master
2021-09-05T05:02:57.466778
2018-01-24T08:23:25
2018-01-24T08:23:25
117,959,051
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from django import forms class TweetForm(forms.Form): text = forms.CharField(max_length=160, widget=forms.Textarea(attrs={'rows':1, 'cols':85})) country = forms.CharField(widget=forms.HiddenInput(),required=False)
[ "paragkk80@gmail.com" ]
paragkk80@gmail.com
947176b90cbab11d9222c318374ee3befbaa72ad
bbff6cb11688224a5749037693614229d44915cf
/networks/network_utils.py
ca2ee4b4766d68f6128a95cf486e4c566cf349cc
[ "MIT" ]
permissive
yongliang-qiao/fscc
f4b02db2523cc0884816451b4788917ceba4506d
9ca20128117f789433986971c5cc77f631c102e6
refs/heads/master
2023-04-15T13:58:11.619582
2020-07-18T07:17:12
2020-07-18T07:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,125
py
import numpy as np import torch device = 'cuda' if torch.cuda.is_available() else 'cpu' def forward_pass(network, _in, _tar, mode='validation', weights=None): _input = _in.to(device) _target = _tar.float().unsqueeze(0).to(device) output = network.network_forward(_input, weights) if mode == 'validat...
[ "maheshk2194@gmail.com" ]
maheshk2194@gmail.com
da327466a9c5966169ed0e73790c57d204126c2b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_74/244.py
1aad3f70f9fbf37a7323274a79680d37008e458c
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,237
py
#!/usr/bin/env python # encoding: utf-8 import os def parse_sequence(fileDescriptor): # Returns a sequence to complete f = fileDescriptor sequence = f.readline() sequence = sequence.split(' ') n = int(sequence[0]) sequence_a = [] sequence_b = [] sequence_r = [] have_color = False...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
68d8399c5199cd6c1ac9a2c275edb439b8a5ab47
c66955c6fc178955c2024e0318ec7a91a8386c2d
/programQuick/chapterEleven/mapIt.py
f66811ddbe725a952063e3f0d855d57f0bd18aa5
[]
no_license
duheng18/python-study
a98642d6ee1b0043837c3e7c5b91bf1e28dfa588
13c0571ac5d1690bb9e615340482bdb2134ecf0e
refs/heads/master
2022-11-30T17:36:57.060130
2019-11-18T07:31:40
2019-11-18T07:31:40
147,268,053
1
0
null
2022-11-22T03:36:51
2018-09-04T00:49:42
Python
UTF-8
Python
false
false
353
py
import webbrowser, sys, pyperclip if len(sys.argv) > 1: # Get address from command line. address = ' '.join(sys.argv[1:]) else: # Get address from clipboard. pyperclip.copy('mapit 870 Valencia St, San Francisco, CA 94110') address = pyperclip.paste() print(address) webbrowser.open('https://www....
[ "emaildh@163.com" ]
emaildh@163.com
bff902fb61c941683b2b4738f0615a12188427e1
17b218cf872e203959062908d0f1ec58812d98c8
/fabfile.py
c52a10f28cc2523f6c7419d7b7a877a22a7d8a71
[ "Apache-2.0" ]
permissive
renanvicente/root_command_by_ssh
5f706ef8f620bd3cc9ec059733926694133c36d8
f34f10cd77625903b355115ae6102c3bfa579bec
refs/heads/master
2016-09-01T17:05:09.825623
2013-11-21T13:38:02
2013-11-21T13:38:02
13,762,817
1
0
null
null
null
null
UTF-8
Python
true
false
1,197
py
from fabric.api import * from getpass import getpass cont = 0 info = {} def get_info(root=False): try: global info if not info: info['username'] = raw_input('username: ') info['password'] = getpass('password: ') if root: info['pass_root'] = getpass('root password: ') info['com...
[ "reeh@reeh.linuxextreme.com.br" ]
reeh@reeh.linuxextreme.com.br
66d4ca5d2985fb751978cbfda10806412206a09f
1528868cc7bcf830cbe90e638d4e4862a07cb14c
/assistente.py
d4c227d184c40a9e0fae4b803507d04d39763f7d
[]
no_license
rcase31/tcc_vpi
b4502bbed893e476c8964172a3c8c4a25a7db07e
d65768eb3255c905960d1956531327c93cc17e2b
refs/heads/master
2020-10-01T05:21:45.411286
2019-12-11T22:06:08
2019-12-11T22:06:08
227,467,390
0
0
null
null
null
null
UTF-8
Python
false
false
3,759
py
from reconhecimento_audio import * from reconhecimento_video import * from reproducao_audio import * from objeto_avistado import * from enum import Enum class Estado(Enum): ESPERA = 0 LEITURA = 1 AGUARDA_OBJETO = 2 ORIENTACAO = 3 OBJETO_ENCONTRADO = 4 def proximo(self): return Estado(...
[ "rafaelljc@gmail.com" ]
rafaelljc@gmail.com
f54cf52d0cbde5c7faefa2abb24c20a99be5e0ee
bf40d6324345de28469e34f754bbcaac9e04a42a
/src/fracture_propagation_model.py
1bd16f8ef38643147273d8a7cf8ce5adbc86dde1
[ "MIT" ]
permissive
pmgbergen/Numerical-modelling-of-convection-driven-cooling-deformation-and-fracturing-of-thermo-poroelastic-m
2bae87f18abb3f08c2c26a45d260ffb7789f14ad
dc258123d2481b4051760bf70075d7d4e69b3c2c
refs/heads/main
2023-01-28T09:09:29.265893
2020-12-10T09:24:16
2020-12-10T09:24:16
320,229,565
0
0
null
null
null
null
UTF-8
Python
false
false
73,487
py
""" Model class to be used together with an existing/"physical" model to yield a full propagation model. Will also be combined with case specific parameters. """ import scipy.sparse as sps import time import numpy as np import porepy as pp import logging from typing import Dict, Any logger = logging.getLogger(__name...
[ "ivar.stefansson@uib.no" ]
ivar.stefansson@uib.no
5d9ddcd5643b7d3a09a7a2df7d052784a9a314f5
30302d215a012a079edf05a4e14e932888385def
/ddht/v5_1/alexandria/typing.py
e73bd07c5b075b4ed6d6eac7f99be2677b7a8cae
[ "MIT" ]
permissive
NhlanhlaHasane/ddht
e54975a7fcf4e9bfa29771ee6b78c5e9a5991aff
142911d134ff839f3f79ff8fe9e45d3fe5a58cd0
refs/heads/master
2023-05-31T05:09:06.371320
2021-06-03T22:31:22
2021-06-03T22:31:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
from typing import NewType ContentID = NewType("ContentID", bytes) ContentKey = NewType("ContentKey", bytes)
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
435e90d2b0debc710dd2aca553b76e51ea39e688
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/synapse/azure-synapse-artifacts/azure/synapse/artifacts/operations/_big_data_pools_operations.py
2b2366e730881713afa1086c0e769bf1a8d28656
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
6,664
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
a3d39a3decdee7b76f6712fe6da82843068afeb4
a631984152b1449df9ef156cf80a033f6a5692ed
/General Python/LTP - Introduction to Python [PluralSight]/LTP - 05 - Shopping.py
d6ac05ab4182b38f3b0c15993ae15e5b5f37d29c
[]
no_license
john-m-hanlon/Python
2f58e20ba56b3dede3baf6f5ed259d741434108b
56ebf291b2d8d15f47c942c49d9f40d0ae18741e
refs/heads/master
2020-06-11T09:47:09.188169
2017-03-14T03:32:51
2017-03-14T03:32:51
75,688,794
0
1
null
null
null
null
UTF-8
Python
false
false
398
py
# # A simple program to identify grocery items that user wants to purchase # LTP - 05 - Shopping.py # __author__ = 'JohnHanlon' import sales.shopping_cart import sales.shopping_order cart = sales.shopping_cart.Cart() order = sales.shopping_order.Order() order.get_input() while not order.quit: cart.process(order...
[ "hanlon.johnm@gmail.com" ]
hanlon.johnm@gmail.com
ee2f56938dfb533153bb1cedc2c37b2895664a90
15a68c799f107725a40ed9dd56345bcc09ae7365
/test.py
40ca14fe708e83935c49a74cba2a84bc7a351b7f
[]
no_license
gz51837844/GibbsLDApy
484f2c2f10c90df07e82104f25d0a744f20fd362
4f062ca36977661840b627e0b1f3c19e7433e092
refs/heads/master
2022-11-29T19:10:09.588482
2020-08-06T01:56:20
2020-08-06T01:56:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,689
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: Jasperyang @license: (C) Copyright 2013-2017, Jasperyang Corporation Limited. @contact: yiyangxianyi@gmail.com @software: GibbsLDA @file: test.py @time: 3/6/17 8:41 PM @desc: This is for testing!!! all the functions ''' from DataSet import * from Document import * f...
[ "472530484@qq.com" ]
472530484@qq.com
2e0fcab52725520f63a59093e6c11153b64ff890
2b20f132cbcb6f14f13ef3412302fb6926a506d9
/metadata_analysis/plot_metadata_labels.py
0e60a62ad3ce2104fa2041aa6fb7000fc15defc0
[ "Apache-2.0" ]
permissive
nfrumkin/forecast-prometheus
a200a140cf7705fcb8a9acf4f7a1c3f13e679c75
fae241ec4303992ed06df67cbbd8118622e9750b
refs/heads/master
2020-03-26T09:18:37.156900
2018-08-23T20:33:00
2018-08-23T20:33:00
144,744,292
119
26
null
null
null
null
UTF-8
Python
false
false
1,230
py
import json from datetime import datetime import matplotlib.pyplot as plt import matplotlib.dates as dt import re import string import random import numpy as np import bz2 from matplotlib.backends.backend_pdf import PdfPages pp = PdfPages('label_hists2.pdf') import os label = "instance" folder = "kubelet_docker_opera...
[ "nfrumkin@redhat.com" ]
nfrumkin@redhat.com
58bbcb0b913a6f6d65e9cc3f765cf80b1e6d8d8d
f4b60f5e49baf60976987946c20a8ebca4880602
/lib/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/fabric/rssnmppol.py
4738ca78412d8a6382b312d0f46b6ee434811e5c
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
8,086
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
8fd2c926a6858bc0b84c062a635d6b2b6be7ab79
8595ca431e2f367ed84b5d0ec1a62786b5c72fbd
/6.1/main.py
09c87a7d090fd9b57d24c695d3f99f7e563c6589
[]
no_license
bleungwpg/PythonNeoPixelTutorial6
80d5bbab736ed8266e1cde1d696174ae4584e2cd
cfcbbb4e795a35794294771e1ba8e3d4e0ccafe4
refs/heads/master
2020-03-30T00:03:57.910367
2018-11-23T02:55:24
2018-11-23T02:55:24
150,503,664
0
2
null
null
null
null
UTF-8
Python
false
false
1,774
py
import globalvariables import time import board import neopixel pixpin = board.A3 numpix = 128 strip = neopixel.NeoPixel(pixpin, numpix, brightness=0.1, auto_write=False) def showMessage1(): # reset previous colors strip[96] = (0,0,0) strip[103] = (0,0,0) # show color strip[0] = (255,0,0) s...
[ "noreply@github.com" ]
noreply@github.com
1e4126b28d998826ae65e2f07cc731f5c4d9a1ea
994bf7ff0c5ea352fdd8e6ce4f87e915e2060ccd
/django-env/lib/python3.7/copy.py
d2e972d2a990fd7a0d877d0fd6a01f3bb999edd0
[]
no_license
MhmdNadyMhmd/django-app
7f4621dcfc2e6f083c3f3bae123f0f37590570ec
29a4fc8b48a7640b99ad97d364b1c38e80535bcc
refs/heads/master
2020-04-18T07:32:40.308180
2019-02-04T08:46:08
2019-02-04T08:46:08
167,356,386
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
/home/mhmd/anaconda3/lib/python3.7/copy.py
[ "mohamed.nady.m.ali@gmail.com" ]
mohamed.nady.m.ali@gmail.com
b065a739c64edc6b675bde1ed0ef25e4d06c8f1a
934fe21f1cbbed6774b8bfb7f4ea198d06006a99
/blog/migrations/0001_initial.py
81232eb6c02fdcbdf098ba57fb8597de173cf63d
[]
no_license
malbori/my-first-blog
fe28ba67a7aaad3ec72938009e9d241e3b1a275a
ee7c4299aa420ba8f857b552b25e5e2ffdd655dc
refs/heads/master
2021-05-30T23:00:33.181692
2016-03-02T23:51:16
2016-03-02T23:51:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-03-02 23:27 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depende...
[ "mahdialbori@gmail.com" ]
mahdialbori@gmail.com
cb523c55fea4d9e3cf0e84a94f535a77406e83fc
848511d0a5e4d2f71fe0fdfc799a132d7eddde28
/1.introduction/write_a_function.py
34ccb1106d53367f7c7aceae3ed778d711388746
[]
no_license
KrishnaRaam-HackerRank/Python
dfda4882ef0143e203b1201cb822185ae86e4a10
c5603826b0265dca7a7235c36da1925a4973dc76
refs/heads/master
2023-02-18T04:07:10.241935
2020-12-28T13:51:16
2020-12-28T13:51:16
281,044,728
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
import calendar #https://www.hackerrank.com/challenges/write-a-function/problem def is_leap(year): return calendar.isleap(year) year = int(input()) print(is_leap(year))
[ "ramakrishna.shastri@target.com" ]
ramakrishna.shastri@target.com
2dc8ec10581c621ff551465c0b0e09eca7adf210
bc670588d1d15cf1ec99b8d30c1b80aaa408a76b
/017_command_line_arguments.py
03da36414c932dafe85c2dd5e5802134bd85d8ab
[]
no_license
msgabor/Python3
21e2ef1fbdf1e3e5eba3d5bb8c1e19cda33c3e80
7bc7c254596f38dd849dfe16b5f587ca5ec8124e
refs/heads/master
2020-12-15T16:56:12.451028
2020-10-26T19:59:21
2020-10-26T19:59:21
232,116,859
1
0
null
null
null
null
UTF-8
Python
false
false
736
py
# Command Line Interface Creation Kit # https://click.palletsprojects.com/en/7.x/ # option values can be pulled from environment variables # on linux sometimes the following encoding setting is necessary: # LC_ALL=en_US.UTF-8 # # or in script: # # import locale # locale.setlocale(locale.LC_ALL, 'UTF-8') ...
[ "noreply@github.com" ]
noreply@github.com
8be72a52068001cc66bd59da148af82ea5b224a8
db575f3401a5e25494e30d98ec915158dd7e529b
/BIO_Stocks/PMD.py
f9d9498e20f4a6d77b53ce8653cbb90641628f67
[]
no_license
andisc/StockWebScraping
b10453295b4b16f065064db6a1e3bbcba0d62bad
41db75e941cfccaa7043a53b0e23ba6e5daa958a
refs/heads/main
2023-08-08T01:33:33.495541
2023-07-22T21:41:08
2023-07-22T21:41:08
355,332,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,134
py
import requests from lxml import html from bs4 import BeautifulSoup import os from datetime import date, datetime from ValidationTools import validateday from Database_Connections import InsertData, Insert_Logging def main(id_control): try: url = 'https://investors.psychemedics.com/sec-filings-and-press...
[ "andisc_3@hotmail.com" ]
andisc_3@hotmail.com
6815c63e54dcd68f5f72a99f5025382635e0a9e8
f46798fb3efca206e490450b8d85d2b1920abe35
/vibez.py
e0d2e51f35f81a93c9a55e1ea2f22d38aff48294
[ "MIT" ]
permissive
Zxayler/VibezPH
43afe74c4e1d21760296f659286b14c44e970448
70b1f7d131897e6939954102d76111f26ef22fa3
refs/heads/main
2023-07-18T17:32:18.109777
2021-09-06T17:10:08
2021-09-06T17:10:08
403,698,579
0
1
MIT
2021-09-11T21:49:26
2021-09-06T16:57:55
Python
UTF-8
Python
false
false
1,019
py
from discord.ext.commands import Bot, when_mentioned_or from discord import Intents, Activity, ActivityType, Status from discord.ext.commands.core import command import config from pathlib import Path class Vibez_PH_2_0(Bot): def __init__(self): self.owner_ids = [481374570130046976, 817701164258689054] ...
[ "zachbotdavid@gmail.com" ]
zachbotdavid@gmail.com
a41fbaec0c7870b206597745a26e289cb91943e7
4c9c2940ef3a07e2756fcceddf01acd384ebde01
/Python/[5 kyu] emirps.py
4550d94ea211e128c3446713211ba9db63e83b25
[ "MIT" ]
permissive
KonstantinosAng/CodeWars
7d3501a605f7ffecb7f0b761b5ffe414e2f1983a
157818ece648454e882c171a71b4c81245ab0214
refs/heads/master
2023-04-11T09:44:27.480064
2023-03-26T21:37:07
2023-03-26T21:37:07
245,296,762
6
6
null
null
null
null
UTF-8
Python
false
false
1,160
py
# see https://www.codewars.com/kata/55a29405bc7d2efaff00007c/train/python from TestFunction import Test def is_prime(num): if num % 2 == 0: return False for i in range(3, int(num**0.5+1), 2): if (num % i) == 0: return False else: return True return False def is_emrip(num): s = int(''....
[ "kwstantinos.agelopoulos@outlook.com" ]
kwstantinos.agelopoulos@outlook.com
a03452b310ca997663bc671a87eac2e20dd047ca
32896488edb21273742e0add50405eed95f99b08
/forms.py
4a03e09386abee00fd7cd806a212c13c1b64823c
[ "BSD-2-Clause" ]
permissive
DuGites/django-simple-registration
4bd0510e00d3e975fd1a8717bf84ce1d91ca7d53
9089e136270f51358c6c4eeeefed97e4a7c37eb0
refs/heads/master
2021-09-22T02:32:12.165751
2011-01-17T18:29:06
2011-01-17T18:29:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,725
py
""" Forms and validation code for user registration. From django-registration. Added SARRegistration """ from django.contrib.auth.models import User from django import forms from django.utils.translation import ugettext_lazy as _ from hashlib import md5 import random # I put this on all required fields, because i...
[ "ted.tieken@gmail.com" ]
ted.tieken@gmail.com
4b1eb8934099b1c7799cf7e46a9df1e9b543d215
7dde613c3c074ca2fbacdf4ca934a34f60d7fcba
/wework/source/add_depart_page.py
ca7ce95c2d31aab4704d99b9189141e45f8e9ff5
[]
no_license
hedyzhouhd/hw
b0b4771866b1e162bb4a6c7ee6da5ddd459c2c39
f2af7b7b02c0e73eb9a0c8e377c8222903586c76
refs/heads/master
2023-04-24T10:33:42.173717
2021-04-22T08:54:18
2021-04-22T08:54:18
323,369,964
0
0
null
null
null
null
UTF-8
Python
false
false
1,947
py
from selenium.webdriver import ActionChains from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait from wework.source.base_page import BasePage import time class AddDepartPage(BasePage): _depart_input_locat...
[ "2862514060@qq.com" ]
2862514060@qq.com
018b2906e7a41541d957764ddd1c47e355d03386
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_2464487_0/Python/CuteCube/ra1.py
dbc146df38875aae8ae187eac50411365e303fb4
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
747
py
#!/usr/bin/env python import math def main(): f = open('input.txt', 'r') total_T = int(f.readline()) #print total_T for T in xrange(1,total_T+1): r,t = f.readline().split() r = long(r) t=long(t) # 2k^2 + (2r - 1)k - t = 0 b = 2*r -1.0 a = 2.0 c = ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
4a7f9b779862e39bed7fde83a238b96e4b69f2f1
fe4c3905ec0e2d8fa5100454c49a863bda3d05ab
/Code/Mantid/Framework/PythonInterface/plugins/algorithms/WorkflowAlgorithms/IndirectResolution.py
3fe3e42c49c3011afbab8d24a9adf8e2cf6fcb2b
[]
no_license
mkoennecke/mantid
11f16fe573056d70c119c4d6fb6984b7008cb8e6
c0a8e5d97cde6cc28abb8c7b1b5c056986a81fec
refs/heads/master
2021-01-18T11:51:28.997458
2015-02-13T10:48:51
2015-02-13T10:48:51
11,472,662
0
0
null
null
null
null
UTF-8
Python
false
false
6,587
py
from mantid.simpleapi import * from mantid.api import * from mantid.kernel import * from mantid import config, logger class IndirectResolution(DataProcessorAlgorithm): def category(self): return 'Workflow\\Inelastic;PythonAlgorithms;Inelastic' def summary(self): return 'Creates a resolution ...
[ "dan@dan-nixon.com" ]
dan@dan-nixon.com
27a755114e9428830bf580c087c5298f47d7fec3
265392e81827a0489286c499afe85fac2f2eb664
/blogs/views.py
ed0c470dc3aebb1fe30f9b8aa7b919dbb9281967
[]
no_license
Girishiam/portfolio_website
978bb75d1b9c53eb6aa7f02f91b6d8eabcd23d29
4d87007fee5a040ed28b5821bde8834c299db4c0
refs/heads/main
2023-03-01T17:30:52.332034
2021-02-17T15:53:43
2021-02-17T15:53:43
338,725,782
1
0
null
null
null
null
UTF-8
Python
false
false
378
py
from django.shortcuts import render , get_object_or_404 from .models import Blogging # Create your views here. def blogs(request): blogs = Blogging.objects.order_by('-date') return render(request, 'blogs.html' ,{'blogs':blogs}) def details(request , blog_id): blog = get_object_or_404(Blogging,pk=blog_id) ...
[ "girishmondal.28@gmail.com" ]
girishmondal.28@gmail.com
9a26f041c16cbcec21210e5a86090f2c5e54013c
13637748bbbed49f02ce7bcd87458f4c5d475776
/other/systemd/monitorservice.py
1c3ffd84a737ddbb45fb1141ca317ef553077958
[ "MIT" ]
permissive
fizprof/solarthing
7a29880c0c808a0604315e8efc9784bccea91a59
47c0a145f2e7c38e9aca03abdb4276a988df798b
refs/heads/master
2023-07-11T13:44:22.977847
2021-07-31T04:14:23
2021-07-31T04:14:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,086
py
#!/usr/bin/env python3 import sys from typing import List import subprocess import time from pathlib import Path import json from slack_sdk import WebClient from slack_sdk.errors import SlackApiError import traceback """ sudo python3 -m pip install slack_sdk """ class SlackSender: def __init__(self, prefix: str, ...
[ "retrodaredevil@gmail.com" ]
retrodaredevil@gmail.com
eebec9728ea5e06110a3783a4e01267d3f1990d4
380562de8f7d7a88c2a9ed286c4bbd40df291e32
/get_first.py
ba7618592a8847f495a07c34631dcfa1a1fe1469
[]
no_license
HarryTheHB/MachineLearning_MLP
866da690a181e6e7357ee7b7fcf9140367d6513b
90aaca58d38871585804b016ce5110626f154a9a
refs/heads/master
2021-01-06T20:46:51.245888
2014-12-08T17:13:19
2014-12-08T17:13:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
import argparse parser = argparse.ArgumentParser(description='Process data') parser.add_argument('-i', '--input', help='input file name', required=True) parser.add_argument('-o', '--output', help='output file name', required=True) args = parser.parse_args() fr = open(args.input, 'r') fw = open(args.output, 'w') li...
[ "daiyang58@hotmail.com" ]
daiyang58@hotmail.com
36675db792eaa04c9b5c9732126b47ebda3a154f
43cdd7cb26fe44b1ed7de6a46f8b5e680c9b1372
/openpeerpower/generated/config_flows.py
244c7e0f950d8f44b848d46e9680ed38ab8aaabb
[ "Apache-2.0" ]
permissive
OpenPeerPower/Open-Peer-Power
02ec5c133564b47c6f72f669e844a666643cacd6
940a04a88e8f78e2d010dc912ad6905ae363503c
refs/heads/master
2022-08-16T09:38:49.994009
2021-05-29T03:54:13
2021-05-29T03:54:13
183,174,237
1
0
Apache-2.0
2022-07-15T18:43:02
2019-04-24T07:35:47
Python
UTF-8
Python
false
false
246
py
"""Automatically generated by oppfest. To update, run python3 -m script.oppfest """ # fmt: off FLOWS = [ "almond", "daikin", "dialogflow", "homekit_controller", "met", "mobile_app", "mqtt", "zha", "zwave" ]
[ "pcaston@arach.net.au" ]
pcaston@arach.net.au
38ac0ebefab8c9d3b98a064ad4fb25c4b5357b6d
2c889d2bde3a6a4c1fc8a0c3d0070779adcfa30b
/p3.py
a8bd0ffd4842f4df6ec610630daa70778987de8d
[]
no_license
rjorth/lab4-key
b5c6c3cca834ba191ea18940160933af594ba8d8
67d4a417b6b137a83ee96bc281ab324b5cd8677b
refs/heads/master
2021-05-15T12:16:13.012732
2017-11-01T13:20:52
2017-11-01T13:20:52
108,420,020
0
0
null
null
null
null
UTF-8
Python
false
false
1,465
py
import sys class Node(object): def __init__(self, v, n): self.value = v self.next = n class LinkedList(object): def __init__(self): self.firstLink = None def add (self, newElement): self.firstLink = Node(newElement, self.firstLink) def test(self, testValue): curr...
[ "noreply@github.com" ]
noreply@github.com
1778146de13d49f780aa4ee3134a372e96fa308a
f008fe1057b00d19d7812e0373669763c9992f42
/python/hpatches_eval.py
ebac75261c116cac7ddb183ec31547f7388ef833
[ "BSD-2-Clause" ]
permissive
baiyancheng20/hpatches-benchmark
68a265f5e23f7ceabce06635818b8c6a73c3e578
23c3a6dcf92bff7bda492363908cbc52b2533472
refs/heads/master
2021-01-20T00:52:08.069991
2017-04-22T19:02:21
2017-04-22T19:02:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,678
py
"""Evaluation code for the HPatches homography patches dataset. Usage: hpatches_eval.py (-h | --help) hpatches_eval.py --version hpatches_eval.py --descr-name=<> --task=<>... [--descr-dir=<>] [--split=<>] [--dist=<>] [--delimiter=<>] [--pcapl=<>] Options: -h --help Show this screen. --version S...
[ "v.balntas@imperial.ac.uk" ]
v.balntas@imperial.ac.uk
06cb210a650fc39142459a1b18995c9b0a34b4d9
bbfd441168758ed5fd9801c8330698e2ca3bbaeb
/tf-2-workflow/train_model/train.py
76bb16faba426c0f0276db7ab0fece03fbab9473
[ "Apache-2.0" ]
permissive
aws-samples/amazon-sagemaker-script-mode
66d5041bb35e55eea4efe511c83cd21d4add58db
54be9ca995bf33d87ccfede258f1c639e07c19fc
refs/heads/master
2023-08-03T08:49:36.256492
2022-03-09T00:18:07
2022-03-09T00:18:07
169,129,147
168
103
Apache-2.0
2023-07-21T04:47:36
2019-02-04T18:45:15
Jupyter Notebook
UTF-8
Python
false
false
2,459
py
import argparse import numpy as np import os import tensorflow as tf from model_def import get_model os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' def parse_args(): parser = argparse.ArgumentParser() # hyperparameters sent by the client are passed as command-line arguments to the script parser.add_arg...
[ "rabowsky@amazon.com" ]
rabowsky@amazon.com
969d308cce5315153f4c62b2ab6b833571aed1c2
dbb3dfcf57d4a57045f6936da82f7b4ace6221de
/collate.py
d9f5253185d3f4f3ea1850215b7eff393d7ac81a
[ "MIT" ]
permissive
geoquant/JSON-QAnon
d536b52999a8e553d2e89f3ec1cd820e06b70bd8
2cd3f0ef311cefeaf74fa1641fbeff6b163ed85a
refs/heads/main
2023-03-18T17:35:54.539852
2021-03-05T06:17:44
2021-03-05T06:17:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,413
py
#!/usr/bin/env python3 import copy import json import os import re from bs4 import BeautifulSoup # location of 1.htm, 2.htm, etc. PAGES_DIRECTORY = 'qposts.online/page' # when False, trim stray whitepaces from links in posts+refs; see explanation in clean_up_raw_text() KEEP_ORIGINAL_WHITESPACE = False def extract...
[ "jack.kingsman@gmail.com" ]
jack.kingsman@gmail.com
ad0d7fcc46084f9cf006198340d01c1534e41179
d64893992dee08c1c84111fc700c267339230743
/cctv.py
0fd3b5e558879c84263913e5e07432c7acd989ed
[]
no_license
amredarpan11/SGP-2021
fe76e677f1b1cf372efafa0662c5168180878a34
d5a422e2011ae6ca5e3e05d310dad337bdd7bf2b
refs/heads/main
2023-04-17T04:43:57.682365
2021-04-29T05:22:07
2021-04-29T05:22:07
349,281,663
0
0
null
null
null
null
UTF-8
Python
false
false
1,625
py
# coding=utf-8 import cv2 import time def minimizeWindow(): import win32gui,win32con window = win32gui.GetForegroundWindow() win32gui.ShowWindow(window,win32con.SW_MINIMIZE) def cctv(): video = cv2.VideoCapture(0) video.set(3,640) video.set(4,480) width = video.get(3) hei...
[ "noreply@github.com" ]
noreply@github.com
1685d2a9cf7e5dc726fffb430a61ba17869e53f8
4cce3b466591f7f8b9d58c1f8cae4dd0b6425b09
/classes dealing.py
09e2606008d31426022cdef988fb9cec1726491e
[]
no_license
adityamangal1/hackerRank-solutions
4e5fc66785215688449f58176b0260e05fb0c404
102ee32f5984240939bf14e799a458d99388774b
refs/heads/master
2023-04-18T15:35:36.998087
2021-04-22T07:16:38
2021-04-22T07:16:38
297,935,486
13
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
import math class Complex(object): def __init__(self, real, imaginary): self.real = real self.imaginary = imaginary def __add__(self, no): complex_n = complex(self.real, self.imaginary) + \ complex(no.real, no.imaginary) return Complex(complex_n.real, complex_n.ima...
[ "adityamangal0202@gmail.com" ]
adityamangal0202@gmail.com
eb6e24298ea8f7fb918358f14f3dc37f683cef00
c74ee64c2730c1a8c2a8b39e394fce2125722b1c
/run_tests.py
691ec73ca87559fb1203ccf4cbffc68e73b10afd
[ "MIT" ]
permissive
hua2001/FFTHomPy
b754213c1d9296236709b13409eb9f006781c13a
e733194b12f0d732377615163495d2bde06a1e46
refs/heads/master
2020-12-25T15:30:24.752750
2015-08-28T15:36:17
2015-08-28T15:37:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
#!/usr/bin/python import unittest import numpy as np from homogenize.problem import Problem, import_file import cPickle as Pickle import os class Test_main(unittest.TestCase): def setUp(self): self.input_files = ['examples/scalar/scalar_2d.py', 'examples/scalar/scalar_3d.py',...
[ "vondrejc@gmail.com" ]
vondrejc@gmail.com
c630a294ad77a90e993584e4fabc30126993f236
f1dc6a4c37dad17d32a379d94748bfe97d7b2784
/Course 1/Week 4/kargerMinCut.py
8625cf2054f7ca1ed8b68dee4b0ee76e0c7a496b
[]
no_license
chrism216/Coursera_Stanford_Algorithms
4cf6248ffa57c8982dc2601819f71e89e8afa8ba
3ec4eb5587818f0945dc9d1533415a527f90e8ce
refs/heads/master
2020-03-26T04:32:35.128080
2018-10-23T21:51:03
2018-10-23T21:51:03
144,508,746
0
0
null
null
null
null
UTF-8
Python
false
false
1,680
py
from random import choice from math import log from copy import deepcopy def merge_vertex(adj): vertex1 = choice(list(adj)) vertex2 = choice(adj[vertex1]) vertex2_items = adj.pop(vertex2) # Add edges from deleted vertex2 to vertex1 adj[vertex1] += vertex2_items # Update edges that pointe...
[ "chris_m216@hotmail.com" ]
chris_m216@hotmail.com
41127de8fe849b6f4a3d581b297a921093e0711c
8246307d867c7c60157c8e967d15ac1c920f7c5b
/Python/count_letter.py
56479b1b7350bc7886ebc50e86b577b8e1460484
[]
no_license
pratyushmp/code_opensource_2020
abe4aabaa8984cf9eb020604b401ab7ae80e8370
2302a6dfa651aaaca8b71786ca526864a60b800d
refs/heads/master
2023-06-24T07:48:13.339825
2020-11-17T04:31:13
2020-11-17T04:31:13
215,303,780
8
156
null
2023-06-16T06:05:47
2019-10-15T13:18:42
Java
UTF-8
Python
false
false
662
py
def count_letters(text): result = {} # Go through each letter in the text count = 0 for letter in text.lower(): # Check if the letter needs to be counted or not if letter.isalpha(): if letter not in result: result[letter]=0 result[letter]+=1 # Add or increment the value in the ...
[ "gouravrawat255@gmail.com" ]
gouravrawat255@gmail.com
3aaa08aa641d60b7ce03f8acbd64dbadb472d81d
b4b694e71464532dd19ab72b9f7a1a599c3a4e89
/multimodal/average_predictions.py
118b50d064f64188c77210a4019f6cda5d9e9152
[]
no_license
omg-challenge-alpha/omg_challenge2018_submission_code
e12e1ae224c610af35747f5e5a1c305691795896
c16f7480efee3fb14579f01d2be9a9313b1a01b2
refs/heads/master
2020-04-10T05:59:22.430998
2019-01-28T11:31:10
2019-01-28T11:31:10
160,842,897
1
1
null
null
null
null
UTF-8
Python
false
false
5,487
py
import pandas as pd import numpy as np from scipy.signal import butter, lfilter, freqz from scipy.stats import pearsonr from matplotlib import pyplot as plt def ccc(y_true, y_pred): true_mean = np.mean(y_true) pred_mean = np.mean(y_pred) rho,_ = pearsonr(y_pred,y_true) std_predictions = np.std(y_pre...
[ "noreply@github.com" ]
noreply@github.com
5d1ee53903bb1c103dcbfa5adcb02a724718dcbf
ea02a4c1466415a050684e7375dd255b212125e9
/emailupdate/admin.py
f19ecbeed694f268ff2f085314d21bc20707dc19
[]
no_license
scotplum/inthenout
bb9cb12fd800d31501f7c5274d42759f990eab3e
772f935396a7ada4e5e35000034f089606e01382
refs/heads/master
2020-05-26T22:15:07.519560
2017-05-23T04:15:06
2017-05-23T04:15:06
82,509,502
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
from django.contrib import admin from models import Email # Register your models here. admin.site.register(Email)
[ "scotplum@gmail.com" ]
scotplum@gmail.com
517e4b682e6b12974385b9c23201af4bebefd1d0
5679731cee36c537615d285ed72810f4c6b17380
/513_FindBottomLeftTreeValue.py
0de079fbf90fd9385df6647f65a7e451a7aa108a
[]
no_license
manofmountain/LeetCode
6b76105190a9b62df65a7b56b6def4120498b9fa
718f688b3d316e8c10ef680d9c21ecd518d062f8
refs/heads/master
2021-01-12T03:41:48.318116
2017-07-18T12:35:58
2017-07-18T12:35:58
78,252,164
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
# 40.9% # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None #from collections import deque class Solution(object): def findBottomLeftValue(self, root): """ :type root: Tre...
[ "noreply@github.com" ]
noreply@github.com
91e49750928e22ddb674fc23c07aa8d6808eb4d3
b21b7e9da588abfdb6e0ba4c42fc73270124b19e
/01-Qualification/02-Nesting_Depth/solution.py
746e13d50f3615f823b2cb08a6dc8790b71ba3f2
[]
no_license
luispmenezes/Google-Code-Jam-2020
442fc148afc887443807c949a2d76105e7f8a493
655ea66dbf36dbb93e2046d8daf60df5c3b9096b
refs/heads/master
2022-04-10T06:22:46.210862
2020-04-05T11:28:16
2020-04-05T11:28:16
252,834,069
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
def main(): t = int(input()) for t_idx in range(1, t + 1): s = input() new_s = "" current_depth = 0 for n in s: new_depth = int(n) if new_depth > current_depth: new_s += "(" * (new_depth - current_depth) elif new_depth < curre...
[ "lspmenezes@gmail.com" ]
lspmenezes@gmail.com
e0f658a2dfdc29c3743be77e71ff5e2cc4e36238
1818247390f45566d4a397e7aea1b2de7027582e
/lecturebook/models.py
63da7f08a749cecf06bb5f280f1f0c87ad6985fd
[]
no_license
AnGyeIn/ere_app_server
8e06da73a160c3e10ac41ed61424292fa9df8b21
577de77f7f84928a1deca59e9dcbb3d4add096a0
refs/heads/master
2022-11-27T16:50:07.366756
2020-08-05T07:47:40
2020-08-05T07:47:40
282,136,154
0
0
null
null
null
null
UTF-8
Python
false
false
2,311
py
import uuid from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin from django.db import models # Create your models here. from django.utils import timezone class StudentManager(BaseUserManager): def create_user(self, sNum, name, pNum, password=None): user = self.model(sNum=sNu...
[ "agistudio97@gmail.com" ]
agistudio97@gmail.com
c44632df47cf5fe63c486976a302b203e61fa980
fc73adeb9998c3f144bc19d0f32bfa2e08ffe53f
/GBP FX HTML Email- generic.py
a291eaa316e85b9f8a078154677fcd76822df0bd
[]
no_license
llattan/Portfolio-Projects
58e5dacc1172ab086ab74c7df93ea5065e984660
271067cc25af205a55f31b138a1a66e13a823a61
refs/heads/master
2022-11-14T20:37:10.295087
2020-06-21T17:32:24
2020-06-21T17:32:24
267,049,876
0
0
null
2020-05-26T13:49:49
2020-05-26T13:26:50
null
UTF-8
Python
false
false
4,989
py
from urllib.request import urlopen from bs4 import BeautifulSoup import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart #from email.mime.base import MIMEBase from email.mime.image import MIMEImage import time import requests import csv #from email import encoders url="http...
[ "noreply@github.com" ]
noreply@github.com
3715ccf9a3e985bb9759e80cc93d8ee95462f847
325c217fea68ffd93e04d0664a76ec72cd262ac1
/entryparser.py
938ed4704518bf73bb45a82100957e6e87375e1e
[]
no_license
egesadic/sozlook
4f4cc9197bae9294042197ef6e1fcd2401b7afd8
407be34b715266dd5c91ae97af085a50dc01fc4e
refs/heads/master
2020-04-15T00:51:00.584295
2019-01-05T21:52:51
2019-01-05T21:52:51
164,253,947
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
import sozlook import sozlook_kadinlarkulubu import time def auto_fetch(baslik): sozlook.get_topic(baslik) plist = sozlook.parse_all_entries(baslik) sozlook.save_entries(plist) sozlook.to_excel(plist, baslik) print("Tamamlandı: " + baslik) del plist def local_fetch(baslik): f = sozlook.loa...
[ "noreply@github.com" ]
noreply@github.com
9548ef37a3de605b5bab00df1a6f4567c0a51d12
ccdeebbbfc6476fdad2984dbcaaba7296e920038
/stubs/pep8-naming/pep8ext_naming.pyi
13e7e48fbf50ac2ee4957ce90ab75e334f89a065
[ "MIT", "Apache-2.0" ]
permissive
hoefling/typeshed
75d85144aa8b69fac1872f7d0239f910b509b99c
c9e6bd2df9d2aa05927ce0576c24cbb5740d7361
refs/heads/master
2023-07-22T08:50:00.789424
2022-10-10T14:26:07
2022-10-10T14:26:07
208,133,768
0
0
null
null
null
null
UTF-8
Python
false
false
1,115
pyi
import ast from argparse import Namespace from collections.abc import Generator, Iterable from typing import Any __version__: str PYTHON_VERSION: tuple[int, int, int] CLASS_METHODS: frozenset[str] METACLASS_BASES: frozenset[str] METHOD_CONTAINER_NODES: set[ast.AST] class NamingChecker: name: str version: str...
[ "noreply@github.com" ]
noreply@github.com