blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
457741e02d727ee709a6616e161dfb501b4258f7
5229c7fc87e3fddd7aee34284eeebf08fc84f4df
/bgp_configuration/bgp.py
685b806c9aa8a8fdea9d2da8230e720031ab0fdc
[]
no_license
SahanaSatya/automation_inside_an_autonomous_system
51144e198a4eb65da6bb07f1fd330945b3509e55
1e9bd7dfbd706e03f789a68dae6c4295c67afc0f
refs/heads/master
2020-07-03T06:57:27.569945
2019-08-12T00:28:28
2019-08-12T00:28:28
201,829,420
0
0
null
null
null
null
UTF-8
Python
false
false
2,932
py
from netmiko import ConnectHandler import threading import os import time def get_commands(conf_file,ip_addr): config_set = [] if os.path.isfile(conf_file): found = 0 localasnum = "" nip = "" nremoteas = "" networklist = "" with open(conf_file,'r') as file1: for row in file1: if found == 4: ...
[ "noreply@github.com" ]
noreply@github.com
59db6733062d74c3c4eaa39d9a84f6e0b05261d5
dc7465b43e49267ba6b1c08ec4d15b1613bbd14a
/python/caffe/proto/caffe_pb2.py
06f3bfb49487ea8b2d1816542b32bc04c9c58452
[ "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
peterWon/pva_textboxpp_merged_caffe
870d361262078480488663ad4fb988666d0807ff
9b7cfa28d5335b6b67d70761910d213e9d92f20c
refs/heads/master
2020-03-10T01:07:28.730457
2018-04-11T13:50:48
2018-04-11T13:50:48
129,101,137
0
0
null
null
null
null
UTF-8
Python
false
true
377,389
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: caffe.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _mes...
[ "13162551729@163.com" ]
13162551729@163.com
ef6c06660d86b62672a536b74a43851456d18b17
eba25f559725d80eaeb3f3c6d71e3f28880f2716
/Final Project/starter_code/part_b/partb.py
53a9d054774d7363641d169e765150950a86954e
[ "MIT" ]
permissive
Catherine1124k/CSC311_Fall2020
da72f6ce05e6589e1e0abd1b25e805187e197271
8ba16154982fe9975431d895e4c3bff537055312
refs/heads/master
2023-02-07T13:27:52.180786
2020-12-21T20:23:21
2020-12-21T20:23:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,135
py
from utils import * from part_a.item_response import * def load_question_meta(): # load question_meta.csv path = os.path.join("../data", "question_meta.csv") if not os.path.exists(path): raise Exception("The specified path {} does not exist.".format(path)) # Initialize the data. data = { ...
[ "58020839+RonnieTan@users.noreply.github.com" ]
58020839+RonnieTan@users.noreply.github.com
387d64c44a25a19d0b26c959227376443767d02a
1159b2200134468b2ea27c720a12b95b59be1bb0
/lib/parsers2/toml/toml.py
9af589d0d131d91ad806ce71c1b334aab3a98386
[]
no_license
YULIYA2001/Parser
a3ac8e418010159810416a5996d1ff9dd05b18e4
23d940bc7f46f99a24cfe7af92de4073854c9454
refs/heads/main
2023-06-11T18:23:47.850168
2021-06-24T08:06:45
2021-06-24T08:06:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,000
py
import re from .resources import * def dumps(obj): def dumps_complex(compl_obj, primary_key=''): if len(compl_obj) == 0: return '' ans = str() for key, item in compl_obj.items(): obj_type = type(item) if obj_type is dict: continue ...
[ "gyuliya2001@gmail.com" ]
gyuliya2001@gmail.com
10697df0fbb303ec76e0a8afc5734c074597401c
9c2f620c8827f1e1e5e74505dbbbde8563136ac9
/_tests/modules/test_rabbitmq.py
b57c84910d8345fdd9f7f5802356da1522676b5a
[ "BSD-2-Clause" ]
permissive
nasqueron/operations
af8c1f33edeec15d2fa798a464e54b405a149c12
f75aaf610ace599ef163821561078a5f474dcda1
refs/heads/main
2023-08-05T09:14:55.241997
2023-07-24T20:11:33
2023-07-24T20:31:17
27,307,453
18
1
null
2023-02-05T20:16:11
2014-11-29T16:16:08
SaltStack
UTF-8
Python
false
false
558
py
#!/usr/bin/env python3 from importlib.machinery import SourceFileLoader import unittest salt_test_case = SourceFileLoader("salt_test_case", "salt_test_case.py").load_module() rabbitmq = SourceFileLoader("rabbitmq", "../_modules/rabbitmq.py").load_module() class Testinstance(unittest.TestCase, salt_test_case.SaltTe...
[ "dereckson@espace-win.org" ]
dereckson@espace-win.org
b906b0551f7988f9c076fd83d07000b804048027
eaa30db47aa017f5f951ba5ddc5be55a205d1aa5
/serviceAnalysis/migrations/0002_customerservicehistory_miles.py
2af8bd0fcaf655e8bc5fd095cc4878988633dc90
[]
no_license
cyobero/websites
8cc7d6754dc528d7b154daee7368f7c0da41c589
5112e3feca4d4650eb9b22b0fe883daf3f56d1e4
refs/heads/master
2021-09-02T12:18:04.177603
2018-01-02T14:39:24
2018-01-02T14:39:24
115,207,609
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-12-23 03:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('serviceAnalysis', '0001_initial'), ] operations = [ migrations.AddField( ...
[ "czar.yobero@Czars-MBP.domain" ]
czar.yobero@Czars-MBP.domain
2d38dcb91332ff3a7c9d232d62866608fb719f06
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/bwobsolete_helpers/PyGUI/PyGUIBase.py
834a250a485148a54b8d4bd40344fe93be77ec21
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
5,952
py
# 2017.08.29 21:44:03 Střední Evropa (letní čas) # Embedded file name: scripts/client/bwobsolete_helpers/PyGUI/PyGUIBase.py import BigWorld, GUI import weakref from bwdebug import * from functools import partial from Listener import Listenable class PyGUIBase(object, Listenable): def __init__(self, component = No...
[ "info@webium.sk" ]
info@webium.sk
4c6f30773778755b28abf02e091617900053df6f
29cc3c7008d6bd1ca6cd7e9b377ab569a31994cc
/PythonAulas/aula11.py
9a38db459f8305e273a431c297b32407b1a68f73
[]
no_license
leclm/CeV-Python
d84a5b4f17c05480c62debca0aaee511ec1c77f4
ac37b8700d82ba9a61108fb5908e7e79a07565d2
refs/heads/master
2021-05-20T08:13:11.406957
2020-04-08T13:57:31
2020-04-08T13:57:31
252,187,554
0
0
null
null
null
null
UTF-8
Python
false
false
1,071
py
print('\033[32mOlá mundo!') # vai ficar com a letra verde print('\033[36;41mOlá mundo!') # vai ficar com a letra ciano e o fundo vermelho até o fim da linha print('\033[1;34;43mOlá mundo!\033[m') # vai ficar sublinhado, com a letra azul e o fundo amarelo até o ! print('\033[4;30;46mOlá mundo!\033[m') # vai ficar...
[ "noreply@github.com" ]
noreply@github.com
24e24c1bb50cbbd0c3f4af14a06c6dcf353f6fe4
425db5a849281d333e68c26a26678e7c8ce11b66
/LeetCodeSolutions/LeetCode_0252.py
ccf1daf59fe8c44bc1f9575209b20c8851cafb90
[ "MIT" ]
permissive
lih627/python-algorithm-templates
e8092b327a02506086414df41bbfb2af5d6b06dc
a61fd583e33a769b44ab758990625d3381793768
refs/heads/master
2021-07-23T17:10:43.814639
2021-01-21T17:14:55
2021-01-21T17:14:55
238,456,498
29
8
null
null
null
null
UTF-8
Python
false
false
361
py
from typing import List class Solution: def canAttendMeetings(self, intervals: List[List[int]]) -> bool: if not intervals: return True intervals.sort() end = -1 for interval in intervals: if interval[0] < end: return False end = m...
[ "lih627@outlook.com" ]
lih627@outlook.com
9c006a8120bb60c9b28d807c9abeaa3c113ba668
b7795d5154005cd12afaac9d099be43a21b2e143
/tests/ignite/engine/test_deterministic.py
9e567d1633052d799c86a0ae4fd75af867eb60c0
[ "BSD-3-Clause" ]
permissive
jonrbates/ignite
60361646ecbcf8659ced60460fe3ff2cb035ff74
15eeb8791a2e0c2f55265e1f6b91f91dc35286c5
refs/heads/master
2022-06-16T14:58:25.608252
2020-05-10T13:43:58
2020-05-10T13:43:58
262,943,590
0
0
BSD-3-Clause
2020-05-11T05:04:56
2020-05-11T05:04:56
null
UTF-8
Python
false
false
29,013
py
import os import random from unittest.mock import patch import numpy as np import pytest import torch import torch.nn as nn from ignite.engine import Events from ignite.engine.deterministic import ( DeterministicEngine, ReproducibleBatchSampler, keep_random_state, update_dataloader, ) from ignite.util...
[ "noreply@github.com" ]
noreply@github.com
5ef8b237e55d37ff2e070de67953ad80ebf813f1
df07bfa1e4ff4330177b38e3d99c0bc2e77e25bb
/demo/pdf.py
67ca0d507c70d01b02b55e9bd8859dcdf2503b08
[]
no_license
alexviome/vetafi
df3ddfba8a251a0043ecf89445ab9c549b9d1eee
f599d6a9d94c988c38291dfd633f7f985d77f74b
refs/heads/master
2020-09-20T15:56:23.757630
2017-08-17T06:09:36
2017-08-17T06:09:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,103
py
import pprint import sys from pdfminer.pdfparser import PDFParser from pdfminer.pdfdocument import PDFDocument from pdfminer.pdftypes import resolve1 def load_form(filename): """Load pdf form contents into a nested list of name/value tuples""" with open(filename, 'rb') as file: parser = PDFParser(fil...
[ "jeffreyquinn@Jeffreys-MacBook-Air.local" ]
jeffreyquinn@Jeffreys-MacBook-Air.local
e9d21ef02220e169f6df0bb222eb80eb3d958818
518b946eed96800708386bcc4972a77312953eea
/lib/models/comment_converter.py
d5c57e464666003756949fded9212df86eb0858e
[ "MIT" ]
permissive
aoisupersix/git2bit
e6acfc7c8926327bed83e88b8121506154610a3a
d7d333bc6b2b29f11652ec9e8ac1c5dda554a21f
refs/heads/master
2023-08-07T20:24:19.979680
2020-10-24T14:52:58
2020-10-24T14:52:58
218,724,072
0
0
MIT
2023-07-07T01:14:48
2019-10-31T08:58:54
Python
UTF-8
Python
false
false
763
py
from lib.models import GitbucketComment from lib.models import IdConverter def convert(gitbucketComment: GitbucketComment, idConverter: IdConverter) -> dict: """ GitbucketのCommentをBitbucketのインポータに対応した形式に変換します """ userId = idConverter.convertToBitbucketId(gitbucketComment.payload['user'].get('login'))...
[ "aoisupersix@gmail.com" ]
aoisupersix@gmail.com
7b98acc53d76f81399ffb120b7e715a6c5608d0a
00c9701cfc7b1b0bff6a72319d02cd59dc1eca9c
/ros_ws/src/regulation_imugps/src/regulation_from_err_alpha_dist.py
146f95c8f23cd620b7aa61a5194cd0db3ac032a3
[]
no_license
EnstaBretagneClubRobo/GuerledanDamScanning
ae80340556898ec6a39395e11975e21272c16c31
4309412f0dc883db3e5e4415539f38b5baaa762d
refs/heads/master
2021-06-14T16:11:16.907465
2017-03-03T14:10:51
2017-03-03T14:10:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
#!/usr/bin/env python """ This regulateur is just a template and publish a forward command only """ import rospy from geometry_msgs.msg import Twist from std_msgs.msg import Float32 from math import atan, pi, tan def update_err_d(msg): global eD eD = msg.data def update_err_cap(msg): global ecap eca...
[ "ejalaa12@gmail.com" ]
ejalaa12@gmail.com
a9ec1c6208ab0e57d7b0ab0699b53c48862f92c5
951552085dc24d864b35c53300f81cdd9c02e738
/chandra_models/chandra_models/__init__.py
fc88c9d8dc4af3931b5bf1cadb5202eda33c3462
[]
no_license
matthewdahmer/chandra_models
06d65b467b8f43201d59bc7f2f6cefa70ec1f0a7
654eff027a0a57f3617c76f65e4bada2d357b7d4
refs/heads/master
2021-03-12T22:55:29.980321
2013-07-10T19:16:20
2013-07-10T19:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
from .get_model_spec import * from .version import __version__
[ "matthew.dahmer@gmail.com" ]
matthew.dahmer@gmail.com
b3a177cdd830bf2a2b57fc5cb16d754555abd759
9f7a9f268abfc168e408e36b513132402fdd353c
/micro_detect/out1.2.py
0f6038c2781d0daf80f281d60b7d92ce7d906c17
[]
no_license
863752027z/lab_server
fe602bf0a588989b0a7ae171454eba67fa6907ca
65eeaf94712afd96363d449376a291918156354f
refs/heads/master
2020-08-10T12:40:30.803168
2019-10-11T04:51:14
2019-10-11T04:51:14
214,344,734
0
0
null
null
null
null
UTF-8
Python
false
false
11,556
py
import cv2 import os import numpy as np import pandas as pd import datetime import matplotlib.pyplot as plt import torch import torchvision import torch.nn as nn import torch.utils.data as Data from torchvision import transforms, datasets from collections import OrderedDict os.environ["CUDA_VISIBLE_DEVICES"] = "6" de...
[ "863752027@qq.com" ]
863752027@qq.com
3ce5b745b7bb73991b75f239120a3a8be10b9ca4
47dd0f0fe0b5c49c39af5800196ebca6b31a3483
/algorithm/raw_problem/RemoveDuplicatesfromSortedArray.py
26769d76836c559dd7ade7099ef633afe95ddc57
[]
no_license
gift9527/leetcode
e33eac7e2ce88cc72fce8d9f0271074c86f750b6
70e7f24dff27e1e7ac4b53f57a91a46bc6b38b31
refs/heads/master
2022-03-26T06:47:58.332265
2019-12-31T08:07:04
2019-12-31T08:07:04
111,184,352
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
class Solution(object): def removeDuplicatesfromSortedArray(self,nums): length = 1 tmp = nums[0] for i in nums: if i == tmp: continue else: tmp = i length += 1 return length if __name__ == "__main__": a = ...
[ "taoming@taomingdeMacBook-Pro.local" ]
taoming@taomingdeMacBook-Pro.local
38c933659b02a22a20f6d083599f99fcb5084d21
a80e59f13ca24f9033944e509841d61c50ad3e48
/german_words.py
8cf50ccc1a73953f59afcd50cc3a92afc2d408a8
[ "Apache-2.0" ]
permissive
thomi137/Python-Samples
a23125c3235912b8e81285fb19a2ca428894df37
7c8cc5eae94a4737ef9116617389ca78a25434f3
refs/heads/master
2021-01-22T17:57:39.452837
2013-11-09T16:10:34
2013-11-09T16:10:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,032
py
#!/usr/bin/python # -* coding: utf-8 -*- ######################################################################################### # # Fun with german words... Oh yeah and Python classes, albeit a complete overkill # # Copyright 2013 by Thomas Prosser, thomas@prosser.ch # # Licensed under the Apache License, Versio...
[ "thomas.prosser@coloruapp.com" ]
thomas.prosser@coloruapp.com
6f12aa49c1b58757880e07d40286744fc1c5e54e
13e012bd1fe359bb000309bc0fbc677d523e0ceb
/app.py
eadaa1d38507cf6e90e6b0371caaf643d786f4fd
[]
no_license
catboytao/sports
bca6245f5dcdb37025ef0220faffe58c35587c68
42e54c5ce19306cf81868c83d857bea987f405d3
refs/heads/master
2023-02-09T10:32:55.122199
2020-04-09T12:10:14
2020-04-09T12:10:14
248,934,195
0
0
null
2023-02-02T06:17:41
2020-03-21T08:18:44
Python
UTF-8
Python
false
false
2,760
py
import logging from flask import Flask, jsonify,abort,request,g,url_for from flask_httpauth import HTTPBasicAuth from passlib.apps import custom_app_context as pwd_context from datetime import datetime # 输出时间 from spider.crawler import Crawler from spider.load_data import Loader from factory import create_app from mod...
[ "azhuo@deloitte.com.cn" ]
azhuo@deloitte.com.cn
264248272a1c358a4acd5d74b1c03580e66eaedb
7807d8d9d109a3e272fffed91bf841201da39256
/trans_ITP1_8_A/tsuru_aji_ITP1_8_A_kotonoha.py
235487016630d8bb7d2384be3761ff1a3e9e983b
[]
no_license
y-akinobu/AOJ_to_Kotonoha
0e8df43393964fcdd5df06c75545091bd6c0c2e2
5a694a55a3d85e3fbc4a07b57edc4374556db9a1
refs/heads/main
2023-02-05T15:33:16.581177
2020-12-30T16:14:44
2020-12-30T16:14:44
325,524,216
0
1
null
null
null
null
UTF-8
Python
false
false
160
py
# strと入力された文字列の英大文字を英小文字、英小文字を英大文字に変換した文字列を出力する print(str.swapcase(input()))
[ "sx2_vn_yuka@outlook.jp" ]
sx2_vn_yuka@outlook.jp
e69f606bfb4db52a51edf5b7a7469866ce20c8ca
4f12d74448bd835bd222504e660672dbe0159e68
/2.py
c6f07a7419faa91e33f04eecdc354f5633247a27
[]
no_license
clara51/DataStructure
2d82c25d17a8402daca02d93d208269f8fa9577e
52d14fc64beaa6646443e2309e37d9a9d83fe6ba
refs/heads/master
2020-04-12T10:39:52.202546
2018-12-19T12:46:48
2018-12-19T12:46:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,632
py
''' 买卖股票的最佳时机 II 给定一个数组,它的第 i 个元素是一支给定股票第 i 天的价格。 设计一个算法来计算你所能获取的最大利润。你可以尽可能地完成更多的交易(多次买卖一支股票)。 注意:你不能同时参与多笔交易(你必须在再次购买前出售掉之前的股票)。 示例 1: 输入: [7,1,5,3,6,4] 输出: 7 解释: 在第 2 天(股票价格 = 1)的时候买入,在第 3 天(股票价格 = 5)的时候卖出, 这笔交易所能获得利润 = 5-1 = 4 。 随后,在第 4 天(股票价格 = 3)的时候买入,在第 5 天(股票价格 = 6)的时候卖出, 这笔交易所能获得利润 = 6-3 = 3 。 示例 2: ...
[ "892028617@qq.com" ]
892028617@qq.com
319634b2638f825383e2e84f42c7b1f36523f596
367a0ad6b268c0dfe34841173a9da71c5517b798
/Gen-Key.py
a03cb66ff43d5e027acdfb2dfee8841cbd9d03c1
[]
no_license
BakedBinJuice/file-encryption
ed159f7378ce97a7edfae91f8573d58b0d568bcd
c3ce19fef25230b472a87f9dedf82045c149e3ad
refs/heads/master
2022-12-02T10:45:51.033322
2020-08-14T02:49:14
2020-08-14T02:49:14
287,428,197
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
#!/usr/bin/env python3 from cryptography.fernet import Fernet def gen_key(): global key key = Fernet.generate_key() def write_key(key): file = open('key.key', 'wb') file.write(key) file.close gen_key() write_key(key)
[ "noreply@github.com" ]
noreply@github.com
b952733ad1f26d285dcea235356195d9224c9350
17e295e1fe88b66546cba50ae1d314aa14b6a2d4
/iRobot_control/venv/Scripts/miniterm.py
f82cba11ffee2277b46238bcdbdf1670943787e9
[]
no_license
JaheimMao/iRobot-Create-2
e2f99cfe50f7686bbfe1dc43bebcbfed2620bed6
873efcff47f18e7f3b39badba1a3a0aa4d910e46
refs/heads/main
2023-03-17T22:42:11.057683
2021-03-08T12:23:43
2021-03-08T12:23:43
344,784,885
0
0
null
null
null
null
UTF-8
Python
false
false
35,148
py
#!D:\lenovo\Documents\PycharmProjects\iRobot\venv\Scripts\python.exe # # Very simple serial terminal # # This file is part of pySerial. https://github.com/pyserial/pyserial # (C)2002-2015 Chris Liechti <cliechti@gmx.net> # # SPDX-License-Identifier: BSD-3-Clause import codecs import os import sys import threading ...
[ "jiahuimao@outlook.com" ]
jiahuimao@outlook.com
c0925dc7a9640a76a8d62fa371ea8e94e76af828
535a174b976ec82d54c742cb1fc75687168144fb
/commands/__init__.py
f97228cca1a67516639aee507d235d64f7b778fc
[]
no_license
lalacat/crawler
11fa9bf56920dcc7348a5d912a9eac91c9453efd
9c1236a410fa339fe998418cbfdd4c0ba7eb7d27
refs/heads/master
2021-06-04T00:58:27.492919
2020-04-01T14:03:49
2020-04-01T14:03:49
130,938,082
0
0
null
null
null
null
UTF-8
Python
false
false
1,967
py
import argparse class BaseCommand(object): """ 简要对各个命令的用法进行说明的方法 """ def __init__(self,setting = None): self.setting = setting def short_desc(self): pass def long_desc(self): return "Test for Long desc" #给出程序版本的回调函数 def _print_vision(self,option,opt_str,value...
[ "scott.si@hotmailcom" ]
scott.si@hotmailcom
de5bfd5baf736fa68ca8e5884c4e9094199c87ff
abda61b9cde643ba2e076386701490531e909697
/Final_Algorithm/final_mod.py
1e677fb8b5e2398248df1311bd781cff6a150769
[]
no_license
anassaeed72/Topics
d1e6d05e809d9eba858343ee04efcc78f9c083f5
0b37751ca6cffe9dc2ce052eb9f3d1d9e7e64af5
refs/heads/master
2021-01-10T13:48:54.621750
2016-05-12T06:35:30
2016-05-12T06:35:30
53,721,813
0
0
null
null
null
null
UTF-8
Python
false
false
7,307
py
from proximity import ProximitySearch import random import os from history import* from scan import* import sys from relays import get_relays from geoip import geolite2 import stem.control import ipgetter from midpoint import midpointCalculator import shutil from UserURLHistory import getFetechableURLsFromPage from tes...
[ "anassaeed@Anass-iMac.local" ]
anassaeed@Anass-iMac.local
35cefe7148d9cc9fafa089ca70fc3dfe6504e2be
4afb696bc7bee257a57e468d67f153767e3f67c2
/StockAnalysis.py
bc7ed441c076bc42d59d0cc8b2356f556cbe0929
[]
no_license
MuzzzammilMia/StockAnalysis
0c5ed15af77293a9fd5e51e255d12dd226be2c6d
e719258e2bfcb59a70afd2140ba03cae9509c6a3
refs/heads/master
2022-11-13T16:46:01.973754
2020-06-28T16:29:10
2020-06-28T16:29:10
265,611,223
0
0
null
null
null
null
UTF-8
Python
false
false
1,912
py
#!/usr/bin/env python # coding: utf-8 # In[28]: import pandas as pd import matplotlib as mpl import matplotlib.pyplot as plt import numpy as np print('Pandas version:',pd.__version__) print('Matplotlib version:',mpl.__version__) print('Numpy version:',np.__version__) # In[22]: #Converting the csv file to the D...
[ "noreply@github.com" ]
noreply@github.com
43866c23e7957b764f0b579688d0275579b2fd44
ef2e2a40c9e03173ee936f6672a90a794db5b2a0
/app/search.py
5dbfba175888cd77005d66737abc91a5e3083ee9
[]
no_license
crazynayan/flask-tutorial
fc2fbc3bd7e7f30d48dd2abce5ea05ef3168fc6b
6e51323bf086cadd39a4860388e07b047b8c6fbe
refs/heads/master
2022-12-13T23:13:08.832155
2019-10-30T12:16:54
2019-10-30T12:16:54
182,255,340
0
0
null
2022-12-08T05:01:38
2019-04-19T11:36:10
Python
UTF-8
Python
false
false
969
py
from flask import current_app def add_to_index(index, model): if not current_app.elasticsearch: return payload = {} for field in model.__searchable__: payload[field] = getattr(model, field) current_app.elasticsearch.index(index=index, id=model.id, body=payload) def remove_from_index(...
[ "nayan@crazyideas.co.in" ]
nayan@crazyideas.co.in
3a2127cf485882ad716605f78202ae8536f46498
f453897fccafc2278f959010c6bad52c7802a2fe
/sidebarUpdate.py
ec7becd648760176a127d1c08e6db75bb5c76b28
[]
no_license
ColinHaley/Python
4977c325c13652251386e5a5e3f65d55a3f13a07
bbef9fc8c4e1d31fe5e1142cf7506fc4738295dd
refs/heads/master
2021-01-25T08:28:17.231365
2018-05-09T21:46:32
2018-05-09T21:46:32
42,951,804
1
0
null
null
null
null
UTF-8
Python
false
false
4,866
py
""" __author__ = 'Colin Haley, aka Kazra' __purpose__ = 'Update the /r/asov sidebar with online players from asov Vanilla' Steps: 1. Create upload variables: [string]CSS, [string]Sidebar 2. Get current players a. If 0: i. Clear Sidebar Playerheads ii. Set to "No Players Online....
[ "unconfigured@null.spigotmc.org" ]
unconfigured@null.spigotmc.org
ebbdd594ec1e0b143441c4a911fcf81481ed0acf
4ae1879c21a4193da3df6ae740674ee0655a8beb
/drawDeviation.py
a8b9efe078feb123768f809991f2275a25cac77e
[]
no_license
cynerelee/collision-avoidance
68bccce1a54009ce7b3bee1bf2adc571b6cde956
c269b7040b68b91eb5e7e1134feb8363da1091f0
refs/heads/master
2023-07-09T02:40:23.760176
2023-06-24T03:44:02
2023-06-24T03:44:02
281,842,101
0
0
null
null
null
null
UTF-8
Python
false
false
2,147
py
import matplotlib.pyplot as plt import matplotlib import numpy as np import xlrd #读取excel的库 x=np.arange(0, 2.01,0.01) #print(x) #print(x.shape) data1 = xlrd.open_workbook("deviation_k1.xlsx") table1 = data1.sheet_by_index(0) line=table1.col_values(0) base=np.array(line) base=base.T resArray=[] #先声明一个空list data = xlrd...
[ "l" ]
l
b94636c5ce40cd95b97b2b35ed36b2306822ab9e
6ab977ddb640969e208abdfb8870f2e0736deafc
/advent2017/day17.py
b779114f0752af2f0cbed65df1af4c11ea3d7662
[]
no_license
nessalc/AdventOfCode
c78fa81dc360d9538a211eaddef6cee39a9dce49
f71ca4810d536b1a2025b20c34afb6f99155ba85
refs/heads/master
2022-12-18T19:08:07.679129
2022-12-16T22:44:05
2022-12-16T22:44:05
75,259,238
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
#Advent of Code 2017 #Day 17: Spinlock from collections import deque def fill_buffer(steps,iterations): buffer=deque([0]) idx=0 for i in range(1,iterations+1): buffer.rotate(-steps) buffer.append(i) if i%1000000==0: print('.',end='') return buffer if __name__=='__m...
[ "jclassen@gmail.com" ]
jclassen@gmail.com
cfc06a8572219937335727054137cb9dc4acbf0c
f3fd05416adb2932222d4e5b4fea42d57eb6f6d0
/.ipynb_checkpoints/interactive-checkpoint.py
4f1903e9761bb71761402bc894609edaa5ab3534
[]
no_license
anurag-ux/covid-19-analysis
4accaf356299d65512b039d2c4a3f37e0cd7f0ca
a8141923adb1c63e42f411050336f450e3f8c8d5
refs/heads/master
2022-04-23T21:32:49.251502
2020-04-27T09:32:06
2020-04-27T09:32:06
259,219,828
0
0
null
2020-04-27T06:19:19
2020-04-27T05:59:53
Jupyter Notebook
UTF-8
Python
false
false
1,311
py
import pandas as pd import numpy as np import matplotlib.pyplot as plt import plotly.graph_objects as go def setup(): global df global st_x global conf_y df=pd.read_csv('covid_19_india.csv') df['Date']=pd.to_datetime(df['Date'],format="%d/%m/%y") st_x=[] conf_y=[] for state...
[ "kinganurag8@gmail.com" ]
kinganurag8@gmail.com
e6c3c35d2126d046113a15b927b79a265d45938f
d0d9cfbdb391e7ff3bb7cb4ae3d34c80f46b35bf
/ghaaspy/postgres.py
05367ca39a51d8de024c5ef3d00f28529b1ef52e
[]
no_license
dvignoles/ghaaspy
ed977cd752d9d1c982d57be993d5ffe7e30c60bc
af97d99224e1be11d8228af1b2768a1e363c41a9
refs/heads/master
2023-06-15T12:26:44.371930
2021-06-29T16:05:48
2021-06-29T16:05:48
345,821,745
0
0
null
2021-06-29T16:05:49
2021-03-08T23:15:09
Python
UTF-8
Python
false
false
3,248
py
from pathlib import Path from psycopg2 import sql, connect class PostgresDB: def __init__(self, database=None, user='postgres', password='admin', host='localhost', port=5432, verify=True): self.database = database self.host = host self.port = int(port) self.user = user self...
[ "dvignoles@gmail.com" ]
dvignoles@gmail.com
cf01fa55f942fa2fcd66150ed980df7a693d2f4f
1923b16ad09b44272b330598d10ab444b5834773
/Basic_test/pa.py
820bc320af8641353d8d9499984d3786b0ec256b
[]
no_license
akhilakr06/pythonluminar
4b9503312cfd09ef8609c12e4052143ed00fb51c
72aa56eee078d7e5929dea0e74f7b9b01c6fef17
refs/heads/master
2023-08-17T11:02:13.228181
2021-09-20T05:49:17
2021-09-20T05:49:17
402,320,777
0
0
null
null
null
null
UTF-8
Python
false
false
538
py
# row=5 # for i in range(row+1): # for j in range(i): # print(i,end=" ") # print('') # for i in range(row+1): # for j in range(i): # print(i,end=" ") # print('') # a=int(input("initial value")) b=int(input("final value")) r=5 for i in range(a,b): if(i%2==0): for k in range(r...
[ "akhilakraju0601@gmail.com" ]
akhilakraju0601@gmail.com
41f76bde5c8c6d1b8115d6a7b484d3d798e330a9
9870351dff92683882eb6f4e8e27edf29f8e2560
/bookmarks/common/decorators.py
56a1de4d1522053090a5b6d329941e20a3ba543b
[]
no_license
peterniyon/paithoni
cf86878ad8dc12c6e20189ef036d6ede888381df
97fb26b8cf8d6f747ef4420f2e6a0fb9e52a4aab
refs/heads/master
2022-07-09T03:13:17.545373
2020-05-19T14:19:27
2020-05-19T14:19:27
265,268,723
0
0
null
null
null
null
UTF-8
Python
false
false
309
py
from django.http import HttpResponseBadRequest def ajax_required(f): def wrap(request, *args, **kwargs): if not request.is_ajax(): return HttpResponseBadRequest() return f(request, *args, **kwargs) wrap.__doc__=f.__doc__ wrap.__name__=f.__name__ return wrap
[ "peterniyoniza@outlook.com" ]
peterniyoniza@outlook.com
bb6a962fee8f976bdd835956ef211574d904f51f
6c1b604de2a212c148149d9011855c19d2dfd63d
/jaCloud.py
3c5a7f1b03abc4cef7c9b891dec1ad655780d16e
[]
no_license
ryoheimatsumo/slack_bot
48d38278ea4533bc942575b58ec04afcadee6190
337aa0151ac3062eded178210eb0e2e220c5c665
refs/heads/master
2022-07-16T14:48:20.855342
2020-05-13T12:08:11
2020-05-13T12:08:11
263,618,877
0
0
null
null
null
null
UTF-8
Python
false
false
1,817
py
from MeCab import Tagger import matplotlib.pyplot as plt from wordcloud import WordCloud t = Tagger() text = """ Wherever you are 作詞:Taka 作曲:ONE OK ROCK ONE OK ROCK - Wherever you are I'm telling you, oh yeah I softly whisper Tonight tonight You are my angel 愛してるよ 2人は一つに Tonight tonight I just say… Wherever you ...
[ "ryo828.kgu@gmail.com" ]
ryo828.kgu@gmail.com
e6fc3f88aad6cd1b16f5989145c60723173c18f8
cedc585c5fba9b3f09d41ec959eb512edb978089
/IndependentAllels.py
ee163e7b497a6c2d3f0f770af3dcc82edb55e393
[]
no_license
chernovsergey/rosalind
4024f863fb3d642d81df2b82c072856842c26166
193a26c7a383895afb373e14c44000d0dfd6ba09
refs/heads/master
2021-01-01T17:28:05.386689
2015-02-27T18:49:47
2015-02-27T18:49:47
28,854,692
0
2
null
null
null
null
UTF-8
Python
false
false
434
py
from scipy.special._ufuncs import binom __author__ = 'sergey' def P(n, k): return binom(2 ** k, n) * 0.25 ** n * 0.75 ** (2 ** k - n) def Solve(n, k): return 1 - sum([P(n, k) for n in range(N)]) if __name__ == '__main__': data = 0 k = 0 N = 0 with open('IndependentAlleles.txt') as f: ...
[ "chernov.sergey23@gmail.com" ]
chernov.sergey23@gmail.com
4a2d723ff34579a40e5a5ed814bf5a4a854501cd
2eb9c98a99f74ef0e03260609406d3cd644620e9
/test.py
a3bcb2d2b63366fda1812be23044888cbaa3a651
[]
no_license
DHdroid/HearMe
ec1326f23cc728fe167ce352cbed78b0d5d90f1a
9e579e59c09fd4e146c5e6c226a9668dab24e7b5
refs/heads/main
2023-03-19T18:50:55.717852
2021-03-09T07:08:05
2021-03-09T07:08:05
346,954,512
1
0
null
2021-03-12T05:45:19
2021-03-12T05:45:18
null
UTF-8
Python
false
false
3,067
py
Future<dynamic> speechToText(File file) async { final bytes = file.readAsBytesSync(); var uri = Uri.parse("https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=en-US"); var request = new http.Request("POST", uri) ..headers['Ocp-Apim-Subscription-Key'] = "d10dd8...
[ "dongkyuk@andrew.cmu.edu" ]
dongkyuk@andrew.cmu.edu
be10b6bc0c9150c1fba18f808a0eefbde924ab5c
734bccdcbaaef2ca12e6ff3526aa054d5dbcb9ef
/XSum-Topic-ConvS2S/fairseq/modules/__init__.py
cf36d19bfabc7885cc2179464045d778afa200aa
[ "MIT", "BSD-3-Clause" ]
permissive
artidoro/XSum
6215340c36013c4568e42f23132a6173e3c57912
29730d742914111175cebd0c769115e1b10f1b85
refs/heads/master
2020-09-24T01:10:34.930958
2019-12-03T21:32:40
2019-12-03T21:32:40
225,626,229
1
0
MIT
2019-12-03T13:26:30
2019-12-03T13:26:30
null
UTF-8
Python
false
false
650
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. from .beamable_mm import BeamableM...
[ "snaraya2@bravas.inf.ed.ac.uk" ]
snaraya2@bravas.inf.ed.ac.uk
f68f506b70b8c396f6fb4f61e09bdc790912ba44
c7a332a0e3b0e31e7369922e4e2dc052e21f2c0e
/backend/venv/bin/easy_install
f2bacc67a305de92b1b0b32c2e5d3dda6c2d474a
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
JonathanLimZS/JPMorgan-Code-For-Good-2019-Team2
7cd014db755636588d6060ddf6e956d1b6f50a42
cfe179eca15ec8cb6b5f772a97ee719aedc04093
refs/heads/master
2020-09-05T12:34:00.066531
2019-10-29T18:57:42
2019-10-29T18:57:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/Users/wayne/Documents/GitHub/team-2/backend/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "waynetoh858@gmail.com" ]
waynetoh858@gmail.com
d0c7e8f9d398295ea760aa1b3cc7b658fb54a81b
36cd6cd6b6f4fb984e00774f54f5f65e3e12a943
/Siamese_Loader.py
b134a69bc2ecc2fd4cbf88fdd985efe9f80775ca
[]
no_license
deyachatterjee/KagglePersonalizedMedicineText
e72964d02a056771f6a16d71d9ad4db22bcdb0c7
a92ba6ba4dd4de94f14c60be5e962c07a79b20b2
refs/heads/master
2020-04-22T23:07:56.633710
2018-03-04T01:12:03
2018-03-04T01:12:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,598
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Sep 9 11:44:42 2017 @author: suresh """ import numpy as np import numpy.random as rng from sklearn.utils import shuffle class Siamese_Loader: """For loading batches and testing tasks to a siamese net""" def __init__(self,Xtrain,Xval,Ytrain,...
[ "noreply@github.com" ]
noreply@github.com
a3b305ed929f1b6f60c1ce7b611b5ddeaa5aba79
822f34c3d908fae26ea7f08a3d557f1e40e0a57c
/6/main.py
76804bb8389e8db88b386f0774c019bd00a43c90
[]
no_license
astory-vik/lab6
ee84e9ac5873c04e073c7c144914d8b0a0ca9feb
309edae3efa8a8a84a4d021a1962758aaebc026f
refs/heads/master
2023-01-22T16:20:36.747057
2020-11-20T13:58:00
2020-11-20T13:58:00
314,569,020
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import requests from bs4 import BeautifulSoup url = "https://news.liga.net/" def main(): html = GetHtml(url) soup = BeautifulSoup(html, "html.parser") link = [] news = [] link = soup.find_all("div", class_="news-nth-title") for i in link: news.append(i.find('a').text) for k in news:...
[ "A.Astafyeva.FIT.122.20@knute.edu.ua" ]
A.Astafyeva.FIT.122.20@knute.edu.ua
d9e0b891cffbffce226b0db23a07df61215be4a1
e9656d837dea040cd2bfdbba3b541fe94800315c
/pyautobuild_slidev/main.py
d0175c5b04e24404d11eef3530ce45ba0d3f0eb7
[ "MIT" ]
permissive
mcoops/container
7aba77c92d9a9719339548581a059590ec76359c
95174aecf0ed5ac051f319e87c86c7bf9714e8f0
refs/heads/main
2023-07-05T19:50:40.128232
2021-08-12T16:01:05
2021-08-12T16:01:05
390,958,429
0
0
MIT
2021-07-30T06:35:26
2021-07-30T06:35:25
null
UTF-8
Python
false
false
1,933
py
#!/usr/bin/env python3 import requests as curl import subprocess def getreleasegh(): owner = 'slidevjs/' repo = 'slidev/' search = 'tags' url = "https://api.github.com/repos/" + owner + repo + search with curl.get(url) as r: if r.status_code == 200: j = r.json() release = ...
[ "stigpro@outlook.fr" ]
stigpro@outlook.fr
f24942104a030a0925c4947eaf99b2672eadd724
bf8c8f718e1025bd86e3e0a5716e63d8b9c532ed
/bot/cogs/personal.py
e27c0e9e9c540477cef7a53d1a3e0538537b78d7
[ "MIT" ]
permissive
iGaming2/rammus-discord-bot
816c569ba47c8c14a1d911dd7c23653f503e9051
04d5ff4141ccccfeccdbb91fd1a4d72496e43e13
refs/heads/master
2020-04-21T14:01:23.548765
2019-01-31T05:02:30
2019-01-31T05:02:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,078
py
import random import discord from discord.ext import commands import bot.checks from bot.resources import PACER_TEST class Personal: def __init__(self, bot): self.bot = bot self.append = " `:^)`" async def msg(self, ctx, message): await ctx.send(message + self.append) # ace ...
[ "dj3skulls@hotmail.com" ]
dj3skulls@hotmail.com
3df3fbea6d84f8960b962c2bbd112a115aaafa12
8ceceaf6f029e4c20af35c686cb3cf908d73f6e5
/account/urls.py
5093bbc1aa70fca4eaf0113212cac8946cba98d7
[]
no_license
Tekkieware/CodeConfab
df2f01081e53f68c041124dfbcc9f13c1311f95b
43652396112addcbb33ce24f3413aca79c3be5ab
refs/heads/master
2022-04-14T03:19:24.011771
2022-03-08T08:38:03
2022-03-08T08:38:03
250,670,137
0
0
null
null
null
null
UTF-8
Python
false
false
2,313
py
from . import views from django.urls import path, include from django.conf.urls.static import static from django.conf import settings from django.contrib.auth.views import PasswordResetView, PasswordResetDoneView app_name = 'account' urlpatterns = [ path('registration/' , views.register.as_view(), name = 'regist...
[ "tekkieware@gmail.com" ]
tekkieware@gmail.com
4a59a6d730c7d42759eeb4c97d075bd0b74a5420
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/vns/rsvdevdomainrefconttodomainref.py
6f6631bb9d8ebd61481610df7c86e13fd1a69120
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
7,979
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
2c827b70acdad62ca67fd30e1824c1fba685a3ec
492c1e1dabb84ec4efb874b3d9228d31a675a38f
/121.py
bd46672c3c29a00f05e67a8d9d5a65edbc8accd8
[]
no_license
ksnt/leet
65f3c36c8a524e1cc1a5d00bb7a840222ecc9dfe
6680ff978b88d3c44e538b4d5f0e6805ed85f9cf
refs/heads/master
2022-09-24T10:59:18.740314
2022-09-01T19:06:12
2022-09-01T19:06:12
136,970,152
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
import sys class Solution: def maxProfit(self,prices): """ :type prices: List[int] :rtype: int """ if len(prices) == 0: return 0 min_price = sys.maxsize max_profit = 0 length = len(prices) for i in range(length): if prices[i] < min_...
[ "ksn0215@gmail.com" ]
ksn0215@gmail.com
a82c891c8c753024768d78e5716329e714114205
cf5b2850dc9794eb0fc11826da4fd3ea6c22e9b1
/xlsxwriter/test/comparison/test_chart_drop_lines01.py
6e303f1bb4c31e9ce82494adcc98a6d81795dacb
[ "BSD-2-Clause" ]
permissive
glasah/XlsxWriter
bcf74b43b9c114e45e1a3dd679b5ab49ee20a0ec
1e8aaeb03000dc2f294ccb89b33806ac40dabc13
refs/heads/main
2023-09-05T03:03:53.857387
2021-11-01T07:35:46
2021-11-01T07:35:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,470
py
############################################################################### # # Tests for XlsxWriter. # # SPDX-License-Identifier: BSD-2-Clause # Copyright (c), 2013-2021, John McNamara, jmcnamara@cpan.org # from ..excel_comparison_test import ExcelComparisonTest from ...workbook import Workbook class TestCompar...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
a8ac8ed1fc1f33027e25548e0effc34a0d1d0e87
d530e02257918ce734ed964a0a101c6d9cebee41
/test_saved_model.py
0f546d655d83babc0ab379725cef7d3017244131
[]
no_license
KtRamsay/4I15_RL_Project
eb888571ec4e93b54ad6427b8c56158f1582a59b
5aa9e8c46a25f1c9f24dc0478c968930b5fddb9d
refs/heads/main
2023-04-12T21:44:57.204093
2021-04-26T15:23:22
2021-04-26T15:23:22
361,708,307
0
0
null
null
null
null
UTF-8
Python
false
false
11,588
py
from collections import namedtuple import numpy as np #from tensorboardX import SummaryWriter from tqdm import tqdm import matplotlib.pyplot as plt import time import copy import random from map_generation import resetMap from observation_functions import getObsSpaceRepresentation from plot_functions import plotLifesp...
[ "noreply@github.com" ]
noreply@github.com
38457dc838816aa418c8908fcbb7b3aa0e3c8dd8
19937697667261b0c180faddf7b75e767d9fc2cf
/app/tools/engineio/packet.py
a4f40e97e515c7d5e431fca73d9baf7ad5dc3460
[]
no_license
413180794/aliPay
197647cd3389e2b8236602b5bc3d36213b146d96
1c71e631a3730490f5794f1a69adaa0ff76f46fc
refs/heads/master
2020-06-18T07:50:25.238424
2019-07-19T13:02:11
2019-07-19T13:02:11
196,221,150
1
1
null
null
null
null
UTF-8
Python
false
false
3,514
py
import base64 import json as _json import six (OPEN, CLOSE, PING, PONG, MESSAGE, UPGRADE, NOOP) = (0, 1, 2, 3, 4, 5, 6) packet_names = ['OPEN', 'CLOSE', 'PING', 'PONG', 'MESSAGE', 'UPGRADE', 'NOOP'] binary_types = (six.binary_type, bytearray) class EngineIoPacket(object): """Engine.IO packet.""" json = _j...
[ "w123456256456" ]
w123456256456
5431d40c72d373dfc4b8862e7524c47fceb70a16
0c56f110c09743bbf951d681731df04f88bf99a3
/venv/bin/dicom2nifti
2801f7bfb5002ab39368ba8b3759565cbf6853f2
[]
no_license
wildwolf1994411/mri_project
dc50dfeffc02cc629421703648022674e568a9a1
2d2e2038cc52d5483308f70374133fea226f5269
refs/heads/master
2020-04-24T12:58:29.006155
2019-02-22T23:48:04
2019-02-22T23:48:04
171,972,252
0
0
null
null
null
null
UTF-8
Python
false
false
3,636
#!/home/shihong/Desktop/Qi_Chen/mri-project/venv/bin/python """ This script is the standalone/script version of dicom2nifti @author: abrys """ from __future__ import print_function import argparse import os import logging import dicom2nifti.convert_dir as convert_directory import dicom2nifti.settings as settings im...
[ "shihong@dhcp-10-135-12-178.660-1av.nyumc.org" ]
shihong@dhcp-10-135-12-178.660-1av.nyumc.org
78449bf47c907409436262751fab4a0327e9bb74
ad5d38fce4785037c108186f17eb1c64380355ef
/sddsd/google-cloud-sdk.staging/lib/googlecloudsdk/api_lib/cloudbuild/cloudbuild_util.py
c5720e7008ffdafaf648390fa1b04db8874cdcd5
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
saranraju90/multik8s
75864b605a139ddb7947ed4de4ae8466bdd49acb
428576dedef7bb9cd6516e2c1ab2714581e1137c
refs/heads/master
2023-03-03T21:56:14.383571
2021-02-20T14:56:42
2021-02-20T14:56:42
339,665,231
0
0
null
null
null
null
UTF-8
Python
false
false
17,887
py
# -*- coding: utf-8 -*- # # Copyright 2016 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "saranraju90@gmail.com" ]
saranraju90@gmail.com
33bd9813fab74f630b0d6986aa9f4747cd2d0f9b
18f2d1458103e1aacaaa14d9ff52654da0154dc8
/src/layers/cnn.py
a65eefba9fdcd3fd3a51a8020d43ef2cd3f172b7
[]
no_license
yamad07/IADA
4fbda5b2e7cdb5efd83f2bd2960bfb8dcfd0d455
7dbda1eb336f44e57567f4541e14b31304a4e381
refs/heads/master
2020-04-10T23:18:01.809883
2019-01-30T16:05:21
2019-01-30T16:05:21
161,347,800
5
0
null
null
null
null
UTF-8
Python
false
false
598
py
import torch.nn as nn def conv_layer(in_dim, out_dim, kernel_size): return nn.Sequential( nn.Conv2d(in_dim, out_dim, kernel_size=kernel_size, padding=int((kernel_size - 1)/2)), nn.ELU(inplace=True), nn.Conv2d(out_dim, out_dim, kernel_size=kernel_size, padding=int((kernel_size - ...
[ "yuhsukeshootsfc@gmail.com" ]
yuhsukeshootsfc@gmail.com
f01a7bc2ce9074bc9789a6850d69bb287d4328b0
48732e80f8bbb7707ccbe2f864d63e1b120502e1
/graduate/Lab-1/approx_errors_erk.py
fbbc5b2c09861355d89d3d558bc1e4b38a54c2e1
[]
no_license
ChristopherShort/computational-econ-labs
a0d9023cbc704d15ff7f9076a8b4fdb27f030136
c9dac8e9b9bbf36e7e969a1c8014b3e525104b0a
refs/heads/master
2021-01-25T01:21:13.565627
2013-10-14T12:50:45
2013-10-14T12:50:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,773
py
import numpy as np import matplotlib.pyplot as plt from pyeconomics.models import growth def cobb_douglas_output(t, k, params): """ Cobb-Douglas production function. Arguments: t: (array-like) Time. k: (array-like) Capital (per person/effective person). params: (dict) Di...
[ "drobert.pugh@gmail.com" ]
drobert.pugh@gmail.com
da79b470a5b4630a6673a89f07ae0c4dfb16071e
f4bb7a7e3dc8c37f7df66f1e4b207160b8091d97
/TeesUni/circlearea.py
dec8dd45e2fee8bb9126672786ed6fd45535e5ac
[]
no_license
davidwilliamwillis/TeesSession1
58fb7ebb8ef9aa2e93a0cfa3b2a8d5bb3b834923
db265986674e167ee54034c3fd3227fc964d54d4
refs/heads/master
2020-06-01T18:58:39.094395
2019-06-23T14:44:56
2019-06-23T14:44:56
190,892,398
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
import math radius = int (input("Please enter the radius:")) radiusSquared = radius**2 Area = math.pi * radiusSquared print("Your Circle Area is ", Area) circumference = math.pi * radius * 2 print ("Your circle's circumference is: ", circumference)
[ "noreply@github.com" ]
noreply@github.com
541ecd685d223e738f5743b51455b88c1cfda397
666592be9b8f88105bb8ad4ff7727124aed26aaa
/app/api_1_0/api_auth.py
b192ddcfc600e16c27f853e6a50a9894ecb03c94
[]
no_license
StevyZheng/rks
f952f24e780ef0e1575874e1ea25c64f4b37ae9f
b23d5b228042a0bed9975f163255bf6f5fb0a672
refs/heads/master
2020-04-29T12:02:39.180093
2019-04-15T16:34:36
2019-04-15T16:34:36
176,123,506
0
0
null
null
null
null
UTF-8
Python
false
false
2,856
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ # @Author : Stevy from flask_httpauth import HTTPBasicAuth from flask import jsonify, app from itsdangerous import SignatureExpired, BadSignature from itsdangerous import TimedJSONWebSignatureSerializer as Serializer from config import Config from app.models.user import Us...
[ "664553716@qq.com" ]
664553716@qq.com
209980e269323975daadb6f92996d0f260698963
e53b067f6a41f076588efda85a2dd1616b8a6858
/remoteroadrunner/plat.py
054e492806d00c752e57a89d5bb78ddaf8a203d5
[]
no_license
mbatc/EGB220-Robot
4dd9b52c3c80861ab0a0b7d9714beb80736f46ac
118d3bc4f2cb78279c2cec1d99d84e5168958f0f
refs/heads/master
2023-05-21T21:49:20.211478
2021-06-03T12:10:21
2021-06-03T12:10:21
344,645,882
0
1
null
2021-05-30T08:16:15
2021-03-05T00:18:18
C++
UTF-8
Python
false
false
2,050
py
from sdl2 import * import ctypes class Window: def __init__(self, width, height, name): if SDL_Init(SDL_INIT_EVERYTHING) < 0: print("Error: SDL could not initialize! SDL Error: " + SDL_GetError().decode("utf-8")) exit(1) SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1) SDL_GL_SetAttribute(SDL_GL...
[ "mickbatch98@gmail.com" ]
mickbatch98@gmail.com
454b3f6fcc8d3a395b5b82e4188f13105894c960
aae216eb4688b37fc8b96fc3900dfcb5d8a3ca16
/midterm-c.py
3a0583911d0a89006df1e7789cdfe85c804e54b4
[]
no_license
omerfarukkutlu/python-midterm
d7461d0bc6a76b65cc0f92b15353c72ac944bf87
75a7c7a531f9b7da13fd65477cfcc8c475554133
refs/heads/master
2020-05-18T14:15:51.375587
2019-05-01T21:27:50
2019-05-01T21:27:50
184,462,382
0
0
null
null
null
null
UTF-8
Python
false
false
6,596
py
# -*- coding: utf-8 -*- """ Created on Sat Apr 20 20:56:08 2019 @author: farukkutlu """ import numpy as np import matplotlib.pyplot as plt with open('airfoils/eh2012.dat', 'r') as file: header = file.readline() x, y = np.loadtxt(file, dtype=float, unpack=True) class Panel: def __init__(self, xa, ya, xb,...
[ "omerfarukkutlu@users.noreply.github.com" ]
omerfarukkutlu@users.noreply.github.com
d9c526969dc748e9e84b094f1266d0535a2a6f15
20ef681ddfb4de241f77660698a1f05bbe928abd
/ansible/dynamic_vars/testing.py
19e28595e78ebac720ba83286b1ca495d1ffcf26
[]
no_license
burnyd/arista_automation_events
78e9591b92e83e27adc40facfe8d80b5fa14dffc
73c7b733500fc5b26b6bb4d8a056a2ab9830d38d
refs/heads/master
2021-07-12T18:19:27.524401
2021-04-02T18:28:13
2021-04-02T18:28:13
123,217,062
8
0
null
2021-04-02T18:28:14
2018-02-28T02:26:02
Python
UTF-8
Python
false
false
1,130
py
#!/usr/bin/python #Change the common structure so it breaks out leafs/spines as well as all devices. import json import requests import os import glob common_url = "http://flaskapi:5000/api/static/common.json" headers = {'Content-Type': 'application/json', 'Accept': 'application/json'} requests.packages.urllib3.di...
[ "arista@arista.com" ]
arista@arista.com
440d85991f4a5c63c993bfa5575e75c0fe80b2eb
f281d0d6431c1b45c6e5ebfff5856c374af4b130
/DAY001~099/DAY25-BOJ1068-트리/shinjam.py
7db78b4398a5df90c58f272225b3fb2e50d4feb0
[]
no_license
tachyon83/code-rhino
ec802dc91dce20980fac401b26165a487494adb4
b1af000f5798cd12ecdab36aeb9c7a36f91c1101
refs/heads/master
2022-08-13T09:10:16.369287
2022-07-30T11:27:34
2022-07-30T11:27:34
292,142,812
5
6
null
null
null
null
UTF-8
Python
false
false
612
py
from collections import defaultdict N = int(input()) input_nodes = map(int, input().split()) del_node = int(input()) nodes = defaultdict(list) stack = [] visited = [0] * N for idx, val in enumerate(input_nodes): if del_node in [idx, val]: continue if val == -1: stack.append(idx) cont...
[ "noreply@github.com" ]
noreply@github.com
737d0d14cbf7617d263689780445a33d38fb5afa
8c466de1fb9de881718b6f59a71e02f54963ea96
/DJCelery/urls.py
5905e385ad9cfc4de49fb3867d7d810cf38778ea
[]
no_license
IsaacNewLee/DjCeelry
d17837b50cda8f4a2d96b1f36d953956b54fa7ad
06f5c6cdddeb4bbf130fe52bde5c32922cd66c5e
refs/heads/master
2022-02-18T20:31:47.997005
2019-09-13T14:18:47
2019-09-13T14:18:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
"""DJCelery URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
[ "635434705@qq.com" ]
635434705@qq.com
6911bfdb1062917403ac7d66e2e5833799fd3992
8f38dc6bcdf7a260b875bad6f68187a6ecde00b5
/tests/test_dialects/test_db/test_parser.py
2426e5ef2ed03b98f600a27dcdf0272c162c7816
[]
no_license
gavel-tool/python-gavel-db
b2d630f8e3732b1965ad5f66ab1becbf43764bb7
cc82381569f8e102abbc08e3c1729307da2b6e4a
refs/heads/master
2023-02-13T22:06:00.728622
2021-01-09T16:49:18
2021-01-09T16:49:18
309,721,938
0
0
null
null
null
null
UTF-8
Python
false
false
843
py
from unittest import TestCase import gavel_db.dialects.db.structures as fol_db from gavel.dialects.tptp.compiler import TPTPCompiler from gavel.dialects.tptp.parser import TPTPParser class TestProcessor(TPTPParser): compiler = TPTPCompiler() def parse(self, tree, *args, **kwargs): original = tree.ge...
[ "martinglauer89@gmail.com" ]
martinglauer89@gmail.com
7c1c9eef31590352927dadcd54597dbf6987e241
f9d9a49a4033f7f081ce6d44c39dbe581b3f1e6e
/WebCrawler/ShockingBox/ShockingBox/production_settings.py
54b29c28eb77f63eeaffa42425685d0fb6a89b88
[]
no_license
commonlife/SmartPiggyBank
455c14580cb5fca1115356335999151291d4bbf8
d62a55b080d3901f78cdea5015f2e33936facc4f
refs/heads/master
2021-01-12T04:52:25.220840
2017-01-02T05:28:41
2017-01-02T05:28:41
77,805,654
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
""" Django settings for ShockingBox project. Generated by 'django-admin startproject' using Django 1.10.4. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ impor...
[ "commonlife@gmail.com" ]
commonlife@gmail.com
ba32974d230cd953717d1b398d47c36bbdaa86d9
55c7f7e2e7d366e81b8438865792664a7aa8eebb
/services/users/tests/test_drf_urls.py
857b32e65ba2f676541b49dc45a08a6863ce705a
[ "MIT" ]
permissive
elmakhandaker/Services
78de4655d7d2f8f33e16b9db800a76c0539f6d32
36790d1b58398408468fcad907ca5678be45316c
refs/heads/master
2022-12-24T06:14:20.895633
2020-10-08T15:37:44
2020-10-08T15:37:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
661
py
import pytest from django.urls import resolve, reverse from services.users.models import User pytestmark = pytest.mark.django_db def test_user_detail(user: User): assert ( reverse("api:user-detail", kwargs={"username": user.username}) == f"/api/users/{user.username}/" ) assert resolve(f"...
[ "Ryan.Fleck@protonmail.com" ]
Ryan.Fleck@protonmail.com
dd8a4afbe6dd3252e432ddcf32a9f74e9ffe44f4
45394e169c45c71eb17948a91c6dd8d707676236
/Data analysis and selection/spanselector_zoom.py
a39693d2bcfce43e2a77e574b11c35eeddea9cc3
[]
no_license
jmajorNRELgit/Random-code_bits
235f4b6ebfdf8ed079db98c8601728180a0336e6
f656f558f9afd0f97d560c3df12df06e26c3985a
refs/heads/master
2020-04-03T12:17:03.386939
2019-03-27T13:59:49
2019-03-27T13:59:49
155,247,253
0
0
null
null
null
null
UTF-8
Python
false
false
3,293
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 15 08:48:30 2019 @author: jmajor """ import matplotlib.pyplot as plt from matplotlib.widgets import SpanSelector import pandas as pd import numpy as np from scipy import signal #calibration file = 'C:/Users/jmajor/Desktop/Fast_charge_part_2/Condensed data.csv' calibra...
[ "joshua.major@nrel.gov" ]
joshua.major@nrel.gov
c27db6a1a5fe6540f5fe1c700d2b2ee27a972c38
21b39d50e4df56ea01453001845d1580729af1df
/jdcloud_sdk/services/waf/models/WafConf.py
27441dad49c7751c59eb9cce3518e52ea22c2365
[ "Apache-2.0" ]
permissive
Tanc009/jdcloud-sdk-python
ef46eac7731aa8a1839b1fc1efd93249b7a977f0
8b045c99bc5b73ca7348e950b6f01e03a27982f5
refs/heads/master
2021-08-09T14:49:16.177709
2021-06-25T02:38:41
2021-06-25T02:38:41
141,714,695
0
0
Apache-2.0
2018-07-20T13:21:17
2018-07-20T13:21:16
null
UTF-8
Python
false
false
1,201
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "tancong@jd.com" ]
tancong@jd.com
9fe0052ed77b41b803970201931a83a8834c5944
b71eb888bf324bfe19c58f060f8d04371ff26bed
/venv/Scripts/easy_install-3.7-script.py
7360180eeb5f2b49c3c8421e8bee51d3cf3723b9
[]
no_license
victorllcrc/Test-Django-NGINX-Gunicorn
0481d50dd4dbe58260e466541b258087d03fa89f
068b0a5200554e32a17a19fb5bed955437f43eb2
refs/heads/master
2020-05-01T13:17:22.555924
2019-06-11T17:07:47
2019-06-11T17:07:47
177,488,094
0
0
null
null
null
null
UTF-8
Python
false
false
468
py
#!C:\Users\VICTOR\Desktop\tutorial\Scripts\yout111\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-s...
[ "victorllcrc@gmail.com" ]
victorllcrc@gmail.com
4b42a8e4857642f190b7bb3d89cf6b567ce773da
39306599d4302204da535a5be16c738220348e50
/tancrend/MateAndrea_tancrend.py
c14ad61f4f94bfe25648bd59aa54539ee6a2c463
[]
no_license
mt-andrea/py
c0ab7bf4e87b0f02d7c0bf30cbe2a38541828847
e96f9919d73d72873c3280cccc1a9c4cc13e6cbd
refs/heads/master
2023-06-12T08:46:31.355362
2021-06-23T07:06:50
2021-06-23T07:06:50
379,511,171
0
0
null
null
null
null
UTF-8
Python
false
false
1,917
py
rec=[] def f1(label): print(label) f=open("tancrend.txt","r") for sor in f: if sor[-1]=="\n": sor=sor[:-1].split(";") else: sor=sor.split(";") rec.append([sor[0],sor[1],sor[2]]) txt="A fájl beolvasása...kész!" print("\t"+txt) txt=rec[0][0] prin...
[ "mateandicica@gmail.com" ]
mateandicica@gmail.com
5f54bda94951ffce22f6ec5b88699d5c5256cc36
291695dfdf7b5c203f9642c0ad99fad662fd3b69
/main.py
c21052305c870e8d5fc306a9c627e6219dfa6dc9
[]
no_license
ayush1420/bot-in-class
e7f66bee80365d4ba5e37d428083bd3374d35f7d
0cb54f9804e24aa85482345f7980ae9e7a4ba8e3
refs/heads/master
2023-08-18T12:16:21.849641
2021-10-01T05:56:54
2021-10-01T05:56:54
412,329,480
0
0
null
null
null
null
UTF-8
Python
false
false
2,471
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import datetime import time import os import keyboard class meet_bot: def __init__(self): #enter driver location here self.bot = webdriver.Chrome(r"C:\Users\Ayush\Desktop\New folder\chromedriver.exe") def login(self,email,pas): bot =...
[ "ayush1402nba@gmail.com" ]
ayush1402nba@gmail.com
493f7fc5468420d339d65ff3e7a6cc763c3735b9
26f867cab34a6d3cd127faa15606b3b90cce846f
/Shrooms Class/Shrooms_knn.py
17ace1b7703f15741e4a63da05f6ad6bbb5ccb6c
[]
no_license
TheFloatingString/Mushroom-Classifier
38e7be78c3a3ce5d4f09c085335ad90061f0a38c
457d01e05733a9d0948085d79093df823f06059e
refs/heads/master
2020-03-19T05:26:15.940502
2018-06-08T00:40:20
2018-06-08T00:40:20
135,930,693
0
0
null
2018-06-08T00:40:22
2018-06-03T18:41:01
HTML
UTF-8
Python
false
false
581
py
# import modules import numpy as np from sklearn.neighbors import KNeighborsClassifier #from sklearn.svm import SVC # read data train_data = np.loadtxt('M_Train_data.txt') train_labels = np.loadtxt('M_Train_labels.txt') test_data = np.loadtxt('M_Test_data.txt') test_labels = np.loadtxt('M_Test_labels.txt'...
[ "noreply@github.com" ]
noreply@github.com
44bf8f5d04ab2ef20b3544249cd1b6392eb19290
1e9c9f2a9639db7cdb032aae69cb4d99aef1d3a5
/w3schools/python/reference/builtInFunctions.py
b9e411f63673bbb33d19faf1d68a200cdb99c7a9
[ "MIT" ]
permissive
sagarnikam123/learnNPractice
f0da3f8acf653e56c591353ab342765a6831698c
1b3b0cb2cff2f478006626a4c37a99102acbb628
refs/heads/master
2023-02-04T11:21:18.211654
2023-01-24T14:47:52
2023-01-24T14:47:52
61,184,927
2
1
MIT
2022-03-06T11:07:18
2016-06-15T06:57:19
Python
UTF-8
Python
false
false
3,948
py
# Built in Functions # abs()-Returns the absolute value of a number print(abs(-7.52)) print(abs(3+5j)) # all()-Returns True if all items in an iterable object are true mylist = [True, True, True] print(all(mylist)) # True print(all([1, 1, 1])) # True print(all([0, 1, 1])) # False print(all([])) # True print(all((...
[ "sagarnikam123@gmail.com" ]
sagarnikam123@gmail.com
23784e10aecbb68bd613b6e2d347dc67a80b58bf
b87769ad82c2cb893bdef590efabaade163cbec7
/0004_product.py
67318dcb56e518b7b7d23dde3efc703c421073f6
[]
no_license
prashantavhad/canteen-automation-system
6f80a727f3f9c11037c3e065590d8806b1a63c60
88c6ed66b99beed0f32f76f6a5583902f92395c3
refs/heads/master
2022-11-06T23:14:13.170968
2020-07-01T12:55:02
2020-07-01T12:55:02
276,369,887
0
0
null
null
null
null
UTF-8
Python
false
false
757
py
# Generated by Django 3.0.3 on 2020-04-10 09:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('MyApp', '0003_auto_20200409_1821'), ] operations = [ migrations.CreateModel( name='Product', fields=[ ...
[ "noreply@github.com" ]
noreply@github.com
46348f23567e5333fb55bf3a28a7c85d888f4703
b7b52e51c7be931d4d1176f3f1150de980ad21c1
/robot_tracker/__init__.py
021c08a6dfd433fad616aa6b87a5999ff677f2a4
[]
no_license
amezcua/Django-Robot-Tracker
d704eb982193d96386c62149f43d8df5cbc32aa6
6371af2ee9a3b6d91de7e71218d69c6ab21a7caa
refs/heads/master
2021-01-01T19:15:05.257564
2012-10-12T08:31:57
2012-10-12T08:31:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
# Robot-tracket app. # App que mira para cada solicitud si es de un robot. Inicialmente se parte de una lista vacia y se van almacenando los # useragents de todas las solicitudes que intentan acceder a robots.txt en el directorio raiz en una lista # para cada solicitud se mira la lista en un middleware que establece si...
[ "alejandro.mezcua@gmail.com" ]
alejandro.mezcua@gmail.com
ae18e15d31cb04495f56ec8136afcdb8cbf22861
6ecf8227cc63ea5c8f05fdd6a7d28b3167119367
/blueking_forum/wsgi.py
9b85fd8c45ff19aed7455d4ee3ba00e35d2a3b0a
[]
no_license
doraemonext/blueking_forum
5ad0f46780e785a5af4db6f171654e351f509aa1
f5737dcdeaef15c37b37a0988aa1be98f6283834
refs/heads/master
2020-12-28T21:29:19.982785
2015-11-04T04:15:20
2015-11-04T04:15:20
44,859,369
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for blueking_forum project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANG...
[ "doraemonext@gmail.com" ]
doraemonext@gmail.com
d5ad6d7c22d647be13c4d019c1289512ae3c728a
ddb02b6a5e73709502971f1b98aba2143abdf61a
/OR157.LRU Cache.py
d13e4fca3fe7d406241fdb26c838bfc83e9945fd
[]
no_license
MingYanWoo/Leetcode
0463b7e4f4a931c177f528333e5b039bb5913fcf
4ba35ea2a3c3c57c490a65f26bc6723abdbe104b
refs/heads/master
2022-01-12T05:44:04.705616
2021-12-22T18:14:38
2021-12-22T18:14:38
125,158,961
1
0
null
null
null
null
UTF-8
Python
false
false
3,777
py
# OR157.LRU Cache # 题目描述 # 设计一个数据结构,实现LRU Cache的功能(Least Recently Used – 最近最少使用缓存)。它支持如下2个操作: get 和 put。 # int get(int key) – 如果key已存在,则返回key对应的值value(始终大于0);如果key不存在,则返回-1。 # void put(int key, int value) – 如果key不存在,将value插入;如果key已存在,则使用value替换原先已经存在的值。如果容量达到了限制,LRU Cache需要在插入新元素之前,将最近最少使用的元素删除。 # 请特别注意“使用”的定义:新插入...
[ "woomingyan@gmail.com" ]
woomingyan@gmail.com
d524057902de1c41b9ee766e42eaa71198651fb0
eaeb7f30a4cd72710c545409f7c5ed847794e1a7
/Dirbtinis intelektas/Uzduotys/mano/FCBC/batch.py
15ae5790d145cfa6e9239ab45f29ae730081f43b
[]
no_license
lbstore/MIF_Informatics_Semester7
63d6edfbe2a728ad5e67d639bbf02ce64d20940c
90ed517416b2a0a558daec35af94b01b3d8dd414
refs/heads/master
2022-01-18T10:25:43.032096
2022-01-05T16:47:48
2022-01-05T16:47:48
127,039,807
0
7
null
2022-01-05T16:47:48
2018-03-27T20:04:37
JavaScript
UTF-8
Python
false
false
180
py
import os if __name__ == "__main__": for i in range(1,11): n = str(i) m = "BC" os.system("java -jar FCBC.jar "+m +" testas"+n+".txt "+"res"+m+n+".txt")
[ "aciukadsiunciate2@gmail.com" ]
aciukadsiunciate2@gmail.com
2599f43c702b477847beae310b71941347de3dfc
d5492bcc77824e29669400622fd89b1349c90caf
/python网络数据采集/my_爬虫_进阶_之路/scrapy框架/my_spiders/电商项目/阿里1688_淘宝_天猫_京东_折800_卷皮_拼多多/my_flask_server/tools/时间戳_to_时间.py
bb9790a02ba469733ed07993cf5d5bc247faef0e
[]
no_license
XCodeAny/python
d88980682ba4db839911a5de8c073fa33a63da80
35991daf6c7eff4197662b9d07cb9fcdee6a0c02
refs/heads/master
2021-08-30T20:00:14.231120
2017-12-19T07:55:15
2017-12-19T07:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
# coding:utf-8 ''' @author = super_fazai @File : 时间戳_to_时间.py @Time : 2017/11/15 17:13 @connect : superonesfazai@gmail.com ''' import time def timestamp_to_regulartime(timestamp): ''' 将时间戳转换成时间 ''' # 利用localtime()函数将时间戳转化成localtime的格式 # 利用strftime()函数重新格式化时间 # 转换成localtime time_loc...
[ "superonesfazai@gmail.com" ]
superonesfazai@gmail.com
23c12ad1df97afd41a3e333439b9970dafdda74b
ff9e1536f9ec1097cee573dcf1c4cf19b1bd6a6e
/donation/admin.py
e7ecef462ac9e74baf83b8032a25ccca193bf795
[]
no_license
bedant/Codefundo-Hackathon-2018
e4e22c9df0772d50aafc34773e2e3c8666ac5c6d
23527ed1967b3e577d9b6ee1578a0f70ce6112b4
refs/heads/master
2020-04-23T19:31:32.990141
2019-02-19T05:02:36
2019-02-19T05:02:36
171,407,299
1
0
null
null
null
null
UTF-8
Python
false
false
90
py
from django.contrib import admin from .models import Donator admin.site.register(Donator)
[ "bedantagarwal9@gmaail.com" ]
bedantagarwal9@gmaail.com
830a665eb52f1f43f7ad9fd6d9b4f83e8aad4eb7
188a0d6f2dca86d4b6d7665af6e05b5420365051
/week1/week1-ex6.py
1eed8311783d61f5175493810e3733bb2167290d
[]
no_license
JuliaGNH/PythonAutomation032018
11ec6989cf6bd18caed9dc18c60b199be56f25ce
e68c097684999b7990f701f7e3b2b9bb951606e6
refs/heads/master
2020-03-10T20:14:10.022940
2018-04-15T19:01:50
2018-04-15T19:01:50
129,565,990
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
import yaml import json week1_dict = { 'ip_addr': '10.10.10.1', 'mac_addr': '0a:fc:b4:7k:2d:1c' } week1_list = [ 'exercise_6', 'list_example', week1_dict ] with open("week1_ex6.yml", "w") as f: f.write(yaml.dump(week1_list, default_flow_style=False)) with open("week1_ex6.json", "w") as k:...
[ "julia.gower@comcast.net" ]
julia.gower@comcast.net
eee26574d21382a1d2154b82d943b7157c19278b
ac288e3a2f78d3992a4f28c0f1695470a6162ea8
/p_library/migrations/0003_auto_20200825_0707.py
348f65e5b56e21aac0f863cea7911cbd41cb7477
[]
no_license
PavelGvozdev/D6
0f992cf4ed9a692db2596ecaf6d0d5c11507e043
6a3c1b0ad55dbd4b2a6a18a34416ef3b1c9bdde1
refs/heads/master
2022-12-14T05:30:39.914651
2020-09-08T12:59:54
2020-09-08T12:59:54
293,764,980
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.2.6 on 2020-08-25 07:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('p_library', '0002_auto_20200825_0704'), ] operations = [ migrations.AlterField( model_name='book', name='price', ...
[ "webdev-py@pavelgvozdev.ru" ]
webdev-py@pavelgvozdev.ru
4d80575643129294e7e323eb5fffde77bb3373ea
99ea511bf62e2b09225663ff687823da1de3dd48
/第4次作业 project3/codes/loss_visualization.py
98c76d9effdc0fdd7b63ac7d1d28ef36ba3680b0
[]
no_license
Schuture/DL-course
cf5af26a8df5dd8fbcb22de77ef75840506f3690
fabbe74640a3b2f327cca69d5a789ef321ad775e
refs/heads/master
2022-11-07T04:44:54.814972
2020-06-26T03:16:37
2020-06-26T03:16:37
260,418,153
2
0
null
null
null
null
UTF-8
Python
false
false
1,942
py
import matplotlib.pyplot as plt FILE_PATH = 'D:/学习/课程/大数据/深度学习和神经网络/作业/第4次作业 project3/project3/codes/' with open(FILE_PATH+'2020_06_22_14_11_00_88.09%'+'.txt') as f: line = f.readline() while True: if not line: break elif line.startswith('Training loss'): training_loss =...
[ "895009360@qq.com" ]
895009360@qq.com
e4af87b7e9aadfd959ec0d159db3a94fc89c7bfb
51ca1a8b4d1d46450a9265a38be3b750043fb771
/ejemplocrud/settings.py
2e2aa881170e11d53a4072fe6d850642dc222ce6
[]
no_license
inova-team/ejemplocrud
c5419d14bd67b355a0cb5b43bd62cf7cc648feb4
004cdb3dd54fd2176065850409dae5c6f96a3aef
refs/heads/master
2023-04-08T20:23:22.844452
2021-04-03T02:27:47
2021-04-03T02:27:47
354,164,358
0
0
null
null
null
null
UTF-8
Python
false
false
3,520
py
""" Django settings for ejemplocrud project. Generated by 'django-admin startproject' using Django 3.1.7. 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/ """ import os...
[ "cleons@pucp.pe" ]
cleons@pucp.pe
0d62d9c5d3258d0ca419c6fc1e58216b43f3ba26
110d4d8944760d53cddee7fea2ab25e51bd32c22
/video/management/commands/flickr.py
e84ad6fa9496b7d1d2aff62ce7e844aacd0a4f47
[]
no_license
lancha90/wetravel
1993d52603f1c74c272f1df15a4b38bccd731dba
bb077330067129d1842d646c5955692563ff6c29
refs/heads/master
2021-01-02T22:45:25.566673
2015-03-23T16:15:58
2015-03-23T16:15:58
23,551,256
0
0
null
null
null
null
UTF-8
Python
false
false
2,331
py
# python manage.py flickr -a start # heroku run python flickr.py migration -a start from django.utils.encoding import smart_str, smart_unicode from optparse import make_option from django.core.management.base import BaseCommand, CommandError import urllib2 import json from video.models import * KEY='55b11c4fca4f0900...
[ "diegomao627@gmail.com" ]
diegomao627@gmail.com
05bf10e915b53d57bb3f0174801892d61daffed8
f4434c85e3814b6347f8f8099c081ed4af5678a5
/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py
fa69578ea7f244621643bd7e1b4c113301d9ff0d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
yunhaoling/azure-sdk-for-python
5da12a174a37672ac6ed8e3c1f863cb77010a506
c4eb0ca1aadb76ad892114230473034830116362
refs/heads/master
2022-06-11T01:17:39.636461
2020-12-08T17:42:08
2020-12-08T17:42:08
177,675,796
1
0
MIT
2020-03-31T20:35:17
2019-03-25T22:43:40
Python
UTF-8
Python
false
false
552
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
3117132a22995f2dafdf31bca233b20cc3d8e947
20fb326e74c60f23886ec14a41d56452e6584181
/task12.py
8ac6d7eb5c49932d0f794e9c6572bed8fa464991
[]
no_license
Argen-Aman/chapter2task12
9554b16f32c0f448465a2e4c55e7628b674c2c06
38a7c1adf66a2c15dade1eef3d6cf74e662b4a1a
refs/heads/master
2022-06-03T13:03:00.978752
2020-05-01T19:20:39
2020-05-01T19:20:39
260,540,108
0
0
null
null
null
null
UTF-8
Python
false
false
552
py
Convert = input("To convert the temperature in Celcius to Fahrenheit, press 'f'. To convert the temperature in Fahrenheit to Celcius, press 'c'. In order ro quit - any other key: ") if Convert == 'f': def Convert_C_to_F (C): Fahrenheit=(C*9/5)+32 print(Fahrenheit) C=float(input("Enter a temp...
[ "kimyager221202@gmail.com" ]
kimyager221202@gmail.com
f4031575da6f062f26daf888cb9649299d518f04
04d34f0267dabf84608f547266cc321e1cebb634
/DuckDuckGo/test.py
88f25123d75cdcebd27edd78abd744390e6aaf34
[]
no_license
Hoaas/Supybot-plugins
f909d8ca588087e4a9113d1ca0939fe7176c1124
e34548cd4bb5c4edef24be04727dec997e69b10d
refs/heads/master
2022-02-21T07:53:28.833639
2022-01-29T21:41:13
2022-01-29T21:41:13
4,174,832
4
2
null
2018-06-03T18:32:02
2012-04-29T14:21:04
Python
UTF-8
Python
false
false
1,739
py
### # Copyright (c) 2010, Terje Hoaas # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions, ...
[ "terjehoaas@gmail.com" ]
terjehoaas@gmail.com
3b4e85f84c636c12a3726f0382d64893d0c648e6
0635cbe903fc77b6436f07580434262ba3825de1
/backtrader_ib_api/test/test_wrapper.py
e41f20b5344128436ed073a09a07a3ec965e6a94
[ "MIT" ]
permissive
webclinic017/backtrader-ib-api
853d945c5e61ecab7df28f9939454ca7200224b5
66997c2be388f63bfb3a3387642be5fa73d32095
refs/heads/main
2023-06-04T10:23:03.769342
2021-05-28T03:05:33
2021-05-28T03:05:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,556
py
from backtrader_ib_api.wrapper.wrapper import RequestWrapper def test_stock_details(wrapper: RequestWrapper): details = wrapper.request_stock_details("AAPL") print(details) def test_stock_historical_trades(wrapper: RequestWrapper): history = wrapper.request_stock_trades_history("AAPL") print(history...
[ "kmtarrant13@gmail.com" ]
kmtarrant13@gmail.com
0b469fb413cbb6ceffb8894953d834ffb9317edf
72e57463384261722aa3ba909700eec5cc72c703
/c2rust-analyze/rename_nll_facts.py
33744000874629b448913b4b30529375aaa78180
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
immunant/c2rust
79c1c158252075bfd33870677a4a9d0c7fc168e1
f22c6923668f4fa1fe962a02c62ec6d0597dd794
refs/heads/master
2023-08-31T07:13:03.567937
2023-08-28T21:32:20
2023-08-28T21:32:20
130,285,553
3,467
221
NOASSERTION
2023-09-08T18:08:32
2018-04-20T00:05:50
Rust
UTF-8
Python
false
false
4,514
py
''' Usage: `python3 rename_nll_facts.py src ref dest` Renames atoms in `src/*.facts` to match the names used in `ref/*.facts`, then writes the renamed facts to `dest/`. ''' import ast from collections import defaultdict import os import sys src_dir, ref_dir, dest_dir = sys.argv[1:] # Map `src` loan/origin/path name...
[ "spernsteiner@galois.com" ]
spernsteiner@galois.com
15a1cfdd93d41a4625fcfc638ea6440557a275d2
45826bdfebbd1d7638ab607906ac480031d6118b
/lib/metrics/F1_running_score.py
38f3b58177a69c05b0d47ee4c5cd0b3de7c3e2b9
[ "MIT" ]
permissive
openseg-group/openseg.pytorch
b75cec5c95b6ff71707d8daf7806001bab89ecb3
aefc75517b09068d7131a69420bc5f66cb41f0ee
refs/heads/master
2023-09-06T10:19:57.749113
2022-08-07T09:10:20
2022-08-07T09:10:20
166,743,301
1,227
159
MIT
2021-07-14T06:10:44
2019-01-21T03:34:59
Python
UTF-8
Python
false
false
7,826
py
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ## Created by: JingyiXie, RainbowSecret ## Microsoft Research ## yuyua@microsoft.com ## Copyright (c) 2019 ## ## Code adapted from: ## https://github.com/nv-tlabs/GSCNN/blob/master/utils/f_boundary.py ## ## This source code is licensed...
[ "hsfzxjy@gmail.com" ]
hsfzxjy@gmail.com
9d8eef47748cb50afa81f15fa27c8d75bfaca146
08351ac650385e2ee0f4fc08ab8ef0978bc5bf3c
/Module2_HTTP/Request_response/Request.py
981163757b7ae56b101453c505885d2f3f2dcdcd
[]
no_license
tertiarycourses/PythonNetworkingTraining
d3c02488e91d318874558130a89fb112a2c95d55
9c5f223a4b83d21a791ac0d322306c3a78c4122f
refs/heads/master
2019-07-13T07:59:49.241235
2017-05-11T14:48:19
2017-05-11T14:48:19
83,748,786
0
0
null
null
null
null
UTF-8
Python
false
false
3,087
py
#Requests with urllib # from urllib.request import urlopen # from urllib.request import Request # response = urlopen('http://www.debian.org') # print(response) # print(response.readline()) # ##response object # print(response.url) # print(response.status) # print(response.headers['content-type']) #r...
[ "angch@tertiaryinfotech.com" ]
angch@tertiaryinfotech.com
e223b08659d04f02b9ff57fd9cc627a0bfbc4420
63ba933a294865f65409635f62e0f1d59f725f37
/src/arrays/bagOfTokensScore.py
86ce1032d9eb0987f1da6b22e658f67679b0f34d
[ "CC0-1.0" ]
permissive
way2arun/datastructures_algorithms
fc4302bdbb923ef8912a4acf75a286f2b695de2a
4ea4c1579c28308455be4dfa02bd45ebd88b2d0a
refs/heads/master
2021-12-07T04:34:35.732026
2021-09-30T12:11:32
2021-09-30T12:11:32
203,658,808
1
0
null
2020-08-08T15:55:09
2019-08-21T20:23:46
Python
UTF-8
Python
false
false
2,716
py
""" Bag of Tokens You have an initial power of P, an initial score of 0, and a bag of tokens where tokens[i] is the value of the ith token (0-indexed). Your goal is to maximize your total score by potentially playing each token in one of two ways: If your current power is at least tokens[i], you may play the ith toke...
[ "way2aru@yahoo.com" ]
way2aru@yahoo.com
929c1957a029eacd49d34f3759ed03fa3205602b
391e0515bbbcfaaba5c2375c17fa8f11c46a0f73
/anb/config/urls.py
b40a9b6d2e9f95a7ad0be8e9e359495a54c5a912
[]
no_license
ggnight82/DRF-GraphQL
9ea26458833757ebdcd96f2e1dcdc48bf6fbc2a7
ee54921a82b6f926254a67c923c946f5062ddb44
refs/heads/master
2023-04-09T03:41:44.871431
2021-04-18T09:47:05
2021-04-18T09:47:05
350,238,210
0
0
null
null
null
null
UTF-8
Python
false
false
402
py
from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static urlpatterns = [ path("admin/", admin.site.urls), path("api/v1/rooms/",include("rooms.urls")), path("api/v1/users/",include("users.urls")), ] if settings.DEBUG:...
[ "ggnight82@naver.com" ]
ggnight82@naver.com
a8b32038a3ade070c8f67b3eed0e66408c072e48
25d4c31d5ebe470118b14beb84f3cd1e53d99c15
/01_Tutorials/PyQt5_GUI_Tutorial/09_2_Tutorial_Progressbar_Button.py
195496bbd802cc5cf6756f04db46337e8a71d385
[]
no_license
daltdoerfer/Python_Templates-1
ea4b59489feb7b7617e81b7c94d4375dbf25def3
c2471cebeaf20bbfdfd3fd263d458e5a67ad8d1e
refs/heads/master
2023-05-10T15:07:10.109280
2021-06-08T06:45:53
2021-06-08T06:45:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,012
py
# Dieses Tutorial beinhaltet das einfügen von: # Progressbar mit ButtonS und (Multi-)Threading (Programm muss weiterlaufen und lagert andere Prozesse aus) # https://riptutorial.com/pyqt5/example/29500/basic-pyqt-progress-bar import sys import time from PyQt5 import * from PyQt5.QtWidgets import * from PyQt5.QtGui imp...
[ "daltdoerfer@yahoo.com" ]
daltdoerfer@yahoo.com
d5061520a0c93bc4dc2f06ffebf65a6b28ccfdcc
5b6b1e410cceead0bab46109c482eaf9ddb3ffb1
/rbti_app/migrations/0003_auto_20200919_1632.py
27fef89e08d1d54cd9e9f51bd3db50b885c73d8e
[]
no_license
ikalkali/rbti-app
f5ea2d01d41dccde820ed630c529138ed9562766
c5773b8ae73fafd5da5d6ad2ffe8344f6ab36cf4
refs/heads/master
2023-07-18T22:28:32.155706
2021-09-23T02:23:51
2021-09-23T02:23:51
331,884,375
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
# Generated by Django 3.1.1 on 2020-09-19 09:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rbti_app', '0002_auto_20200919_1513'), ] operations = [ migrations.RemoveField( model_name='buku', name='kategori', ...
[ "ikal.ikhwan@gmail.com" ]
ikal.ikhwan@gmail.com
968aa7f632f718fc709de6f060dd463d3bf62c56
269e5a222eade2acd2f732ca6d8ec5753405dd5d
/assignment 7.py
afd668cf069cf299ada01f0dd7ca839e88b772b3
[]
no_license
naveen0845/Assignments
25894c23e03a8956ce83656c040af3ea13a9628e
f8184bda66139e0ccaac8758703890bcd7b66f36
refs/heads/master
2022-11-11T14:11:42.467483
2020-07-03T05:56:26
2020-07-03T05:56:26
273,655,478
0
3
null
null
null
null
UTF-8
Python
false
false
1,780
py
#adding n natural numbers sum=0 i=0 n=int(input("enter the number")) while(i<=n): sum=sum+i i=i+1 print(sum) #counting even and odd numlist=[] even_count=0 odd_count=0 n=int(input("enter no of elements")) for i in range(0,n): v=int(input("enter the values")) numlist.append(v) for j in range(n): if(numlist[j]...
[ "noreply@github.com" ]
noreply@github.com
98a753ab6a07f9b5d2e4c3f7490787d85a4f4119
975b2d421d3661e6770b601929d5f11d981d8985
/msgraph/generated/role_management/entitlement_management/role_eligibility_schedule_instances/item/directory_scope/directory_scope_request_builder.py
a136ee58b839e8a93ac974456db629b983364510
[ "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
5,208
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
4308427144a103deb0b3a10389cb9ac3ce571b5a
8187981f1c3e5bdef3e1fe2812093b6a04566b54
/utils/plotting.py
01d2034c073c2c2849d6d083d5c2a6d56ed8de28
[]
no_license
jerrychen109/CLIP-fewshot
f50dcf4bcecb94776a2ea202ce221ce658a05a3d
9eed396748631f24b993891036adbb739f225c7e
refs/heads/master
2023-05-16T23:44:04.125227
2021-06-03T01:27:17
2021-06-03T01:27:17
361,955,934
0
0
null
null
null
null
UTF-8
Python
false
false
898
py
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt def plot_run_accuracies(accuracies, xtick_interval=10): """ Plots the results of a fewshot classification experiment across different values of k and multiple trials per value of k. Input: - accuracies: a list...
[ "jerrychen109@gmail.com" ]
jerrychen109@gmail.com
ccf86f17aa2024ee4e9dcc06b7ad6c121a091fee
77f49d6fd287da24980f8e2bca9f7aa4a9fd26dc
/spas_functions.py
b8cff0d608072a346cb2d70dee7679844656fefb
[]
no_license
Raj067/SolorPropriatorshipAccountingSoftware
f7f894abaf4ebafde57ee8f2dee0615b10527e30
7982b7d9926b1cb450511a5541df10dbcb5dcb54
refs/heads/main
2023-07-18T17:15:55.506550
2021-09-14T13:22:43
2021-09-14T13:22:43
406,370,519
0
0
null
null
null
null
UTF-8
Python
false
false
14,876
py
import datetime import sqlite3 from PyQt5 import QtWidgets, uic from PyQt5.QtGui import QDoubleValidator from SqliteHelper import database, transactions def first_run(): try: database.create_table() except sqlite3.Error as err: print(err) def initial_adjustment(): """S...
[ "noreply@github.com" ]
noreply@github.com
e89f211cd0002a9e34709ee2502e4c94d5a4389e
c813a613abc05bb845b67dbf912e0f1e165851fd
/m2.py
a1e038300cd043f84e44c30f07cd65d895d99ec7
[]
no_license
kdshop/pythonPodstawy2019
df3f4b5668ee480cd295e5e5b34d213c00987836
c183cfe728c25f262651c0bb0461df1999a3e654
refs/heads/master
2020-04-26T12:34:31.147828
2019-06-02T08:09:58
2019-06-02T08:09:58
173,554,206
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
def czysabokamitrojkata(a, b, c): return True if a < b+c and b < a+c and c < a+b else False
[ "kontakt@konradalbrecht.pl" ]
kontakt@konradalbrecht.pl
657970fa3b03a8c1275c36d93fc9114f57307ff0
6b9ee3c44e0af8a58e6cb498f30f6345fdeb2ef6
/final/src/R-net/test.py
00f31e603a1edb4db27b3a4755c18195fbe68722
[ "MIT" ]
permissive
Cooper111/ML2017FALL
b5bd23eb0c4052dc6de02e75c62c7cf4f6ca836c
c6ab78435a907329d244dcf1dd41e4286516c777
refs/heads/master
2020-04-02T16:47:55.554482
2018-01-27T07:06:56
2018-01-27T07:06:56
154,629,101
1
0
null
2018-10-25T07:35:39
2018-10-25T07:35:36
Python
UTF-8
Python
false
false
6,040
py
import os import json import pickle import pandas as pd import torch from gensim.models.word2vec import Word2Vec from tester import Tester from utils.utils import prepare_data, get_args, read_embedding # TODO: read vocab into a cpu embedding layer def read_vocab(vocab_config): """ :param counter: counter of...
[ "vichuang1997@gmail.com" ]
vichuang1997@gmail.com
629527dd4f990bcc460edb29a2c0b6f2d87784ea
f6d7ed50c7747e4d064c5b2ed02429c3b0452957
/official/recommendation/neumf_model.py
45715478bf5fd63991775893478d42ff58eca460
[ "MIT" ]
permissive
deephdc/retinopathy_test
eabbba5399a1c62bbe72e66762cf3e43ec18f3ce
5e87be2a67bbbc0b82f6ca258324e80068ef9407
refs/heads/master
2021-07-16T20:35:05.415170
2020-05-30T23:06:41
2020-05-30T23:06:41
159,072,604
1
1
MIT
2020-05-25T08:00:39
2018-11-25T20:40:39
Python
UTF-8
Python
false
false
16,010
py
# Copyright 2018 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...
[ "itokeiic@gmail.com" ]
itokeiic@gmail.com
75b7140688bd7f5663275f7481f344ba0990f781
4e04f819e376c3fba7b6a57c228c289b2c3dde12
/compass/ocean/tests/global_ocean/mesh/so12to60/dynamic_adjustment/__init__.py
c183fae208713987c10bf3bf3c959e87c5ac2da9
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-2-Clause" ]
permissive
Rihui-L/compass
65e88253f24240a4376a9f04c047c2756848a45a
4446f76222be26996fc44569a2047bdfb22e33ff
refs/heads/master
2023-06-19T12:45:30.190857
2021-07-20T19:48:43
2021-07-20T19:48:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,066
py
from compass.ocean.tests.global_ocean.dynamic_adjustment import \ DynamicAdjustment from compass.ocean.tests.global_ocean.forward import ForwardStep class SO12to60DynamicAdjustment(DynamicAdjustment): """ A test case performing dynamic adjustment (dissipating fast-moving waves) from an initial conditi...
[ "xylarstorm@gmail.com" ]
xylarstorm@gmail.com