blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
8ed3f5a01919bae2b65fd2af71bf60e498544062
342031941504a79471af32eeaacbc8d345eebca0
/Zadanie2/loty/models.py
40f8bcb4123db053bead55fbd3a28bdefefe93c7
[]
no_license
Kammsy/appWWW
8ba72043cbfbf299d42598567198ae94c50737ff
14bfbf5d9441ae1a889619a352f4ca1c6c69edd6
refs/heads/master
2020-03-27T22:48:09.911652
2018-09-04T17:46:58
2018-09-04T17:46:58
147,261,886
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
#coding=utf-8 from django.db import models class Pasazer(models.Model): imie = models.CharField(max_length=42) nazwisko = models.CharField(max_length=42) class Meta: unique_together = (('imie', 'nazwisko'),) class Samolot(models.Model): znaki_rejestracyjne = models.CharField(max_length=50, un...
[ "sz383558@students.mimuw.edu.pl" ]
sz383558@students.mimuw.edu.pl
13a0dc94977bf3bd54cb59287a041c7289d7e809
37585359073b3f2a6fe1d7fe9b10dfa4486bc02e
/djeer/urls.py
0ad86affc913a58e6ff776c57274fe5fb6cf5e43
[]
no_license
rubyhome-solutions/djeer
9aad145200de05bc23838029781745744ec51938
c745b7f0faf89d3240bd45ce8545658e28dd315b
refs/heads/master
2021-06-11T09:53:32.665115
2017-02-26T00:04:23
2017-02-26T00:04:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
from django.conf.urls import url, include from djeer_auth import views from django.contrib import admin urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^$', views.main_page, name="main"), url(r'^lostpet_admin_login/$', views.login, name="login"), url(r'^logout/$', views.logout, name...
[ "coralisland8327@gmail.com" ]
coralisland8327@gmail.com
97f69ec49c421509df9b9ef2b9c6785bdb0dafc5
9ee327caec1165ff7c70ddb2d792388e5b6be3b5
/src/utils.py
3f6760f2bbaa8f8ed1b93a1ca48119143e7a1ec2
[]
no_license
nicktao9/AgriculturalDiseaseClassification
62a0f5c1b8301c431e6c4435abcb4dda0897210b
f505aad04b7d421bbb2d2c91f75e02813a2f8dc7
refs/heads/master
2020-04-06T18:00:42.357728
2018-11-15T09:28:42
2018-11-15T09:28:42
157,681,631
4
1
null
null
null
null
UTF-8
Python
false
false
4,289
py
import sys, os, time import visdom import time,glob import numpy as np import cv2,json,shutil import logging from tqdm import tqdm """ Create a new dir """ def create_folder(fd): if not os.path.exists(fd): os.makedirs(fd) """ Visuallizer Module """ class Visualizer(object): """ 封装了visdom的基本操作,但是你仍然...
[ "taolianjie007@163.com" ]
taolianjie007@163.com
2358001a8b8e2de4a23fb90ca93ca55a3ac626f2
a2a9260526e0c2a20cb08bcad693d8bddb47d420
/lib/python2.7/site-packages/allauth/socialaccount/providers/facebook/tests.py
854d1c9745eeae47e94d54a3ac1351b41485b93a
[]
no_license
shubh3794/Processing-Payment
42df51fb0e582d573fbfd030125f27b8c4464263
81c0223889a450f4d023d91eb2890e385afd198b
refs/heads/master
2021-01-10T03:50:38.727002
2015-11-25T20:56:41
2015-11-25T20:56:41
46,883,262
6
0
null
null
null
null
UTF-8
Python
false
false
5,194
py
import json from django.core.urlresolvers import reverse from django.test.utils import override_settings from django.test.client import RequestFactory from allauth.socialaccount.tests import create_oauth2_tests from allauth.tests import MockedResponse, patch from allauth.socialaccount.models import SocialAccount from...
[ "shubh.aggarwal.37@gmail.com" ]
shubh.aggarwal.37@gmail.com
4a47b93956005fbcfc0bdd1b548ae397f80962e4
ac255a4ddae0644b7599531b69d5cd34c855358c
/yt-corey-schafer/2-strings.py
193a1f3e3c2c590b987bf78bde4c03a746338470
[]
no_license
mickosav/python
23bc992a83324395f88b8e6a6cf7d6a9f42c9f1e
16c381c9edcdcb29f835d02eac8e15d84c186fa9
refs/heads/master
2020-08-25T09:09:33.938495
2020-03-10T12:21:06
2020-03-10T12:21:06
216,989,880
0
0
null
null
null
null
UTF-8
Python
false
false
870
py
message = 'Hello Micko' message_multiline = '''bla bla blalalll hello lsakdjfl ''' print(message) print(message_multiline) print(len(message)) # length print(type(message)) # -> <class 'str'> print(message[0]) # slicing: print(message[0:5]) # from (including) - to (excluding) print(message[:5]) # from start print(mes...
[ "mickosavovic@gmail.com" ]
mickosavovic@gmail.com
e604b54ca604aa75d3c6c934157d6ccf8bcba3f2
85ce6f5af5ecbaa3b3f1455cfd91c672bdec595b
/Foundational_data_structures/Array.py
bdfd9c4473e1c60413895684516729d16afede6f
[]
no_license
c1lo/DataStructures_Algorithms
26eeee2e0d9feae75a38a16145e89e1713773ca1
e62fb71884791682dd8677ee2ac8aebe58ea87b0
refs/heads/master
2021-01-25T07:18:51.670186
2014-09-04T15:53:02
2014-09-04T15:53:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,886
py
__author__ = 'xiyilo' class Array(object): """ extending Python lists - an array class """ def __init__(self, length=0, baseIndex=0): assert length >= 0 self._data = [None for i in xrange(length)] self._baseIndex = baseIndex def __copy__(self): result = Array(len(s...
[ "xiyigm@gmail.com" ]
xiyigm@gmail.com
cde76863a99e655e46b43112532dd7da3bcc13d4
1bde0c807f17fc431b04b4b9cb338ee3acd34b7d
/.history/predict_20210713124241.py
7c01488a87ec48a2cd94cb2965aba58fb29d0d56
[]
no_license
Harrysibbenga/Pytorch-NLP
cf9d7e6376d5e19929e6703c3342c81c1a128be1
6f22f6ac5f2bf37f27ed2d6285f3a154eda4b566
refs/heads/main
2023-06-19T22:43:35.513874
2021-07-14T19:45:15
2021-07-14T19:45:15
385,595,855
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
from model import * from data import * import sys rnn = torch.load('char-rnn-classification.pt') # Just return an output given a line def evaluate(line_tensor): hidden = rnn.initHidden() for i in range(line_tensor.size()[0]): output, hidden = rnn(line_tensor[i], hidden) return output def pre...
[ "sibbengaharry@gmail.com" ]
sibbengaharry@gmail.com
60c9db8974c4fcdaf3f0fc22cf0b0a1ad6083ca1
5095a2cbc3fea5b63b6f3cabf4ae1bd930cdb479
/영동/16_숨바꼭질.py
68332c98c92b749a3fb174e52d26d5d881b07e15
[]
no_license
syeeuns/week03
a198150d94caf772d6421b4adf6d8e28793853db
cf40b994fa285800854bac07b7ef86ad5dbdf35a
refs/heads/master
2023-02-06T13:13:11.012967
2020-12-31T04:14:10
2020-12-31T04:14:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from collections import deque N,K = map(int, input().split()) Max=10**5+1 queue=deque([N]) D=[[-1]*2 for _ in range(Max)] D[N][0]=0 T=[K] z=K while queue: v = queue.popleft() for newv in [v-1,v+1,v*2]: if 0<= newv < Max and D[newv][0]==-1: queue.append(newv) D[newv][0]=D[v][0]...
[ "zeroistfilm@naver.com" ]
zeroistfilm@naver.com
a1a6c80785ed6ba981a14c5ae605f4d0ebb50942
916482a48a92247a3735e11ebb60448e1d90453f
/YellowFin-master/parsing/nbest_parse.py
601548575904ea662212b964829ee9c430001700
[ "MIT", "Apache-2.0" ]
permissive
w-zm/DeepAndCrossNetwork-TF
bb32c5cc2ad7e26ca29dbc9213ebaa4e156075c6
f2e117b7167dd797b3470f2c2a7db660a9cb4964
refs/heads/master
2020-05-31T17:38:47.522642
2019-06-12T02:26:00
2019-06-12T02:26:00
190,413,924
2
0
null
null
null
null
UTF-8
Python
false
false
389
py
from __future__ import print_function import fileinput from bllipparser import RerankingParser, Tree if __name__ == '__main__': rrp = RerankingParser() parser = 'wsj/WSJ-PTB3/parser' rrp.load_parser_model(parser) for line in fileinput.input(): tokens = Tree(line).tokens() nbest = rrp.parse(tokens) ...
[ "354242964@qq.com" ]
354242964@qq.com
56a5981bb2b820c0c1889dba526616846c4b1fb6
2afb28eabc992f4f3fec48f0ec91be7459a51a31
/flask/models/knn.py
9a39613331e9a5ae7ecbbda59501f4ef0e85e8c7
[ "MIT" ]
permissive
LanceZhu/deep-learning
d3088d40d4c7f04ee82d23c339d46ac69a222bab
a1d8554397844ab097e1ae89686acb6d4dcc524d
refs/heads/master
2023-02-04T10:14:26.634857
2020-12-24T06:57:52
2020-12-24T06:57:52
315,268,712
0
0
MIT
2020-12-05T14:28:49
2020-11-23T09:48:57
Python
UTF-8
Python
false
false
574
py
# -*- coding: utf-8 -*- import pickle from torchvision import transforms input = open('models/state/knn.pkl', 'rb') clf = pickle.load(input) input.close() def transfrom_image(image): transform = transforms.Compose([ # transforms.Resize((28, 28)), # transforms.CenterCrop(28), transforms.ToTensor(), t...
[ "2937443168@qq.com" ]
2937443168@qq.com
43d4d44a3129344e934b24556ad12f994123e98b
114b2f71e553abc33f7774de00391488c74b1563
/websocket/tests.py
e6715e95a399eef9667284201cceb8de914e38ce
[]
no_license
279zlj/Autotest_project
06589305df696b21e05a4f521a56c8170ec7b327
60576bfe56d9a4e76a590bfa3176e196d06dbeed
refs/heads/master
2022-12-14T03:42:49.933047
2018-08-28T03:15:53
2018-08-28T03:15:53
146,384,029
0
0
null
2022-12-08T02:23:10
2018-08-28T03:00:05
JavaScript
UTF-8
Python
false
false
3,608
py
from django.test import TestCase from client.c_client import Client # Create your tests here. import json import sqlite3 import time # def save_data(data_response): # con = sqlite3.connect("D:\Autotestproject\Autotest_project\db.sqlite3") # cur = con.cursor() # cur.execute('insert into \ # ...
[ "13414101644@163.com" ]
13414101644@163.com
613e5477e30db6c4b12634643777cb4c219c3749
8cc910f12ccacd2926a1b26a4f2e10d107a99c8b
/bots/tejbot1.py
87bc56f743d27dc573f4d13f7273138df56bbeb2
[]
no_license
gkanwar/pokerbots2018
a25f8e9e0e3eceb093363a5fbfee40d3fdc2d671
ce7632c8cd98d1e2971b5e67d6ba2c63daa3c396
refs/heads/master
2021-06-03T09:54:59.220651
2021-01-23T06:05:02
2021-01-23T06:05:27
136,264,598
0
0
null
null
null
null
UTF-8
Python
false
false
3,785
py
import sys import random card_map = {'J': 0, 'Q': 1, 'K': 2, 'A': 3} # simple probs for bets pbet = [0.0, 0.0, 0.5, 1.0] def get_msg(): return sys.stdin.readline().strip() def get_msg_named(name): msg = get_msg() assert msg == name def get_field(): return get_msg().split(': ') def get_field_named(name...
[ "gurtej@mit.edu" ]
gurtej@mit.edu
7c06a594c1fc00a552171de2cf59119db21e4ad4
0fa4657ec9211364c7a8429a24ce7a18d5e4549e
/FRNN_pytorch_TTLSTM_noiseaware/loader.py
4bffc012284d422f2d66b3cd5126071d9db859d4
[]
no_license
ge-dong/plasma-python
beefbf92fd02f3c255357f1a80b832d940bf640e
101d810988b39979418fb3dc5973fb4c273313c8
refs/heads/master
2021-08-20T05:04:18.185294
2021-07-14T16:29:02
2021-07-14T16:29:02
170,406,172
1
0
null
2019-02-12T23:15:43
2019-02-12T23:15:43
null
UTF-8
Python
false
false
36,776
py
''' ######################################################### This file containts classes to handle data processing Author: Julian Kates-Harbeck, jkatesharbeck@g.harvard.edu This work was supported by the DOE CSGF program. ######################################################### ''' from __future__ import print_fun...
[ "noreply@github.com" ]
ge-dong.noreply@github.com
a783106d7327f6e60fc8d1e993174170369d1c56
635f10f50b3dc5304c000c1e195e5a1d7504a8e6
/gpet_api_test/dir_config.py
5cd909cd922b1fb888c8332d7d98929782778c0b
[]
no_license
zhihuia/TestProjects
1bd6125c59c34fc980a7b612b935c90accd78ba2
87dd88aeca91f54f64c7165fd516eb3b4d331885
refs/heads/master
2020-03-24T22:45:51.518962
2018-12-20T12:12:46
2018-12-20T12:12:46
143,101,687
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import os cur_dir = os.path.split(os.path.abspath(__file__))[0] # 文件的目录和文件的名字分离出来 # os.path.abspath(__file__) 获取当前文件的所有路径,返回元组 testcase_dir = cur_dir.replace("Common", "TestCases") testdata_dir = cur_dir.replace("Common", "TestDatas") htmlreport_dir = cur_dir.replace("Common", "HtmlTestReport") logs_dir = cur_di...
[ "moonlightzhihui@163.com" ]
moonlightzhihui@163.com
9b1a6b196b0755fa7bff3b62d8a6d7f89638b11f
b9a9f1d9a3ef5871b6bd3835e5f2c8f78d79654d
/python/matrix.py
7092a8ca4eedcf7d38d5afc1456621f1acfe90fa
[]
no_license
Dreamer-WangYiQiang/ExtendedKalmanFilter
d09c0283c2cce1210f702506ea4b6b4e4da7729c
177a79258f80d187b7056fce48e81450a47b7d30
refs/heads/master
2022-04-10T15:00:37.196774
2017-06-13T14:46:27
2017-06-13T14:46:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,774
py
"""matrix class from Udacity robotics course""" from math import * class matrix: # implements basic operations of a matrix class def __init__(self, value): self.value = value self.dimx = len(value) self.dimy = len(value[0]) if value == [[]]: self.dimx = 0 ...
[ "wilbur@MacBook-Pro.local" ]
wilbur@MacBook-Pro.local
30fff796f8fcfc32f7125d4357b9e6bb99834655
9222711ab110cf180997e8b3af8e784ebd4ebf9c
/Message.py
317ece43fd5ba1d8df5508bfa254fa92fe0925d2
[]
no_license
MaxHXie/twittersentiment
e2184786b8f256f29abdc4ab5eb6792a1f8f5d63
18b6b2884f3a72a7974caa478456671245128f89
refs/heads/master
2020-04-17T09:23:25.299362
2019-01-19T18:53:59
2019-01-19T18:53:59
166,455,712
0
0
null
null
null
null
UTF-8
Python
false
false
6,536
py
#Now we want to make a class for each datapoint, i.e. messages import re from nltk.stem import WordNetLemmatizer from nltk.tokenize.casual import TweetTokenizer from nltk import pos_tag from nltk.corpus import wordnet import copy class Message: def __init__(self, text, true_sentiment=None, n=2): try: ...
[ "noreply@github.com" ]
MaxHXie.noreply@github.com
8f3fd56d7fcc53dff4b0a0f3e9943652e4108514
9e70af68afebb05e66381e4f6a978eb1b7589c46
/mywork/testsurface.py
9c9f460c955f27a1e39564e43c413a7f23928d5c
[]
no_license
OuYangMinOa/space-Physic
cbca14b3948ac204c35327fbb9cc6ab9eb704d76
e8e6ec7379a8cecb944add6dbbbee213dae1b018
refs/heads/master
2022-11-11T08:09:59.844261
2020-06-28T20:14:24
2020-06-28T20:14:24
275,657,789
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
import matplotlib.pyplot as plt from mpl_toolkits.basemap import Basemap import numpy as np from netCDF4 import Dataset import os m = Basemap() m.drawcoastlines() m.fillcontinents() m.drawparallels(np.arange(-90,90,30),labels=[1,1,0,1], fontsize=8) m.drawmeridians(np.arange(0,360,30),labels=[1,1,0,1], rotati...
[ "noreply@github.com" ]
OuYangMinOa.noreply@github.com
0dd0fb2d347482fcc39221d04b6a381dab6cd16f
d87acfc6fa8dcf71ac26eebbd6069a938222efc3
/captum/attr/_core/lrp.py
b40829da9c388417e8b280a4ee94afa8983edfd2
[ "BSD-3-Clause" ]
permissive
pytorch/captum
aedeec58d34c7611ae8928144e9f2314f820c1ca
945c582cc0b08885c4e2bfecb020abdfac0122f3
refs/heads/master
2023-09-04T08:49:54.120380
2023-07-08T00:30:37
2023-07-08T00:30:37
204,734,444
4,230
491
BSD-3-Clause
2023-09-08T17:58:15
2019-08-27T15:34:41
Python
UTF-8
Python
false
false
18,328
py
#!/usr/bin/env python3 import typing from collections import defaultdict from typing import Any, cast, List, Tuple, Union import torch.nn as nn from captum._utils.common import ( _format_output, _format_tensor_into_tuples, _is_tuple, _register_backward_hook, _run_forward, ) from captum._utils.grad...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
82e414689a322c8ca38f282d715bc5d4643919dd
03437ed05cb3af69634d7c845d59cdeac479029a
/dashboard.py
1e5f1316706e7db975754ea684c19830f6b53142
[]
no_license
theotheo/whooshhack
0ff4d9bc17a01ed2757b40a9e90ab8772822f45d
e5710eac8fea5bcbfa413496cba28fc520f9ceba
refs/heads/main
2023-06-25T03:58:43.568016
2021-07-18T16:31:48
2021-07-18T16:31:48
387,151,076
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
# %% from keplergl import KeplerGl map_ = KeplerGl(height=500) map_ # %% map_.add_data(data=gdf_lines, name="segments") # %% import geopandas as gpd gpd.read_file('sample_route2.json') # %% points = gpd.read_file('points_sample.json') map_.add_data(data=points, name='points') # %% map_ # %% with open('kepler_conf...
[ "ibelyalov@yandex.ru" ]
ibelyalov@yandex.ru
7b57a819c8050165d39822e26efb9a39926a2dc9
52b979c22057c06f12c7b84e4b9d3b52d3aa01db
/17340027-姚洁倩-p2/test.py
aceb539f2754eb560d2e5dc42a4a5c5ab8cbb443
[]
no_license
EssieYiu/Python
c845866f3312ebe7927f4d19b55c5d119c2d850b
9f2e66882bfe1ddb8d98f213c5e227e0f3148f6e
refs/heads/master
2023-04-15T03:42:37.205622
2019-07-17T15:44:47
2019-07-17T15:44:47
180,075,367
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
def error(): raise ValueError if __name__ == "__main__": try: error() except: raise ValueError
[ "31929622+EssieYiu@users.noreply.github.com" ]
31929622+EssieYiu@users.noreply.github.com
35bfbf1eff018366c3caf857dbf59ab9b9487ae2
abdc7868bc1c788f86ce261e162181cce2c434ee
/app/src/auth/routes.py
8325a61a9ee4d06ff272e57932458f842f96a315
[]
no_license
felipefujioka/shared-pool
0b0e6419cf2acd143c24e89ce0c7dd40cd863164
faa55462e7d45e42bdf30817212fe4bb6fb0a8a4
refs/heads/master
2021-07-09T14:52:15.416093
2017-10-11T03:24:39
2017-10-11T03:24:39
106,208,699
0
0
null
null
null
null
UTF-8
Python
false
false
2,110
py
import flask from main import app from db.util import session from auth.models.user import User from auth.models.password_credential import PasswordCredential import scrypt import decorators.validate import os import errors create_user_schema = { "type": "object", "required": [ 'name', 'email'...
[ "felipefujioka@gmail.com" ]
felipefujioka@gmail.com
2b7b1e3cfa9dbc03cc1d297534895c8a4362ab7a
3fa27b3ad1c1ca90f2bcf311d89fe8c2ca241cb4
/Location/models.py
86164283ca0e8eeb3356a4bbbb87c92cee61e3a0
[]
no_license
emperorDuke/django-backend-for-ecommerce
717e15d7be899abcd5a4b7a7d2203c612f001aeb
83c1ca4d016d876a5c8711ac5cdc448d5a4a533d
refs/heads/master
2023-02-10T08:57:17.852721
2021-01-02T15:49:07
2021-01-02T15:49:07
271,039,012
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
from django.db import models from django.utils.translation import gettext_lazy as _ from phonenumber_field.modelfields import PhoneNumberField # Create your models here class Location(models.Model): address = models.CharField(_('address'), max_length=100, blank=False) city = models.CharField(_('city'), max_l...
[ "effiomduke@gmail.com" ]
effiomduke@gmail.com
1da1fd2e67831c1909851618b9f0eaf85642ad9e
3b451e8de359659a1648b95f86372549f29a193c
/super_z_avg_across_songs.py
b70e68647b04cb7f39162ec24336c5be45ffe3df
[]
no_license
jamalw/music_event_structures_bucket
33dc0c5ffba46ab5a978a04268f88103148d2476
8ad5e9b2d767a3771cc618c061fbcb22f942cd51
refs/heads/master
2022-08-22T00:20:45.859935
2022-08-15T14:48:22
2022-08-15T14:48:22
126,224,420
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
import numpy as np import sys import os import nibabel as nib import glob import scipy.stats as st datadir = '/jukebox/norman/jamalw/MES/prototype/link/scripts/data/searchlight_output/HMM_searchlight_K_sweep_srm/' nii_template = nib.load('/jukebox/norman/jamalw/MES/subjects/MES_022817_0/analysis/run1.feat/trans_filte...
[ "jamalw@princeton.edu" ]
jamalw@princeton.edu
db51449844ace1e60c6dbd69885b32550e1fbfec
67bb016404d1edbbe6e5c7e630d60131dac8fd54
/modules/system/modules.py
ee6c81e1ad3fa956e69768d42dcb4f74e79c4b60
[]
no_license
switchswap/discord-senko
ad6a6def1a3fe70c3bae3616a33242aba4e9e307
b525cb7f9ffc90cffa75edb05673f81a39adc209
refs/heads/master
2022-01-06T22:15:19.617826
2019-04-26T16:54:12
2019-04-26T16:54:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,765
py
import traceback from discord.ext import commands from discord.ext.commands import ExtensionError from core.util.globals import module_dir class Modules(commands.Cog): def __init__(self, bot): self.bot = bot @commands.group(name='module') async def module_group(self, ctx): if ctx.invoked...
[ "Jannis.Becker@stud.hshl.de" ]
Jannis.Becker@stud.hshl.de
5a4f5930ce92934a8286651c8650f298be3f3fb1
9c03b9188b711097fb40c2170626ac762b3d9aaf
/python3/mymodule_demo.py
dc80ee27f1d36287a6decc400a9009bbcfc1f352
[]
no_license
andrewnezhivy/learn_python
9e92a826864b1876f5f24aff47b980b4ecc25c93
6f37d32469ed84681c05afaf34cade4eb411f3d8
refs/heads/master
2020-12-03T02:45:14.690632
2016-09-02T02:50:58
2016-09-02T02:50:58
66,676,448
0
0
null
null
null
null
UTF-8
Python
false
false
80
py
import mymodule mymodule.say_hi() print('версия', mymodule.__version__)
[ "andrew.nezhivy@yandex.com" ]
andrew.nezhivy@yandex.com
3203acaae91aa63994c898368f666ee31aab675b
d0d31ff386f0295075a786ad15c04c171fc979cb
/weeklyc/database.py
884b6e609d5898e2d8753b96e0244ea7ba22bcac
[]
no_license
ewitz/EPA_Water_App
e5c2770b983f9e47ca837e5c61ec55be3657e447
8b644cefc70a03ddb5734692eda661b7dbe5271e
refs/heads/master
2020-05-26T02:30:26.424241
2013-06-07T19:23:11
2013-06-07T19:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,523
py
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base engine = create_engine('sqlite:///weeklyc.db', echo=True) db_session = scoped_session(sessionmaker(autocommit=False, autoflush=Fa...
[ "emilliot@mail.usf.edu" ]
emilliot@mail.usf.edu
504ef30ee0168bc45ae83697c4235349baea0e97
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03636/s442033431.py
c0c4bfde22c431f0bcb92965231ba4426799433b
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
strings = list(input()) str_len = len(strings) print(strings[0] + str(str_len - 2) + strings[str_len - 1])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
634479c49cc8bd8a070f9692c2ad94c1f8c9c7f0
2b71e4b33896bde83aa9daa3c56042505cb63220
/xeri.py
e6015eabaf3a920f04a261cc1d89382d8b259d24
[]
no_license
xarkouts/xeri-se-python
9fea568ac4b1509c5db8ef94361ec6d1adf375f6
5c0720d571bb55cf1454e9026f070f02ac124d30
refs/heads/main
2023-05-08T02:31:30.286608
2021-05-23T21:51:05
2021-05-23T21:51:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,384
py
import random katigories={"Σπαθι","Κουπα","Καρο","Μπαστουνι"} fila={1,2,3,4,5,6,7,8,9,10,"Βαλες","Νταμα","Ριγας"} trapoyla={(k,f) for k in katigories for f in fila} del katigories del fila trapoyla=list(trapoyla) xeri1=[] xeri2=[] trapezi=[] paixtis=2 kerdismena_1=[] kerdismena_2=[] def mirasma(t=False)...
[ "noreply@github.com" ]
xarkouts.noreply@github.com
e2a883be7a61493ac52b48a563af686087b2640a
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/19100101/sundyyang/d11_training1.py
1583902d982bb0769ab8ae4731fc7504566a7143
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
875
py
# day 11 import requests import getpass import yagmail from pyquery import PyQuery from mymodule import stats_word # 提取微信公众号正文 response = requests.get('https://mp.weixin.qq.com/s/pLmuGoc4bZrMNl7MSoWgiA') document = PyQuery(response.text) content = document('#js_content').text() # 应用 stats_word 方法提取前100个词 day11 = s...
[ "6396023+realcaiying@users.noreply.github.com" ]
6396023+realcaiying@users.noreply.github.com
093ee2463b1a86d455d7fd106f214c73722c2ee1
503d2f8f5f5f547acb82f7299d86886691966ca5
/atcoder/abc172_a.py
b5c6641365ed028613ce1898499a4b6fd7f432d3
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# https://atcoder.jp/contests/abc172/tasks/abc172_a # import sys # def input(): return sys.stdin.readline().rstrip() # input = sys.stdin.readline # input = sys.stdin.buffer.readline # from numba import njit # from functools import lru_cache # sys.setrecursionlimit(10 ** 7) # @njit('(i8,i8[::1],i4[::1])', ca...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
a5dfe239bc5a69803127534a8d77267c8a7e6705
2307893a2b706d3e3e387cb5f20117213460fc21
/Exercises/Module 05/exercise_33.py
c894365e2e769d909613264428b94517d486702a
[]
no_license
caiquemarinho/python-course
a5e3447b676365e5f49297a51830ce5fee089199
2863f77dff77712422d0f60adf00483806fcc040
refs/heads/master
2023-06-09T10:53:44.988594
2021-06-21T13:28:04
2021-06-21T13:28:04
378,922,409
0
0
null
null
null
null
UTF-8
Python
false
false
802
py
""" Receive a product and change it's price according to the table. 0 - 50$ -> 5% 50 - 100 -> 10% 100 + ->15% """ print('Insert the product price') product = float(input()) # Finding out the new price of the product. if product < 50: new_price = product+(product*0.05) elif (product >= 50) and (product <= 100): ...
[ "caiquealfonso@gmail.com" ]
caiquealfonso@gmail.com
06f0db0e55ef80709480a68ce7ca0c408e0efc04
c73f1e73c937e556c96b072d99019b7af94d113f
/P1/UDPServer.py
6d9dab5ba29a78b3bdd7b6de3e92862e6c909a09
[]
no_license
sicsic1997/Retele-Tema2
33c24c0e715a2374ce0442048a006e1038bb9f08
21b2f912a78ddfb56b4e7240ac10af7fe12dbe46
refs/heads/master
2020-03-18T20:20:40.841762
2018-05-28T21:12:10
2018-05-28T21:12:10
135,209,115
0
0
null
null
null
null
UTF-8
Python
false
false
2,055
py
from socket import * import pickle import hashlib import sys import os import math import time serverIP="0.0.0.0" serverPort=10000 serverAddress=(serverIP, serverPort) serverSocket=socket(AF_INET,SOCK_DGRAM) serverSocket.bind(serverAddress) serverSocket.settimeout(3) print "Ready to serve" #initializes packet variab...
[ "vlad.coteanu@mindit.ro" ]
vlad.coteanu@mindit.ro
1c7014d54f9884059212afadf8db1114596f9b5d
5d43552534b89c81e57e0c04c59af5c94b223d71
/studentinfoproject/testapp/migrations/0001_initial.py
62296d817476b2000e9135829959dd80ebfaf74a
[]
no_license
Prachithakur27/Django
d9fee9ac4647c75e0a22f2dd7256e73d9591fc2f
7e1d7cd8f8a65d0ba711ef1937538749497b4231
refs/heads/master
2023-01-02T07:49:35.084678
2020-10-31T15:08:18
2020-10-31T15:08:18
286,936,309
0
0
null
null
null
null
UTF-8
Python
false
false
799
py
# Generated by Django 3.0.8 on 2020-08-15 20:06 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "prachi.pthakur27@gmail.com" ]
prachi.pthakur27@gmail.com
bd453b1be551ac68730e7f3d719b9c710a458ed0
a5a49c0dadc7cf42800c7004cb2324416aed671c
/fakecsv/urls.py
1e73f8da05cb7a77d32ace2bcbadc0085295da12
[]
no_license
imanov21/csv_gen
6064f778df9d40b942a5c1c07868fd3312d554af
23ee39340606954c50f64745b33ffb9efaa69a65
refs/heads/master
2023-05-28T18:05:26.021467
2021-06-10T14:22:23
2021-06-10T14:22:23
375,718,064
0
0
null
null
null
null
UTF-8
Python
false
false
958
py
from django.urls import path from fakecsv.views import DataSchemasListView, \ DataSchemaDeleteView, DataSchemaCreateView, DataSchemaUpdateView, \ data_sets_view, generate_csv, download_csv, check_task_status urlpatterns = [ path('', DataSchemasListView.as_view(), name='data_schema_list'), pat...
[ "antony.imanov@gmail.com" ]
antony.imanov@gmail.com
7086db00aaf5f716ceea92538aadd40b33777e8e
d6e481f8dea60a0814888b47f540be375771b758
/train.py
3e7d7744033e0a558dba13ac2991ab04125d344e
[]
no_license
Gogs2/Depression-Detection-in-Reddit-Posts
2d6185d65ce10d67cb321fb8d6aadf88a4ee6711
6570a776160bbbbf257c1efbc95b706663a3991a
refs/heads/master
2020-08-07T13:27:51.150881
2019-10-07T19:24:33
2019-10-07T19:24:33
213,468,784
0
0
null
null
null
null
UTF-8
Python
false
false
2,239
py
import pandas as pd import collections import numpy as np from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from sklearn.metrics import recall_score, precision_score, accuracy_score, f1_score from sklearn.utils import class_weight from keras.models import Sequential from keras.layers import ...
[ "gjorgji.chepujnoski@gmail.com" ]
gjorgji.chepujnoski@gmail.com
4a13df491ffd209b82623d757ca0aafda56fb96b
02fc29f7c9f4fd6cbe3a6afbbef1554fb0e7a3ca
/genienlp/model_utils/optimizer.py
123188628fbaed151cbeb5440050586a280ffac2
[ "BSD-3-Clause" ]
permissive
stanford-oval/genienlp
8f8f14924dc379e413de4e37ae206ed0a391e8cc
8ad64f6d20f45b31c8d1de262570ecc840316c58
refs/heads/master
2023-07-14T01:59:30.072402
2023-04-04T18:19:57
2023-04-04T18:19:57
237,029,113
82
24
NOASSERTION
2023-06-26T13:57:29
2020-01-29T16:26:43
Python
UTF-8
Python
false
false
3,349
py
import math from functools import partial import torch from transformers import ( Adafactor, AdamW, get_constant_schedule_with_warmup, get_cosine_schedule_with_warmup, get_linear_schedule_with_warmup, get_polynomial_decay_schedule_with_warmup, ) def get_transformer_learning_rate(i, *, dimensi...
[ "mehrad@stanford.edu" ]
mehrad@stanford.edu
85075fe45559a79929a08d27a2d5af734d36dc76
abd70ecf747decdd24077b544657642f6b07cdee
/method/utils/adjustAccounting.py
f5963fee92b58c259c3476bde88a3eca5c59a669
[]
no_license
mokusen/chms
3925ffeb52d7f3b314682a80ede0c1d9d7e951d5
60144b224b82464d1c7014b9bfcb6502e94b47d1
refs/heads/master
2020-04-09T02:30:52.792981
2019-01-09T15:05:45
2019-01-09T15:05:45
159,943,760
0
0
null
2018-12-29T04:49:10
2018-12-01T12:46:49
Python
UTF-8
Python
false
false
570
py
def adjust_accounting(adjust_list): """ sql側に渡す前に型変換を行う Parameters ---------- adjust_list : list型 [id, use, money, year, month, day] Returns ------- adjust_list : list型 [id(int), use(str), money(int), year(int), month(int), day(int)] """ adjust_l...
[ "kikawa.tech@gmail.com" ]
kikawa.tech@gmail.com
70020790ef3e5c40c205d85214c30921aa11259a
d0f78233d2436c7976256171696af005ce085118
/blogs/api_urls.py
46e09ada4938bbe11ce755bc0f6cd5b136e8b913
[]
no_license
mvelezserrano/wordplease
487cfccea864b6f4d3cd14b20d1c86760748ed5f
37c7507082d7df14c256a73f5124561dcc16c8fc
refs/heads/master
2021-01-16T18:44:25.180055
2015-07-26T20:41:01
2015-07-26T20:41:01
39,739,170
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# -*- coding: utf-8 -*- from blogs.api import PostViewSet, CreatePostViewSet, BlogViewSet from django.conf.urls import include, url from rest_framework.routers import DefaultRouter, SimpleRouter # APIRouter router = DefaultRouter() router = SimpleRouter(trailing_slash=False) router.register(r'blogs/(?P<user>[A-Za-z0...
[ "mvelezserrano@outlook.es" ]
mvelezserrano@outlook.es
63dacef7d72dc5d5511e9f17298d93a569363f34
3e3444911c9771186034a2ee68f3f3eae6dfdd4d
/binarySearch.py
b30f5bf6dbf0cb7ffaff7b71e21c653efc5e1f9b
[]
no_license
ChristopherParke/FunWithAlgorithms
d3ab9ad59b40d5ab7901cbeb408beb840453496a
44b09c8e8a9034b2662df181211c86c483d48834
refs/heads/master
2022-02-14T06:54:08.204590
2019-09-04T00:09:39
2019-09-04T00:09:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
import math primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97] xmin = 0 xmax = len(primes) - 1 target = 67 iteration = 0 def binarySearch(primes, xmin, xmax, target, iteration=0): """ This search method is the binary search method. It is a common algorit...
[ "christopherparke@zoho.com" ]
christopherparke@zoho.com
7135c0afb6b60fbba69ff48e0365b1ccc6c5dcdd
a21d9303e155fdb9845d67f0a888b70a9cd95d51
/api/serializer.py
943d43f63eeef0a362803fb204eca85f09acf12c
[]
no_license
saisai/Implementation_logger
dafa188507b64a3776b9228d37c22ae20a5a87f2
373f233cebf64a8c7dba8a0d75812f6480fbe61a
refs/heads/master
2020-08-05T22:52:52.295716
2019-10-04T05:31:06
2019-10-04T05:31:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
from rest_framework import serializers from api.models import * class groupSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = group fields = ('groupName', 'config') class devicesSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = devices ...
[ "jdejonge@protonmail.ch" ]
jdejonge@protonmail.ch
63f0d8e6153c3ec5586eebed9a64301c1e43753b
2985230e6542361c1a63ff4bea0283951f256599
/setup.py
f7fed0d0b923b39819d1a0339aa179b360100e97
[]
no_license
Stonesth/TOS-3087
7053c486e87e91d35bd1f15748d3e5e23348f742
8c4fd5c3d5f45751f77eba67d6aac1f21c3f711a
refs/heads/main
2023-02-26T11:13:08.338497
2021-02-01T15:35:48
2021-02-01T15:35:48
334,964,558
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from cx_Freeze import setup, Executable setup( name = "tos-3087", version = "0.1", description = "", executables = [Executable("tos-3087.py")] )
[ "pierre.thonon@gmail.com" ]
pierre.thonon@gmail.com
e8bb363682e5f8e63ac0e56a986076f1e43f91b6
7722c0c2d616af965124120c76bed472900d48bf
/build/pi_io/cmake/pi_io-genmsg-context.py
093469fa89dd16ff069e8425074390da5c5219da
[]
no_license
EdisonAltamirano/Turtlebot_Mapping
f1cfb190b5a239d0e0bb4932e766cce1ec6c42ba
cfb98058745e5fbf84b2388254dbad2d045362ef
refs/heads/master
2022-11-13T11:48:27.915328
2020-07-06T00:02:45
2020-07-06T00:02:45
276,209,053
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/edison/turtle_ws1/src/pi_io/msg/gpio_input.msg" services_str = "/home/edison/turtle_ws1/src/pi_io/srv/gpio_output.srv" pkg_name = "pi_io" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "pi_i...
[ "a00825234@itesm.mx" ]
a00825234@itesm.mx
44978164b8c3e675e86d3cda878b105b9f15fec3
5edf9d401178bbf8839119904a8998f8bc676293
/minesweeper/minesweeper.py
6e8c52045ff76ecbe7899a756cdb841842017f5d
[]
no_license
cheikh93/MES_PROJET_IA
33a22c8c4223340e89811cc12c8b4e7675ec99aa
ae230402a1469adfda3dcdd3faf1181795261b4e
refs/heads/main
2023-06-05T06:16:13.820961
2021-06-29T00:03:31
2021-06-29T00:03:31
348,394,031
0
0
null
null
null
null
UTF-8
Python
false
false
8,505
py
import itertools import random class Minesweeper(): """ Minesweeper game representation """ def __init__(self, height=8, width=8, mines=8): # Set initial width, height, and number of mines self.height = height self.width = width self.mines = set() # Initializ...
[ "noreply@github.com" ]
cheikh93.noreply@github.com
c7c31a8ca0369dd548fae8e2fb9f805dc9644a40
45ba180dd7069a34aea8f64090c09582cfe88f81
/build/universal_robot/ur3_e_moveit_config/catkin_generated/pkg.installspace.context.pc.py
5dd389a4fa0bacbccb19bcb7da5760746da17ed6
[]
no_license
ylliu/aubo_robot
a1e40977c57e77a3c6a4d1e0de40cecc5c56280d
fec6eee61063b0655f741ef4437c70c16aaa052b
refs/heads/main
2023-03-28T08:46:04.851614
2021-03-28T10:33:44
2021-03-28T10:33:44
349,738,287
0
0
null
null
null
null
UTF-8
Python
false
false
382
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 = "ur3_e_moveit_config" PROJECT_SPACE_DI...
[ "1065656821@qq.com" ]
1065656821@qq.com
3a332e60dcd0d31aa40dd5f4b190704f255a6135
9d484077026b7fcf26188d77281f573eaec1f1d3
/scripts/adhoc/dendrogram_cuts.py
fef1177f5d92df2b34a79f14c35a9204d2660122
[]
no_license
gaberosser/qmul-bioinf
603d0fe1ed07d7233f752e9d8fe7b02c7cf505fe
3cb6fa0e763ddc0a375fcd99a55eab5f9df26fe3
refs/heads/master
2022-02-22T06:40:29.539333
2022-02-12T00:44:04
2022-02-12T00:44:04
202,544,760
3
1
null
null
null
null
UTF-8
Python
false
false
582
py
plt.figure(figsize=(10, 4)) ax = plt.gca() hierarchy.dendrogram(z, no_labels=True, color_threshold=0., above_threshold_color='k') ax.axis('off') plt.tight_layout() plt.savefig('methyl_dendrogram_%dcuts.png' % 0, dpi=200) for i in range(2, 7): c = clustering.dendrogram_threshold_by_nclust(z, i) plt.figure(figs...
[ "gabriel.rosser@gmail.com" ]
gabriel.rosser@gmail.com
ded348637281439cb1638b6252d242ecc3bfbddc
1aa49533c27f114840b528d9ab71dc7322120da0
/utils.py
31bce31e3917f3045269b2590ecdaeb448ca4fee
[ "MIT" ]
permissive
yassineAlouini/image-recognition-as-a-service
a18afb2a99dd1d9e3da3e90086d8dbb9d3289bc9
c85502cdb3828e128415a92cb0564671f038cca8
refs/heads/master
2020-09-05T06:53:57.373156
2017-12-26T10:07:12
2017-12-26T10:07:12
94,414,726
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
import logging logger = logging.getLogger() handler = logging.StreamHandler() formatter = logging.Formatter( '%(asctime)s %(name)-12s %(levelname)-8s %(message)s') handler.setFormatter(formatter) logger.addHandler(handler) logger.setLevel(logging.DEBUG)
[ "yassinealouini@outlook.com" ]
yassinealouini@outlook.com
aa1b71d24e45defa75b428b775fb1f2ecb43ba1d
0c4bb0b0c91a6bfb8c6ea529b93a303661bcd625
/python/table_parse/table_data.py
c6dd3b8e0345ebfde4e1382caa04ecbcd3604d16
[]
no_license
shahrukhqasim/TIES
28de4bd962624856e58f5293b5a91427132fa38d
279ce12ef5303f9428cf72d3f01a1922c7c5d584
refs/heads/master
2021-08-23T16:29:02.057736
2017-12-05T17:34:55
2017-12-05T17:34:55
106,605,384
3
2
null
null
null
null
UTF-8
Python
false
false
844
py
class TableData: def __init__(self, tokens_embeddings, tokens_rects, neighbor_distance_matrix, tokens_neighbor_matrix, tokens_share_row_matrix, tokens_share_col_matrix, tokens_share_cell_matrix, neighbors_same_row, neighbors_same_col, neighbors_same_cell, conv_features): se...
[ "ishahrukhqasim@gmail.com" ]
ishahrukhqasim@gmail.com
c78b87a98e2583ddb065568d9450bf3ea41e6846
f0db1e2d4a48bfa745edf3a7b817eb6ff8a9ea4a
/test.py
01a12cd20b363f6f23ce534c58d2eea35608c181
[]
no_license
AlainBBenoist/GoogleAnalytics
15a7a0e9d73544a2bbdff6dfdc561f4b2eaf7911
a52de78e1ae652c24d44b0bacdd1a7b5ed4aff8f
refs/heads/master
2023-08-22T03:20:55.325180
2021-10-01T13:29:44
2021-10-01T13:29:44
410,386,159
0
0
null
null
null
null
UTF-8
Python
false
false
4,876
py
# Google libraries from oauth2client.service_account import ServiceAccountCredentials from apiclient.discovery import build class GAReporter() : def __init__(self, keyfile) : self.credentials = ServiceAccountCredentials.from_json_keyfile_name('analytics-dibutade.json', ['https://www.googleapis.com/auth/an...
[ "alain.b.benoist@gmail.com" ]
alain.b.benoist@gmail.com
480869005801ed9c8f1556d209302349a88fc7b2
68381f1b06f056f8c897723e2f1a06fcd7c0215c
/notebooks/data_tools.py
790087d7786f7d530fdba440e7a954ffb21a7832
[]
no_license
djzelenak/lcmap-science
fa0632d82cd59fa65eba351db4a2cb980bf19f3a
79c37ec77ca1e4154a6e529712cf71cb9487f681
refs/heads/master
2020-12-13T10:14:00.447787
2019-06-10T15:18:00
2019-06-10T15:18:00
234,386,798
0
0
null
null
null
null
UTF-8
Python
false
false
7,332
py
"""Some helpful functions for working with TAP-exported data""" import sys import warnings import datetime as dt import pandas as pd import numpy as np from collections import OrderedDict # warnings.simplefilter('ignore') mask_values = (1, 96, 112, 160, 176, 224, 352, 368, 416, 432, 480, 864, 880, 928, 944, 992) d...
[ "dzelenak@contractor.usgs.gov" ]
dzelenak@contractor.usgs.gov
92c8a0f78906a2f80b77ac6550c0ec6dda1495c7
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/videoanalyzer/azure-media-videoanalyzer-edge/azure/media/videoanalyzeredge/_generated/models/_azure_video_analyzerfor_edge_enums.py
35371307bdbb6776cf7c3d240b1ac8a296876400
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
8,408
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" ]
openapi-env-test.noreply@github.com
5562336d1e9f8350768f81a204bd1b9ce5e6dcb9
f8b8b485b8d29a01a81c1bfbc631a496a3a88a02
/app/authentication.py
8b1eac797d7e714b87a085d772e5ee81e47eb25c
[]
no_license
samuelquitiang/guane-intern-fastapi
2ca061ba8d496685a57ed17814c5ecf17972b36c
f83302ddf0871aa938dfe4972f2dd05c0150c4dd
refs/heads/master
2023-04-09T17:11:18.098223
2021-04-09T22:12:40
2021-04-09T22:12:40
356,331,667
0
0
null
null
null
null
UTF-8
Python
false
false
2,303
py
from fastapi import APIRouter, status, HTTPException, Depends import schemas, token_ from passlib.context import CryptContext from fastapi.security import OAuth2PasswordRequestForm router = APIRouter(tags=['Authentication']) # Method to hash the password myctx = CryptContext(schemes=["bcrypt"], deprecated="auto") pas...
[ "samuel.quitiang@udea.edu.co" ]
samuel.quitiang@udea.edu.co
ee86cc6478906dfe72ddb3e9b8b4af23f8613796
01532ebb2bb5721a4191765faa6edffebfab9464
/gen_data_V-Z.py
eab540e355fc189673e0fa784b0721899ad4b64a
[]
no_license
sarc007/2-OpenCV_3_KNN_Character_Recognition_Python-master
bb52c6d5776b17fd4337579299519e989146ac11
6f2f2e139ce2c4182cae8db1f36b67e4f498b9f4
refs/heads/master
2022-12-13T02:07:59.443287
2019-10-22T10:26:41
2019-10-22T10:26:41
213,817,682
0
0
null
2023-09-06T23:34:26
2019-10-09T04:04:00
Python
UTF-8
Python
false
false
2,389
py
# Pythono3 code to rename multiple # files in a directory or folder # importing os module import os import cv2 import numpy as np from skimage import io import h5py # Function to generate mnist data from images def main(): src_dir = "E:\\OPEN_1\\V-Z" dst_dir = "E:\\OPEN_1\\data" data_file = dst_dir +...
[ "maazansari11@gmail.com" ]
maazansari11@gmail.com
9dd9b9617da72ba3de93cf4b9abe346b3b89264e
eb80e96d29d2aa8329b87626fa22cc81c2abc723
/youtube_download.py
16a3f800bdbb7732ad22e8e9d5d3bd78d30b601e
[]
no_license
ahsanGoheer/Tools
7229f8a7e0c686ce2ebf9731ee232d26382a856e
9217ee303a204e0f8e6d8e26bce3a20068bb57b9
refs/heads/master
2020-06-24T04:53:41.394784
2019-09-13T19:02:46
2019-09-13T19:02:46
198,854,366
0
0
null
null
null
null
UTF-8
Python
false
false
1,004
py
from pytube import YouTube from tqdm import tqdm #file_size=0 save_path ="/home/ahsangoheer/Documents/Tools/Videos" # def progress_Check(stream = None, chunk = None, file_handle = None, remaining = None): # #Gets the percentage of the file that has been downloaded. # percent = (100*(remaining-file_size))/file_si...
[ "noreply@github.com" ]
ahsanGoheer.noreply@github.com
21bc8422cad06b064ce9d777977c5ed65f260aa3
465ef9a288d5902348e930a8f1193acfacd64127
/alerts/alerter.py
a8ffafcf1c1df22e9b7e11ff61d3297283db01d3
[]
no_license
syffer/ineedanapartment
4b876b6fa2461e2402645735a57d44ce1a91399c
2c0430d1c3b4b9d90040812292f8702c8e36414c
refs/heads/master
2022-12-08T09:46:44.805570
2020-08-30T17:46:37
2020-08-30T17:46:37
289,482,517
1
0
null
null
null
null
UTF-8
Python
false
false
146
py
# coding: utf-8 class Alerter(object): def alert(self, locations): raise NotImplementedError("subclasses must override this method")
[ "maxime.nicolas2@hotmail.fr" ]
maxime.nicolas2@hotmail.fr
42d3f7d37df6743f60d81d69b57e407b29202290
fa8227796c7525f5dfd347f3c480a9a8fa0fa0b1
/backend/hharvard/hharvard/urls.py
1da5dbd43c3d01c103021c6ada2764309131af4b
[]
no_license
CauaneAndrade/HackHarvard2021
515f8d635dcaa3796251d315a986f93919ff7296
42f6e031a6d74f1b8e1bbbe143ae33a76fbb8dde
refs/heads/main
2023-08-16T06:18:08.429155
2021-10-10T14:57:47
2021-10-10T14:57:47
413,943,558
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from django.contrib import admin from django.urls import path from django.conf.urls import include from rest_framework import routers from rest_framework_jwt.views import obtain_jwt_token from app import viewsets router = routers.DefaultRouter() router.register(r'users', viewsets.UserViewSet) urlpatterns = [ pa...
[ "cauane.emanuela@hotmail.com" ]
cauane.emanuela@hotmail.com
34397dfc2620cb2ec545a7ad9cb93a808013afbd
0917f0312bdc934d586b5471bda0f26ea2cd1dc6
/src/user_io.py
48e4c290764f8b6599b782be9ee8a72271c716eb
[ "MIT" ]
permissive
S0S-90/geocachingTooly
1897b64f0c71af781807354362a1656e13756be9
a6ed356d0187dd517a9436a83bded3752d488db5
refs/heads/master
2021-06-02T09:01:34.592866
2019-04-09T10:00:30
2019-04-09T10:00:30
68,519,562
0
0
null
null
null
null
UTF-8
Python
false
false
15,000
py
#!/usr/bin/python # -*- coding: utf-8 -*- """This file contains the user interface.""" import ownfunctions import geocache import os PATH = [r"E:/Garmin", r"F:/Garmin", r"G:/Garmin", r"H:/Garmin", r"/media/{}/GARMIN/garmin/".format(os.environ["USER"])] CODING = "cp1252" # coding of cmd (cp1252 recommended) EDITOR...
[ "susanneTsauer@gmx.net" ]
susanneTsauer@gmx.net
dce5b05d3471948b064364cc6d832b137033b937
94a4d676a7a5ba490e04552be8758a22af2abd2b
/smsf.py
e5d8934d145c96f36a25e72a24addd7f73dd61e0
[]
no_license
stdwarf/asterisk
90f95499dfde749b2e507b63e1b5a20dc9cb738f
2fa525f979848f0daf598452d6fd7321af6a9691
refs/heads/master
2021-01-22T04:40:32.589865
2013-05-16T07:27:42
2013-05-16T07:27:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,667
py
#!/usr/bin/python # -*- coding: utf-8 -*- import os,sys,re,sqlite,datetime import smtplib from smtplib import SMTP from email.MIMEText import MIMEText from email.Header import Header from email.Utils import parseaddr, formataddr q="'" # файл генерируемый для учета iccid sim карт localpath='/var/lib/asterisk/scripts/...
[ "stdwarf@gmail.com" ]
stdwarf@gmail.com
a27cd524172294776c06edc2d24389936548aba7
652c587eb1f846901619d09dd2aab421c5939f06
/N6_While_Loop/049.py
8de63f81aafab58d6d7377f14ed0d132dbe48013
[]
no_license
Lightman-EL/Python-by-Example---Nikola-Lacey
0bfd55acf0b4f46dac2608c2bdb657fcb0b74e35
374ea1d710933ac0fd315326c4963044792ac934
refs/heads/master
2022-11-19T19:46:53.902389
2020-07-08T19:07:28
2020-07-08T19:07:28
278,171,242
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
counts = 0 compnum = 50 while compnum == 50: number = int(input("Enter a number: \n")) counts += 1 if number > 50: print("Too high") elif number < 50: print("Too low") elif number == compnum: break print("Well done, you took", counts, " attempts.")
[ "noreply@github.com" ]
Lightman-EL.noreply@github.com
8a9b786a69a3422594bf5a9aa764cfdb148778f8
d2e9d86c6ea1bf7c9d79afcc90ea9585fd362650
/HashSetAndHashMaps/HashMap/HashMap.py
06935effab9aee1d779ad53a9195446f52fea739
[]
no_license
Ailloviee/data_structures_and_algorithms_review
1993018f18673e800d94ada64c30264737c33c03
7d2f00d78c43d01393d567076e8ffdf5ab7c1297
refs/heads/main
2023-05-04T00:53:31.628449
2021-05-20T03:12:37
2021-05-20T03:12:37
362,901,923
0
0
null
null
null
null
UTF-8
Python
false
false
1,884
py
class Bucket: def __init__(self): self.bucket = [] def get(self, key): for (k, v) in self.bucket: if k == key: return v return -1 def update(self, key, value): found = False for i, kv in enumerate(self.bucket): if key == kv[0]...
[ "j68zheng@uwaterloo.ca" ]
j68zheng@uwaterloo.ca
c162da296af968a3490c034f866fcdeef0524e9a
05bc1cf1498af8b14a42cfe3f2403d063a083148
/python_lecture/control_flow.py
5658fcb726edf625ab29d65c580106da3320380f
[]
no_license
kevinjaworski/python_notes
24f0159bf6a15d4f05d19f85a27ce2926257fb52
acc004a72debd710a96eb30d8e77ff0c937a95a6
refs/heads/main
2023-02-11T03:04:45.779894
2021-01-14T15:35:57
2021-01-14T15:35:57
329,657,554
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
# if block x = 0 if x > 0 : print("Hello") elif x == 0 : print("World") else: print('blank') #ternary is_on = 1 message = "I am on" if is_on == 1 else "I am stuck" if is_on == 3 else "I am off" print(message) a, b, c, d = False, True, True, True print(c and d) print((a and b and not a) or (not b)...
[ "kmjaworski15@my.trine.edu" ]
kmjaworski15@my.trine.edu
eefb5209d4d3b571ac8ea971a93683b56c8bc052
5a013bed0f815912aa85aac46250dd6043f65151
/Graph optimization problem.py
60dcb6c127c8bc92b137431895b507814b19eef2
[]
no_license
Manijehkomeili/my-py-codes
2eee174556a9e2c18dfd8ddef2e5b5fd97527c7a
449ffbed7621d27a9c1c912ccee43fba24a9d096
refs/heads/master
2023-07-19T04:59:49.691786
2021-09-16T10:26:32
2021-09-16T10:26:32
404,399,114
0
0
null
null
null
null
UTF-8
Python
false
false
4,525
py
""" This is a sample Graph optimization problem with DFS and BFS methods The result will be shown with a test graph section DFS: Depth-First Search BFS: Breadth-Fist search @author: Manijeh Komeili """ class Node(object): def __init__(self, name): self.name = name def getName(self): return ...
[ "89593933+Manijehkomeili@users.noreply.github.com" ]
89593933+Manijehkomeili@users.noreply.github.com
d5fc2e9c95367713fde53a9b10a7e522573cc1da
4fe1dc7170d2d44e2c9988c71b08f66d469ee4b8
/Appendices/E/ejE5.py
77ce7a4cada9e676303b27e369f41adfd4fb3073
[]
no_license
ftorresi/PythonLearning
53c0689a6f3e7e219a6314a673a318b25cda82d1
f2aeb5f81d9090a5a5aa69a8d1203688e9f01adf
refs/heads/master
2023-01-12T00:40:05.806774
2020-11-13T14:33:08
2020-11-13T14:33:08
267,460,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
"""Now we solve the ODE problem u - 10u' = 0 u(0)= 0.2 in [0,20] using HEUN's method""" import numpy as np import matplotlib.pyplot as plt #Exact solution def exact_u(t): return 0.2*np.exp(0.1*t) #u'=f(u,t) as a class class f: def __init__(self): pass def __call__(self,u,t): return 0...
[ "noreply@github.com" ]
ftorresi.noreply@github.com
da0893ee12c8121cd392ce0dc9e6689b63cfe317
bdb3ab1d81958651d568859336f1a9eba74e279b
/load_data_for_nn.py
181a0fdb426c1ef4cdaf7df3dc6c30b9e93c2c87
[]
no_license
mishabuch/Assignment2
3f7e153b5aecc38e8b533c61cef9719263dfa924
aeb0f8ee35a5ddcd4ef9018fa07135c4c5cbadea
refs/heads/main
2023-03-24T01:51:32.196899
2021-03-14T17:22:13
2021-03-14T17:22:13
347,669,619
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
# This is a sample Python script. # Press ⌃R to execute it or replace it with your code. # Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings. from abc import ABC from scipy.io import arff import numpy as np from sklearn import preprocessing import sklearn.model_selection as mo...
[ "noreply@github.com" ]
mishabuch.noreply@github.com
1aa763525c70cc0133f8bd2527f150fc9b95b289
bf17a8783aed198468b6feb505e611a9fc336f72
/scriptlets/Wrapper.py
826bb31227e99e800e5d85885d0988539e7da44d
[]
no_license
Mew1626/QOscript
6c2db2aca370502dbe474ca1a09a59a43cfb3147
fb52672eb744901ecb25d8b66788630980d8ce61
refs/heads/master
2020-07-14T20:25:57.438538
2019-09-13T17:47:48
2019-09-13T17:47:48
205,394,471
1
0
null
null
null
null
UTF-8
Python
false
false
4,368
py
import os import datetime from tkinter import * from tkinter import filedialog from tkinter import ttk root = Tk() reports = StringVar() under10min = StringVar() monthselection = 0 warantycsv = "" purchasecsv = "" evalcsv = "" loncsv = "" def wrap(): path = os.path.dirname(os.path.realpath(__fil...
[ "noreply@github.com" ]
Mew1626.noreply@github.com
6ac8aceb9e1f7b8a43ff8b98d98019bdd41c55d5
4c73bf392aa28319e87d5cbb425d13b85ae6fda3
/exercise/quiz/celeb/solution/main.py
f02d626e6018051980126f9aedfb8038acb60a26
[]
no_license
potpath/algo-class
3b9f08e39867e4857a5f5ca12536b85b58cd7f52
93638d99f48bce991aa0abbe569947032cc597d0
refs/heads/master
2021-01-24T14:22:44.676921
2014-10-06T11:27:48
2014-10-06T11:27:48
24,842,788
1
0
null
null
null
null
UTF-8
Python
false
false
293
py
N = int(raw_input()) K = [[int(i) for i in raw_input().split()] for i in range(N)] R = [sum(K[i]) for i in range(N)] #sum each row C = [sum([K[i][j] for i in range(N)]) for j in range(N)] #sum each column ans = [i+1 for i in range(N) if R[i]==0 and C[i]==N-1] print ans[0] if len(ans)>0 else 0
[ "GroupDoll" ]
GroupDoll
a5ca0dba0718aa09e17d7542056fc9af17a7eb38
49c2492d91789b3c2def7d654a7396e8c6ce6d9f
/ROS/catkin_ws/build/dyros_simulator/dataspeed_can_tools/catkin_generated/pkg.installspace.context.pc.py
aaf615e0d8cdbcc7a35dbfeacc60e39121b30380
[]
no_license
DavidHan008/lockdpwn
edd571165f9188e0ee93da7222c0155abb427927
5078a1b08916b84c5c3723fc61a1964d7fb9ae20
refs/heads/master
2021-01-23T14:10:53.209406
2017-09-02T18:02:50
2017-09-02T18:02:50
102,670,531
0
2
null
2017-09-07T00:11:33
2017-09-07T00:11:33
null
UTF-8
Python
false
false
453
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 = "-ldataspeed_can_tools".split(';') if "-ldataspeed_can_tools" != "" else [] PROJECT_NAM...
[ "gyurse@gmail.com" ]
gyurse@gmail.com
561487e1803023123990db3ae20bc96d55ac9143
6c054175f35bb975c2f6bc4bce00243541b9a75a
/wk5/ch9_6Exercise.py
4b419a12b0e1302325ae870e6ee3de6a4e91f38c
[]
no_license
kayfay/python_informatics_course
629c12c951312ae8f34d315e6aed0f6c22bebc02
86d7fccb006a46f0d9189ab5867560c788fddbd6
refs/heads/master
2020-03-27T00:34:48.608787
2018-08-22T00:57:58
2018-08-22T00:57:58
145,635,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
#File: ch9_6Exercise.py #Programmer: Allen Tools #Date: 02/09/2017 #Course ID: LIS 4930 Python for Informatics #Purpose: Write a function called is_abcecedarian that returns True # if the letters are in alphabetical order, how many are there? # reads a word from the wordlist wordlist...
[ "allenchristophertools@gmail.com" ]
allenchristophertools@gmail.com
8b794d9621af4cabd7f72b4a547be012ca0d18ff
f8afc5020d9757437f17574e16e15501016fb60a
/sawtooth-core/families/settings/sawtooth_settings/protobuf/client_transaction_pb2.py
199ee2ff6ecbba49d372fbc7ce1cbcd156d2a63d
[ "Zlib", "MIT", "Apache-2.0" ]
permissive
prog-nov/hyperledger-sawtooth
cdbf168c2b893905d95d99fcead4122bbf6b2307
b2d8e1f37293a3ede2e43f18248d643023e4f2de
refs/heads/master
2023-03-17T02:51:05.317383
2018-11-07T18:08:29
2018-11-07T18:08:29
null
0
0
null
null
null
null
UTF-8
Python
false
true
13,916
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: sawtooth_settings/protobuf/client_transaction.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from googl...
[ "tupt@qsoftvietnam.com" ]
tupt@qsoftvietnam.com
4fc3011a76a8c9902eca9bf38d2151c3a856bb67
e5a12238b92363468c2260082e784c317d864134
/RegularExpression.py
34931a08db360980cbec01200fc779186a9c10df
[]
no_license
KrupaPatel02/MetroNet
751d3e48f71a22dda627408e1f21def317b01644
53d7c7ecd6412d885367fe26a6dd2d32fe585497
refs/heads/master
2020-07-02T22:27:05.281739
2019-08-10T22:09:08
2019-08-10T22:09:08
201,687,584
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
import re from datetime import datetime regex = "20\d{2}(-|\/)((0[1-9])|(1[0-2]))(-|\/)((0[1-9])|([1-2][0-9])|(3[0-1]))(T|\s)(([0-1][0-9])|(2[0-3])):([0-5][0-9]):([0-5][0-9])" regex1 = "([12]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01]))" def validateTimeStamp(timestamp): print("Started validating") if re.searc...
[ "krupahp90@gmail.com" ]
krupahp90@gmail.com
25e142e4f0055291c25003b1ada95a8fb4e3b38f
9f73613f8317e05d484ce6b6fde5c96a37a09b85
/apps/bus/translation.py
296414d127f227e3c8cba0cd68b060b3b26c5e88
[]
no_license
alladot/amurauto
d88e74e9200dd1edf642dcda796c7e154f6405bc
cf46a64392e1ea33628f462a3ac80bd511361dd7
refs/heads/master
2020-04-06T13:50:26.237441
2019-10-08T03:27:29
2019-10-08T03:27:29
157,516,546
0
0
null
2019-10-08T03:27:30
2018-11-14T08:33:44
Python
UTF-8
Python
false
false
370
py
# -*- coding: utf-8 -*- from modeltranslation.translator import register, TranslationOptions from bus.models import Bus @register(Bus) class BusTranslationOptions(TranslationOptions): """ Класс настроек интернационализации полей модели Автобус """ fields = ( 'title', 'content', )
[ "alla.dotsenko@fogstream.ru" ]
alla.dotsenko@fogstream.ru
7cdeb29429d3ea1c04319e3e4093cb11fc57445e
b0def47943423226b42fb86533c97ed864368622
/src/part2.py
775817c8de86cddb83f6acdc6485f6a0e15932a1
[]
no_license
causztic/hmm
072b9d447ba15f436b1b0746b31530c1414ffce7
894724f20a72f34fb265c5f48f12f3b4ab2b9c4f
refs/heads/master
2020-04-07T22:30:00.716421
2018-12-09T08:58:42
2018-12-09T08:58:42
158,773,322
1
0
null
null
null
null
UTF-8
Python
false
false
6,082
py
import numpy as np from itertools import groupby UNKNOWN_TOKEN = "#UNK#" def prepare_data(file): """ Prepare the file, and returns a list of lists of "{observation} {label}" file : the name of the file to read """ lines = [line for line in file] chunks = (list(g) for k, g in groupby(lines, k...
[ "limyaojie93@gmail.com" ]
limyaojie93@gmail.com
3c3df6bdd3f4186cae34a915ada8acc2cdde2af6
d347ff7a54fe608e9e262c12d28c928e6e3989d7
/data_preprocessing.py
d07d692859a175b6ec7a15ddcdcb94ca03b27282
[]
no_license
NeverGX/SiamRPN
374cc6c60f7a0fc8367f8dbe81b5e8184e78705b
9224a6ecfb23986d7202d110d568a7ab30ad1345
refs/heads/master
2023-06-19T18:03:43.235531
2020-09-14T07:15:55
2020-09-14T07:15:55
295,334,657
0
0
null
null
null
null
UTF-8
Python
false
false
5,138
py
import cv2 import numpy as np import argparse import glob import os from tqdm import tqdm from concurrent import futures from config import config parser = argparse.ArgumentParser() parser.add_argument('--data_dir',type=str, default='/home/wangkh/Downloads/got-10k/full_data/train_data', help='got_10k data di...
[ "15058715723@163.com" ]
15058715723@163.com
cd97fc37637ebbea191dfde0b5de158f4d957ec8
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractNorthbladetlBlogspotCom.py
6ae6636f041f4c6171da2a37228f9012d3e74405
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
562
py
def extractNorthbladetlBlogspotCom(item): ''' Parser for 'northbladetl.blogspot.com' ''' vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol) or "preview" in item['title'].lower(): return None tagmap = [ ('PRC', 'PRC', 'translated'), ('L...
[ "something@fake-url.com" ]
something@fake-url.com
aeda73e4de7393ca198519384998e625a5a63d26
6f33381dcb19a042d916b4a452f9cb7438729798
/jabba/graphs/legend.py
6767d1bc8f8140580a6220c89e4327bd31cd22ab
[ "MIT" ]
permissive
puppetlabs/jabba
8308adf5be9ba25efb414f384bf3568854be55e2
71c1d008ab497020fba6ffa12a600721eb3f5ef7
refs/heads/master
2023-06-13T09:17:49.274408
2017-06-30T11:02:27
2017-06-30T11:02:27
185,443,592
0
1
null
2019-05-07T16:54:03
2019-05-07T16:54:02
null
UTF-8
Python
false
false
939
py
import graphviz as gv class Legend(object): """ GraphViz graph for rendering legend """ def __init__(self): # Legend is presented as map (name -> settings) self.items = {} def add_item(self, name, settings): self.items[name] = settings def render(self): legend...
[ "rebovykin@gmail.com" ]
rebovykin@gmail.com
c73062c7a81aad5fa911ce01f8de736e1bb69024
7fc2977b09fa8fc7c26a5efc9788a6170b6ca7e5
/Stylying_Example.py
4022f2aa5a6c6defee1c144fae5c49ba9ba9fb74
[]
no_license
fes7713/Qt_Template
d701996991b4ee7e59054f92e72628eaa307a541
bb0f602ce77a171673be824a9b7d12a0f70eb01b
refs/heads/main
2023-06-25T20:28:07.130729
2021-07-23T07:18:26
2021-07-23T07:18:26
388,712,708
0
0
null
null
null
null
UTF-8
Python
false
false
19,518
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Stylying_Example.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. # APP Imports import s...
[ "tun05036@temple.edu" ]
tun05036@temple.edu
15bafbcebb7a5ee33f644bfcac1ff16f634e54b6
c4ee7adb7113c855b54c4c4b752d6e82758a735d
/ecommerce/ecommerce/settings.py
664987da3f61cb452fe63d12f80ef5d52d5772a7
[]
no_license
devblocs/django-snippets
c000f73bb9bbe0bb638b2bf0574466de6cfe1bec
a2c06c64cc13b6459e2a7506dca81544d6e756ad
refs/heads/master
2022-12-17T01:34:32.598922
2020-09-14T16:51:46
2020-09-14T16:51:46
295,435,843
0
0
null
null
null
null
UTF-8
Python
false
false
3,080
py
""" Django settings for ecommerce project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib...
[ "venkatesh.nadar@neosofttech.com" ]
venkatesh.nadar@neosofttech.com
ec47bc066bc69f6cf12e1ef76fe29f8be677394c
5667cc877342204b7d54b6c3cc5a9f4854f08829
/.history/apppersona/views_20201101174230.py
3ca271ad58977d9585b9c4096dc875f160abb1d5
[]
no_license
Nyckhos/TestCommit
d62e3f6fefb04ab5647475cc7ead0d72cbd89efa
9aa8e2e35280b7862960cc8a864e9c02ac7f4796
refs/heads/main
2023-01-05T05:57:59.223641
2020-11-02T02:08:18
2020-11-02T02:08:18
309,237,224
2
0
null
2020-11-02T02:30:43
2020-11-02T02:30:43
null
UTF-8
Python
false
false
3,787
py
from django.http import request from django.shortcuts import redirect, render from django.http import HttpResponse from .models import * from .forms import * from django.contrib.auth.models import User from django.contrib.auth import * from django.urls import reverse from django.contrib.auth import login from django.co...
[ "fernandox_240997@live.com" ]
fernandox_240997@live.com
90254a2e8ba7c81e196fd637cbd4598c1fdaa717
3e1b5d7cb529be1529ae45fa062a423f8328d6d2
/Edgar-new-codes/Getting-10-K- and-10-Q doc links.py
54aab244b45e5b116a35eee0099a5ad3de1aba53
[]
no_license
abhigupta4/Finrsch
260687b3b53d3c94a03dc2b9e640952718033486
ca0b7f1631fbbe109b81403b9ffc36c67c759d23
refs/heads/master
2021-01-19T10:54:19.705213
2017-07-06T12:22:37
2017-07-06T12:22:37
87,913,197
1
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
import requests from bs4 import BeautifulSoup import urlparse def get_file(cur,val): base = 'https://www.sec.gov' r = requests.get(cur) document = BeautifulSoup(r.content,"lxml") links = document.find_all('a') for link in links: if 'Archives' in link.get("href"): print 'Document link' print base+link.get(...
[ "abhinavgupta6245@gmail.com" ]
abhinavgupta6245@gmail.com
97c689ed7738f6c1cdd66ac8e2e6f724392842c8
99ee9124c12c889821f407fe5f29316ea276131d
/1.py
b76abe519ef86ead1537c66e88e3bea758ae3c83
[]
no_license
17818909875/pythontianqi
3b7a17cd3d9e7be0b115549d246221e7479ee646
7c20fde9ec6dd2cf9dd9ab3a4e5ca46a14ac114a
refs/heads/master
2020-06-01T12:16:53.326667
2019-06-07T16:58:28
2019-06-07T16:58:28
190,777,163
0
0
null
null
null
null
UTF-8
Python
false
false
497
py
import requests r=requests.get('http://www.baidu.com',params=None)#与post相同去爬取信息,但是正则好难,这里构造请求request,None可以是字典或则字节流,r此时是response对象 r.encoding='utf-8'#可以用r.apprent_encoding时猜测的编码方式,如果header不存在charset,就不能解析中文了,如百度,注意header不是head,所以百度没有 print(r.text)#字符串形式信息 #r.content,http响应内容的二进制形式,如图片就是这种形式
[ "2534907211@qq.com" ]
2534907211@qq.com
cdae847f9f3fce2eddb4d6dd44e2910e92a82277
f222202da3ad7d9f897608363c4f6ad18ccb6238
/srm685/multiplication_table2_easy.py
37383f97b427629bf3d3b8b2f4eb57e61388afac
[]
no_license
antontomusiak/TopCoder
fbc510b53bd2f201443f3846a7143db752116094
124d8426c9faeedc787ce0fa9643a6e80828126e
refs/heads/master
2020-08-22T11:31:23.436037
2019-10-20T16:08:42
2019-10-20T16:08:42
216,384,917
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from math import sqrt class MultiplicationTable2Easy: def isGoodSet(self, table, t): n = int(sqrt(len(table))) for i in t: for j in t: if table[i * n + j] not in t: return 'Not Good' return 'Good'
[ "noreply@github.com" ]
antontomusiak.noreply@github.com
752c22f97ab80a626fa28eba09160396d731d400
a93977614af9f4461a8f39b66b37456c7de10b92
/jws_beta/logon.py
4e2fcecb1ab4005f4d93dc571cb99235a133dd34
[]
no_license
gikieng/jws
90039d8fc7cbc551bde5612cb2ec2ff9c3453618
81ec2f6e632390f95d8e6b36aeaae3104cf6de6a
refs/heads/master
2020-05-17T12:14:02.642195
2014-04-22T23:21:23
2014-04-22T23:21:23
18,941,316
3
0
null
null
null
null
UTF-8
Python
false
false
4,005
py
# -*- coding:utf-8 -*- import gtk, urllib2, urllib,sys, re class LoginPage(gtk.Window): url = 'http://jw.hrbeu.edu.cn/ACTIONLOGON.APPPROCESS?mode=4' def __init__(self, opener, headers): super(LoginPage, self).__init__() self.set_title("哈工程学生成绩查询系统") self.set_size_r...
[ "gikieng@gmail.com" ]
gikieng@gmail.com
5fc5736b6ff1ad4da80432c6975910ee3332d969
3c328704f965a7e7024e67ef672689f339c049ca
/features/daysSinceRegistration.py
39b93e352142a40add930e26fda44ec222606591
[]
no_license
valkheim/url-classifier
1152cd54d418cec452a538b1b70371a89fb998cc
7f431b6fcc996c8c94062a5d6d5468815857c587
refs/heads/master
2020-05-01T18:06:21.593033
2019-04-01T08:35:49
2019-04-01T08:35:49
177,616,846
1
0
null
2020-01-25T14:57:42
2019-03-25T15:45:15
TeX
UTF-8
Python
false
false
640
py
#!/usr/bin/env python import whois import datetime import numpy as np def get(address): if address is None: return np.nan try: creation = whois.whois(address).creation_date except BaseException: # non existent domain raises an exception return np.nan if creation is None: ...
[ "charles.paulet@epitech.eu" ]
charles.paulet@epitech.eu
042eed307db1e9a2af3b5a50786088f3bb73b6df
e2e283294d6c9ed6708fef38f7627d0b27e85779
/pymixconsole/processors/panner.py
cf240c517fb00467ad3af3dc28678f6139198303
[ "MIT" ]
permissive
JaeDukSeo/pymixconsole
3f8315b7c409cbf9d5d979e1dedf00dc39734b7c
49d86aeddfdd0b59c18830b02f63c98f721caf9d
refs/heads/master
2023-05-06T04:41:57.434512
2021-04-13T16:40:22
2021-04-13T16:40:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,478
py
from numba import jit, float64 import numpy as np from ..parameter import Parameter from ..processor import Processor from ..parameter_list import ParameterList @jit(nopython=True) def n_process(data, L, R): """ Apply panning gains based on chosen pan law. Params ------- data : ndarrary Input...
[ "csteinmetz1@gmail.com" ]
csteinmetz1@gmail.com
c86eb97e7e33e0eb1daa5c7af3fdb94195670482
38b87c9bede63d0d26d3fb56e453d9f2b92e49ed
/theme/migrations/0061_auto_20160529_1935.py
2ef31fb0bab366a335497b43f82c082d9b73f281
[]
no_license
webcommittee/cfwebsite
f1614bcc49b600918fd6c85e6cb7023c9702bc8d
d7bf23db8609655a8af53d9548a3ab02c1440a1b
refs/heads/master
2021-01-01T15:35:08.140308
2017-08-10T00:34:42
2017-08-10T00:34:42
97,653,307
0
1
null
null
null
null
UTF-8
Python
false
false
805
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-05-29 23:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('theme', '0060_auto_20160529_1429'), ] operations = [ migrations.RemoveField(...
[ "webcommittee.rpicareerfair@gmail.com" ]
webcommittee.rpicareerfair@gmail.com
3b670b3ba9034ce06aecedf5d367f6512e9bc61b
ce002bac9a46694bbd0227b895da4ca02832311c
/tests/app_test.py
7297f123212e800aa77873ea51c6b0b8514f5366
[]
no_license
Pranav143/ECE444-F2021-Lab6
787cb8f12da0679821585a5417ed5693ea8e5ef2
5e766fd36f9c3fdc7e0dadf34c3b28ec92e0be2d
refs/heads/main
2023-09-04T05:29:19.787720
2021-11-01T03:40:09
2021-11-01T03:40:09
423,250,181
0
0
null
null
null
null
UTF-8
Python
false
false
2,500
py
import pytest import os from pathlib import Path import json from project.app import app, db TEST_DB = "test.db" @pytest.fixture def client(): BASE_DIR = Path(__file__).resolve().parent.parent app.config["TESTING"] = True app.config["DATABASE"] = BASE_DIR.joinpath(TEST_DB) app.config["SQLALCHEMY_DAT...
[ "pranavagnihotri143@gmail.com" ]
pranavagnihotri143@gmail.com
69fe2635469cacf0543c8bdc6588c35e1ff15509
aa1972e6978d5f983c48578bdf3b51e311cb4396
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/config/network/vrid6_interface_binding.py
514e8bd208b3024680ba6c2b0c5d4530d8b2a8a3
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
6,678
py
# # Copyright (c) 2008-2016 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
827e3bcf2fca26a7b7abc2fc74da531da077f856
f6078890ba792d5734d289d7a0b1d429d945a03a
/extra/oconnorcollin_24162_1340359_Collin_O'Connor_1607318_ExtraCredit_week7.py
768973e38dd5ce426badbd6677369e038d6aa08c
[]
no_license
huazhige/EART119_Lab
1c3d0b986a0f59727ee4ce11ded1bc7a87f5b7c0
47931d6f6a2c7bc053cd15cef662eb2f2027712c
refs/heads/master
2020-05-04T23:40:53.709217
2019-06-11T18:30:45
2019-06-11T18:30:45
179,552,067
0
0
null
null
null
null
UTF-8
Python
false
false
5,750
py
# -*- coding: utf-8 -*- """ Created on Mon May 13 08:26:50 2019 @author: collin O'Connor """ import numpy as np import integrate_utils as int_utils #============================================================================== #Question 1 #================================================================...
[ "hge2@ucsc.edu" ]
hge2@ucsc.edu
b1321be198118b1993a81931de6a882a23c86dbd
9f4b9df74d87dbb493661fb341c12779a3108873
/DownLoad_Files/CrawlNet.py
3ccf53fe66defceb6d7c1c46d6c77a8f5ab64982
[]
no_license
yangfanjx/SearchEngine
8559f70bec067bd4217c1ef94fd03f19be7ea292
626194108b7e87602438cb6ced31748dd4287592
refs/heads/master
2022-07-31T13:42:54.683605
2020-05-26T13:43:03
2020-05-26T13:43:03
266,956,043
0
1
null
null
null
null
UTF-8
Python
false
false
40,442
py
#!/usr/bin/python # -*- coding: utf-8 -*- import requests # 导入requests包 from bs4 import BeautifulSoup import csv from SearchEngine.DownLoad_Files import Handle_Excel from SearchEngine.DownLoad_Files.Handle_Word import Word_Table import re down_folder = "./download_file/" # csv写入 class CSV_Class(obj...
[ "40845650+yangfanjx@users.noreply.github.com" ]
40845650+yangfanjx@users.noreply.github.com
3b357c8230a89675c8166c429994a142c867bce6
8eca4bbf07e2cad4dbc4fa685d2b34b0cdc4508e
/build/usb_cam/catkin_generated/pkg.installspace.context.pc.py
37ff0319fff6a308e509f32f7168d0b64ab31053
[]
no_license
marcfroberts/NASASwarmathon2018
a4555d432a0ab23cc96bc36c1f8e2ba417f49478
e2b1f62eb0d255fe10ab6b5e699bfa71a5e02ffd
refs/heads/master
2021-05-15T09:04:55.268856
2018-03-27T18:41:42
2018-03-27T18:41:42
108,076,212
0
0
null
2018-03-27T18:41:43
2017-10-24T04:21:17
Makefile
UTF-8
Python
false
false
492
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/swarmie/SwarmBaseCode-ROS/install/include".split(';') if "/home/swarmie/SwarmBaseCode-ROS/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PR...
[ "matthew@fricke.co.uk" ]
matthew@fricke.co.uk
7d755fc576080c119f8c871344e8aedfbbb39a79
350864228c8979440115cfc394757598214d4f73
/Music4U/app.py
ce56bcc49665f228384c36b5852bf202da888422
[]
no_license
yunjujo/homework
c207689d64e9ef9aaa3af2d8d914f4b3a522752d
59dff1607e6e596d0e738d9ecf4e883237843725
refs/heads/master
2022-12-30T13:41:25.125410
2020-10-27T23:00:32
2020-10-27T23:00:32
304,310,939
0
0
null
null
null
null
UTF-8
Python
false
false
2,965
py
from flask import Flask, render_template, jsonify, request import requests from bs4 import BeautifulSoup from pymongo import MongoClient # pymongo를 임포트 하기(패키지 인스톨 먼저 해야겠죠?) app = Flask(__name__) client = MongoClient('localhost', 27017) # mongoDB는 27017 포트로 돌아갑니다. db = client.dbsparta # 'dbsparta'라는 이름의 db를 만들거나 사용...
[ "35657441+yunjujo@users.noreply.github.com" ]
35657441+yunjujo@users.noreply.github.com
7f06032dba7dbccf331c8ae2b298cd060ce22cac
16aabd7d01d327815b64fe1ee39e1c42e07acdfa
/pipeline/table_figure_scripts/TALONClass.py
a6e320389960515565580f61f089deb026399519
[ "MIT" ]
permissive
dewyman/TALON-paper-2019
b17e1139afabd350c72fcc9d7078f49de746c046
8644b34573d6a5924e8d84a234fd0fcbf010c233
refs/heads/master
2020-04-28T06:31:33.907456
2019-11-04T20:13:34
2019-11-04T20:13:34
175,061,699
4
1
null
null
null
null
UTF-8
Python
false
false
4,733
py
import sys # this is the "class" code for creating Transcript objects. # all objects belong to a class, and this is the definition of it # there will be 1 object for each Talon Transcript # each column name is added to the object as an attribute # we could have written this in a separate file, then imported it using ...
[ "noreply@github.com" ]
dewyman.noreply@github.com
61bc8a3a202bc70ca7a6d6c6a4c970e5e87ea59c
06b25df867b9a4741b4ca803eceb254aa50758e9
/editor_api/rest/lum.py
acdf87c0a73ffc1bdb30ca30bc06f1dcb3063474
[ "MIT" ]
permissive
jphuart/swatplus-automatic-workflow
e5ceaa745096926176d9fc45042f836e628d0504
dd2eeb7f882eb2d4ab7e1e5265c10b9beb93ddc4
refs/heads/master
2023-08-15T02:47:40.742352
2021-10-05T14:57:19
2021-10-05T14:57:19
282,170,706
0
0
null
2020-07-24T08:52:25
2020-07-24T08:52:24
null
UTF-8
Python
false
false
19,887
py
from flask_restful import Resource, reqparse, abort from playhouse.shortcuts import model_to_dict from peewee import * from .base import BaseRestModel from database.project import base from database.project.setup import SetupProjectDatabase from database.project.lum import Landuse_lum, Management_sch, Cntable_lum, Con...
[ "celray.chawanda@outlook.com" ]
celray.chawanda@outlook.com
0f5deea79f8da3d2ff9acc9d892c0b222e273d5d
a41d53564a56210851c784422a430cf31bf2bfd6
/examples/coffee_bar/cash_register/models/handlers/coffee_served_handler.py
7c5c44532ce019c132b5638bc3ad0503ff51bbf6
[ "MIT" ]
permissive
ohemelaar/tonga
3227bbf9e516aa0e48a0097cc86081ca37269660
d98f56df0400e1fdfc8f2df4b650c9c0addd0bc1
refs/heads/master
2020-05-31T17:57:58.089966
2019-06-05T12:35:49
2019-06-05T12:35:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,426
py
#!/usr/bin/env python # coding: utf-8 # Copyright (c) Qotto, 2019 from aiokafka import TopicPartition from typing import Optional # Import BaseEvent from tonga.models.events.event import BaseEvent # Import BaseEventHandler from tonga.models.handlers.event.event_handler import BaseEventHandler # Import StoreBuilderBa...
[ "theo.dangla@epitech.eu" ]
theo.dangla@epitech.eu
29c8d5b661e0845d95e719b70c945412bef5640f
b28cce9b6b2f30c7ebce8433de8c53cf6ec75a84
/retinanet/model.py
6cc4b58baa238a862562d5ec22fb5d2a81aa8fde
[ "Apache-2.0" ]
permissive
ccl-1/retinanet_pytorch
7c2fbd0128891e3b89e9ba09dee89f2aea71abf0
493cf4a942639df63839e575a280c56e3abe065d
refs/heads/master
2023-04-02T00:48:30.180338
2021-03-22T08:53:48
2021-03-22T08:53:48
201,150,049
0
0
null
null
null
null
UTF-8
Python
false
false
13,253
py
import torch.nn as nn import torch import math import torch.utils.model_zoo as model_zoo from torchvision.ops import nms from retinanet.utils import BasicBlock, Bottleneck, BBoxTransform, ClipBoxes from retinanet.anchors import Anchors from retinanet import losses model_urls = { 'resnet18': 'https://download.pytor...
[ "Roronoa_Zoro_1@163.com" ]
Roronoa_Zoro_1@163.com
457d4c6a1076ae536700f2daa77aa5ad82d61938
462ebf4ae330bb2b0738ed9193ca57c91d44f036
/utils/ops.py
03325cfd11d12f5b01e84d3d8b8c4d3102f926e6
[ "CC-BY-SA-4.0", "MIT" ]
permissive
sekilab/RoadDamageDetector
51aabfb0025d79d11b345f4e05fe981d484dd0eb
a7e867cc11d6895e7ea37acd43a9daf28ad16174
refs/heads/master
2022-10-20T13:21:14.983887
2022-09-30T02:00:53
2022-09-30T02:00:53
116,769,587
663
254
MIT
2022-09-30T02:00:56
2018-01-09T05:21:06
Jupyter Notebook
UTF-8
Python
false
false
31,229
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "n.o.id.z.m@gmail.com" ]
n.o.id.z.m@gmail.com
9d6be18ab0536568627e74f04f6d5fac3aacefbc
4ac330ae846ac3d593dca27ae34a5712a6de3a6c
/04_函数/hm_08_打印分割线.py
8f07d4fa0d6f3120716baedd355900f642e50bb5
[]
no_license
gaoshang18/python
5999c420be0bf020759fa0bb0bc2251532d5c779
e73aa15e71eea54699215f0ff6279ad9b8417be2
refs/heads/master
2020-05-01T03:35:32.480839
2019-08-26T02:02:55
2019-08-26T02:02:55
177,248,778
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
# 函数的返回值 return def print_line(char, times): print(char * times) print_line("hi", 4)
[ "noreply@github.com" ]
gaoshang18.noreply@github.com
d3bdbc5461a26a5c7fe0183620159be6662d508c
a9a2f66671fadf765d7feb511a4a5d9b9f4ef362
/test/agent/server/local_elastic_agent_test.py
d86d3dc297c43d5bceef33af548cc125f0b9dd84
[ "BSD-3-Clause" ]
permissive
BobLiu20/elastic
64885d164d485976ea8740672c454c212bab4ff8
e371fe57672aea91d2466f5e04884028d8dca649
refs/heads/master
2022-11-11T10:22:20.181835
2020-07-01T23:30:44
2020-07-01T23:32:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,667
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import multiprocessing import os import time import unittest import uuid from unittest.moc...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
a5c4df71ef52999cba5ee63c82c678407d13a844
3bb74bbfca7ca25eb82358181cf94d456811fdbd
/HW-04/main.py
4acd1a7618c182c57c3b34fb1adc79cda73df475
[]
no_license
WNick-main/GB_Python
3b4a67ea55cfe69fb672a7d3417883e48dda3b06
5f6f80e108e69ac998196e3d390971c4e15caebe
refs/heads/main
2023-07-28T03:39:37.714168
2021-09-12T17:26:52
2021-09-12T17:26:52
398,079,598
0
0
null
null
null
null
UTF-8
Python
false
false
6,556
py
""" 1. Реализовать скрипт, в котором должна быть предусмотрена функция расчета заработной платы сотрудника. В расчете необходимо использовать формулу: (выработка в часах*ставка в час) + премия. Для выполнения расчета для конкретных значений необходимо запускать скрипт с параметрами. """ import sys import ex1_lib try:...
[ "wnick@bk.ru" ]
wnick@bk.ru
058213adb8930b755a1e1a227d1503946eb6a378
ea064463fd3e7f341a8d1a902db85b859a184838
/pySAM/tests/test_utils.py
113918f9557da77882e0400b2e0a50f87718797b
[]
no_license
sososquirrel/SAM_project
66660c83831ff95465393d13181369412e91cda7
6fa411e2a8e1a6966df44c6ed2a30e0d919887ed
refs/heads/main
2023-04-12T16:10:43.590668
2022-10-19T13:41:50
2022-10-19T13:41:50
322,825,960
0
1
null
null
null
null
UTF-8
Python
false
false
643
py
import time import numpy as np import pySAM import pytest from pySAM.utils import make_parallel def test_make_parallel(): def yoo(a, b): for i in range(1000000): a + b return 1 list_iterate = np.array( [1, 3, 5, 8, 10, 3, 5, 4, 12, 23, 45, 56, 76, 89, 98, 89, 87, 65, 45, ...
[ "sophie.abramian@gmail.com" ]
sophie.abramian@gmail.com
a626adc7102a1a6b908acacffa6e1e0b37933a75
8e75c045b657680591b787bf9a1506dd3aed2415
/address_plate.py
8fd3b10fe9450a242099fca07b72db71b257c271
[]
no_license
SergeyFromOdessa/address_plate_modern
87c97bc3431700ced539ece56149264c89a8a61d
08ccaa98050b247fe38fae9e7b167ca6a388debc
refs/heads/master
2022-11-10T22:17:44.826529
2020-07-06T08:38:09
2020-07-06T08:38:09
277,486,928
0
0
null
null
null
null
UTF-8
Python
false
false
27,542
py
from argparse import ArgumentParser import io import pickle import re from reportlab.pdfgen import canvas from reportlab.lib.colors import PCMYKColor import sys import textwrap def pt(mm: float) -> float: """ mm to pt """ return mm*2.834645669 # 72/25.4 def _load_path(): with open('paths' + '.pkl',...
[ "sergey@example.net" ]
sergey@example.net