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
51e3a0faf4500692fe7b2471b88b9a24186d3503
90223bc86881684a25ae58410ed70747ceea4537
/sentiment_analyser.py
5bbcbcb201dddc21a395116cb7a0685074ba808c
[]
no_license
Dipali2011/sentiment-Anlysis
3a96b05e53135f17ababfa28a86a91f61a95df7d
4d09cd8e304e528ae5fd041248185928d8ca3f9c
refs/heads/master
2020-09-02T00:06:17.874526
2019-11-02T02:32:13
2019-11-02T02:32:13
219,091,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,650
py
import nltk import random import pickle from nltk.classify import ClassifierI from nltk.tokenize import word_tokenize from statistics import mode from nltk.collocations import BigramCollocationFinder from nltk.metrics import BigramAssocMeasures class VoteClassifier(ClassifierI): def __init__(self, *classifiers): ...
[ "54259121+Dipali2011@users.noreply.github.com" ]
54259121+Dipali2011@users.noreply.github.com
75bf6d6e2d3190c2af3cfe9b3d38d5d581355d7c
6f9bff9b8fadb1076155e56754abddacc01e9dfa
/Recursion de Pila/Lambda base.py
3bfaeee2db6f2377f2da74ad058680499fd3f0d8
[]
no_license
CASH48/Codigo-Curso-Csibaja-2018280833
b47242a2903fbdf9f97bb69935451ff70a855855
c2bf98ff23482affd1c6681762bcc186e4ce0ab5
refs/heads/master
2020-03-19T09:11:34.448539
2018-06-06T03:43:31
2018-06-06T03:43:31
136,267,349
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
def revise_num(num): if isinstance(num, int): entre0y4 = lambda digito : digito <= 4 entre5y9 = lambda digito : digito >= 5 return aux(num, entre0y4), aux (num, entre5y9) else: return "Error" def entreCeroyCuatro (digito): return digito <= def entreCincoyNueve (digito): ...
[ "noreply@github.com" ]
noreply@github.com
72cba8bcc25d22cca3631c8d82d843006bac4f8e
a53cb2da6fb1449cd86eef187a853657dc68dc56
/app.py
196cee7346618588d84655baa4672bb17562b086
[]
no_license
akul08/twitter_police_analysis
faa320c84430fedea2b5db9aefdb2a6ffd6425eb
17593060a65e15bd23b06fa5805a1257625b8551
refs/heads/master
2021-01-18T13:09:46.370669
2017-10-17T15:24:50
2017-10-17T15:24:50
80,735,131
1
0
null
null
null
null
UTF-8
Python
false
false
9,048
py
from flask import Flask, render_template from pymongo import MongoClient import datetime from collections import defaultdict, Counter import os from textblob import TextBlob app = Flask(__name__) # list of police twitter accounts tweet_users = ['DelhiPolice', 'MumbaiPolice', 'wbpolice', 'hydcitypolice'...
[ "mehra.akul@gmail.com" ]
mehra.akul@gmail.com
fba805109e26d8b351557633c78a703e20384020
73f5cf503bc510122c87493dbe35a7740633af6f
/lib/ViewCanvas.py
1b67daaedc515201cafdb198b6f427be24c750cd
[]
no_license
JaenamBae/bzmagEditor
816d38d2f3ce046fa28d18c1540226cf9d547e37
44afe485f849b783ec4c9e308f3d8776c27dd9bd
refs/heads/master
2021-07-17T04:51:00.344055
2020-06-19T04:05:02
2020-06-19T04:05:02
180,600,886
0
0
null
null
null
null
UTF-8
Python
false
false
8,528
py
import matplotlib.pyplot as plt from matplotlib.figure import Figure from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from PyQt5.QtCore import (pyqtSlot) from pyqtcore import (QList) import numpy as np import bzmagPy as bzmag from lib.SurfaceArtist import SurfaceArtist from lib.CSArt...
[ "jaenam@dongyang.ac.kr" ]
jaenam@dongyang.ac.kr
2475e3c68a342f6306b0f49264faac1e4de2b920
db99301f115422b4beae9ae2967056148cb792cc
/PycharmProjects/OpenCV_1/ocv_study_f.py
7290c9adb271ecdfa82dc6b1d3e44874258c1d9c
[]
no_license
d-seino/zero_study
7274cdac778b1dc0362c80afe093372aed07379e
daf570969d4c61fc43a70928ad5d3c11cbd188ba
refs/heads/master
2020-07-26T00:31:00.598996
2019-09-17T09:57:33
2019-09-17T09:57:33
208,466,207
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
import cv2 img = cv2.imread("hama.jpg") # ネガポジ反転 img2 = 256 - img cv2.imwrite("hama-nega.jpg", img2)
[ "seino@connect-dv.com" ]
seino@connect-dv.com
724f4a9771a701c4ae99af478a66ae4ac29c9feb
15173436c4778202f948f7bdad1fcdfbdb1c129e
/log_parser.py
7d9ec0b0cd8bacebc2c33f98e227e14b9e81919c
[]
no_license
friendlyJLee/ids_for_android
0109673bdf385d2121c63408d3fa1712195f4080
80461669137845327e5edea4e145869884089406
refs/heads/master
2020-05-17T17:51:02.934473
2017-08-15T21:19:32
2017-08-15T21:19:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,829
py
#!/usr/bin/env python3 # Author: Martin Borek (mborekcz@gmail.com) # Date: Mar/2017 import errors import logging from itertools import product # logging.basicConfig(level=logging.INFO) class FeatureVector: def __init__(self, feature_dict, system_calls_num, normalise=False, sort_alphabetically=False): s...
[ "mborekcz@gmail.com" ]
mborekcz@gmail.com
2ca3bb6af8a5ea049788652b0115ca065f17a427
1400486717c5d5f83509bc31c06aedcbace374f3
/manage.py
9712b3a221bb518d61e1c805a78130223cb6f09f
[ "MIT" ]
permissive
maneran/autocat
f9e732c18be23cc418e460e49f7eba076fe803e3
5e86cd578bc2f7fc7f9dab0761a48fd90be0b055
refs/heads/master
2023-04-28T16:33:37.776895
2019-08-20T12:59:16
2019-08-20T12:59:16
203,351,860
0
0
MIT
2023-04-21T20:36:50
2019-08-20T10:16:29
JavaScript
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "lolcats.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "ran.manela@gmail.com" ]
ran.manela@gmail.com
3d42cb23631ca95099ca7717168e2cfb8e151619
cfc52686367034fe81a21152432d98b757d402b1
/LevelOne/두 개 뽑아서 더하기.py
ba0ebe22b4d406a3b57362f6d84cc9f03ff3e111
[]
no_license
minm063/CodeTest
4fadd513c90f58747bd9e1d93eb7b6d15abd2dd4
99406304f51cd15f5b156fd7f669b0e994c3f4ff
refs/heads/main
2023-04-02T02:09:44.860628
2021-04-10T11:05:13
2021-04-10T11:05:13
302,225,032
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
def solution(numbers): answer = [] for i in range(len(numbers)): for j in range(i+1, len(numbers)): num=numbers[i]+numbers[j] if num in answer: pass else: answer.append(num) answer.sort() return answer
[ "noreply@github.com" ]
noreply@github.com
2ef2e6f12048e175bd9a29a46af262c48a8eac18
0aacd37436892f9a990a2a6483da6d807f48915c
/build/rll_sdk/rll_control/catkin_generated/pkg.develspace.context.pc.py
410d092b44f0dfa21198ef1a443fc914368bfa1f
[]
no_license
yychiang/KUKA-Path-Planning-Contest
0ba59361ddd014e7a95ddc43be9f5700b74d3b79
67dea0b977f3c335d2840e545d18215d2d4a3f4a
refs/heads/master
2021-09-22T22:29:53.165108
2018-09-18T02:06:21
2018-09-18T02:06:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "rll_control" PROJECT_SPACE_DIR = "/ho...
[ "dehavenm@gmail.com" ]
dehavenm@gmail.com
0b393c99acb69e2e47500842eda4d0fff53b69a6
4adc1d1b8f9badefcd8c25c6e0e87c6545ccde2c
/OrcApi/Driver/Web/WindowDefMod.py
81ea8efdc597472a2d1aed384e743b1cac1c6b9e
[]
no_license
orange21cn/OrcTestToolsKit
eb7b67e87a608fb52d7bdcb2b859fa588263c136
69b6a3c382a7043872db1282df4be9e413d297d6
refs/heads/master
2020-04-15T07:30:35.485214
2017-09-30T06:16:17
2017-09-30T06:16:17
68,078,991
5
3
null
null
null
null
UTF-8
Python
false
false
2,884
py
# -*- coding: utf-8 -*- from datetime import datetime from OrcLib.LibCommon import is_null from OrcLib.LibException import OrcDatabaseException from OrcLib.LibDatabase import WebWindowDef from OrcLib.LibDatabase import orc_db from OrcLib.LibLog import OrcLog class WindowDefMod: """ Test data management ""...
[ "orange21cn@126.com" ]
orange21cn@126.com
6fe6ca14422bff484801480550984af8c6e7bded
68298f6f3a226db01ca409ddbe320a3c2ebc83bf
/Python program/Profit-Loss-%.py
f3613eddc04addd9d8430ff9cadff82211f32d94
[]
no_license
chetnachauhan12/hacktoberfest2021-2
12af174cca5d8dbcdb647be17d735f2458dfcf2a
3258a11316cc5cacea663c1111b332b7d39a8750
refs/heads/main
2023-08-25T23:33:10.101882
2021-10-31T18:34:28
2021-10-31T18:34:28
423,230,051
0
0
null
2021-10-31T18:34:29
2021-10-31T18:32:36
null
UTF-8
Python
false
false
209
py
n = int(input("Enter Cost Price : ")) b = int(input("Enter Sale Price : ")) if(n>b): print('Loss is' ,((n-b)/n*100), "%") if(b>n): print("Profit is" ,((b-n)/n*100), "%") elif(b==n): print("No Profit/Loss")
[ "noreply@github.com" ]
noreply@github.com
2790771046ad0a5233d313f9eaa93fc305483bba
1526102e1531d712f4f3119446a9c02396250869
/session2 ex4.py
e5aaed60019977bbed5fb755178c6e88a72d6f5e
[]
no_license
Vibgin/Python
250d73ae73f43feb8b8a458d6434b63f418a58ee
f67de099e56d251152bddf53ccb773011183137d
refs/heads/master
2021-04-15T04:39:12.139977
2018-03-25T07:24:11
2018-03-25T07:24:11
126,673,978
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
c=0 for a in range(0,10): b = int(input("enter the number: ")) d= b+c c=d f=float(d/10) print("Sum of 10 numbers : {}".format(d)) print("Avg of 10 numbers : {}".format(f))
[ "noreply@github.com" ]
noreply@github.com
8032c516df1dc1e800090a16595f193122885ec2
8c076d8d9947826142d07590544ae2d920ea33c8
/grm/core.py
ac0c163b4639274b9000f4169588dbabec4cd13b
[]
no_license
floydawong/git-remote-manager
ac2ef6e841c48c5eb00df06f797a7ab4531e846b
142fcd25e0ce4ab2145dce903ee4cfc3d729cda1
refs/heads/master
2020-03-18T11:28:41.306412
2018-06-12T23:57:30
2018-06-12T23:57:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,451
py
# -*- coding: utf-8 -*- # Author: Floyda from multiprocessing import Process import os from utils import Logging, run_command, get_public_ip, open_file from macro import BASE_GRM_DIR, REPO_POSTFIX, CONFIG_FILE # ------------------ Split Line By Floyda ------------------ # Methods # ------------------ Split Line By Fl...
[ "floyda@163.com" ]
floyda@163.com
384eb5502b63e22ce2f33f20feb5e600526b335f
c8192847a3757a6b9364eee4fa49c789367c8a76
/candlestick_aggregator/main.py
ac6c6a3bab8c4b6cf2bbf63853772bc2892d6382
[]
no_license
gabrielspires/Crypto-Candlestick-Aggregation-System
1c0b5d00512dcfbffb8b45f5d128d6af4b06e9b9
576d20940e1b5e027bf4b163649bec222d0670ad
refs/heads/main
2023-06-01T13:54:42.118675
2021-06-21T17:10:40
2021-06-21T17:10:40
376,343,889
3
0
null
null
null
null
UTF-8
Python
false
false
704
py
from candlestick_api import CandlestickAPI if __name__ == "__main__": """Calls the methods for fetching and creating/inserting the candlestick data in the database. Both api methods below use the threading lib to call themselves every .5 seconds. This makes sure that the requests are fast enough so tha...
[ "gabrielhpires@gmail.com" ]
gabrielhpires@gmail.com
90928a35d6395f4158c75f01c9cab41bd21547fd
dab60c3f90f7d2b1a23a105aaa1a087668346755
/dokugaku/15/deck.py
ced21c1231ea5ca5ed75817a4b850ca8c3d6f067
[]
no_license
sei1225/python_practice
2e8086ae0353098c4c915b65da0f11214d7c01e9
e2c5a52f558cbef1d7dc4931ac3885286cf1b2a3
refs/heads/master
2023-02-26T01:05:27.346191
2021-02-03T15:02:37
2021-02-03T15:02:37
330,343,882
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from random import shuffle from card import Card class Deck: def __init__(self): self.cards = [] for i in range(2, 15): for j in range(4): self.cards\ .append(Card(i, j)) shuffle(self.cards) def rm_card(s...
[ "sei_plus@outlook.jp" ]
sei_plus@outlook.jp
55df6ba51e2e2f495897c69230c3f01dc0923143
63bd44efdeea39ce793d32e6ff379a30b4edd3c5
/comparison/analysis.py
fb589cc81a2d56e865e2b4e494fc400ff4a88fa5
[]
no_license
sophiaaez/sibiris
333fcc55cd52f64557cd6b495fafb1024525494f
15d01446adf28f73dcf2f0e14c3defdc884eea72
refs/heads/master
2023-03-23T11:37:18.672791
2021-03-08T13:19:47
2021-03-08T13:19:47
283,770,291
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
from sklearn.manifold import TSNE import numpy as np import matplotlib import matplotlib.pyplot as plt """ finds matches for an id_ among a list ids, the amount of matches is limited by cutoff Returns a list of indices that refer to the id_ matches position in ids. """ def findMatches(id_,ids,cutoff=7): ...
[ "8zell@informatik.uni-hamburg.de" ]
8zell@informatik.uni-hamburg.de
5be9a1ebe6872190d6d8ccf8ef9d7559a276c509
22579107335eeb45c4b950eb0b09f7fbebe211d9
/TicTacToe/app.py
64203727f35fa2124a287d31693569bd707a92de
[]
no_license
Glyceri/TicTacToe
78ed73466251f743e49e6e88f62443061a5d79e4
6c13f37512dcf1732df3432997f21a7da82634d4
refs/heads/master
2023-03-26T15:20:32.989079
2021-03-20T17:06:05
2021-03-20T17:06:05
349,717,212
0
0
null
null
null
null
UTF-8
Python
false
false
4,838
py
from Game import Game Quit = False WinnerFound = False def QuitCheck(): print("Want to play another round. Type 'y' or 'n'") ShouldQuit = str(input()) if ShouldQuit == 'n': return True elif ShouldQuit == 'y': return False else: print("Please input a 'y' or 'n'") retu...
[ "78602618+Glyceri@users.noreply.github.com" ]
78602618+Glyceri@users.noreply.github.com
37913c6ecbbbda6ad28bc4dac8635652653d5abb
23611933f0faba84fc82a1bc0a85d97cf45aba99
/google-cloud-sdk/.install/.backup/lib/surface/compute/instance_groups/managed/get_named_ports.py
adf1818f3b56f360348f6678bf9cbb31f379ccb2
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
KaranToor/MA450
1f112d1caccebdc04702a77d5a6cee867c15f75c
c98b58aeb0994e011df960163541e9379ae7ea06
refs/heads/master
2021-06-21T06:17:42.585908
2020-12-24T00:36:28
2020-12-24T00:36:28
79,285,433
1
1
Apache-2.0
2020-12-24T00:38:09
2017-01-18T00:05:44
Python
UTF-8
Python
false
false
2,035
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "toork@uw.edu" ]
toork@uw.edu
4da67cc25dd7d6b558df2efad5867965f4ca9d0b
075ec7915e73e23b9331406fb6301d5305b4d9c2
/2020July_education_pytorch_teaching/data/two_layer_numpy.py
e22dc6ed456582ff5db4a73fbd8df8d1c0d1feb0
[]
no_license
01gou/Deeplearning_pytorch
763d875312464e36a949c3cc5652b951bd5eaa50
1ae33f532c3e14be8030dfe2065005bb791b54b7
refs/heads/master
2023-08-13T15:38:02.276615
2021-09-29T15:57:22
2021-09-29T15:57:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,263
py
#!/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/2/24 # @Author :'IReverser' # @FileName: two_layer_numpy.py from __future__ import print_function import numpy as np # N is batch size; # D_in is input dimension; # H is hidden dimension; # D_out is output dimension. N, D_in, H, D_out = 64, 100, 100,...
[ "noreply@github.com" ]
noreply@github.com
309d29b24913f98efee27737bb22209f5b2131b8
370fe83c8095f6c0734e0e3fd875d65d4dcc669f
/Energy_plot.py
a16337e5302cb43e890eb835af749edf2bc39645
[]
no_license
zzwzxmm/LAMMPS-input-python-codes
1e00f80b7d6c0eaaef8957428f0eac19657cc889
f5d22448e59d0f89714346af55014ea31f9eddf9
refs/heads/master
2020-05-01T14:54:42.364816
2019-10-12T01:32:09
2019-10-12T01:32:09
177,532,594
1
1
null
null
null
null
UTF-8
Python
false
false
2,001
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Using pylab and numpy to plot figure of polymer-substrate interaction energy ''' import numpy as np import pylab as pl import os #------------------------------------------------------------------------------- filename = 'Energy_peek-cu.txt' file_energy = open(filen...
[ "noreply@github.com" ]
noreply@github.com
fc1dcba88e871996c1c76c277c48d9b98bcfbfa2
d30c0b4be66cf2b14c85e68ea5a7ad4f3e72af9c
/gestaoacademicaapp/models.py
e6e81f03e8b6cdf2ac9bda8f56241831db65eebd
[]
no_license
carolalua/helloworld
3c2e65bf26138bc0db57b2ce930e777a08a1b1b1
d8e77a9ad7be520e97aeeffe4751eb03336dbca5
refs/heads/master
2023-05-11T16:07:54.404531
2021-05-12T00:51:06
2021-05-12T00:51:06
350,898,474
0
0
null
null
null
null
UTF-8
Python
false
false
1,881
py
from django.db import models from django.contrib.auth import get_user_model class Curso(models.Model): titulo = models.CharField(max_length=255) descricao = models.TextField(), datacriacao = models.DateTimeField(auto_now_add=True) def __str__(self): return self.titulo class Disciplina(models.Mod...
[ "csoinegg@gmail.com" ]
csoinegg@gmail.com
38a9fd14dc32e03cea4fa504ae625e46a6c8ed1e
f7152e44bd767495cef0d0420e60998d55a1614c
/phylogenie/gblock_position.py
5e03e6d93e60d59944a78bd54fb87bc0cdff4481
[]
no_license
Issa900/AP_Intern
c91f2891e338524ee57d5d0e5b08778d6f582640
8abc2f4583c99c83bfc2c86aeeb20b7f8c0b4597
refs/heads/master
2021-06-06T10:42:41.946111
2016-09-02T02:46:54
2016-09-02T02:46:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,489
py
#!/usr/bin/env python # -*- coding: utf-8 -*- '''Represente la distribution de difference de position dans la sortie Gblocks ''' import os, sys,re import matplotlib import matplotlib.pyplot as plt import numpy as np def read_file(directory_htm, list_dir_htm): cluster_labels = [] initial= [] gblock = [...
[ "diop.seydina@laposte.net" ]
diop.seydina@laposte.net
d155f15f7ad2a469627d668066a70e11fe83b0b2
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/Y4gwcGfcGb3SKz6Tu_0.py
e71f5bc1628a8c29847b14606c19007da771aeb7
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
203
py
def max_separator(s): substrings = [(s.find(i, idx+1) - idx, i) for idx, i in enumerate(s) if s.find(i, idx+1) != -1] return sorted([c for size, c in substrings if size == max(substrings)[0]])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f055e6180a4e46f7991e55d06b8d7a00dfff9578
af3d1fde90a07da69b19b9572e564511ff77d49b
/blog/admin.py
41bcb4d34a189f5c5ebca62d9e78b969a323e4e6
[]
no_license
karol-lipinski/my-first-blog
a366c72e9f77028657014b43008481602887477f
a00e992955d9cd403761b40961df9c8d4286baaa
refs/heads/master
2020-12-02T20:33:20.840049
2020-04-10T01:29:07
2020-04-10T01:29:07
231,113,028
0
0
null
null
null
null
UTF-8
Python
false
false
249
py
from django.contrib import admin # Register your models here. from .models import Post #from .models import SlNieruchomosci #from .models import SlAkcja admin.site.register(Post) #admin.site.register(SlNieruchomosci) #admin.site.register(SlAkcja)
[ "karol.lipinski@interia.pl" ]
karol.lipinski@interia.pl
88b22d69461663b7fa537e3905d88ce6049fb3e4
49bbae183824d5e529773e7284cd763218e8ebd7
/GradingSystem/GSApp/views/plaigiarism.py
37750b5007f265b997c998e9f785d52da4f8c58f
[]
no_license
SMMvlog/GradingSystem
65985bab476bacd7594845d40f99480360e6984d
2ef598b8b7821fa6832f2895804770927250cc1f
refs/heads/master
2023-07-11T06:55:35.169879
2021-08-17T04:27:01
2021-08-17T04:27:01
397,093,141
0
0
null
null
null
null
UTF-8
Python
false
false
2,631
py
from django.shortcuts import render import pandas as pd import nltk nltk.download('punkt') from difflib import SequenceMatcher import requests from bs4 import BeautifulSoup as bs import warnings def plaigiarism(request): if request.method == 'POST': qry = request.POST['check'] warnings.filterwarnin...
[ "https://github.com/SMMvlog/MyWork.git" ]
https://github.com/SMMvlog/MyWork.git
ac3b1e6606a68c27acd0c44197b6d1d2f55e8e22
340f514f90c64c570ab512fc88301b7c737674d1
/manage.py
d89ae41bb397bbd70ebf774d0b196f54476c7f37
[]
no_license
DorotaChroboczek/Inspector_Job
9ac30977d1045797e1ab0d4929126bae50b41f84
565268fc78f0fe5c14ef95a0a4c2a85073afbca8
refs/heads/main
2023-04-09T12:09:20.682091
2021-04-18T22:16:35
2021-04-18T22:16:35
356,625,094
0
0
null
2021-04-18T22:14:54
2021-04-10T15:40:47
Python
UTF-8
Python
false
false
669
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'inspector_job.settings') try: from django.core.management import execute_from_command_line excep...
[ "68025504+DorotaChroboczek@users.noreply.github.com" ]
68025504+DorotaChroboczek@users.noreply.github.com
54fb3fc32cbc0c3707f7cd2267748ced32b8f6bc
bb5cd63b70cea8c1dd9f304e93d360007fa4bda9
/config.py
595857e1756259a7561f6e2c5c9da4307ad86809
[]
no_license
rab20/Fyyur-App
ad6ab27c4bba4ff9e96897f9590f32caa0583829
ee67e4b932aa2cbfc26d07809659870a64009841
refs/heads/main
2023-06-11T12:41:18.513553
2021-07-03T17:30:41
2021-07-03T17:30:41
382,673,975
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
import os SECRET_KEY = os.urandom(32) # Grabs the folder where the script runs. basedir = os.path.abspath(os.path.dirname(__file__)) # Enable debug mode. DEBUG = True # Connect to the database # TODO IMPLEMENT DATABASE URL SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@localhost:5432/FyyurDB'...
[ "noreply@github.com" ]
noreply@github.com
3da8cd2718bcab6e44d110b99aeb4836a002db47
eae6dddca9285702c4c7ed6ba6bdaceef9631df2
/CCC-2019/Junior/Junior-2/J2.py
ead798d878460926221d2b7467237cbe4a4a29f4
[]
no_license
simrit1/CCC-Solutions-2
7823ce14801c4219f6f1dd4c42fb013c2dfc45dd
ee2883aa38f933e526ce187d50ca68763876cb58
refs/heads/master
2023-07-04T02:19:37.320261
2021-08-07T22:12:36
2021-08-07T22:12:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# CCC 2019 Junior 2: Time to Decompress # # Author: Charles Chen # # Strings and loops num_lines = int(input()) num_symbols = [] symbol_type = [] for i in range(num_lines): input_data = input().split() num_symbols.append(int(input_data[0])) symbol_type.append(input_data[1]) for i in range(...
[ "noreply@github.com" ]
noreply@github.com
dc95c4a33d8c185ef48dd200460bc3dd93c7e32d
e22c2c9fa574b43f05a6cfee0b4b2618ec9e218b
/simulation/__init__.py
64db39da7e69e89992ab4e9b0279bbc576c3a0d9
[]
no_license
rosscogreen/simulation
215afb35c759e9b3e1cf0204abcbc81990a33c8d
df63b491672a0b362e1e7d2929f86aec07eeb66c
refs/heads/master
2023-01-13T16:41:29.674117
2020-11-12T03:16:03
2020-11-12T03:16:03
299,171,756
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
# Hide pygame support prompt import os os.environ['PYGAME_HIDE_SUPPORT_PROMPT'] = '1' # Import the envs module so that envs register themselves import simulation.envs from simulation.car import Car from simulation.lanes import AbstractLane, SineLane, StraightLane from simulation.road import Road from simulation.networ...
[ "rossgreenuwa@gmail.com" ]
rossgreenuwa@gmail.com
b6d2f6d8f945134f5271ad56ed8d16bd5adf28e8
975b2d421d3661e6770b601929d5f11d981d8985
/msgraph/generated/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.py
6f4be6c814389b4e6daceab2b24fa17ee57513ed
[ "MIT" ]
permissive
microsoftgraph/msgraph-sdk-python
a7c551b85daadeebf76ec4ae12668664ea639b42
27de7ccbe688d7614b2f6bde0fdbcda4bc5cc949
refs/heads/main
2023-09-03T21:45:27.989672
2023-08-31T06:22:18
2023-08-31T06:22:18
534,665,999
135
18
MIT
2023-09-14T11:04:11
2022-09-09T14:00:17
Python
UTF-8
Python
false
false
11,000
py
from __future__ import annotations from dataclasses import dataclass, field from kiota_abstractions.base_request_builder import BaseRequestBuilder from kiota_abstractions.get_path_parameters import get_path_parameters from kiota_abstractions.method import Method from kiota_abstractions.request_adapter import RequestAda...
[ "GraphTooling@service.microsoft.com" ]
GraphTooling@service.microsoft.com
21c6d659d59f2313d9b1ee0fe159be2bc9a13af2
c62338d245b98f26b742360d509ef122ab7f54f0
/P0/Task2.py
fdc7aae3ea3e6122ea230bb4fc20db68424c73eb
[]
no_license
GeekFlu/ptyhon_playground-ds
e384cb66ab8f33fa6cee4ffaf876f04af1d51af1
5345e3b0173b6b76091756dfbf5160624fff5a95
refs/heads/main
2023-02-18T12:44:33.958154
2021-01-03T03:21:36
2021-01-03T03:21:36
315,872,842
0
0
null
2021-01-03T03:21:38
2020-11-25T08:18:56
Python
UTF-8
Python
false
false
3,796
py
""" Read file into texts and calls. It's ok if you don't understand how to read files """ import csv # import time with open('texts.csv', 'r') as f: reader = csv.reader(f) texts = list(reader) with open('calls.csv', 'r') as f: reader = csv.reader(f) calls = list(reader) """ TASK 2: Which telephone nu...
[ "software.j2ee@gmail.com" ]
software.j2ee@gmail.com
c8bf980ecac93935c912f654fdd20d4e158e9100
563f7440fc026a16cbad9f69b933eb795d8c696e
/3-2/q1.py
fd7559ed85c66265480d5eb0bb8df92648c55104
[]
no_license
yoowonsuk/python
f026921b1b5976776af31690cf53e88436b7370e
7c9897c45e8a269e0ceb74ec92caa9e644bb0a65
refs/heads/master
2020-06-16T08:19:10.185653
2019-07-10T09:05:32
2019-07-10T09:05:32
195,479,779
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
n1 = eval(input("First input: ")) n2 = eval(input("Second input: ")) print("sum of two numbers is", n1 + n2)
[ "sam2yuk@naver.com" ]
sam2yuk@naver.com
9b575128f93324fc5d4ae538cbab5151ca6b8bf5
60606233bbfcaddf6e87daa0f5a325f232153cdb
/CS2201/assignment03/Q6.py
c16f3d8a74216ee83ad2cd29d7c327eee3b966b7
[]
no_license
sahasatvik/assignments
df3b2ae0439a7dc3cce7d213ba2621daa48b745a
a9f35da3488f69a8e688383cceb837326fbfb2d8
refs/heads/master
2023-04-29T09:17:16.732496
2023-04-26T10:59:29
2023-04-26T10:59:29
201,730,495
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
#!/usr/bin/env python3 n = int(input("Enter a positive integer n : ")) # Total 'n' lines for i in range(n): # n - i entries per line for j in range(n - i): print(str(j + 1) + " ", end="") print()
[ "sahasatvik@gmail.com" ]
sahasatvik@gmail.com
6df60f046bcfc21962709230e2a704eb8dc11e5f
ee119450fcfa1cc865e3b87996c942c11b151268
/pca_principal_componenet_analysis.py
d384d6b8fb6177cb858da8ba54dee8edcc87d7cd
[ "MIT" ]
permissive
HamidDoost/image-processing-tools
4255e5c65335b2c6fbc23ddb65442eecde9be0e1
036f0d0776740c853f99c9285760b0d2e0dbfeae
refs/heads/main
2023-01-07T08:47:57.737542
2020-11-05T00:46:49
2020-11-05T00:46:49
310,148,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,882
py
''' =============================================================================== -- Author: Hamid Doostmohammadi, Azadeh Nazemi -- Create date: 01/11/2020 -- Description: This code is for Principal Component Analysis (PCA) which is a method for redcuing dimension for image comparison. ...
[ "hamid@MacBook-Pro.hub" ]
hamid@MacBook-Pro.hub
834ff937360a18d7b96e896ed06bb3a4b8b9b317
eb3e5fff0ea7d6fdd62eced7b8b69501991186a2
/75.py
cab6482ba147d21370f853e023d647e4da9b8200
[]
no_license
toinehartman/Euler
44d540a0e41bf1a0689dfa1f810b0f260129f842
6b6bcabd8e1af575bdfad63f2165eb78ebb9a756
refs/heads/master
2021-01-22T06:03:16.650330
2017-06-30T17:31:30
2017-06-30T17:31:30
17,885,658
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#!/usr/bin/env python from math import sqrt tot = 0 for L in xrange(1500000): count = 0 for a in xrange(L): for b in xrange(a, L): c = sqrt(a**2 + b**2) if not c%1 and a != 0 and b != 0 and a + b + c == L: count += 1 if count == 1: print L tot += 1 print tot
[ "tjbhartman@gmail.com" ]
tjbhartman@gmail.com
dc573298a746f7d19680c66c688ceaaf5c15b85f
081b33ead95b323e77bdce3717af0a5790e34a1e
/backend/apps/settings/models.py
3692f2d192f0341b23781b392ab4a7de1f431656
[]
no_license
alexmon1989/afliga
81ea3b32b18040bb8baa4e8af14a73003fb9a89f
661da30c0a5aa6b9975eb7dea9c9a031529d2dbb
refs/heads/master
2023-02-23T11:12:45.608118
2023-02-11T12:12:41
2023-02-11T12:12:41
105,630,198
0
0
null
2023-02-15T20:50:12
2017-10-03T08:36:15
Python
UTF-8
Python
false
false
2,744
py
from django.db import models from apps.league.models import Player class FooterSettings(models.Model): """Настройки футера.""" information_block_title = models.CharField('Заголовок текстового блока', max_length=100, null=True, blank=True) information_block_text = models.TextField('Текст блока (html)', nul...
[ "alex.mon1989@gmail.com" ]
alex.mon1989@gmail.com
34d88ab45553f73c9ed1c2001956aa67aa1e5b24
26caccb32c336154f7c85271d870cd4ccf95368c
/manage.py
eccca6f8b9899e5c83257bd34f3bdfc47fe28a41
[ "MIT" ]
permissive
paturiku-p/workoutizer
21d3ca1ebd050a8e54b13259a99454f3c11fcb76
15501d0060711bbd8308642bc89b45c1442d4d0f
refs/heads/master
2023-02-02T22:46:44.160038
2020-10-06T19:15:04
2020-10-06T19:15:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'workoutizer.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Im...
[ "fabian.gebhart@gmail.com" ]
fabian.gebhart@gmail.com
3e54cc6fc90ca0268b531764d9569a96cdb41947
d90310ca1bd804e67e5e15ff1d3a3ee9f4cd0d23
/__init__.py
729e146cbac2278352e7c4634993ebc071ffa06d
[]
no_license
fmarczin/PySPA
6bd4e7fdff0972ba031b3087fffacbfddf07c531
b34c10104c16ab50e5b4c81d06b8f7554bae5c62
refs/heads/master
2021-01-23T07:27:20.030547
2009-09-09T16:59:31
2009-09-09T16:59:31
302,227
0
1
null
null
null
null
UTF-8
Python
false
false
46
py
"""PySPA related code.""" __all__ = ['gui']
[ "fmarczin@physnet.uni-hamburg.de" ]
fmarczin@physnet.uni-hamburg.de
06cc34e1ac97e98714c82d0ad7f02d10fb0b8240
8a821328f0f3dd3105487459d0dcedf08167bd23
/swagger_client/api/user_api.py
6fba0d3f24437f0949036dfe39cba857631f3ab1
[]
no_license
moustaphacheikh/csweby
9627ceb12c9350ca7a20d2dcc40c410e558c07df
db1d543ca364cf8a0ca26cbae4b01090b9143b68
refs/heads/master
2020-12-04T06:40:54.095339
2020-01-03T20:42:46
2020-01-03T20:42:46
231,661,225
0
0
null
null
null
null
UTF-8
Python
false
false
14,680
py
# coding: utf-8 """ CSPro Sync Web API for synchronizing data and files from devices in the field to a web server. # noqa: E501 OpenAPI spec version: 1.1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # ...
[ "devcheikh@gmail.com" ]
devcheikh@gmail.com
2d75ff1b22d99beb895e014127045923665bff4c
b12a8e6a77d44df3ff3d63cba8d30eab953c0a36
/lesson2/yaml_task.py
49bc5fd1368aff2483f9d44b7c0234a2d2af4331
[]
no_license
leor/python-2
30f0d2cc1b0383197068eca3a853a8027b35acaa
98d1b9a244010953bc24d0db53f2bdffb396bee3
refs/heads/master
2020-06-25T20:49:10.086729
2019-09-23T12:09:51
2019-09-23T12:09:51
199,419,096
0
0
null
2019-09-23T12:09:53
2019-07-29T09:12:55
Python
UTF-8
Python
false
false
714
py
import yaml from random import randint def write_to_yaml(file, data): with open(file, 'w+') as f: yaml.safe_dump(data, f, allow_unicode=True, default_flow_style=False) def read_from_yaml(file): with open(file, 'r') as f: return yaml.safe_load(f) if __name__ == '__main__': data = { ...
[ "leor.thesweetvoice@gmail.com" ]
leor.thesweetvoice@gmail.com
05a186e6676bb281d78ac77a1cebcd444da0ce07
e0c864ad06f542c77191b103eb578cd8a82a34ec
/graphics-mdl/draw.py
2eb1f9c87e96d8f9a7aa5a8fb627ab825d2c319d
[]
no_license
DevJW2/computerGraphics
66daa186ca89e9d3e37a2677c421f27bffbc6094
4364d988df742ab072dcc86825a07c665046f50a
refs/heads/master
2020-06-11T11:42:11.284209
2019-06-30T17:26:44
2019-06-30T17:26:44
193,949,402
0
0
null
null
null
null
UTF-8
Python
false
false
11,542
py
from display import * from matrix import * from math import * from gmath import * def scanline_convert(polygons, i, screen, zbuffer, color ): flip = False BOT = 0 TOP = 2 MID = 1 points = [ (polygons[i][0], polygons[i][1], polygons[i][2]), (polygons[i+1][0], polygons[i+1][1], polygo...
[ "mcjeffrey168@gmail.com" ]
mcjeffrey168@gmail.com
306b8adfdce614cddd5ad528e3ee22937fdc4fe4
5d7ad2109ffd3f74079b40a62f278f64aff731de
/pythontest/p9_3.py
5c3fd4253325aa4eadb65f41a099b5a465cd768d
[]
no_license
tamuraryo0126/my-first-blog
b976df5996c69978218da071ee6a5747f83e32b3
1f43e5e6a1cb4d0de601e8f9a4fc62f366a476f5
refs/heads/master
2020-03-20T21:08:15.015833
2018-07-09T08:34:35
2018-07-09T08:34:35
137,725,538
0
0
null
null
null
null
UTF-8
Python
false
false
526
py
from matplotlib.ticker import FuncFormatter import matplotlib.pyplot as plt import numpy as np #グラフを縦棒グラフから横棒グラフへと変更した。 #vscode's test x = np.arange(4) money = [1.5e5, 2.5e6, 5.5e6, 2.0e7] def millions(x, pos): 'The two args are the value and tick position' return '$%1.1fM' % (x * 1e-6) formatter = FuncFor...
[ "a5816058@aoyama.jp" ]
a5816058@aoyama.jp
511d5d391655996dc02f37c3a43187003bad7158
17fe10b0f0f85765767ad0eceaf3d7118694ae80
/backend/event/api/v1/serializers.py
e4a19836dcba1b8de8bb160cfd2e4b1d0c1f056f
[]
no_license
crowdbotics-apps/cotter-trout-dock-23862
5f2de4b3c820f49926d7b43ead203c8f3c8593b2
1e956b9b4572d324902af73b6ff4fdde1776f5b2
refs/heads/master
2023-02-12T21:13:52.324832
2021-01-15T16:17:01
2021-01-15T16:17:01
329,955,009
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
from rest_framework import serializers from event.models import ( Vendor, Location, Favorites, VendorDetail, Category, Faq, Presenter, Schedule, MySchedule, Sponsor, ) class FaqSerializer(serializers.ModelSerializer): class Meta: model = Faq fields = "__all_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
6cf0c4eecc548c2250210e13619f22fd1ba407ca
17945c185d92a50a4476b7f631ae7cea4961a110
/src/run.py
2c16ebbd08327636da199ea3a080c79a115392ce
[]
no_license
stepaleksey/opengraph-service
b60169887268c983d537da2c6ffc0a0d1b26ee52
4d90179ecd66424e06103a0235424f319e56d6eb
refs/heads/master
2022-11-09T09:17:07.496733
2020-06-26T17:25:27
2020-06-26T17:25:27
275,240,337
0
0
null
null
null
null
UTF-8
Python
false
false
1,777
py
""" Точка входа в приложение от gunicorn """ import logging import sys import traceback from parser.opengraph import OpengraphParser from flask import Flask, jsonify, request from lib.web import Downloader from lib.exceptions import ResponseWrongCodeException app = Flask(__name__) app.confi...
[ "step.aleksey@gmail.com" ]
step.aleksey@gmail.com
af28af38c36ffc1b6d23565cf0ac01a8ea66c0cc
65c7f0e0c8ed698e7e26c631fe954577e5f683b7
/dbinitialize.py
5aa5b2740d3e34dfb63c55c953bacdbf793cd385
[]
no_license
tpaschalis/notifyme-gameupdates
505e177c7d12a07d74c75745593ebc48a0900db6
cef56cb583ae685ae64279a2ca6669b9f2ef5fe6
refs/heads/master
2016-09-14T10:55:01.397320
2016-04-21T14:12:36
2016-04-21T14:12:36
56,385,715
1
0
null
null
null
null
UTF-8
Python
false
false
393
py
import csv #initializes a readable dates.csv for steamdb.py #use it for a first run, in case of corrupt file, or in case someone messes up the csv formatting inputlinks={} for key, val in csv.reader(open("inputlinks_experimental.csv")): inputlinks[key]=val print inputlinks[key] w = csv.writer(open("dates_e...
[ "paschalist0@gmail.com" ]
paschalist0@gmail.com
93f82f5b7e856cbabe13b3256e405bc97c5a236b
fec5ebe8ead2b5131017ffda23bb6cd92e8034f8
/Python/reponses4.py
233db13f65e108a34572682f7f8b0ccd76531788
[]
no_license
Etjean/M1stuff
551066b7b5ec0d0ee882ae412f22cd0d60584984
cfd636cf39af88eef8cb653ab5d9e6212ac19f20
refs/heads/master
2018-11-24T09:51:09.609814
2018-10-03T15:00:20
2018-10-03T15:00:20
104,356,760
1
1
null
null
null
null
UTF-8
Python
false
false
741
py
#4.8.1 #semaine = ['lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi', 'dimanche'] #print(semaine[:5]) #print(semaine[-2:]) #print(semaine[5:7]) #print(semaine[6]) #print(semaine[-1]) #print(semaine[::-1]) #4.8.2 #hiver = ['janvier', 'fevrier', 'mars'] #printemps = ['avril', 'mai', 'juin'] #ete = ['juillet',...
[ "noreply@github.com" ]
noreply@github.com
03e151bc64647ce3060cd9045ddc7c986198d948
6bb8f6d0438947dfb597f7d32239caad9f05c7b6
/display/SSD13006.py
c05444c5625f0d5cb6fd4578ed30dc72c795c40b
[]
no_license
laurenceschellevisch/MicroPythonCode
f71c292c18c4a4276ecab07a920170d9a5b8f73e
f3413e39dcc9a433c3e27e9cfc8a0c9014d3decb
refs/heads/master
2020-08-01T17:34:55.588577
2019-12-10T09:05:20
2019-12-10T09:05:20
211,062,202
0
1
null
null
null
null
UTF-8
Python
false
false
5,826
py
# MicroPython SSD1306 OLED driver, I2C and SPI interfaces # creator: # 2019-0915 Peter added flip() and mirror() import time import framebuf # register definitions SET_CONTRAST = const(0x81) SET_ENTIRE_ON = const(0xa4) SET_NORM_INV = const(0xa6) SET_DISP = const(0xae) SET_MEM_ADDR ...
[ "laurence-aart@Hotmail.com" ]
laurence-aart@Hotmail.com
fc188c87a777dca8e0bc570639e154cf0296d869
890ebc711e6b2836f5ae02b7642b42dcb435ce5a
/lists/urls.py
7387a3892357ff1ab8ab82d239dfd0e15b3c9845
[]
no_license
mmackowski/CIDM6330-Fall2018-TDD
8a690e601f50c7b6c43a7171ed2d284a761a0db2
a43bb803ed097c18907a6932d4924d19f734e2a2
refs/heads/master
2020-03-28T19:44:00.131773
2018-10-22T03:02:57
2018-10-22T03:02:57
149,004,230
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
"""superlists 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...
[ "matt@mackowski.com" ]
matt@mackowski.com
897a66c32321833543dbf0fa48a77eec46fb94ea
a85eb2169a9c88d1d8b3f6fc0e3571f29084f424
/Trees/findSubstrings.py
b7bd71a09daac92a1bcff94e0d6bee4d1cd44d45
[]
no_license
Hogusong/CodeFight-Python3
a4afbf8d760cec6c7f10b46646a824dc54e6c3db
2a2afe3b4d71d006f58aa785f55707807f19c41f
refs/heads/master
2020-03-15T22:33:38.733979
2018-09-20T03:52:56
2018-09-20T03:52:56
132,376,107
0
1
null
2018-05-10T17:42:42
2018-05-06T21:07:52
Python
UTF-8
Python
false
false
2,802
py
# You have two arrays of strings, words and parts. Return an array that contains the strings from words, modified # so that any occurrences of the substrings from parts are surrounded by square brackets [], following these guidelines: # # If several parts substrings occur in one string in words, choose the longest one....
[ "hogusong1@gmail.com" ]
hogusong1@gmail.com
5fe352bc92d7249ee71507d26e8b27a873a44490
93dc7fdb78b5f79d0b8f2291aae9b7cd1a9e66e7
/official/ch08_ErrorExp/8.3_handle_exp3.py
46a08897244cd411ddd23db4f761932b141bacf8
[]
no_license
godleon/learning_python
48220f1993d1c4cdc2ac065667db3015b171d266
4b2cd8f84abb8ec520a6976e2248771ed716bb0d
refs/heads/master
2021-01-22T22:20:15.391896
2017-04-14T02:23:30
2017-04-14T02:23:30
85,529,817
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
#!/usr/bin/env python3 import sys for arg in sys.argv[1:]: try: f = open(arg, 'r') except OSError: print('cannot open', arg) else: print(arg, 'has', len(f.readlines()), 'lines') f.close()
[ "leon.tseng@qct.io" ]
leon.tseng@qct.io
94af811e147f9d0a04f6d0162969cd958775dddf
cf2528726de93182bc8d36a4b3ce08a3d589e942
/test.py
a813530c31152235ecba6898b11866b324964ac8
[]
no_license
CZ-KING/shrimp
799075cbf23cc6e26a23ddde565b6176f90f1325
0583e957d339b41c5ca0d81d3390f500762a6f30
refs/heads/master
2023-01-06T15:18:44.786595
2020-11-06T15:46:47
2020-11-06T15:46:47
310,625,622
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
class Cat: species = "cat" @classmethod def cry(cls): print("发春") @staticmethod def eat(cls): cls.cry() def catch_mice(self): print("catch mouse") class Babby(Cat): def catch_mice(self): print("don't like catch mouse") tom = Cat() tony = Babby() def ani...
[ "chenzhan@chipscoco.com" ]
chenzhan@chipscoco.com
eb8cfced5d54b2f954d35b0c31564dbadc38423d
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/codestar-notifications_write_1/notification-rule_update.py
a01451f4c062a17c803d10c7d64f8e5e744998b5
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,466
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/codestar-notifications/update-notification-rule....
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
0233b8997c79d4a2694566798b45cb0cd60b534a
959ed9c27f1fe41edb65fd20852d135ad5705e53
/script.py
8391c4c8e273077e63ea350dd623fd86537a64d7
[]
no_license
AkshGautam/Distributed-Logger
98f6fe6134f469f05c9dcd630b9d7034b2244dc5
4d919d19142c6448deb9a34d826cfb9c676a3db5
refs/heads/master
2020-06-24T04:21:04.148169
2017-07-11T17:33:07
2017-07-11T17:33:07
96,919,290
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
import psutil import subprocess import datetime as dt import time import numpy as np fw=open("output.txt","a") class processes(): def cpu_time(self): self.cpu_statistics=psutil.cpu_times() fw.write(str(self.cpu_statistics.idle)) fw.write(",") def virtual_memory(self): self.memory_statistics=psutil.virtual_mem...
[ "gaksh007@gmail.com" ]
gaksh007@gmail.com
15715eaf8822905a4c32b90071642f1351caf2ba
2f54c561e13df5f0f4479e73a47103b8413a235a
/python codes/recursion.py
a4aa83e9d1dd41e409479f1902abf580bc1a520f
[]
no_license
suvimanikandan/PYTHON_CODES
7123e2898d8c363e018477d2b60f26c7287d4e72
2a8eaae317a773b7236529021a333e9e2a40e51f
refs/heads/main
2023-04-03T19:45:06.009539
2021-04-20T05:26:44
2021-04-20T05:26:44
359,693,270
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
import sys sys.setrecursionlimit(2000) print(sys.getrecursionlimit()) i=0 def greet(): global i i+=1 print("hello",i) greet() greet()
[ "noreply@github.com" ]
noreply@github.com
2e81068243e50baeb59dd577dc3b722a3c78f504
70c1c2652f15a424af977c608db40e58838072a8
/api/users/views.py
9755d7ecb8507f12aa60848a1fd482f6878165e4
[]
no_license
elasmd/channels
2ec3cb95fa4d0503155198dceee6627173a5b3ec
0bdf63b243e2311528bdd4daf49c030df2a79f75
refs/heads/master
2023-01-14T09:24:08.980164
2019-08-05T12:50:22
2019-08-05T12:50:22
199,606,745
0
0
null
2022-12-27T15:35:38
2019-07-30T08:14:16
Python
UTF-8
Python
false
false
4,418
py
from django.core.paginator import Paginator from django.utils import timezone from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_POST from drf_util.decorators import serialize_decorator from rest_framework.authtoken.views import obtain_auth_token from rest_framework.d...
[ "vladg.ebs@gmail.com" ]
vladg.ebs@gmail.com
2d9dbe59e02075d11df84fc2025242d14f10d1b2
424d196512b99c112a7c3755220ef791dbc87efa
/run.py
4c267533df12cc1122e0df1c8b49a17a7c719deb
[]
no_license
meow2025/Di
98a28f0f0f349a011f8df2a68ae334e060e8432e
8c4580cc2fece8ca980d1f2ab008a8214cec4f15
refs/heads/master
2021-05-26T19:48:06.300625
2013-02-25T09:58:38
2013-02-25T09:58:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
from di.app import app app.run(debug=True)
[ "best1a@laptop.(none)" ]
best1a@laptop.(none)
cb552ee8fb9542140836f9a373722629d3b2cd9b
bbb306100602eda65bfb66f8c93ac61583cb95e0
/CleanPuTianTongQing.py
d63efd6548245d8ce851feeac89a44fe34b05c60
[]
no_license
glstones/CleanPuTianTongQing
d7038ee24a09fd78d244b97cea0050c0fa148f95
d0285fc6f86f58fd0856f0bbf4a417546a0784d6
refs/heads/master
2022-11-08T19:17:05.993719
2020-06-24T04:38:10
2020-06-24T04:38:10
274,560,377
0
0
null
null
null
null
UTF-8
Python
false
false
4,540
py
# Plugin: CleanPuTianTongQing # From: Lei Gao # About: Realtime protect maya from PuTianTongQing Crash. import sys import maya.cmds as cmds import maya.mel as mel import maya.api.OpenMaya as om def maya_useNewAPI(): pass def syntaxCreator(): syntax = om.MSyntax() syntax.addFlag('sn', 'scriptNode', om...
[ "noreply@github.com" ]
noreply@github.com
d0baf76b29fcf9103adcd2d3f7737d7dce930e64
7f5ee13f7691c12bdaf139fb52ab39764ed36b0e
/douban/migrations/0002_movie_info2.py
2cdaa0fe450b2597ba7530754be6acae928e5b84
[]
no_license
a-cool-name/xrj16219111404
227855a1ffb70908a66d44992fc64c5c162d194a
f6e251167cf84397fbc19c31eb6ddd73f050e7b4
refs/heads/master
2020-05-17T08:36:49.244028
2019-06-18T08:35:29
2019-06-18T08:35:29
183,585,537
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-04-21 05:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('douban', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "437470682@qq.com" ]
437470682@qq.com
5c0172e12c8046dfc13f3f6538b0c802f7623194
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/word-count/e606d579317c48f6b8b3ea5ff8b93984.py
42692983767720aa1ef6632e7378b60086e0a348
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
151
py
def word_count(phrase): count = dict() for word in phrase.split(): count.setdefault(word, 0) count[word] += 1 return count
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
ba1cb98d01dc4b6dba1f0a50ca6bf71bb2c7a97b
e0356b9b23480f643eda2ed8ee2d72fb6eae3edf
/unit_converter.py
58dbf7c4d04001fc903335d03ddf57bb39850d4e
[ "MIT" ]
permissive
Redshift92/py_intercept
9ed5705f0c3b6ca1f3775c507d2f4668e4f38356
19052b3ff284bc35944a5df57823eb62d4a7570d
refs/heads/master
2021-06-28T20:07:41.064804
2017-09-17T14:11:22
2017-09-17T14:11:22
103,907,203
3
0
null
null
null
null
UTF-8
Python
false
false
954
py
# -*- coding: utf-8 -*- # @Author: lorenzo # @Date: 2017-08-21 13:40:21 # @Last Modified by: Lorenzo # @Last Modified time: 2017-09-17 16:09:51 # Copyright 2017 Lorenzo Rizzello # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES # O...
[ "redshift92@gmail.com" ]
redshift92@gmail.com
0d1c6e2ddb041ef981f6b1c916b97199a9ef93b8
bd55b7fefa99156aeb3c28a4abfa407fc03c6bb1
/vstructui/scripts/vstructui_bin.py
66119705e9eec7b30622b45971dec5769cecb73d
[ "Apache-2.0" ]
permissive
williballenthin/python-pyqt5-vstructui
175419738549f9a8ba97ced004c88561356ddcdc
2e06f5fed8aa362e07ad5f677fb42d5cd15163e1
refs/heads/master
2021-01-10T02:18:34.326960
2015-12-10T04:55:19
2015-12-10T04:55:19
36,752,901
10
2
null
null
null
null
UTF-8
Python
false
false
2,669
py
import os import sys import imp import mmap import contextlib from PyQt5.QtWidgets import QApplication from vstruct import VStruct from vstruct import VArray from vstruct.primitives import v_prim from vstruct.primitives import v_number from vstruct.primitives import v_bytes from vstruct.primitives import v_uint8 from...
[ "willi.ballenthin@gmail.com" ]
willi.ballenthin@gmail.com
066402480516029296ce88a39d88b7a8a1ab1e32
c58770c1893f5eba7b15c82d974f1504e6eaa930
/core/geom.py
707d07aad8d4403e7658097ec94550492c6bbb1d
[]
no_license
las-palmas1/comb_chamber
9be728c958ab62e153800b7f6c0b477f50f8e741
d26b419a9f1c02a0fd66993cbfd805c5bbfd3f14
refs/heads/master
2020-03-20T03:40:01.967013
2018-06-13T02:57:20
2018-06-13T02:57:20
137,154,708
0
1
null
null
null
null
UTF-8
Python
false
false
6,753
py
from gas_turbine_cycle.gases import IdealGas from gas_turbine_cycle.tools.gas_dynamics import GasDynamicFunctions as gd import numpy as np from scipy.optimize import newton import matplotlib.pyplot as plt class Diffuser: def __init__(self, work_fluid: IdealGas, sigma, G, p_stag_in, T_stag_in, F_in, c_out, G_fuel,...
[ "las-palmas1@mail.ru" ]
las-palmas1@mail.ru
e0516dda85537f8aa4176bc93217411753bf46b7
c9ad53ce74758318a10f06825ea1c44e42734939
/tests/test_linked_list.py
544a336d3fb5366e96d3d4a7eae6b1a979896fbf
[]
no_license
pavel-fokin/computer-science
22888160e714cecba2b14693d61b25a05cad1218
731c58502601e845e1445e6980ad5f4443ec3ad4
refs/heads/master
2022-10-10T18:10:55.943494
2020-06-09T18:46:22
2020-06-09T18:46:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
from cs.linked_list import LinkedList def test_init_list(): ll1 = LinkedList() assert ll1.is_empty() ll2 = LinkedList(0) assert not ll2.is_empty() def test_init_from_iterable(): ll1 = LinkedList.from_iter([1, 2, 3]) assert not ll1.is_empty() def test_to_str(): ll1 = LinkedList.from_it...
[ "fokinpv@gmail.com" ]
fokinpv@gmail.com
68aeced48696f721863f63e47f6e6065eadea220
ad65e91a4854bec3d02b8ab6c65d3cee67f869cd
/player.py
a2006ee68c98c27c174a05d64b87423d26c2e32b
[]
no_license
sideb0ard/Experimental-Jet-Set-Trashed-Willy
4dec88727e05e7f996f1f06ad08b090dfb9d18fa
eaf19e6781d1db0e7ba957c2b7288ccf6aef37b7
refs/heads/master
2021-01-22T21:17:05.948861
2015-04-18T01:10:47
2015-04-18T01:10:47
32,910,020
0
0
null
2015-04-05T01:51:43
2015-03-26T05:51:08
Python
UTF-8
Python
false
false
489
py
import curses class Player(): def __init__(self): pass def handle_key(self, keychar, willy, screen): if keychar == curses.KEY_UP: willy.jump() elif keychar == curses.KEY_DOWN: # willy.velocity.x = 0 pass if keychar == curses.KEY_LEFT: ...
[ "thorsten.sideb0ard@gmail.com" ]
thorsten.sideb0ard@gmail.com
7392c2c5bf7b13d6cf2a90d9d0185e597df0f816
60ca646907d22e9d829ab418d2bc6f8ef690967d
/calc_main_regression/main_regression_chowtest.py
5b23e1e86487bb47d0a78d7a2223a90f3c295180
[]
no_license
wph21cen/undergrad-paper-codes
e8b276852c8ac598bacecf629319826e960a41c2
1d32ffea4bce480431f0d698bacb352d41ca2684
refs/heads/main
2023-07-01T18:13:20.421952
2021-08-12T02:02:06
2021-08-12T02:02:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,629
py
import pandas as pd import numpy as np import math import statsmodels.api as st from scipy.stats.stats import pearsonr from statsmodels.stats.outliers_influence import variance_inflation_factor import scipy.stats import csv # Y_variable = 'DUVOL_t+1' # Y_variable = 'NCSKEW_t+1' Y_variable = 'CRASH_t+1' X_variable = ...
[ "noreply@github.com" ]
noreply@github.com
02b5c1381f3fd26e8228691fb9f477a49a894d28
1b090721e7498507cc65cb7281f59476b21e7f21
/build/iai_kinect2/kinect2_calibration/catkin_generated/pkg.installspace.context.pc.py
241787728b6f185e67ea819eebf92462d59a9697
[]
no_license
luandoan/husky_ur5
6bceedcb59ef145fc29a0fa665b19726e93a7a96
3b30733394911773378ab5d25e874c28ac8f0035
refs/heads/master
2020-04-10T06:45:58.746786
2016-07-05T19:00:21
2016-07-05T19:00:21
60,287,613
0
0
null
null
null
null
UTF-8
Python
false
false
381
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "kinect2_calibration" PROJECT_SPACE_DI...
[ "luandoan263@gmail.com" ]
luandoan263@gmail.com
1106d57f4ec798dfeb5d4d3756b28b41131103f0
6ed15200b070518ed883e68e1cf3deccd4440816
/tksimple.py
0e93a4f5204dfb9623f5f77958866973f7991b3e
[]
no_license
cliffcurry/safe-version3
56bb5a9b98a08885d43b66b04e58c8d704853285
ce99858c247326f1e2a3c0c029b50bc974e1d08f
refs/heads/master
2021-05-01T14:21:12.804598
2018-02-11T04:11:51
2018-02-11T04:11:51
121,082,441
0
0
null
2018-02-12T14:12:32
2018-02-11T03:58:56
Python
UTF-8
Python
false
false
213
py
from tkinter import * from builtins import str import string master = Tk() tt=str("Access Denied") master.wm_overrideredirect(True) w = Label(master, text=tt, font=("Helvetica", 56)) w.pack() mainloop()
[ "noreply@github.com" ]
noreply@github.com
ae6d37bf310be7ced448efde5f9029f8a50c2e93
3da574f57da42ef745c59b121c70f0d89b98242d
/mandrill/mayhem_1.py
21868aebc9ee247f16ef4607f788a9bc5099a05d
[ "MIT" ]
permissive
yijxiang/mayhem
5a93e184f4f0081d86e9651b815e01712297218a
521b1e4540d37395ca47908520183245b167e2b0
refs/heads/master
2021-09-20T03:28:13.509396
2018-08-02T17:22:02
2018-08-02T17:22:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,269
py
#!/usr/bin/env python3.7 # Copyright (c) 2018 Lynn Root """ Initial setup - starting point based off of http://asyncio.readthedocs.io/en/latest/producer_consumer.html Notice! This requires: - attrs==18.1.0 """ import asyncio import logging import random import string import attr # NB: Using f-strings with log me...
[ "lynn@lynnroot.com" ]
lynn@lynnroot.com
016494ee840a8656d5d6bbb2c50b5868704c8889
9db3cdc1bee09db6c2fe9418cdbe20047fdd5b17
/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/config.gypi
336efcd5cb10f085070217ac50c505c63386c51b
[ "MIT" ]
permissive
vladislavc-hyuna/bomberman
49dabc2ad51c228f5797019a04d80830b4709360
cfa0d8043456c256fe2280f0039e8b6cebef7a97
refs/heads/master
2021-01-22T00:36:51.068270
2015-10-27T13:03:47
2015-10-27T13:03:47
45,040,217
0
0
null
2015-10-27T12:40:17
2015-10-27T12:40:17
null
UTF-8
Python
false
false
3,093
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": 0, "gcc_version": 48, "host_arch": "x64", "node_byteorder": "l...
[ "vladislav.cherepenya@hyuna.bb" ]
vladislav.cherepenya@hyuna.bb
2d718fff1a5afdcf27f091642c1c401d4166ce76
9582b2b4ab1ec700d830b601ed74bbb6258249bd
/knowschema/models/field_record.py
fb733951fd81e01dc163102f9f5786ba82f37b2d
[]
no_license
jadbin/knowschema
ba0a60109f4b2643f7f284d4391a03b1d2302a41
711dca8f37e6f9cc083358d67affbf893669c74c
refs/heads/master
2022-12-08T02:05:45.114438
2022-11-24T07:53:55
2022-11-24T07:53:55
245,754,050
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# coding=utf-8 from sqlalchemy import text as _text from knowschema import db class FieldRecord(db.Model): __tablename__ = 'field_record' id = db.Column(db.Integer, primary_key=True, autoincrement=True) operator = db.Column(db.String(255)) operation_type = db.Column(db.String(255)) field_id = d...
[ "cxcongxin@gmail.com" ]
cxcongxin@gmail.com
77b6c14fd4c67c6e40bbf136ea116f25f9ae244f
037c93c2e659d1b0663181c5f246d6e7bd360e47
/Notice/message.py
831fbc9d5488160785de1f5f1e33eca7aa2e2114
[]
no_license
Trexse/forsearch
0352103a5edd62874fdd8a956fdb94adb0c0c366
d1b62d6960eb575328b6e5163709a267d2843beb
refs/heads/master
2022-12-03T01:05:37.187462
2020-08-17T01:31:37
2020-08-17T01:31:37
281,282,408
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
# 默认配置信息 import os # 默认的管理员 账号和密码还有头像 ADMIN_USERNAME = "admin" ADMIN_PASSWORD = "666" # Mysql数据库信息配置 SQLALCHEMY_DATABASE_URI = os.environ.get("SQLALCHEMY_DATABASE_URI") SQLALCHEMY_TRACK_MODIFICATIONS = True SECRET_KEY = 'whatever-guess' WTF_CSRF_ENABLED = False # Redis配置信息 # REDIS_HOST = os.environ.get("REDIS_HOST")...
[ "1315245129@qq.com" ]
1315245129@qq.com
c2b9566a9eb4fe8c66dd9ec5b43610f9e4ddf6a0
6c13c0f12125359910ebac18b3b7141f334cf4ae
/st_aggrid/__init__.py
63cbe4b57b56afcba9150e1822285ee266874c91
[ "MIT" ]
permissive
sahajre/streamlit-aggrid
d4fcad494f4cfe7928c0fb5ba6f4d61b1db387c7
18c1711d2bab6265bf8ad73afabb2e8489492e6b
refs/heads/main
2023-02-24T09:01:55.409178
2021-01-27T23:00:54
2021-01-27T23:00:54
333,698,920
1
0
MIT
2021-01-28T08:48:40
2021-01-28T08:48:40
null
UTF-8
Python
false
false
7,774
py
import os import streamlit.components.v1 as components import pandas as pd import numpy as np import simplejson from st_aggrid.grid_options_builder import GridOptionsBuilder from st_aggrid.shared import GridUpdateMode, DataReturnMode, JsCode, walk_gridOptions from numbers import Number _RELEASE = True if not _RELEAS...
[ "pablofonseca@gmail.com" ]
pablofonseca@gmail.com
dbe76767587ccc6276155dea41bae8f25b4910b6
1945059ee4f88b5f15a30a502049f1a3041729f3
/ankipandas/util/test/test_types.py
dd8f10e1f7321d01e2d80614fb6a17e288e59221
[ "MIT" ]
permissive
andrewsanchez/AnkiPandas
b2324016628cce3fcac07f23a9ba8cf223cd0d0e
3f6e2309493b73237b89ddf76561694c940871ca
refs/heads/master
2022-04-21T09:38:24.511257
2020-04-21T09:34:15
2020-04-21T09:35:09
265,654,841
1
0
MIT
2020-05-20T18:35:03
2020-05-20T18:35:02
null
UTF-8
Python
false
false
1,006
py
#!/usr/bin/env python3 # std import unittest # ours from ankipandas.util.types import * class TestTypes(unittest.TestCase): def setUp(self): pass def test_is_list_like(self): self.assertTrue(is_list_like([1, 2])) self.assertTrue(is_list_like((1, 2))) self.assertFalse(is_list...
[ "kilian.adriano.lieret@desy.de" ]
kilian.adriano.lieret@desy.de
32a5f519ab280d0286d28ff23ab2346a0b56b707
fe996210e21d66bb26f0dd94db53b865b6118706
/atsas_pipelines/cli.py
b0f790042ca4215b38731d29c2506a1a65f69c33
[ "BSD-3-Clause" ]
permissive
ljtraverse12/atsas-pipelines
df2a5daffdd4b0e2be38920794812d3a441d08ad
4a279c8caf24e342787c3cc79f5eb25cd9944eec
refs/heads/master
2020-12-12T15:15:12.336838
2020-01-13T15:42:08
2020-01-13T15:42:08
234,159,075
0
0
NOASSERTION
2020-01-15T19:43:22
2020-01-15T19:43:21
null
UTF-8
Python
false
false
3,493
py
import argparse import logging import sys from distributed.cli.utils import check_python_3, install_signal_handlers from tornado.ioloop import IOLoop from .dask import (DEFAULT_ADDRESS, DEFAULT_MAXIMUM_WORKERS, DEFAULT_MEMORY, DEFAULT_MINIMUM_WORKERS, DEFAULT_NUM_CORES, DEFAULT_PORT, ...
[ "mrakitin@bnl.gov" ]
mrakitin@bnl.gov
8fd3d7573ef2a7f903f530d6c758f8bdd40b49f9
bd498cbbb28e33370298a84b693f93a3058d3138
/NVIDIA/benchmarks/transformer/implementations/pytorch/fairseq/data/token_block_dataset.py
8c9239ff4ca7fef2bb06e97ece279c95a3aecae6
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
3,681
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import math import numpy as np im...
[ "vbittorf@google.com" ]
vbittorf@google.com
a1fe36f853666e6ea043cbb3489ada3423815d78
ad477e25b196c0a263f51bce384a8a1f2f6eb5d3
/test/test_idl_field.py
ba54880126ded3aa5e46ad063a107cface73e039
[ "MIT" ]
permissive
maserlib/ExPRES
e089754b7ec27d3b53ab7776d86c5dc1acc6a1d0
1e4cb84a6b0429a78237470163efa37af9c7953a
refs/heads/master
2023-04-14T00:23:53.427794
2023-03-27T16:47:55
2023-03-27T16:47:55
158,422,934
2
3
MIT
2023-03-30T12:49:57
2018-11-20T16:54:16
IDL
UTF-8
Python
false
false
2,213
py
from . import * import unittest from pathlib import Path import numpy class field(unittest.TestCase): """ Test cases for serpe/expres FIELD.PRO """ def setUp(self): self.idl = init_serpe_idl() self.idl.run('.r field') self.mfl_dir = get_test_mfl_dir() load_test_mfl('Z3...
[ "noreply@github.com" ]
noreply@github.com
2db4dae997653d84e0371a2931389dd011acab93
30a2f77f5427a3fe89e8d7980a4b67fe7526de2c
/gen/RSGravitonToBBbar_M_650_TuneZ2star_8TeV_pythia6_cfg.py
58a5a616d4582034f7a015e59624302553db3e82
[]
no_license
DryRun/QCDAnalysis
7fb145ce05e1a7862ee2185220112a00cb8feb72
adf97713956d7a017189901e858e5c2b4b8339b6
refs/heads/master
2020-04-06T04:23:44.112686
2018-01-08T19:47:01
2018-01-08T19:47:01
55,909,998
0
0
null
null
null
null
UTF-8
Python
false
false
7,080
py
# Auto generated configuration file # using: # Revision: 1.381.2.28 # Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v # with command line options: CMSDIJET/QCDAnalysis/python/RSGravitonToBBbar_M_650_TuneZ2star_8TeV_pythia6_cff.py --python_filename /uscms/home/dryu/Dijets/C...
[ "david.renhwa.yu@gmail.com" ]
david.renhwa.yu@gmail.com
debb0261d66177434c41141b44dd29c5c7efcadb
2547c00e0301977aa7047716da6259db22ac150c
/nonlinear_drop.py
708fd22a69c73327a06684bf261c5ae56dd0a5f4
[]
no_license
vrd1243/interpolation_non_linear_impact
5b392f39303576b3a8aa44a34bc4a8e190e477c2
623830fc2096859ae8db776eb49b372fbea09125
refs/heads/master
2021-05-10T00:22:07.975672
2018-04-04T16:46:21
2018-04-04T16:46:21
118,831,814
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
#!/usr/bin/python import numpy as np from matplotlib import pyplot as plt import math import lorenz def nonlinear_drop(arr, lin_intvl=0.1): time = arr[:,0]; data = arr[:,1]; start = time[0]; end = (math.log(time[-1])); uneven_spacing = np.exp(np.arange(start,end,lin_intvl)); startidx = 0; newtim...
[ "varad.deshmukh@gmail.com" ]
varad.deshmukh@gmail.com
68868e6f1a4c75f460454a8f20542df8dbbe4308
c2ddadd3cf14dfc56ec1e4b8d52b8c1a23ea1e61
/quiz/models.py
9e3fbcc7e92e0ec967ef6edc13c06711e68a42e2
[]
no_license
ashimmitra/Varsity-Final-Project-by-Django
09f944a9f1aae7be4212f0c09cfe5d2c596bd848
6274d966f09d9ead2344542b56576a77e0758d5a
refs/heads/main
2023-07-17T15:50:04.414565
2021-08-20T12:31:24
2021-08-20T12:31:24
342,790,345
0
0
null
null
null
null
UTF-8
Python
false
false
2,590
py
from django.db import models # Create your models here. class Quiz(models.Model): question = models.CharField(max_length = 500) option1 = models.CharField(max_length = 20) option2 = models.CharField(max_length = 20) option3 = models.CharField(max_length = 20) option4 = models.CharField(max_length =...
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com
a10408c56b1c26ded8cffd90d4cd41bec8e1d6fe
54b2811aceb70df9e302c0d9aaa2ab81db7c930d
/Script/find_content/search.py
33f2a1bf6e1fe8ed4ecafdc5396863240c54d226
[]
no_license
carterMgj/Ctf-tools
0c7c57fa3f596708ae25a46783d07e771e9fa667
5414963a97fbf1a1cff9d4e4f258db4353d7d9d4
refs/heads/master
2020-07-03T17:47:47.475544
2016-09-12T15:40:02
2016-09-12T15:40:02
67,965,253
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
486
py
import os import os.path import time rootdir = "F:\\Hades\\social\\7days" want = "ÑîÀ½" for parents, dirnames, filenames in os.walk(rootdir): for filename in filenames: path = os.path.join(parents, filename) f = open(path, "r") lines = f.readlines() ...
[ "noreply@github.com" ]
noreply@github.com
40a4ef66857b9fad464f7bbe19f07d1a9d3871ce
1a97682e40d2225d2c4099e23242febe69daa3d0
/officesite/urls.py
18ee4faa1968ef8640a5ec32163d25e28425ac1c
[]
no_license
dennisdef/Dad-site
8527e53c56c1af1fcb405cc82b91ad2e22b15998
3bd9768e9990227b6f9cf39e1fb57de27ad0b559
refs/heads/main
2023-04-11T21:09:16.558658
2021-05-11T14:14:34
2021-05-11T14:14:34
366,395,377
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from django.contrib.staticfiles.storage import staticfiles_storage from django.urls import include, path from django.views.generic.base import RedirectView from . import views urlpatterns = [ path("", views.index, name="index"), path("gallery/", views.gallery, name="gallery"), path("how_we_work/", views.w...
[ "dennis.deftereos@gmail.com" ]
dennis.deftereos@gmail.com
27858b366f34c6587b362304577902cd5bcd6309
3169ac1c344c0abd469d586372e83d8d55183d68
/data-structures/python/linked-list-compare-two-linked-lists.py
0519f353c36ed646722c6547445844ba14e7adc2
[]
no_license
darwinz/hackerrank
c9615f30e07418223d1c6237772ff19961eb6bbc
799fec3fe9107db6fdb01efe9b5de4824cf69f03
refs/heads/develop
2021-07-07T11:55:41.044560
2019-01-24T06:57:33
2019-01-24T06:57:33
109,473,809
1
0
null
2018-11-15T18:55:19
2017-11-04T06:51:43
Shell
UTF-8
Python
false
false
1,159
py
""" You're given the pointer to the head nodes of two linked lists. Compare the data in the nodes of the linked lists to check if they are equal. The lists are equal only if they have the same number of nodes and corresponding nodes contain the same data. Either head pointer given may be null meaning that the correspon...
[ "bbj1979@gmail.com" ]
bbj1979@gmail.com
a8466852ba3ec94e1dff0656c6c70a752c33490e
66cc3835cb39c968a9befcaf935451f43da4d7ef
/bcck8s/execsnoop-edge
36ccb63f1889dade85b427a95ae7de6b49c97b3f
[ "Apache-2.0" ]
permissive
alban/k8s-labels-to-bpf
4a76dbc088afa7e234a50318b3a1ec28b5fa2765
e9e1bec410aa076706f10538cfdf3e86b7f3fe3b
refs/heads/master
2020-04-26T11:01:50.273830
2019-04-12T10:16:33
2019-04-12T10:16:33
173,502,920
0
0
null
null
null
null
UTF-8
Python
false
false
10,299
#!/usr/bin/python # @lint-avoid-python-3-compatibility-imports # # execsnoop Trace new processes via exec() syscalls. # For Linux, uses BCC, eBPF. Embedded C. # # USAGE: execsnoop [-h] [-t] [-x] [-n NAME] # # This currently will print up to a maximum of 19 arguments, plus the process # name, so 20 fields in t...
[ "alban@kinvolk.io" ]
alban@kinvolk.io
48cd1bdae7a1166b75c4968c0fb1f53f4f29376d
235bf57e37733cf265913ba2d6e7e95f915dad06
/pricealert.py
4e0e80488f9c421adb80ddd7ee79747cf8f801c9
[]
no_license
dbrgn/avarulo
47c3e3ea129a6d80afe55b81e3a62e513f526f47
bf48d2f6a19bb2f0af0ccecb83c70b9bef3affa2
refs/heads/master
2021-05-22T18:13:33.359090
2020-04-04T15:56:58
2020-04-04T15:56:58
253,034,903
1
0
null
null
null
null
UTF-8
Python
false
false
6,065
py
""" Price Alert Monitor products for price reductions. Usage: pricealert.py [-c <configfile>] Options: -c <configfile> [default: config.yml] """ import re import sys from typing import Optional, Tuple from bs4 import BeautifulSoup from docopt import docopt import requests import yaml USER_AGENT = 'Mozill...
[ "mail@dbrgn.ch" ]
mail@dbrgn.ch
3bd3e5bfac2d80e09dcf0c187b774fd085ee8aa2
8b57c6609e4bf3e6f5e730b7a4a996ad6b7023f0
/input.py
d00f8811a7602e4179209e88696445ab5a71672e
[]
no_license
bullll/splunk
862d9595ad28adf0e12afa92a18e2c96308b19fe
7cf8a158bc8e1cecef374dad9165d44ccb00c6e0
refs/heads/master
2022-04-20T11:48:50.573979
2020-04-23T18:12:58
2020-04-23T18:12:58
258,293,313
2
0
null
null
null
null
UTF-8
Python
false
false
11,227
py
from __future__ import absolute_import from __future__ import print_function from builtins import object from future.moves.urllib.parse import urlencode import lxml.etree as et import datetime import time import socket import httplib2 try: import httplib except ImportError: import http.client as httplib import...
[ "splunk@x.y" ]
splunk@x.y
25c60f3f82caf243fe6175b39673bcb6c669e34f
38ab301f1590d319f67149251bd7791c69c87ef6
/data.py
2e1ebe976447cbf90883a0392caef36258d972c7
[]
no_license
ponjae/TriviaGame
84571cc044b5b419e6e3651177c9701904ca52c5
6035458acae3d35d17120655d6675f0bdfe1e8b0
refs/heads/main
2023-07-17T13:01:39.518517
2021-08-30T11:45:38
2021-08-30T11:45:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
import requests parameters = { "amount": 10, "type": "boolean" } response = requests.get("https://opentdb.com/api.php", params=parameters) response.raise_for_status() data = response.json() question_data = data["results"]
[ "ponjae11@gmail.com" ]
ponjae11@gmail.com
16ac290fc3f25f1b9ba3e8307728a0f77ff6b606
d90daf0b839349d49439037f6bffe37830e165aa
/settings.py
c9ae21702e837243477afde60e6e602c6faf4b9f
[]
no_license
m2o/fitlog
2d49ecff12069769c88617f07c600512ef2a0c97
e8736a3bc677d1d160cf7f3b6201ffa1b0de2760
refs/heads/master
2020-05-20T08:54:27.169217
2013-12-12T21:24:42
2013-12-12T21:24:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
# Django settings for fitlog project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ROOT_PATH = os.path.dirname(__file__) ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { #'ENGINE': 'django.db.backends.postgresql_psycopg2', #'NAME' : 'fitl...
[ "t.pivcevic@gmail.com" ]
t.pivcevic@gmail.com
8416beada435e65a21c8e0124f100302ee9f9bf5
71501709864eff17c873abbb97ffabbeba4cb5e3
/llvm14.0.4/lldb/test/API/functionalities/data-formatter/type_summary_list_arg/TestTypeSummaryListArg.py
a47d91434822e44e560cc297352404f11b7429aa
[ "NCSA", "Apache-2.0", "LLVM-exception" ]
permissive
LEA0317/LLVM-VideoCore4
d08ba6e6f26f7893709d3285bdbd67442b3e1651
7ae2304339760685e8b5556aacc7e9eee91de05c
refs/heads/master
2022-06-22T15:15:52.112867
2022-06-09T08:45:24
2022-06-09T08:45:24
189,765,789
1
0
NOASSERTION
2019-06-01T18:31:29
2019-06-01T18:31:29
null
UTF-8
Python
false
false
1,235
py
""" Test lldb data formatter subsystem. """ import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class TypeSummaryListArgumentTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) @no_debug_info_test def test_type_summary...
[ "kontoshi0317@gmail.com" ]
kontoshi0317@gmail.com
f5023268067d834f709d2fce7dfcc26bde67633d
10d98fecb882d4c84595364f715f4e8b8309a66f
/smurf/smurf_net.py
7db85ec342f48a9a59ab91a8b9e5e39edb3d9bb2
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
afcarl/google-research
51c7b70d176c0d70a5ee31ea1d87590f3d6c6f42
320a49f768cea27200044c0d12f394aa6c795feb
refs/heads/master
2021-12-02T18:36:03.760434
2021-09-30T20:59:01
2021-09-30T21:07:02
156,725,548
1
0
Apache-2.0
2018-11-08T15:13:53
2018-11-08T15:13:52
null
UTF-8
Python
false
false
21,402
py
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
c950e6ba0f0eb669780aac684e7dcba534180b28
c358aaf628e59277bce8070f3340e2c3cb70f960
/simulation.py
64ab24d6347ad7aae10049ffdd0757c1044247cb
[]
no_license
olekwk/tower_defense
0d86eb421dd51a615cd2a818dd61e859101c0b74
dd01b02ded80e481a91597b356c9c8e1a3f1e88a
refs/heads/master
2020-03-12T00:47:42.397805
2018-04-20T12:20:48
2018-04-20T12:20:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,433
py
from maps import Board, Interface,TimeController from towers import * from enemies import * import time def cls(): print ('\n'*10) class GameBuilder(object): @staticmethod def build(waves,player_life): wav = WaveFactory() p=Player(player_life) s=Board() inter =Interface() return Game(s,waves,p,inter,w...
[ "noreply@github.com" ]
noreply@github.com
919b56d53ac16c019ed60428be8b60d5464b0ec2
c253d86e03c92aff7984ef50692fbdbde4efdd5a
/inventory.py
951659315e642419b01988342e85648b7917d350
[ "Apache-2.0" ]
permissive
brianredbeard/skew_scripts
0522145022bda9b15dbf14e7953207c9ab3c8ff5
0003dd81bd4e09ec946456d8751f161104dad287
refs/heads/master
2021-01-19T07:56:30.832165
2017-08-28T21:17:15
2017-08-28T21:17:15
100,647,888
1
0
null
null
null
null
UTF-8
Python
false
false
1,563
py
#!/usr/bin/env python import json from datetime import datetime from skew import scan from pprint import pprint from datetime import datetime def json_serial(obj): """JSON serializer for objects not serializable by default json code""" if isinstance(obj, datetime): serial = obj.isoformat() r...
[ "redbeard@dead-city.org" ]
redbeard@dead-city.org
b0f188489e9b940eba20c0e019de9c39331cacbb
fcbc33712211d734dc8f20a4912c375057a137f3
/polls/migrations/0001_initial.py
f694f158e85987d62fc4fae8f5d3d7b5eb98c82e
[ "MIT" ]
permissive
EnapsTer/DjangoTutorial
4d3b9443c25ed2f4304b9fc9428ecdb48228a7e8
34b4b46b774b7bebe365127d584e83f01ced84da
refs/heads/main
2023-06-27T08:08:17.793646
2021-07-25T10:04:20
2021-07-25T10:04:20
388,771,385
0
0
null
null
null
null
UTF-8
Python
false
false
1,077
py
# Generated by Django 3.2.5 on 2021-07-22 17:49 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "andreshah1@yandex.ru" ]
andreshah1@yandex.ru
3279bc056e5e3e7a8ab2c3ec37cfcc3bc7f44698
54b7e6cda75a7b09a29084b046676df00d1d4310
/HW3/pytorch_mask_rcnn/datasets/utils.py
27602fcd9da22dee71c49c9ebc0f46b33c3abd36
[]
no_license
cocozxh/CS-IOC5008
d80b652eb370060491d71a81979aedcbd8eb4f9c
b903573315a6a7c236e5c6cf75d64288bb236b8a
refs/heads/main
2023-02-12T01:52:14.378649
2021-01-07T10:37:57
2021-01-07T10:37:57
312,038,126
0
1
null
null
null
null
UTF-8
Python
false
false
938
py
from .voc_dataset import VOCDataset from .coco_dataset import COCODataset __all__ = ["datasets", "collate_wrapper"] def datasets(ds, *args, **kwargs): ds = ds.lower() choice = ["voc", "coco"] if ds == choice[0]: return VOCDataset(*args, **kwargs) if ds == choice[1]: return COCODataset...
[ "noreply@github.com" ]
noreply@github.com
a2ce603b369bccc7f70ffc9f801a73f5d501fdd3
97516cb2071a21d9674bc47d8c5a48ad18927f23
/flaskapp/routes/verify_media.py
3f35333d5b87ec078d6936d9efba8916987d95e5
[]
no_license
ProjetoVeritas/VerifyVeritas
a0ab4c1f039b0bfe9a4eaacc1460d98235c24140
c293e921dc3fcc584d920dcfcd81c9e2809102e2
refs/heads/main
2023-03-06T06:22:17.552922
2021-02-14T13:33:34
2021-02-14T13:35:07
332,066,103
0
1
null
null
null
null
UTF-8
Python
false
false
5,566
py
import base64 import os import requests from flask_restful import Resource, request from flaskapp.support.hasher import hashtext from flaskapp.support.clean_video_data import clean_video_data tikaserver = os.getenv('TIKA_SERVER') if tikaserver is None: tikaserver = 'http://localhost:9998' transcribeserver = os.ge...
[ "mazzine.r@gmail.com" ]
mazzine.r@gmail.com
990d4076618edb4e1d67c7cf26acda9957f2bfcc
bfd97cdd8466583a925532e70b2d71ff06af5ff0
/pollster/polls/urls.py
989c7cea14ea9a26e259ae67cfc6e4753c1fad99
[]
no_license
Magpiny/django_app
6c118a69aa8e7be92116bf980c57881e89db1cfe
9f364003442e22f5c5d906bdd1ce8c63f69ecd8d
refs/heads/master
2022-12-02T20:22:56.997437
2020-08-24T14:06:07
2020-08-24T14:06:07
289,928,810
1
0
null
null
null
null
UTF-8
Python
false
false
338
py
# urls file from django.urls import path from . import views app_name = 'polls' urlpatterns = [ path('', views.index, name='index'), path('<int:question_id>/', views.detail, name='detail'), path('<int:question_id>/results/', views.results, name='results'), path('<int:question_id>/vote/', views.vote, n...
[ "noreply@github.com" ]
noreply@github.com
052e64eed1a7060c8189bf73a146399bddecfa95
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/gui/prb_control/entities/base/pre_queue/listener.py
4911d5bab483ee2b93e16664718ddd92927ec370
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
2,051
py
# 2017.02.03 21:48:33 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/prb_control/entities/base/pre_queue/listener.py from gui.prb_control.entities.base.listener import IPrbListener class IPreQueueListener(IPrbListener): """ Interface of prequeue listener. """ def onEnqueued(self, ...
[ "info@webium.sk" ]
info@webium.sk
f41be3d8e6f0fe70f209b3173cb4aed65e87608b
fb4a6ca512c1b6d78f3b87d5af847cb506ac12af
/src/layers/graph_convolutions/add_attention_kernel.py
129921e2e765c0f776523c7f0811dd445299ba8e
[]
no_license
PriyeshV/FusionGCNs
de5801b3e97397dba2d15907a4e1caaeed873948
36a82dddd3be710bedd358469b52fe5ad6bfb437
refs/heads/master
2021-06-27T04:46:55.642032
2020-10-21T04:21:35
2020-10-21T04:21:35
163,890,396
5
0
null
null
null
null
UTF-8
Python
false
false
4,684
py
from src.utils.utils import * from src.utils.inits import * from src.layers.graph_convolutions.kernel import Kernels_new # TODO Chebyshev style class Kernel(Kernels_new): def __init__(self, **kwargs): super(Kernel, self).__init__(**kwargs) # Define attention weights self.att_size = self....
[ "priyeshvellore@gmail.com" ]
priyeshvellore@gmail.com
ff59ca30001dc596066bc271b4203a45b303fe6e
52e8841ac9603e994fc487ecb52f232e55a50e07
/Bio/GA/Selection/RouletteWheel.py
0dc44d9302247f22c95f690600dd792906fdb1dd
[]
no_license
rored/RozszerzenieBio.PDB
aff434fddfe57199a7465f79126eba62b1c789ae
7c9d696faacabff912b1263fe19291d6a198c3c2
refs/heads/master
2021-01-21T04:50:37.903227
2016-06-23T19:15:42
2016-06-23T19:15:42
55,064,794
0
3
null
null
null
null
UTF-8
Python
false
false
4,863
py
# This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. # """Implement Roulette Wheel selection on a population. This implements Roulette Wheel selection in which individuals are selected from a population ...
[ "Viktoria@MacBook-Pro-Viktoria.local" ]
Viktoria@MacBook-Pro-Viktoria.local
9161a2e4e300723d850f0a9ff006defe1504e01f
e8d3122649bdaf4df79519043f7851b115253a07
/settings.py
dad8997b54a84a4a9182fa7c0614f063045865f3
[]
no_license
Charl88/wormsvisualiser
5b86af4fee61f3b0f49a4a9200fe7fa1da00ed81
037272fa2ca9120ca00143c3cb8fb0b7cbd00610
refs/heads/master
2020-06-10T17:25:56.275841
2019-07-06T13:28:46
2019-07-06T13:28:46
193,691,500
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
# -*- coding: utf-8 -*- import os from PyQt5.QtCore import QSettings def import_settings(): """ Imports settings from settings.ini file. If the file doesn't exist it creates it. :return QSettings: The QSettings object containing settings from the settings.ini file """ if os.path.exists('sett...
[ "charl.c@gmail.com" ]
charl.c@gmail.com
965ce3507fb868239e9bad55e491d0c1750fa190
d91ec602f2a8e1eb3e28b639091397e38d5b7ccc
/macro/test/test_parser.py
38adb7460e656895ead5ada7491bf8d8d6888ef2
[]
no_license
duqrldudgns/Web_Crawler
fff97ab7ed7822855b2dcfa42db9d76b55c8a64f
bb502bba83fb163d2fd7d38fbb31ef027848a1ce
refs/heads/master
2022-12-06T06:28:33.412737
2020-08-18T01:16:42
2020-08-18T01:16:42
287,493,239
0
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
# parser.py import requests from bs4 import BeautifulSoup as bs # 로그인할 유저정보를 넣어줍시다. (모두 문자열입니다!) LOGIN_INFO = { 'userId': 'myidid', 'userPassword': 'mypassword123' } # Session 생성, with 구문 안에서 유지 with requests.Session() as s: # 우선 클리앙 홈페이지에 들어가 봅시다. first_page = s.get('https://www.clien.net/service') ...
[ "duqrldudgns@gmail.com" ]
duqrldudgns@gmail.com