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
ed3ddb6a7b66c75f3fd5a5d1e046abf2a0cd5b28
b6d461ca9f5183e8ceb427d3d1bd41cb9af63c22
/CommitmentSchemeAttack.py
a57a5d61332d24bc47ba5080cf7ecc2c4c677182
[]
no_license
CarlTern/Commitment-scheme-attack
adb8e8a745c6f1cd48ba5107683d16b2282e0bd6
f48034dcd2de4b40dc47cb07a8e0e17b462122df
refs/heads/master
2022-07-19T23:52:51.433411
2020-01-26T12:56:46
2020-01-26T12:56:46
226,065,566
0
0
null
null
null
null
UTF-8
Python
false
false
3,749
py
import hashlib import matplotlib.pyplot as plot import random def makeHash(k , v): bitString =str(v) + str(bin(k)[2:]) md5Hash = hashlib.md5(bitString.encode()).hexdigest() return (bin(int(md5Hash, 16))[2:]).zfill(128) def truncate(bitString, outputSize): return bitString[:outputSize] def crea...
[ "viktor.pettersson@debricked.com" ]
viktor.pettersson@debricked.com
075238930b25156a7223cb7e2965790dda93916e
d1ac937ec8064c994cda762a91d6bcf441cbed1e
/p3.py
6e146b16a737fca1dbcf38cce40eefec6f11678e
[]
no_license
ali7697/principles-of-artificial-intelligence-project1
a3d63351b7fa02ee6a01758227ae6856b22ae65d
37e116d37eb3c142a14a15158c26501bd8437ae8
refs/heads/main
2023-07-11T10:00:51.267964
2021-08-23T11:58:09
2021-08-23T11:58:09
397,610,454
0
0
null
null
null
null
UTF-8
Python
false
false
6,871
py
from copy import deepcopy infile = r"E:\test.txt" state = [] explored = [] frontier = [] node_tolid_shode = 0 node_bast_dade_shode = 0 def print_state(printed_state): for column in range(k): if printed_state[column][0]: for indd in range(len(printed_state[column][0])): ...
[ "noreply@github.com" ]
noreply@github.com
4488dbb333b7e96e5ee17647585f22704f56f64e
e2222687047566b36e3c5bb91d6aeb994dab3f26
/multi-task/cf_vae_cpmf_extend.py
e8882b93f2f5b02ba5c3b9858b6bce1dccb4337c
[]
no_license
zakosai/research
330266b1d3a68c111eeae3e96f974cd2a7108c65
cef571724ddb8dfd98a49e7bf393e67009238164
refs/heads/master
2022-06-27T08:37:33.832990
2020-05-08T00:30:02
2020-05-08T00:30:02
120,154,876
0
0
null
null
null
null
UTF-8
Python
false
false
30,131
py
import tensorflow as tf import os from tensorbayes.layers import dense, placeholder, conv2d, conv2d_transpose, max_pool from keras.backend import binary_crossentropy import numpy as np import time import scipy import scipy.io as sio import math import tensorflow.contrib.layers as slim class params: def __init__...
[ "linh.nguyen.1992@gmail.com" ]
linh.nguyen.1992@gmail.com
f99a95378e65d67d88ac1e5b62f8c2a6f5b736e9
772a606f1f220f26210eb0ca13e45a61bca2c334
/manage.py
524c7dba7dd97f2902aa1a45699488cd417df15f
[]
no_license
buppter/iHome
d5427df5c96cbd05b7acd9bc62c53cdc9519ca7e
b3771b5f35826f0157c86981c74562f5ea78fcef
refs/heads/master
2020-05-02T21:41:17.845880
2019-03-28T15:11:42
2019-03-28T15:11:42
178,228,757
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
from ihome import creat_app, db from flask_script import Manager from flask_migrate import Migrate, MigrateCommand # 创建flask应用对象 app = creat_app('development') manager = Manager(app) Migrate(app, db) manager.add_command("db", MigrateCommand) if __name__ == '__main__': manager.run()
[ "shixintian@bupt.edu.cn" ]
shixintian@bupt.edu.cn
e243451ce164809caa479471221ee886f2b8c8da
41c605bf3a002a757cb2344cff526d7a7ae56ea9
/plotly/validators/choropleth/unselected/__init__.py
6b386c7525f160cb5f23f28d158a37c663b847da
[ "MIT" ]
permissive
Jonathan-MW/plotly.py
9674b90b5de11fd9089e6afefd04b57bc4587829
7528c00772f44dee24c0df7e15d70a4852f171a8
refs/heads/master
2020-05-30T06:04:13.621478
2019-05-31T10:34:15
2019-05-31T10:34:15
189,571,988
2
0
MIT
2019-05-31T09:59:53
2019-05-31T09:59:53
null
UTF-8
Python
false
false
684
py
import _plotly_utils.basevalidators class MarkerValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='marker', parent_name='choropleth.unselected', **kwargs ): super(MarkerValidator, self).__init__( plotly_name=plotly...
[ "noreply@github.com" ]
noreply@github.com
5eb1bd275b0eeceb4404771f560a4f54233cdbb0
92a27a84c0eb107f128334c453a87e05e4b5914e
/sinn.py
d1d32d362dc3873da3c0802b1ca3a10e672c824d
[]
no_license
padmavathi12345/lab1
5e102ba4e463539f33cd71a99bd1aeb1a9d0e43c
52cc2c704b8f67a324fe3c03add35fe84e348b55
refs/heads/master
2020-05-16T05:00:06.111227
2019-04-22T15:57:15
2019-04-22T15:57:15
182,797,980
0
0
null
null
null
null
UTF-8
Python
false
false
215
py
import numpy as np import matplotlib.pyplot as plt n=np.arange(0,10,1) x1=np.sin(2*np.pi*n) plt.stem(n,x1) plt.title("sin wave in discrete domain") plt.xlabel("time") plt.ylabel("amplitude") plt.show()
[ "noreply@github.com" ]
noreply@github.com
47d8eb371ec3a91267c54e1671e06affa63600a7
fa1bed2e7ec1cb7bb27b716ab836e33a1065b8a1
/typy/google/protobuf/descriptor_pb2.py
d5f50028570f6400ecab79fa0b8da524982eb30e
[ "MIT" ]
permissive
ibelie/typy
4e308e9548edf7b2e38eefdb1039d39715fe9d1c
3616845fb91459aacd8df6bf82c5d91f4542bee7
refs/heads/master
2021-01-23T07:50:31.346947
2017-09-04T05:19:59
2017-09-04T05:19:59
86,455,123
0
0
null
null
null
null
UTF-8
Python
false
true
77,113
py
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/protobuf/descriptor.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from typy.google.protobuf import descriptor as _descriptor from typy.google.protobuf import message as _message from typy.google.pr...
[ "joungtao@gmail.com" ]
joungtao@gmail.com
167145af30f614f325c70b71cb60dcb4eea9155c
3fbf42864ad8ee4f53597a1cf5b2e5a54268f571
/Graph-Theory/(1167)트리의 지름.py
6855987323aa602e0c96464a12115e7e6be354b7
[]
no_license
upskyy/Baekjoon-Online-Judge
1542f7c99b1a34ca0fbc810aa2cefd493d783103
35389d54ea2c1a25b9f0ebe07d417debff2651ac
refs/heads/main
2023-04-26T05:51:20.306414
2021-05-06T07:40:54
2021-05-06T07:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
from collections import deque def bfs(x, mode): q = deque() q.append(x) c = [-1 for _ in range(n + 1)] c[x] = 0 while q: x = q.popleft() for nx, w in maps[x]: if c[nx] == -1: # 방문 했는지 확인 c[nx] = c[x] + w q.append(nx) if mode == 1: ...
[ "54731898+hasangchun@users.noreply.github.com" ]
54731898+hasangchun@users.noreply.github.com
e1b8a0a17a261c0269fad33d85268864a07cfa4b
947a5af27986d7b1f734c89d236c596849612bac
/adrien/doWork.py
bed4ed6a4ad3579a130ac800d680515cf85d97ee
[ "MIT", "BSD-3-Clause" ]
permissive
seacheo/mindUPCODE
98a33964d6112db5a0bdd4c22dfaa0d219230972
204a0dc3d2bf822790a1e284f3ed20950299b034
refs/heads/master
2022-04-24T11:54:04.137606
2020-04-26T03:06:41
2020-04-26T03:06:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,449
py
import sys sys.path.append("/home/sean/pench") sys.path.append("/network/lustre/iss01/home/adrien.martel") import os import argparse parser = argparse.ArgumentParser(description='Do ML') parser.add_argument('file', type=str, help='filename') parser.add_argument('gpu', type=int, help='which gpu') parser.add_argument('...
[ "sean.k.cheong@gmail.com" ]
sean.k.cheong@gmail.com
d0975cee5a2b218719c01a60b4b5652605b943fa
25df7e1dc67b7b6abf302533ccf8e816c4cc0e7c
/setup.py
4e04c591843b0aaa9086455f9da9c55ee565f2f2
[ "MIT" ]
permissive
nivlab/NivLink
c7647339b9b11b82a824798c284a9b5ec914b8a3
c5c03f36975a10445e586499fa516e2e38feae2b
refs/heads/master
2020-03-26T00:55:59.922528
2019-10-15T15:53:23
2019-10-15T15:53:23
144,344,474
7
2
MIT
2019-10-10T21:15:37
2018-08-11T00:53:51
Python
UTF-8
Python
false
false
1,530
py
#! /usr/bin/env python # # Copyright (c) 2018 Niv Lab # https://www.princeton.edu/~nivlab/ import os, sys from setuptools import setup, find_packages path = os.path.abspath(os.path.dirname(__file__)) ## Metadata DISTNAME = 'nivlink' MAINTAINER = 'Sam Zorowitz' MAINTAINER_EMAIL = 'szorowi1@gmail.com' DESCRIPTION = 'Ni...
[ "szorowi1@gmail.com" ]
szorowi1@gmail.com
06dec5bffda4f9bce976bfa3abf34ab323768695
c29de7ce2d91f572aeb4da56801de7a1dc034054
/st2/experiments/cifar10/exp011.py
f2fd3d516a219c49e1c585326c4a98eaf1043f51
[]
no_license
kzky/works
18b8d754bfc2b1da22022926d882dfe92ea785e6
b8708c305e52f924ea5a7071e0dfe5f2feb7a0a3
refs/heads/master
2021-01-10T08:04:44.831232
2018-03-01T15:09:47
2018-03-01T15:09:47
54,316,791
0
0
null
null
null
null
UTF-8
Python
false
false
5,121
py
import nnabla as nn import nnabla.functions as F import nnabla.parametric_functions as PF import nnabla.solvers as S import nnabla from nnabla.contrib.context import extension_context import numpy as np import os import time import argparse from st2.cifar10.cnn_model_011 import cnn_model_003, ce_loss, sr_loss, er_loss,...
[ "rkzfilter@gmail.com" ]
rkzfilter@gmail.com
78b480c59e1129fef3f5117392043d5251f5e5cb
7c551e749064b25af706b9167211050f8c6ad0a9
/signatures/windows/trojan_rovnix.py
f9b6b29446060b6a111cd040ea82c6e53ff79178
[]
no_license
dashjuvi/Cuckoo-Sandbox-vbox-win7
fa382828b4895c5e1ee60b37a840edd395bf1588
a3a26b539b06db15176deadeae46fc0476e78998
refs/heads/master
2020-03-12T08:33:06.231245
2019-01-14T23:09:02
2019-01-14T23:09:02
130,529,882
6
1
null
null
null
null
UTF-8
Python
false
false
1,606
py
# Copyright (C) 2010-2015 Cuckoo Foundation. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. from lib.cuckoo.common.abstracts import Signature class Rovnix(Signature): name = "rovnix" description = "Rovnix Trojan" severity = 3 ...
[ "diegovm14@gmail.com" ]
diegovm14@gmail.com
5b8a062661b1e9d450b7451eecfe4299b5504ff4
3b2a766682caa36a38ef7f85b9915096b0f47278
/uiview/ui_addSPOB.py
c241d6d543a264ec8a3277f39764917386980208
[]
no_license
himalsaman/kmfmaintenance
0d8252faaf749620628493a876cd759c3a6b8ed4
26d153bfa90b97da9f378d50a025f2660646435f
refs/heads/master
2020-12-24T12:04:48.875927
2016-12-20T07:41:59
2016-12-20T07:41:59
73,080,044
0
0
null
null
null
null
UTF-8
Python
false
false
7,359
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_addSPOB.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! import sys from datetime import datetime from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QDialog fro...
[ "himalsaman@gmail.com" ]
himalsaman@gmail.com
d5a848de74885296fc87f332d593ba4699797367
ad1721c1a408d699b71d0dd1c89b2628b4011d61
/TQC+ 網頁資料擷取與分析 第1類:資料處理能力/103 勞保投保薪資分級表/PYD01_原.py
a0f9ca0c87f201c6c00fb01abed06a35260dadb8
[]
no_license
eclairsameal/TQC-Python
426267ee0b1fd1aace78c7c8d49cc4907a399711
73ebb7dd905c59fe67240d0fa5a3381a6e72236b
refs/heads/master
2021-10-27T17:26:10.214806
2021-10-21T05:24:40
2021-10-21T05:24:40
207,247,067
3
5
null
null
null
null
UTF-8
Python
false
false
292
py
# 載入 yaml 與 json 模組 import ___ import ___ # 讀取 json 檔案 with ___("___", encoding='utf-8-sig') as file: data = ___.___(___) # 寫入 yaml 檔案 with ___("___", "___", encoding="utf-8") as f: ___.___(data, f, default_flow_style=False, allow_unicode=True)
[ "noreply@github.com" ]
noreply@github.com
5f90e28c9ccadb4bcc73abb716a803b9e970acfd
462c0aa6751a720c0a53f6215271adb1aeab8e6a
/src/builtins/networking/LearningSelect/01_select_echo_server.py
9651302b04efc7bc80ece537aed513a9976eb998
[]
no_license
SugarP1g/LearningPython
9cddfb657c5d9139f7159c95e0ab2bcd7558efed
357d2d445c6d9da96b7a69414249f41aac4d0b2b
refs/heads/master
2023-07-14T01:22:24.976941
2021-08-12T10:48:31
2021-08-12T10:48:31
266,500,311
1
0
null
null
null
null
UTF-8
Python
false
false
2,974
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import select import socket import sys import queue # 创建 TCP/IP 套接字 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.setblocking(False) # 绑定套接字到端口 server_address = ('localhost', 10000) print('starting up on {} port {}'.format(*server_address), file...
[ "noreply@github.com" ]
noreply@github.com
6e9b18b2343f1cb01696192bc50ddc51abe670fd
b5b888fd9cfa17c9a3ef6526cd9ffc476f939da4
/class7/lc2.py
0295b6a8b941d808d52230b36243ee7c81fa7236
[]
no_license
javatican/migulu_python
77fd65754d30da699f35f800cbd5de8e73e35c64
f1adecf02f7beed8313fb72bf786d292fc733d34
refs/heads/master
2020-12-30T14:33:40.239905
2017-05-27T02:52:37
2017-05-27T02:52:37
91,322,110
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
x = [1,2,3,4,5,6] y = ['a','b','c','e','f','e'] z = [] for a in x: for b in y: z.append((a,b)) print(z) z = [(a,b) for a in x for b in y] print(z)
[ "javatican@users.noreply.github.com" ]
javatican@users.noreply.github.com
6c5f0c0fd3064f9bf780135957a6f660e066f185
da25cac354ce2de39c07ef2fc6ef45b4d3c3cea8
/source/main.py
fb63179c98c6d8e4a7ff7f5bd9de8440e93b4ed4
[]
no_license
jwierzb/KINDERGARTEN-DECISSION-PREDICTION
0301cee6bf33bf6f432a1ae106c13419248cdeeb
f12bc860b8183ec377bd107de3d4949603e676e0
refs/heads/master
2020-04-09T08:06:51.330702
2018-12-04T04:36:01
2018-12-04T04:36:01
160,182,700
0
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
import pandas as pd from c50.c50 import C50 # Config summary_txt = '../result/summary.txt' result_txt = '../result/prediction_result.txt' result_csv = '../result/prediction_result.csv' training_data = "../data/train.csv" test_data = "../data/test.csv" plot_file = "../result/tree.png" accTest = False trials = 1 subset...
[ "jakubf.wierzbicki@gmail.com" ]
jakubf.wierzbicki@gmail.com
eab94ff6951109df883220329881304e35f63c38
b8f11e4e49405765153adf0e0cfb63947e66a87f
/brb/__init__.py
9ab16122ba1b0a2f058027c6afca4c736342ec71
[ "MIT" ]
permissive
cyberjunky/binance-report-bot
6bed327a76af84c60d07e98fd4e1f2663cdb0f52
04d0f06e814d934ffe3684025875731efd655171
refs/heads/main
2023-07-17T21:02:37.613312
2021-09-03T07:29:47
2021-09-03T07:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,057
py
import logging import datetime as dt import apprise import brb.conf as conf import os log_level = logging.DEBUG if os.environ.get("BRB_DEBUG") is not None else logging.WARNING logging.basicConfig( format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=log_level ) logger = logging.getLogger(__name__)...
[ "seneztit@gmail.com" ]
seneztit@gmail.com
079f1b1704ab3757510601469e97519e3f907396
9b84b5709b900085d0a735f2275b5fd755848d48
/account/admin.py
1e2be640bc916a52f6c1f542f127155d8bec8092
[]
no_license
AzhKay/blog
97d0ff438c91e49d2ba81f05daad9e8d1e4395a2
4cbf0c5fb046adcec0cf08ee738b6902d37fd64f
refs/heads/master
2023-03-21T20:20:57.782671
2021-03-18T13:16:33
2021-03-18T13:16:33
349,057,345
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.contrib import admin from account.models import MyUser admin.site.register(MyUser)
[ "eminem4life@mail.ru" ]
eminem4life@mail.ru
1370beb4af9883bbc46059d5e9d0b395c36a094f
8fa5521679cf0cb3c558240085e605a93486cfc6
/navigation/voxel_grid/catkin_generated/pkg.installspace.context.pc.py
8beb527fa184e0eea8142ed377e577de45760ba2
[ "MIT" ]
permissive
mrsd16teamd/loco_car
3c89e1f13af7810c293f4589d959ce371e6a969a
36e4ed685f9463ad689ca72eec80e0f05f1ad66c
refs/heads/master
2021-05-03T23:55:45.176412
2020-11-24T16:41:02
2020-11-24T16:41:02
71,826,846
52
23
null
null
null
null
UTF-8
Python
false
false
421
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/usr/local/include".split(';') if "/usr/local/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lvoxel_grid".split(';') if "-lvoxel_grid" !...
[ "nauyuh@gmail.com" ]
nauyuh@gmail.com
f18ecf944e7bcbec951b822078d00c18162f7e3e
161c4d331f97e6c082b5d2d7c5ecd4a5341a365d
/final_test.py
506f6620fe5d644864914f561ff97adcfc7fe4cb
[]
no_license
02san02/Cancer-Prediction
e4d285335936745e79f591db608c846a115e5c30
002e8172658a849dc0a83a6759b6aabd240a7676
refs/heads/main
2023-04-06T00:06:01.413625
2021-04-27T09:20:10
2021-04-27T09:20:10
319,929,528
1
0
null
null
null
null
UTF-8
Python
false
false
2,804
py
from tensorflow.keras.models import model_from_json from tensorflow.keras.preprocessing.image import ImageDataGenerator import argparse # Input the following arguments parser = argparse.ArgumentParser() parser.add_argument("-m1", help="Path with name of json and h5 file", type=str) # Example, "data/model1", not s...
[ "noreply@github.com" ]
noreply@github.com
fb4055ed05dc497e1fbf506797c4d8371e6725f6
bd053d2bf5444ab8f0b8b0ff56772fa75281e38d
/qchem/tests/test_observable.py
09b74d615188f94b288e790d8fe1d3a885eb13cd
[ "Apache-2.0" ]
permissive
johannesjmeyer/pennylane
bcb762583e95537b04a9b38756369571f957d2e5
8f602312baea107d5248267fb3dc1593722810e0
refs/heads/master
2023-07-11T18:21:31.086858
2021-08-14T19:21:42
2021-08-14T19:21:42
341,190,636
3
1
Apache-2.0
2021-06-16T09:01:58
2021-02-22T12:19:10
Python
UTF-8
Python
false
false
4,359
py
import os import numpy as np import pytest from pennylane import qchem from openfermion import FermionOperator, QubitOperator t = FermionOperator("0^ 0", 0.5) + FermionOperator("1^ 1", -0.5) v = ( FermionOperator("0^ 0^ 0 0", 0.25) + FermionOperator("0^ 1^ 1 0", -0.25) + FermionOperator("1^ 0^ 0 1", -0...
[ "noreply@github.com" ]
noreply@github.com
b669147427df0dff94fdadcb919a8b5140a9a6ef
9079b9ef5381e72df1b039ebd154c5ab7a2aba01
/vnpy/app/data_recorder/ui/widget.py
55e2570b105cf562ee87b23c3f11fc17f533e0f3
[]
no_license
dxcv/jiangyx_vnpy
4ffd2034c54721fe3dddf53ab175aebbbae3d388
f486bb63b1fd6ab6ab7c4f590411f8a5de4d090a
refs/heads/master
2020-06-21T20:32:28.390512
2019-07-05T15:24:31
2019-07-05T15:24:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,435
py
from datetime import datetime from vnpy.event import Event, EventEngine from vnpy.trader.engine import MainEngine from vnpy.trader.ui import QtCore, QtWidgets from vnpy.trader.event import EVENT_CONTRACT from ..engine import ( APP_NAME, EVENT_RECORDER_LOG, EVENT_RECORDER_UPDATE ) class RecorderManager(...
[ "jiangyuexi1992@qq.com" ]
jiangyuexi1992@qq.com
53c92decd00dbba020c28fb522b2e2f430ebe062
a530629220ebc747702119f96d896a8dcdd4ed76
/UniversalSongBarnManager/KrncUsbManager/ffmpeg_filter.py
c9a036e3e7f1e2a6832388afe4759d04381f7a12
[]
no_license
engineerjoe440/KRNCApps
59aecedea84cbd4e29f5c35ed29bea435d231885
4b2966a8fad9a372e789c68f8adf13c4eaa26753
refs/heads/master
2023-01-19T14:59:55.243348
2022-12-31T02:17:40
2022-12-31T02:17:40
240,826,277
0
0
null
null
null
null
UTF-8
Python
false
false
1,889
py
""" ####################################################################################### Universal Song Barn (USB) Manager - Tkinter App (powered by PySimpleGUI) (c) Stanley Solutions - 2020 By: Joe Stanley ####################################################################################### """ FILTER_STRING = ...
[ "engineerjoe440@yahoo.com" ]
engineerjoe440@yahoo.com
2fc13c5e24f996ef12aea05cec25cf9e630682a7
2ea4d9a2b615232a226ff6199cf8b0790644e9c6
/admin.py
6ad5fc84b6407d361429e9d517781b8a5e13d327
[]
no_license
akshat131/assignmnet3
82828e4459458711b7bae27154565f52e16b6e56
7889bfe1abe6ced0eaf957e33a117172a02cb0b6
refs/heads/master
2022-04-24T22:36:16.779351
2020-04-21T18:52:47
2020-04-21T18:52:47
257,685,515
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
from django.contrib import admin from .models import Tool admin.site.register(Tool) # Register your models here.
[ "noreply@github.com" ]
noreply@github.com
bdd28110657a94bea5e1ae71f891c8d28993dff8
19872c0f261100d3a7a3c770aa16ef719b7f397b
/PythonProjects/myscrapy/douban_movie_top250/douban_movie_top250/run.py
6c3a5db6db12d6347bb82cf6fa61caf55bc950f1
[]
no_license
enjoqy/PythonProjects
b7951bd13c32ec40842e8c7f7a4b2a32929d3d8b
ae1a4b1a55a7906bb4dd78e8bd43d19decec48ba
refs/heads/master
2020-06-20T03:50:32.814009
2019-07-15T09:17:50
2019-07-15T09:17:50
184,964,749
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from scrapy.cmdline import execute # 其中name参数为spider的name。 name = 'douban_movie_top250' cmd = 'scrapy crawl {0} -o douban01.csv'.format(name) execute(cmd.split())
[ "gdlzhh321@163.com" ]
gdlzhh321@163.com
16762b002adb3beb61929780b03ee206ef4cc61b
4c24beba868b86a063b6fd5a1ea38d37e82aefd7
/day1/c2f.py
f173984ee3bb9ce047d98b963113ff63770a9446
[]
no_license
denisvrdoljak/AetnaCVS_Python_AUG2020
bf192f47e1ca1e8127a8349f01bc2427887b6cc2
3d95b3063217d8daec0f6790884ec4f3365b2b6f
refs/heads/master
2022-12-13T18:15:27.624825
2020-09-04T22:24:42
2020-09-04T22:24:42
291,823,031
0
1
null
null
null
null
UTF-8
Python
false
false
276
py
#!/usr/bin/env python # coding: utf-8 print("This is a C' to F' converter.") temp_in_celsius = input("Please enter a temperature, in C\n--> ") temp_in_fahrenheit = float(temp_in_celsius) *9/5 + 32 print("The temperature in Fahrenheit is: {:.2f}".format(temp_in_fahrenheit))
[ "denisvrdoljak@users.noreply.github.com" ]
denisvrdoljak@users.noreply.github.com
c94b2c053a007e87154dc677ea8df2d8d6db02e4
e63c1e59b2d1bfb5c03d7bf9178cf3b8302ce551
/uri/uri_python/iniciante/p1038.py
e994b8738d0a17022bb596d11005b2a23996e826
[]
no_license
GabrielEstevam/icpc_contest_training
b8d97184ace8a0e13e1c0bf442baa36c853a6837
012796c2ceb901cf7aa25d44a93614696a7d9c58
refs/heads/master
2020-04-24T06:15:16.826669
2019-10-08T23:13:15
2019-10-08T23:13:15
171,758,893
5
0
null
null
null
null
UTF-8
Python
false
false
160
py
valor = input().split(" ") codigo = int(valor[0]) quantidade = int(valor[1]) preco = [4, 4.5, 5, 2, 1.5] print("Total: R$ %.2f" % (quantidade*preco[codigo-1]))
[ "gabrielestevam@hotmail.com" ]
gabrielestevam@hotmail.com
2c86b03f9d31f5fff00f548fe967ecad0730641b
6ed40c41e6f09cb412d2d704abc02f686ba1b4c2
/Yichuan/mutation.py
31ecc05c0e3f021cd29af158c4bf68b71ad88dca
[]
no_license
Cpaulyz/-
92b7f3928c2687bd075941a7e2271dd212351725
17655f42f38c58de4b386cb9144d167494d1ad2d
refs/heads/master
2020-05-05T02:19:58.251946
2019-04-08T13:35:10
2019-04-08T13:35:10
179,633,699
1
0
null
null
null
null
UTF-8
Python
false
false
371
py
import random def mutation(pop, p_mutation): popSize = len(pop) chromSize = len(pop[0]) mutation_pop = [] for i in range(popSize): if random.random() < p_mutation: mPoint = random.randint(0, chromSize - 1) if (pop[i][mPoint] == 1): pop[i][mPoint] = 0 ...
[ "181250015@smail.nju.edu.cn" ]
181250015@smail.nju.edu.cn
25b5d54b37582f3c67e6aa1a534bb646aba4bd48
2b082b009631feca91dbae8560a4a3630e828c37
/hash.py
e6fbda299e01adedf2fa4e900c83a9facc9c38d5
[]
no_license
dzittin/hash-and-linked-list-modules
2ced739596aeb740e769717c004862841b6ff78d
815fd69c2f26e4843c05bc62a07dd9238a5c191b
refs/heads/master
2022-12-26T00:03:54.972813
2020-10-02T20:15:30
2020-10-02T20:15:30
298,893,461
0
0
null
2020-10-02T19:58:12
2020-09-26T20:21:07
Python
UTF-8
Python
false
false
5,252
py
import linked_list as llist from collections import Counter #Needed for diagnosic in bottom part class my_hash: def __init__(self, ht_size = 100): """Create a hash table object""" self.ht_size = int(ht_size * 1.0) if self.ht_size < 10: self.ht_size = 10 self.hash_tabl...
[ "dzittin@gmail.com" ]
dzittin@gmail.com
dad187dfbdea408c0651f1b9a8f5559f41e1ff90
8bfd60469df101c0db242aa7cbc61c3061619f40
/Basics/transcription.py
47bd58f702bcc39b4333b868db8447d2668d182a
[]
no_license
Grassporridge/Courses
9b132bed337e2b75931a4cb49320a0b15655e52e
6f392b2d561a4d4e8e65c3b0b5daf6b78d94a5d8
refs/heads/main
2023-06-26T12:43:35.797701
2021-07-28T11:18:28
2021-07-28T11:18:28
390,085,139
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
# code for DNA -> RNA transcription # Accepts coding strand and template strand # (str) -> (str) def transcription(seq, coding_strand=True): seq = seq.upper() if coding_strand: rna = ['U' if nuc == 'T' else '' if nuc == ' ' or nuc == '\n' else nuc for nuc in seq] else: trans_map = { 'A':'U', 'T':'A', 'G':'...
[ "noreply@github.com" ]
noreply@github.com
1777f65fb2801fd9da7727e328729586d6c71d9d
f73cd4d6faeb11dba56964335c205ec7d0490303
/todoapp/api/views.py
209cd5dfe755c6cc199bdd36eb96e3cfbf171df9
[ "MIT" ]
permissive
madariyaprakash/TODOAPP
cc0780be84c721b65015be078a19d4723e40e1f5
b4b0b15e924476a98214110e8d680fe8593f660f
refs/heads/master
2023-08-07T03:59:09.286401
2021-09-27T09:09:55
2021-09-27T09:09:55
410,797,144
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
from django.shortcuts import render from api.models import Task from rest_framework.decorators import api_view from rest_framework.response import Response from api.serializers import TaskSerializer from rest_framework import status from django.http.response import JsonResponse @api_view(['GET']) def api_overview(req...
[ "codellipse.prakash@gmail.com" ]
codellipse.prakash@gmail.com
d4f8eae64ade0e39fab8925266724f9e0dd6a137
f3fb71d50f38f5720358b6e822405f5725ac784d
/dynamic/views.py
6db7703e5c0bddaea54eb5181822b0962718be4e
[]
no_license
easonfg/self_report
58ddd1f25d52f99f92d95597644667eaab1304f9
38a9a144795091351f53ff085989a99ddefde70f
refs/heads/master
2021-01-10T12:30:03.199216
2016-01-06T23:45:27
2016-01-06T23:45:27
49,168,542
1
0
null
null
null
null
UTF-8
Python
false
false
955
py
from django.shortcuts import render from django.core.mail import send_mail from django.contrib.auth.models import User from django import forms from django.shortcuts import redirect from django.shortcuts import render, get_object_or_404 from .models import Post from django.utils import timezone #from .forms import Pos...
[ "Henry@Henrys-MacBook-Pro.local" ]
Henry@Henrys-MacBook-Pro.local
3cab93f0ef0922018403a2652ca9cfee2e7bff9d
9e4fe71775ca1fc4fd7320d4d65c034c50e3e251
/tests/config/test_config_snips.py
ba5c71275abcd8c67b9f582df74cc0123fa1409f
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
koenvervloesem/snipskit
468eed362aba9f7013d437141d9e7f4348c08be4
442aa70d423f8371de5f3557b8e2fc6a7c6e19bf
refs/heads/master
2020-04-28T12:43:21.412408
2019-12-06T23:46:36
2019-12-06T23:46:36
175,284,635
12
4
MIT
2019-05-01T08:03:48
2019-03-12T19:40:38
Python
UTF-8
Python
false
false
2,507
py
"""Tests for the `snipskit.config.SnipsConfig` class.""" import pytest from snipskit.config import SnipsConfig from snipskit.exceptions import SnipsConfigNotFoundError from toml import TomlDecodeError def test_snips_config_default(fs): """Test whether a default `SnipsConfig` object is initialized correctly.""" ...
[ "koen@vervloesem.eu" ]
koen@vervloesem.eu
06661907f9bd31681bbb4d4dc195018f5158d473
bdb3f2c3b1181dc62792f34679b26197e01c90cf
/loanchain/lib/python2.7/site-packages/eth_tester/utils/secp256k1.py
5f457547b5f072920331087858240d2d6b1f6ce8
[ "MIT", "LicenseRef-scancode-public-domain" ]
permissive
adithyabsk/loanchain
8a590a5a2a7fc7707b6c4576baf029fadb99cf04
03cc809c5a804af6735acf8e7cd2023930bfc303
refs/heads/master
2023-05-08T08:05:27.956496
2019-06-23T17:19:26
2019-06-23T17:19:26
109,518,819
5
5
null
2021-05-24T04:36:13
2017-11-04T18:15:25
Python
UTF-8
Python
false
false
1,008
py
""" Functions lifted from https://github.com/vbuterin/pybitcointools """ from eth_utils import ( big_endian_to_int, int_to_big_endian, is_bytes, pad_left, ) from eth_tester.constants import ( SECPK1_G, SECPK1_N, ) from .jacobian import ( fast_multiply, ) def _pad32(value): return pad...
[ "ec2-user@ip-172-31-58-26.ec2.internal" ]
ec2-user@ip-172-31-58-26.ec2.internal
2010bc08025ea8a9fdca00d93a8d362274730e11
cb23f4ff45fb48b50eaeebd2ed599e546c900b60
/modules/i2clibraries/i2c_itg3205.py
599843adc756c9e66520fa86f5b79503c3ba3fef
[]
no_license
lotek93/quadrocopter
0b29c264468f40251989d3aa778ca3a177f7129b
d2d0c6486fe154a999bb67e68252106407c852dc
refs/heads/master
2020-04-27T13:03:26.401034
2019-03-07T14:53:11
2019-03-07T14:53:11
174,353,793
0
0
null
null
null
null
UTF-8
Python
false
false
3,943
py
import math from i2clibraries import i2c from time import * class i2c_itg3205: WhoAmI = 0x0 SampleRateDivider = 0x15 DLPFAndFullScale = 0x16 InterruptConfig = 0x17 InterruptStatus = 0x1A TempDataRegisterMSB = 0x1B TempDataRegisterLSB = 0x1C GyroXDataRegisterMSB = 0x1D GyroXDataRegisterLSB = 0x1E GyroYDataR...
[ "noreply@github.com" ]
noreply@github.com
703935a75fe4bce80e7ed211280e8d8618c1a11e
f4af8ad91f3bfa07dbf1ff77be34e52b075a72fb
/python_work/appium_work4/page/black_handle.py
24a2f6e0fad49ecce2d5d74fd583c5fe938ff3b3
[]
no_license
nuannanxiaofeige/HogwartsLG5
70237171452a19b85be5536c015974f755319de2
10e84fe4f45772f74839af91bf30fbfdfb7e7b84
refs/heads/master
2023-03-16T12:37:55.585440
2021-02-28T08:08:28
2021-02-28T08:08:28
322,071,179
0
0
null
2020-12-16T18:40:32
2020-12-16T18:40:32
null
UTF-8
Python
false
false
868
py
# -*- coding:utf-8 -*- import yaml def black_handle(fun): def run (*args,**kwargs): instance=args[0] with open("../data/blacklist.yaml","r",encoding="utf-8") as f: black_lists= yaml.load(f) # 捕获异常 try: return fun(*args,**kwargs) excep...
[ "1518349189@qq.com" ]
1518349189@qq.com
8056393586b0457cafedcfb0b3a25a9483302185
268c458151b99f6ad1c462a773fc51979d954992
/Dental_hygiene_RPG_V4.py
d22eda7b9b52aa87626cee3c1d84d6e9560c2ada
[]
no_license
JarvisWarnockOnslow/12DTC-Iterative-Project
f008f8d51f05b3eec9bee5c917d4427a93252c8f
b7da1698a6904da805005008c24e7a0feb867b91
refs/heads/master
2020-06-24T09:52:31.339278
2019-09-26T19:43:26
2019-09-26T19:43:26
198,932,934
0
0
null
null
null
null
UTF-8
Python
false
false
7,359
py
## # Dental_hygiene_RPG.py # Author: Jarvis Warnock # A game to help promote dental hygiene in the form of an RPG # Created: 03/07/19 def enemy_turn(player_health): player_health = player_health choice = random.randint(1,4) chance = random.randint(1,4) if choice == 1: player_...
[ "noreply@github.com" ]
noreply@github.com
e05b8353c40489490a1f5c9706da4cc8ba65d448
d3e306c55ddc38b31a9500d673f1223927564935
/tutorial-simpy/car_example1.py
1f3e4375cba38006835500f116745aa5af5f5d3d
[]
no_license
italocampos/simulacao-discreta
292a38c81005bc82ed02e389f745b38ab2cd4e18
2b0099b9ef5f52451ac655b23174829e519b35a9
refs/heads/master
2020-03-21T13:32:42.486927
2019-09-11T00:47:35
2019-09-11T00:47:35
138,611,519
2
0
null
null
null
null
UTF-8
Python
false
false
423
py
# First one simulation import simpy def carro(ambiente): while True: print('Estacionando em {}'.format(ambiente.now)) duracao_estacionamento = 5 yield ambiente.timeout(duracao_estacionamento) print('Dirigindo em {}'.format(ambiente.now)) duracao_direcao = 2 yield ambiente.timeout(duracao_direcao) ambien...
[ "italo.ramon.campos@gmail.com" ]
italo.ramon.campos@gmail.com
98e5bb02b2f1e5c29f9b110dae3b25cd10b004f1
d75703c2083dfc508c5608c4c35167b67d1a4308
/2nd Chapter/graphTwo.py
13107201655ba9be1fc0423142010b1927106346
[]
no_license
vubon/Python-core
e8159763d281152a1b64da3a0534899fd3def2b5
a415ef3c6159f0c85afa3240a762a00b2c68bd02
refs/heads/master
2020-07-03T17:08:10.091827
2016-12-09T19:26:51
2016-12-09T19:26:51
67,540,882
0
0
null
null
null
null
UTF-8
Python
false
false
213
py
import networkx as nx G=nx.Graph() G.add_node("A") G.add_node("B") G.add_none("C") G.add_edge("A","B") G.add_edge("B", "C") G.add_edge("C", "A") print("Nodes: " + str(G.nodes())) print("Edges: " + str(G.edge()))
[ "vubon.roy@gmail.com" ]
vubon.roy@gmail.com
b4761b8e2a9dacd815fee80f5f9b586f897665ce
6f596c280e6c9ec28c1fcd3be7555672c918c5be
/maintainers/scripts/hydra-eval-failures.py
1b5df32c452ffab9ab9287760614ad81b28ae9ed
[ "MIT" ]
permissive
terretta/nixpkgs
63f6cde5ee8ca37e52b05bbf25abd971778d493d
eff30adc0daefb09690c0af5f65093a91df56487
refs/heads/master
2023-06-25T05:48:49.921782
2017-02-09T22:41:55
2017-02-09T22:41:55
81,501,724
0
0
NOASSERTION
2023-06-09T23:49:45
2017-02-09T22:34:34
Nix
UTF-8
Python
false
false
2,578
py
#!/usr/bin/env nix-shell #!nix-shell -i python -p pythonFull pythonPackages.requests pythonPackages.pyquery pythonPackages.click # To use, just execute this script with --help to display help. import subprocess import json import click import requests from pyquery import PyQuery as pq maintainers_json = subprocess...
[ "domen@dev.si" ]
domen@dev.si
fdbfe0ad25905e87c1a06d548c6f77ce523e6ecd
d956346d5bc05ffac76a0e973d49c32cde3bf5d5
/clinicalSearch/migrations/0001_initial.py
b5ebd66ffe461ddc3571c850a1a05f3f1b121909
[]
no_license
ShahidTariq/SearchClinicalTrials
e58df4515804cc69d24ab3667e68814996e4db09
e1f111ea1c75cdba6053645e93a4f9cae7e89de8
refs/heads/master
2021-05-08T23:23:51.709651
2018-02-08T15:03:00
2018-02-08T15:03:00
119,706,242
0
0
null
null
null
null
UTF-8
Python
false
false
5,169
py
# Generated by Django 2.0.1 on 2018-02-06 06:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ClinicalStudy', fields=[ ...
[ "shahidtariqnnn@gmail.com" ]
shahidtariqnnn@gmail.com
354596a7e215dbda43d8b2a0e5becc1707e1fa44
e3946d91dc5fe71989c2f4b6390232865fcb5d1b
/fjord/flags/tests/test_tasks.py
cc907a579b61d1e71e3621331f63e2dfa138d835
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
zeusintuivo/fjord
61b632fd6df0e1b3508e628fe4f682a937cc0244
3bd227004d369df1fdc39f06acff12ebc8f0fe34
refs/heads/master
2021-01-16T18:28:52.564638
2014-09-24T21:02:51
2014-09-24T21:02:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
from mock import patch from nose.tools import eq_ # These tests require that tasks be imported so that the post_save # signal is connected. Don't remove this. import fjord.flags.tasks # noqa from fjord.base.tests import TestCase from fjord.feedback.tests import ResponseFactory from fjord.flags.spicedham_utils import...
[ "willkg@mozilla.com" ]
willkg@mozilla.com
9483d78b53d74a577fa037cb76a08eada7ce6534
642e36c81ecb29d6d083180ae4e74345fb335ebe
/py_scripts/junk/vis_2_level_with_atlas_oxford copy_2.py
2289dc527787095b02d8d57f1d02cb9c189f4f5a
[]
no_license
Olu93/project_basic_fmri_analysis
d0216093fe7841cce1d04e5cd68e819e3688cf90
e48cc87eaeb1ee04f94ce9643d6945ba9da9c328
refs/heads/master
2023-07-13T00:13:15.950044
2021-08-17T15:57:38
2021-08-17T15:57:38
397,305,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,971
py
from nilearn.masking import apply_mask from py_scripts.helper_func import shorten_labels from typing import OrderedDict from matplotlib.colors import LinearSegmentedColormap, BASE_COLORS from nilearn import plotting import nilearn from nilearn import image import matplotlib.pyplot as plt import pathlib as path from ppr...
[ "o.hundogan@gmail.com" ]
o.hundogan@gmail.com
ad7e109cbb860c1a968abf076a0898461d6728c6
e7efb2e90059684e3c731870e0a1e9d0a4a24b24
/hype_user/migrations/0004_userfb_likes.py
9d33d674771260ff48f9c20c950a04f8cf3ec545
[]
no_license
bjersey/hype_server
c5f01fd027e2a86164603571c72a29d9439937ac
22e5229d29dd5809bbc357e3ae43fa3f6082e193
refs/heads/master
2021-03-27T19:03:45.912683
2016-07-05T02:48:16
2016-07-05T02:48:16
45,125,763
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.contrib.postgres.fields class Migration(migrations.Migration): dependencies = [ ('hype_user', '0003_auto_20160130_2215'), ] operations = [ migrations.AddField( ...
[ "brian.lao@gmail.com" ]
brian.lao@gmail.com
f7c3de6fccedb1b8b120d1c4aca0f8fc5ae561ef
9b4597846ef13179c7fde4bd4dac0ef3dda7f0c5
/Object-Oriented-Programming-Python/open.py
75731c6cb8c03d2a5b6f6eaff3143736fe84b13e
[]
no_license
SladetBask-Kasper/Object-Oriented-Programming-Python
4d97f0b08ec7640e4e543845f485de9677ba4b5c
110e0d75792d44bb1b772e860d349a76d2fc27fd
refs/heads/master
2020-04-18T02:34:09.776319
2019-01-24T09:17:49
2019-01-24T09:17:49
66,933,481
0
0
null
null
null
null
UTF-8
Python
false
false
107
py
from main import main quitz = main() if quitz == 1: exit() elif quitz == 0: exit() else: exit()
[ "noreply@github.com" ]
noreply@github.com
9c89d9ea5e84c2da0b5f7793fb4db88b23a82db7
fa3b05e49e002936bd7ce7788baf3ae953e222f2
/rst2txt/__init__.py
f749f6e00729c2cc65ae250e8a020020a8ed5757
[ "BSD-2-Clause" ]
permissive
stephenfin/rst2txt
3199e7f6a3e06fdde9788c858ad8d194463802bb
db1465a90325d2a0800f5a9efdc4149f18f06aef
refs/heads/master
2021-06-13T07:47:27.478699
2021-04-01T07:35:40
2021-04-01T07:35:40
157,217,523
3
1
BSD-2-Clause
2021-04-01T07:35:41
2018-11-12T13:26:14
Python
UTF-8
Python
false
false
920
py
# -*- coding: utf-8 -*- """ rst2txt.__main__ ~~~~~~~~~~~~~~~~ A minimal front end to the Docutils Publisher, producing plain text. :copyright: Copyright 2018, Stephen Finucane <stephen@that.guru>. :license: BSD, see LICENSE for details. """ import locale locale.setlocale(locale.LC_ALL, '') # noqa...
[ "stephen@that.guru" ]
stephen@that.guru
e85a1c9fb91d56d5b78d4975cbff29cedf831c18
07ca730745c62c2c2286dacb1b86d4d89977f4cb
/test_polyfit.py
224d36c6cfeff1b5ff7fa725d763d64a62014f17
[]
no_license
RishiCSE89/PredictiveCaching
9f8358ac56aa67ba822e17e7c5fa3192d4cfdc57
b57e0736d9c0c1140d196a1b0151388aedc98bd7
refs/heads/master
2020-04-03T18:00:40.416878
2018-10-30T23:07:11
2018-10-30T23:07:11
155,467,399
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
import poly_fit_pluggable as pfit s = [1,23,45,67,89,102] print(s) print(pfit.main(t_series=s,deg=3))
[ "noreply@github.com" ]
noreply@github.com
24560ebd97ad7eefe326c5d0338c674f3f273d51
cd834357f612378a725af830fe9536a6150cb6b1
/utils.py
aec90d2c1d2dec71cb1c3990b2c326cafc6cb10e
[]
no_license
mgrenander/reproducing-paulus-xiong-socher
fb41782bbb2aa16f12f3c62dc4ebf5831a012769
1784d2ad4072e873130f7cdcf9ad5861e13f0607
refs/heads/master
2020-03-11T06:19:47.702456
2018-06-08T20:59:12
2018-06-08T20:59:12
129,827,118
7
0
null
null
null
null
UTF-8
Python
false
false
2,399
py
import os from tqdm import tqdm import spacy from datetime import datetime from torch.autograd import Variable import torch spacy_en = spacy.load('en') base_path = "data" base_read_path = "data/finished_files" max_input_len = 800 max_output_len = 100 decoder_hidden_size = 400 def convert_to_tsv(dataset): art_path ...
[ "matt.grenander@gmail.com" ]
matt.grenander@gmail.com
e059f1040835b3ab861f83ca8d12ceb3ee980696
4cfe65557710defbba8496f3194299b54996d58b
/EncoderDecoderAgent/GRU/Encoder.py
d4b6f6b466024ff30eaec8f11e1bc5aad3717b4d
[ "MIT" ]
permissive
MehranTaghian/DQN-Trading
176235663004e878c776e52c6c264add8d801275
1cca1122cc3eac862f8a2af69b979fddfbe6bd1d
refs/heads/master
2023-08-11T17:23:57.831656
2021-10-09T05:50:21
2021-10-09T05:50:21
400,635,399
100
37
null
null
null
null
UTF-8
Python
false
false
1,266
py
import torch import torch.nn as nn class EncoderRNN(nn.Module): def __init__(self, input_size, hidden_size, device): """ :param input_size: 5 which is OHLC + trend """ super(EncoderRNN, self).__init__() self.device = device self.hidden_size = hidden_size sel...
[ "taghianmehran@gmail.com" ]
taghianmehran@gmail.com
8818d2dee291bc650cf6823284771fcddef0856d
2ea548f2ff55d5d144580bbf91ec25b307a77e10
/analysis/models.py
12e5b1de7b777c60488816d0c7cce3a7bc004486
[]
no_license
philippHorn/tiltscore
7183286f67b0598f31ad9c2e116d825528123431
dc03b314ffd52cad9344897942ee38cee8fd1874
refs/heads/master
2022-12-11T02:33:11.008729
2018-05-06T10:41:20
2018-05-06T10:41:20
132,249,170
0
0
null
2022-12-08T00:59:58
2018-05-05T13:11:58
JavaScript
UTF-8
Python
false
false
300
py
from django.db import models from riot.models import Summoner class Calculation(models.Model): summoner = models.ForeignKey(Summoner, on_delete=models.CASCADE) created = models.DateTimeField(auto_now_add=True) count = models.IntegerField(default=0) finished = models.BooleanField()
[ "p.horn@placement24.com" ]
p.horn@placement24.com
b81fc0b1aed940c4085205694c61915ef05eb2df
f6447a01364882f6bc8ab259d86e9e945c3f2356
/jenkins_jobs/modules/project_folder.py
ac6e6bdddc22e128dfe17342bc962db3d330393f
[ "Apache-2.0" ]
permissive
gooddata/jenkins-job-builder
4e0909cab5ada4114f2396a1335300c4e8590500
a7aac18ca142c2a3323577458522d1e28827fccd
refs/heads/gd-patches-2.0.0.0b3-1-g0b5ed034
2022-12-13T23:31:33.900167
2022-03-18T10:58:05
2022-03-18T10:58:05
44,802,046
0
12
Apache-2.0
2022-11-30T12:59:15
2015-10-23T08:57:51
Python
UTF-8
Python
false
false
1,955
py
# -*- coding: utf-8 -*- # Copyright (C) 2015 Cisco 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 applicab...
[ "thanh.ha@linuxfoundation.org" ]
thanh.ha@linuxfoundation.org
ef30903e305f3318091cd214dc77eb24811ecfe1
29afb48dd73bfd988864218aa5bf9e0acf219d0f
/src/sandBox/analysisFunctionDevelopment/build.py
7cc590661b6ef651c8eed7e978bccd15b8d86a23
[]
no_license
alx5246/srnnetTraining
b18623ae2b2bc80476dc273af615ba7d784443d4
416a0f7f30ac55b094120abef370c7c4c166fdc8
refs/heads/master
2022-11-04T14:42:50.082172
2016-11-19T20:07:02
2016-11-19T20:07:02
59,118,134
1
1
null
2022-10-12T10:10:49
2016-05-18T13:29:42
Python
UTF-8
Python
false
false
1,016
py
import os import subprocess if __name__ == '__main__': wd = os.path.dirname(os.path.realpath(__file__)) # fileName = raw_input("Enter file name to run:") fileName = "controller.py" visualStudioVcVarsAllPath = "C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\VC\\vcvarsall.bat" argsAndApp="...
[ "shanelpickard@gmail.com" ]
shanelpickard@gmail.com
623e17c320df0d74ffbe22456d181278faf49b14
7810c4043fdf5fd849922af6df99c8aae5b86392
/python/atm_program.py
1b29517e9e139f12918e0a471626dfb8b4daa4ac
[]
no_license
bellaananda/python_progate
99b4dd65059481a2a43b649f2ddf54a8ec108816
1c8f22708c2c49efafd12b82b3064d531666ca7f
refs/heads/master
2022-12-15T03:46:38.523422
2020-09-16T06:48:36
2020-09-16T06:48:36
295,947,443
0
0
null
null
null
null
UTF-8
Python
false
false
3,432
py
import random import datetime from customer import Customer atm = Customer(id) while True: id = int(input("\n Masukkan pin anda: ")) trial = 0 while (id != int(atm.cekPin()) and trial < 3): id = int(input("Pin salah. Silakan masukkan lagi : ")) trial += 1 if trial == 3: ...
[ "bellaanandaputri12@gmail.com" ]
bellaanandaputri12@gmail.com
58ee8fa2946ceeab6382b00f21d4c439fc798613
b31ff20af39eb96f5c78a3e41d4a7727a32bc309
/collection/list/examples/list/list_comprehension/exercise2.py
16501aaabe64db47d5a4e04fa83ac2ab25aa876f
[]
no_license
abhi15sep/Python-Course
42b74c2f3f016c960edcc091808066f7d1411054
482bd7fdb32df54d97d1e6dd76fc807bcab70e9a
refs/heads/master
2020-04-27T20:28:25.448692
2019-08-04T07:00:12
2019-08-04T07:00:12
174,659,260
0
3
null
null
null
null
UTF-8
Python
false
false
952
py
#1. Given two lists [1,2,3,4] and [3,4,5,6], create a variable called answer, which is a new list that is the intersection of the two. Your output should be [3,4] . Hint: use the in operator to test whether an element is in a list. For example: 5 in [1,5,2] is True. 3 in [1,5,2] is False. #2. Given a list of wor...
[ "abhaypratap3536@gmail.com" ]
abhaypratap3536@gmail.com
888e6408ce09b9e8e18645e386d0ea6ec6f0ec83
96c0a8c5301f97d8ec5193ead7f58768ee17040a
/openn/xml/identifier.py
2b1e386bb5633580a9d86015e1a0af37457a2c47
[]
no_license
KislakCenter/openn
7a6b2de5e03ff6663bb321cfd16d5809ab58e151
8b410f08713b778d6dd0e5d60cff558f20c27a26
refs/heads/master
2022-12-15T23:07:17.902112
2020-09-03T16:28:19
2020-09-03T16:28:19
294,202,198
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
# -*- coding: utf-8 -*- from lxml import etree from openn.xml.xml_whatsit import XMLWhatsit class Identifier(XMLWhatsit): def __init__(self,node,ns): self.xml = node self.ns = ns def is_url(self,t): return t.strip().startswith('http') @property def id_type(self): retur...
[ "emeryr@upenn.edu" ]
emeryr@upenn.edu
01bc56bdb45eeb7f88b23db1a8bbefc460de1985
0229ce181421a7781864421fe5251e724472ea53
/educative.io/XOR/Two Single Numbers (medium).py
91b0b5e2c1fdaf19d1a4a94e624e175bc124e8eb
[]
no_license
sudonitin/dsa
012e68c5a49e4b52faef1e4582d1e1a29ae7890c
7c3694dcd1e4b79571a163a9646373de0e0ebe58
refs/heads/master
2023-04-26T09:03:05.780294
2021-05-08T16:10:59
2021-05-08T16:10:59
244,941,964
1
0
null
null
null
null
UTF-8
Python
false
false
940
py
def two_nums_hashmap(arr): hash_map ={} for i in arr: if i not in hash_map: hash_map[i] = 0 else: del hash_map[i] return list(hash_map.keys()) # referred solution def two_nums_xor(arr): xor_result = 0 for i in range(len(arr)): xor_result ^= arr[i] ...
[ "sahun5774@gmail.com" ]
sahun5774@gmail.com
2c4f87b94aa0d96dd697d8229a9c6e151d976104
7a09af404f29389504742a3d5f1727bfbe562750
/TrekBot2_WS/build/tf2_eigen/catkin_generated/pkg.develspace.context.pc.py
f5c5a1a6d5db48c50693d36ed16e7a9aa2ab7b74
[ "MIT" ]
permissive
Rafcin/TrekBot
4baa2ed93b90920b36adba0b72384ac320d2de01
d3dc63e6c16a040b16170f143556ef358018b7da
refs/heads/master
2020-03-30T02:15:35.361254
2018-12-14T03:30:25
2018-12-14T03:30:25
150,622,252
1
0
null
null
null
null
UTF-8
Python
false
false
565
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/xavier_ssd/TrekBot/TrekBot2_WS/src/geometry2/tf2_eigen/include;/usr/include/eigen3".split(';') if "/xavier_ssd/TrekBot/TrekBot2_WS/src/geometry2/tf2_eigen/include;/usr/include/eigen3" != "" else [] PR...
[ "Rafcin.s@gmail.com" ]
Rafcin.s@gmail.com
79629d6a6edfb929201ce161f3a3ee1f7b75b510
83c5481333c3f2d73b3080cf01788cae8b785e7e
/main.py
312cbf415c306f91175d18caa247bfcbd4b311fd
[]
no_license
DanangCode/hyperlocative
3cd96f555b9bf38643890b70ba6b38ac43718078
90be2336ee752e3c99ccae7c2473aa5cca389edc
refs/heads/master
2021-08-27T15:10:47.634210
2011-05-12T06:01:35
2011-05-12T06:01:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "jaspergregory@gmail.com" ]
jaspergregory@gmail.com
122e13140dd941b7f9130029967e01235509b7a4
63aa1f0ead23c3f8d18847cca61613b40e34e5dd
/groups/migrations/0003_auto_20181221_1758.py
c33f31b9ed21d96c219039afc6c7533d82e5384c
[]
no_license
meheck/Social-Network
3e151def207cd2c1548445065e36d501ed71523c
ac5182fd39a1f8a6ed95a4adedbe4a5a47d10011
refs/heads/master
2022-11-19T02:12:15.113717
2020-07-11T07:59:01
2020-07-11T07:59:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
# Generated by Django 2.1.4 on 2018-12-21 17:58 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('groups', '0002_auto_20181221_1517'), ] operation...
[ "pratibha.shrivastav99@gmail.com" ]
pratibha.shrivastav99@gmail.com
cc920b16c95ac819b236fa84be0b4223fe58683a
96602eeaa034e3e7b36df4ed10fba9bc9c9ed5c8
/01-15/day08-2/文件操作.py
57723e900a692f4a8c9c3817e4781677663b0e4e
[]
no_license
microease/Old-boy-Python-knight-project-1
f4b12fe6f46bd159c6dc8151b1d28c6520042441
dc32749e29cc63b44849d40af345d4bb7817d624
refs/heads/master
2020-09-20T18:00:34.821769
2019-12-11T14:47:44
2019-12-11T14:47:44
224,553,833
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
# coding:utf-8 # File Name: 文件操作 # Description : # Author : micro # Date: 2019/12/3 f = open("./测试.txt", encoding="utf-8", mode="w")
[ "microease@163.com" ]
microease@163.com
a6c261ac3e0a64a23198f2e0e53d7ffc9ee18efe
17628aa356d636a173230309140381d091c694a3
/BetNow/creatematch/migrations/0015_auto_20190713_1228.py
33f275ad9c702b3cb2a24362c803ce4ee8bd424f
[]
no_license
sudeepth457/Bet24
247ea7865cfaaf3e7faf59f0e7969ca679cc44c6
493624982f0ee0b494aa752625b7b2baef3888e0
refs/heads/master
2022-02-24T05:18:24.267030
2022-02-15T05:58:01
2022-02-15T05:58:01
201,655,070
0
0
null
null
null
null
UTF-8
Python
false
false
717
py
# Generated by Django 2.1.7 on 2019-07-13 06:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('creatematch', '0014_auto_20190713_1222'), ] operations = [ migrations.RemoveField( model_name='voterdetails', name='...
[ "sudeepth457@gmail.com" ]
sudeepth457@gmail.com
06fbc63ad5da39878b6e54f87c00b44717291c0a
4e8399b2fa87ef498a26d89896bccfeb3cb9c49e
/bot/api/core/result.py
63c0f7e5345b7e0f34aab351168affb1ab4ef41b
[]
no_license
Deibrony/Easy_Recycle_Telegram_Bot
0e2c7f173b7ffd67a96bdd3708630dce66d2e7fa
3a0cc98c162a1496c755988c6939a2921a08a8ba
refs/heads/main
2023-08-19T06:16:49.795874
2021-10-28T18:36:37
2021-10-28T18:36:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
from api.static import PH import os from api.static import TRY_AGAIN def result_out(): '''Функция принимает возвращает список классов, которые были обнаружены на фотографии.''' os.system(f'{PH}darknet.exe detector test {PH}cfg/coco.data {PH}cfg/custom-yolov4-detector.cfg {PH}72custom-yolov4-detector_be...
[ "ryzhkov.ilya17@gmail.com" ]
ryzhkov.ilya17@gmail.com
f6d365330a0e3c5ee7ccb9c6a8f92bdf3f1e5d2c
80363ed5994e79c1c9eda176a03c3cdee2ac0065
/venv/bin/django-admin.py
7a8c7c3e83b4fb3876ccca8cf305ab999e9daf7f
[]
no_license
Peterfilho/hella
9fec02c1b6bb613491c2d6a905b28ed80a00c1cb
6ac0e82501f4b3e7db761ccc6098ad5bff32dadd
refs/heads/master
2023-01-09T04:07:13.047992
2020-11-07T22:42:11
2020-11-07T22:42:11
310,075,496
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
#!/home/peterson/projects/hella/venv/bin/python3 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "peterson.petio@gmail.com" ]
peterson.petio@gmail.com
442c97a997c2cded002ffc2c1a95639104e036f9
bcdb0d74add595fd07125508c789249b5512fa5f
/ArithmeticOperators.py
5c0a5f762e1d1bbf232354dcaef328ddd5690903
[]
no_license
milomacphail/pythonPractice
0fe8a59d761cfc1dc27594cfd402491b032f2e4c
60b5b72f7c76e1bcfe858cbdb000c3dab82801b2
refs/heads/master
2020-06-09T08:40:46.518595
2020-02-21T01:22:22
2020-02-21T01:22:22
193,410,903
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
if __name__ == '__main__': a = int(input()) b = int(input()) print (a + b) print (a - b) print (a * b)
[ "milomacphail@gmail.com" ]
milomacphail@gmail.com
d7321a50eac4ad2fe6b9d8f5b2ce5efcf21ef166
eed5362fb9e273cabd903f3b1507332bf419a9d5
/venv/bin/pip3
8545745b5e1e7e67c744ea0b91c100774bb832e0
[]
no_license
douglas1850/PythonWebCrawler
9bcb5d3ddb30b7b6d515253eaa7da02a319336e2
d9b6355e2082f13a43062a678644ecfb860baf50
refs/heads/master
2020-03-29T09:04:21.102107
2018-09-27T03:26:21
2018-09-27T03:26:21
149,739,958
0
0
null
null
null
null
UTF-8
Python
false
false
414
#!/Users/douglasomeara/PycharmProjects/WebScraper/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "douglas12219@gmail.com" ]
douglas12219@gmail.com
434c071f28cd3fba9ca00651048d3da61c4ae8ec
b6aea04af7ae51b2df4130535643fee4af581a52
/Windows/main.py
59ebdc6a27dc24959f47bd358334704eba451948
[]
no_license
Andreivilla/bot-insta-python
5cc8b96b68ad958142b4f3bfa48eabb11085dcb0
00165962ff0da18b0b34f9ba7964f899ec46658c
refs/heads/master
2023-03-03T09:51:31.093222
2020-06-09T23:25:56
2020-06-09T23:25:56
258,543,688
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
from InstagramBot import InstagramBot from util_json import util_json import time #dar entrada em informaões do bot #user = str(input('Usuario: ')) #password = str(input('Senha: ')) #perfil #photo user = 'Marvin_Robot63' password = '36461023' #login bot_driver = InstagramBot() bot_driver.login(user, password) #seg...
[ "andreivilla63@gmaIL.com" ]
andreivilla63@gmaIL.com
c902fadf9d3369b7d4eba86635cce91b47bcf542
6de7c23a72e03672fee1b05b7383c0d652ec16b7
/mtcnn/first_stage.py
01d58e74167a83dd3d76f8959316329f487ff794
[]
no_license
Jasionkit/awesome-face-detection
56bf96920d9bab363069c35b2d3a4256f6513621
31b8fb973902585e1cbe6c87c0701e38ec223832
refs/heads/master
2022-03-22T16:06:49.935390
2019-11-20T06:33:31
2019-11-20T06:33:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
import torch from torch.autograd import Variable import math import cv2 import numpy as np from .box_utils import nms, _preprocess def run_first_stage(image, net, scale, threshold): """Run P-Net, generate bounding boxes, and do NMS. Arguments: image: an instance of PIL.Image. net: an instance...
[ "wtk1101@gmail.com" ]
wtk1101@gmail.com
aeafcc6aa2038481d97caa38fb955fbd19cd7a46
45c901fd5e8b3db79810b918382374e93f79fd3b
/config/__init__.py
c07d889d8b4aaf0114fb4476901ad132e2d4fab6
[]
no_license
gushui250/nh_77
47a1e5987d2a5615d3b131681c05c614892d5b63
8f301b5a61ae4cf694bdd33c8c401b5021edd91a
refs/heads/master
2023-07-11T21:37:12.890318
2021-08-12T06:25:15
2021-08-12T06:25:15
383,658,449
2
1
null
null
null
null
UTF-8
Python
false
false
123
py
#!/usr/bin/env python # -*- coding:utf-8 -*- # @FileName :__init__.py.py # @Time :2021/1/29 17:54 # @Author :shui
[ "2770488802@qq.com" ]
2770488802@qq.com
dda962378b9ceac412f4051fd1f2c9a245824947
96863d5522a69f253e4c94bd7a68fbe2eed673d3
/src/Room.py
61c53fa3a92aebedc1f86d412ae34b4183c820ea
[]
no_license
Oblaize/Office_Space_Allocation
1f9eecccafbd683d4627c27e053e2623e362e69f
edd48fa8c161155ddb11b4828f05f8d2af97ea99
refs/heads/master
2021-01-20T01:10:59.672370
2017-04-28T07:06:47
2017-04-28T07:06:47
89,230,141
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
class Room: max_space = None room_type = None occupants = [] def set_max_space(self, value): if isinstance(value, int): self.max_space = value else: raise ValueError('max space value can only be an integer') class Office(Room): def __init__(self, name): ...
[ "Blaize Ottizy" ]
Blaize Ottizy
333c1a97110f0fbf12b144d2c29ae0e2be6c79a3
74f8f4b88944aa9dea9a3e87a9841568ae0672db
/mini_batch_iter.py
7b6ac24888d347e9ffd69623f9747fc7149a92a3
[ "MIT" ]
permissive
feifan456/deep_parsimonious
01c6cadb3f2614b2a421158f1709d1d83c0f9ba3
0c84654f9963eb3532b3d291087881f1baa063ad
refs/heads/master
2022-03-27T10:54:14.255449
2019-12-25T00:19:26
2019-12-25T00:19:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,201
py
import numpy as np class MiniBatchIterator: def __init__(self, idx_start, bat_size, num_sample, train_phase=True, is_permute=True): self._bat_size = bat_size self._idx_start = idx_start self._num_sample = num_sample self._train_phase = train_phase self._is_permute = is_pe...
[ "rjliao@cs.toronto.edu" ]
rjliao@cs.toronto.edu
cdaddbe4548ee42770d48b813be4bce96f6d0541
af3714908fa47f956ce02b0436e4f88d9c922041
/SuccessPredictionBudgetNB/src/rating/PedictRatingUsingGenre.py
d7d078837d338ea7f80a5af9d27125d7a208ff49
[]
no_license
tanviborkar/MovieSuccessPrediction
0c4d93a9ab78391852bb6082053aa65327a237f3
d174b14d317007121873532a5289d7dfab7017c4
refs/heads/master
2021-01-19T23:42:11.610272
2017-04-23T03:55:40
2017-04-23T03:55:40
89,012,931
1
0
null
null
null
null
UTF-8
Python
false
false
3,869
py
''' Created on Apr 2, 2017 @author: Tanvi Borkar ''' from __future__ import division import csv from src.rating.Genre import Genre class PredictRatingUsingGenre(object): maxFbLikes = 0.0 maxProfit = 0.0 maxIMDBScore = 0.0 genreList = None def calculateRating(self, movieGenreLis...
[ "borkar.tanvi@yahoo.com" ]
borkar.tanvi@yahoo.com
1b9306276df1e8016f7d5311a7b3451ba0f93698
eade42bf8060f4d692724ab31275a13efac7e490
/les3_5.py
b7e28263226270b2408f951848b07dd68864f788
[]
no_license
Paradox-1337/less3
62ea2aa76b9a9382a23860781ac6f3e7c854d590
ef8f3b0a409d8edb0c977e65f1c9867c16f86a84
refs/heads/master
2021-01-26T07:25:41.447000
2020-02-27T11:52:24
2020-02-27T11:52:24
243,364,600
0
0
null
2020-02-27T11:52:26
2020-02-26T21:00:02
null
UTF-8
Python
false
false
659
py
def my_func(): sum_result = 0 exit_code = False while exit_code == False: number = input("Введите числа для суммирования. Для выхода из программы, введите '№/#' ").split() result = 0 for element in range(len(number)): if number[element] == '#' or number[element] ...
[ "noreply@github.com" ]
noreply@github.com
deba1ddba9647dd082d686355a5d99132d352633
99a56bc3baf9629123a07d0dacfe50ab6fee1268
/millychocolates.py
817ca936c26e4454fc23b51347b5d2f3e1b04ed4
[]
no_license
varenya/algorithms
43dc3ea7e9b87525314a738eaaa5ec58fc5e5b2d
6afd0c61be3c696487ddeac6317c5462d0208a7b
refs/heads/master
2020-12-29T02:20:01.821094
2017-02-28T15:32:45
2017-02-28T15:32:45
52,890,735
2
0
null
null
null
null
UTF-8
Python
false
false
84
py
T = int(raw_input()) N,K = map(int,raw_input().strip().split()) for n in xrange(N):
[ "varen90@gmail.com" ]
varen90@gmail.com
bdcefd0fa9216be85610f15c0c246f81cbd616ed
4ecdaa0d6bbe9f55cc343ac16ee7239021e5645a
/berg/metadata_util.py
7d1d6da725ecceab132ea4ae570294622c2ef6f5
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
isabella232/cloud-berg
8351161d91607fdd9cb2b4e0078f1820313335a5
41e38e44d4e7572a230e5eae204a19204cbc2edd
refs/heads/master
2022-01-13T16:31:07.107085
2018-11-17T21:23:52
2018-11-17T21:23:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
# Copyright 2018 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "tomfeelslucky@penelope.sfo.corp.google.com" ]
tomfeelslucky@penelope.sfo.corp.google.com
8228c39d2a5bcb4fe820da980edae8c242bcdc15
b0110e27e3162e2092259dd299481de1dafb4ea8
/space/orbit-old.py
a9d6b5bdbb7833e0ad7d7a2d6a00c44d44099913
[ "MIT" ]
permissive
mobarski/sandbox
f9be203bf7015f6df70badd605a40172b63a90f8
f9054fb3252488208e503a87efba5df74fc70538
refs/heads/master
2023-05-29T14:51:00.125028
2023-05-14T21:02:38
2023-05-14T21:02:38
86,854,790
0
0
null
null
null
null
UTF-8
Python
false
false
3,096
py
from util import * from math import * ## CONSTANTS ######################################### # gravitational constant G = 6.673e-11 # gravitational acceleration at earth surface g = 9.81 # stefan-boltzmann constant sigma = 5.67e-8 GM=namespace('Gravitational constant times body mass [???]') GM.sun = 1.327e20 GM.ea...
[ "mobarski@cosdopisania.home" ]
mobarski@cosdopisania.home
a282527427ed10a1b26ef595c206ce720b6cbe54
c7b067c6fee136fbd6cb52fea06acd6f301d1a46
/create_db_tables.py
3eaec0c1cc8fba7f017c22dacdff950ab5bee0bb
[]
no_license
KaranKamath/netmaidScraper
d3de9b8b879da08cd6b432fea65ba61c1cef105f
a4b38e834d7d2ac27a8af44a8f6c88606ffa43f0
refs/heads/master
2020-05-17T14:41:26.890868
2014-10-22T08:11:03
2014-10-22T08:11:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,504
py
import sqlite3 conn = sqlite3.connect('scraper.db') c = conn.cursor() c.execute('''CREATE TABLE maids( urlID INTEGER PRIMARY KEY, ref_code TEXT, name TEXT, type TEXT, base_salary TEXT, rest_day_preference TEXT, ...
[ "karankamath26@gmail.com" ]
karankamath26@gmail.com
cf1092031a01aaba0eb887802f2bebe8950445e1
f7324876f381706c4fd7486ddb925317841e6bf6
/testset_expts.py
c2a777036522cfba0e5918b94cb414fab9885431
[]
no_license
bradleyrp/amx-extras
21ebdb93acf919498ed674e1347c7d71913f3bd1
8f188c47de0bed0c34a73ee289b6a870956af354
refs/heads/master
2021-01-11T15:18:26.263637
2018-04-27T17:10:15
2018-04-27T17:10:15
80,324,211
0
0
null
null
null
null
UTF-8
Python
false
false
6,712
py
{ 'table':{ ##### #### ### ## # #---mimic a user copy command for realistic test sets 'tags':['aamd_cgmd','tag_support','tested_2017.09.18'], 'quick':""" import amx,shutil shutil.copyfile(amx.settings.ready,amx.settings.store) """, }, 'bilayer_288_demo':{ ##### #### ### ## # #---a legacy test used to make a small bil...
[ "bradleyrp@gmail.com" ]
bradleyrp@gmail.com
16e55bfaa85d3bafcfc0208ade4760ba28fbb0e5
546d07b3f78313895af9bfd70a480eab92bcba68
/appMain/migrations/0013_auto_20210926_1953.py
789a1a4e0642f876cc759525fa127955b12d7f6a
[]
no_license
NU25113/KingIceManDjango
4c1c08319ac70a6e3ad9ca241eb0214dc477a813
e6b2e6b26869052ad5d9b2d55b023f8c56149988
refs/heads/master
2023-08-17T13:27:47.378855
2021-09-29T14:35:21
2021-09-29T14:35:21
411,663,657
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
# Generated by Django 3.1.6 on 2021-09-26 12:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('appMain', '0012_income'), ] operations = [ migrations.RemoveField( model_name='agency_rent', name='total', )...
[ "nuntima.we61@snru.ac.th" ]
nuntima.we61@snru.ac.th
c302bd0f7915622567d722cecc72a0fa8d7a454e
7f57c12349eb4046c40c48acb35b0f0a51a344f6
/2015/AddTwoNumbers_v2.py
d543f46cb1cd4d03c07c46e63c81d2e789227d84
[]
no_license
everbird/leetcode-py
0a1135952a93b93c02dcb9766a45e481337f1131
b093920748012cddb77258b1900c6c177579bff8
refs/heads/master
2022-12-13T07:53:31.895212
2022-12-10T00:48:39
2022-12-10T00:48:39
11,116,752
2
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
#!/usr/bin/env python # encoding: utf-8 # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: # @param {ListNode} l1 # @param {ListNode} l2 # @return {ListNode} def addTwoNumbers(self, l1, l2): if l1 is N...
[ "stephen.zhuang@gmail.com" ]
stephen.zhuang@gmail.com
6bfb1f17c3ccc3769a46c7ec0e1de921b8d9f251
6e4e6b64c035881f1cff39db616b0a80e1568c51
/ARC015/q1.py
8625a990d5f7a2e9da866e9e6ec2cfe7063a5c0c
[]
no_license
Lischero/Atcoder
f7471a85ee553e3ae791e3e5670468aea1fa53cc
f674d6a20a56eebdafa6d50d5d2d0f4030e5eace
refs/heads/master
2020-05-21T16:23:36.095929
2018-10-18T04:27:55
2018-10-18T04:27:55
60,671,810
0
0
null
null
null
null
UTF-8
Python
false
false
58
py
# -*- coding:utf-8 -*- n = int(input()) print((9/5*n)+32)
[ "vermouth.lischero@gmail.com" ]
vermouth.lischero@gmail.com
0e0f29f3ce10a11abd47d59d581fd88e0dd5c314
c4681fb41c49e4b8a7a9e2bb74e1cc59d91eb386
/src/paymo_functions.py
abd4ae33319e495b671edcd0d38af110cfd4218b
[]
no_license
k4trina/Digital-Wallet
8984c88ac84cdd8705866e08e76e5875dc4e85f8
e62d9261c0e8c0dd0bfc7297b934c4d58bb9648d
refs/heads/master
2020-07-28T12:36:29.998835
2016-11-10T19:24:38
2016-11-10T19:24:38
73,410,074
0
0
null
null
null
null
UTF-8
Python
false
false
5,431
py
# paymo_functions.py # Insight Data Engineering Coding Challenge, 2016 November # Katrina Sitkovits, katrina.sitkovits@gmail.com # # This file contains helper functions for Features 1, 2, 3, and additional Feature 4 # # Get sender and receiver IDs from payment line # ID1 = sender (tx), ID2 = receiver (rx) def get_IDs ...
[ "k4trina@gmail.com" ]
k4trina@gmail.com
80ee460716517889a3de4b4e7bd6a07c04c2dc6b
8791b5ee6e690e0a0d40ae7c95f2f87ba10da72d
/SPP/guidgrabber/bin/start_ravello_session.py
8554d8075ab3dd00d1dae57d4d679b08dc40c63d
[]
no_license
thomas-crowe/GUIDGrabber
18191d87d0b65780b6b7f4011b75ff123efbd6f5
73c01e665002f0b549b8a67c2e304251e7f35950
refs/heads/master
2020-06-06T02:01:00.649531
2019-06-18T20:22:23
2019-06-18T20:22:23
192,605,786
0
0
null
null
null
null
UTF-8
Python
false
false
4,928
py
#!/usr/bin/python3 import argparse import requests import urllib.parse import time import ravello_sdk from common import * import re from requests.auth import HTTPBasicAuth parser = argparse.ArgumentParser(description="Get Services From CloudForms") parser.add_argument('--cfurl', help='CloudForms Appliance URL', req...
[ "tcrowe@redhat.com" ]
tcrowe@redhat.com
1ec1f56bd18f8a82568356fe621e4593be8a368a
2565970a2461fec97c0b0972eed161d9bd9e268f
/test_finetuning.py
74bcbec628e6f36adb5ccd96b187b105430735d5
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
sskram/nn-toolbox
ee40e2d0f8792444a6d46bd477ffc69b144691a1
b998d61800311d788bf3c4c5f517f1fd6d9c2e66
refs/heads/master
2020-07-01T02:55:22.318592
2019-07-21T06:46:07
2019-07-21T06:46:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,678
py
import torchvision from torch.nn import * from torchvision.datasets import ImageFolder, CIFAR10 from torchvision.models import resnet18 from torchvision.transforms import * from torch.optim import * from torch.optim.lr_scheduler import CosineAnnealingLR from nntoolbox.optim import AdamW from torch.utils.data import ran...
[ "nhatsmrt@uw.edu" ]
nhatsmrt@uw.edu
e780ca568e90b5bfc41bbd544fa248b23e021fda
f517ec5a88f7940b13be853050a07c5c3fe6ac2b
/quotetutorial/quotetutorial/spiders/quotes_spider.py
f00853aaf0227be2947b934ac3c28ed3400e5f1d
[]
no_license
Ahmmod097/ScrapyTutorial
e35cc7a717a24ec5313c638e6f91e0614a52307f
8dd46c802375e38c191c1e055740c200b4cd311d
refs/heads/master
2020-09-07T14:35:55.806519
2019-11-10T15:53:26
2019-11-10T15:53:26
220,812,092
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
import scrapy from ..items import QuotetutorialItem class QuoteSpider(scrapy.Spider): name = 'quotes' start_urls = [ 'http://quotes.toscrape.com' ] def parse(self, response): items=QuotetutorialItem() all_div_quotes=response.css("div.quote") for quote in all_div_quotes:...
[ "rifatsadique@gmail.com" ]
rifatsadique@gmail.com
875bebb4d44ea677fa57ab26b1ee653934bce9e1
87712b0c5eea5530a87db87ba66a157083ad5c2a
/searches/misplaced_tiles.py
346a9167681d479f62208f96efa7b46e0565be42
[]
no_license
jody-bailey/Slider-Puzzle-V2
cb4b9d1e9c79cfefbf3235c684467bbecaec65cd
43da9e3e46a3af403cd602ea56b78a4c196fd953
refs/heads/master
2020-04-02T08:58:50.958064
2018-11-15T07:30:59
2018-11-15T07:30:59
154,270,125
0
0
null
null
null
null
UTF-8
Python
false
false
7,859
py
# Jody Bailey # Intro to AI # 10/31/2018 # This class is used to perform the A* Misplaced Tiles search. It was designed # to be able to function as a stand-alone class as long as it receives the # required data to start. from helpers.interface import Interface from helpers.node import Node from copy import deepcopy im...
[ "jodybailey93@gmail.com" ]
jodybailey93@gmail.com
1f9df7ad4837b416f7849f88a38ff3ca943298c1
2aea0c8107d91519ae9d090c14ff7430d8593a21
/src/facebook_tools/commands/__init__.py
a9155e7ad498193998050979d86368f5d6862533
[]
no_license
osmay88/facebook-tools
cd775a2f0f73dd6004d3137e024525f22512788a
11c061472b4476b9951142c25e1238b9762ce79a
refs/heads/master
2023-01-02T06:19:26.562796
2020-10-22T03:08:04
2020-10-22T03:08:04
305,755,489
0
0
null
null
null
null
UTF-8
Python
false
false
63
py
from .token_commands import * from .messaging_commands import *
[ "cruzo@Cruzos-MacBook-Pro.local" ]
cruzo@Cruzos-MacBook-Pro.local
91a8cc0846d15cb77f1dac39e86a83ba81da4c66
9b162310e5db0f714dbd6019894eb5b04192b6aa
/src/windows-gam.spec
658f6450028749ee0c70daae3de86bc5c86028b0
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "LicenseRef-scancode-rsa-md4", "HPND-sell-variant", "LicenseRef-scancode-zeusbench", "NTP", "metamail", "Beerware", "LicenseRef-scancode-rsa-1990", "RSA-MD", "Spencer-94", "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
xbl3/GAMADV-XTD
c1d68911f4116157173838856f49151e05cd5658
a09efb7a10074dc052968ef82c1044f2a0b664b3
refs/heads/master
2022-04-08T22:30:39.715172
2020-02-22T18:05:00
2020-02-22T18:05:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
spec
# -*- mode: python -*- ssl_json_files = [ ('cacerts.pem', '.'), ('cros-aue-dates.json', '.'), ('cloudprint-v2.json', '.'), ('contacts-v3.json', '.'), ('email-audit-v1.json', '.'), ('email-settings-v2.json', '.'), ('sites-v1.json', '.') ] a = Analysis(['gam.py'], p...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
3f79e00b965db50e906a2485c2462430f3587e18
7af52c6aa0313a33bb437ea215c1b2dfed737a61
/DjangoBlogPost/settings.py
e100dd6bf493d8d11eb0d4876c814b2ac5e355de
[]
no_license
eslamfaisal/DjangoBlogPost
c0e6721606d568cf0a3888f6c474430b1cfb71c9
b7a124a069dd29c1dcc8faa5be2f6c3f430826c0
refs/heads/main
2023-05-13T22:23:12.376113
2021-06-02T07:14:57
2021-06-02T07:14:57
370,282,802
0
0
null
null
null
null
UTF-8
Python
false
false
3,390
py
""" Django settings for DjangoBlogPost project. Generated by 'django-admin startproject' using Django 3.2.3. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from ...
[ "eslam.faisal.ef@gmail.com" ]
eslam.faisal.ef@gmail.com
c6e1e8e4c74c351d7a7e2ed69672b2550f5367f3
54df8823933ad9e0d4d18b385856678f8b61589c
/mask_detection.py
04d9205df0b0398c76f5878b8571fffea36c6cee
[]
no_license
SagarBIjja-trilocode/face_mask_detection-master
f679f9001bbc42f17b5c49d521ae80ee59065876
9ce926ee352368bf06f2b9b57e80dad3977e0625
refs/heads/master
2022-06-08T10:09:16.269289
2020-05-07T18:12:48
2020-05-07T18:12:48
262,119,872
1
0
null
2020-05-07T22:03:24
2020-05-07T17:49:13
Python
UTF-8
Python
false
false
12,854
py
import cv2 import time import tensorflow as tf from tensorflow.python.platform import gfile import numpy as np import win32com.client def model_restore_from_pb(pb_path,node_dict): config = tf.ConfigProto(log_device_placement=True, allow_soft_placement=True, ...
[ "sagar.bijja@gmail.com" ]
sagar.bijja@gmail.com
606c5539a569b32e5fe5a87e273691730ee9f23e
77ab710ae6a574d7a77b28c33a53a7fe5d05b8e2
/Module5/practice/06_task_sort.py
5bd3ce3161e4a41151f63c0e2829468f14617c71
[]
no_license
BlackCranium/SpecialistPython2
37e0c08ffa7d9558ca0b62f37361c8fd6f857aca
2b4a33fd910246d137e6a74dd2a418352e0db30e
refs/heads/master
2023-06-13T22:43:57.489325
2021-02-13T02:06:05
2021-02-13T02:06:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
# Призеры олимпиады # По результатам олимпиады участники награждаются дипломами. # Набравшие одинаковые баллы получают дипломы одинаковой степени. # Призером олимпиады считается участник, получивший диплом не хуже III степени. # По результатам олимпиады определите количество призеров. # Вход: натуральное число приз...
[ "val@bmstu.ru" ]
val@bmstu.ru
9507f7fc6f1009cde77a4ff32c0f6a4a4ac1ce98
1b9d4ee23cf14f4a82409f8eefa7d37f8b7c1e92
/venv/bin/easy_install-3.6
7505534fa2bf3bab1a4d0e3a5f6e681f54493fbb
[]
no_license
narupi/CyberSecurityProgramming
a0a3a439c2760b255ca89d4e1a775054322e34a0
b464445e0a45ae63acc96b09ed548235bb93d040
refs/heads/master
2020-04-27T03:29:13.711563
2019-03-05T21:51:18
2019-03-05T21:51:18
174,025,934
0
0
null
null
null
null
UTF-8
Python
false
false
465
6
#!/home/narupi/PycharmProjects/CyberSecurityProgramming/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __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'(-scri...
[ "narupi1999@gmail.com" ]
narupi1999@gmail.com
8dffd484828558ccc0f9cc76142d46da927d7d7a
f390de67e6dd2ca8c6e369460084cb4d9c8c4a0c
/coursebuilder/common/safe_dom.py
8b20c79a16c6a622524c55376c0f9e26cdb3f246
[ "CC-BY-2.5", "CC-BY-3.0", "Apache-2.0" ]
permissive
andredias/course-builder
d2170076ef982444d55883b06b87f1a0da46a33b
ac4aa3131228a260c0a53b5d050dc78108126b88
refs/heads/master
2020-04-06T03:51:42.666679
2015-02-24T19:33:25
2015-02-24T19:33:25
33,021,540
0
0
null
null
null
null
UTF-8
Python
false
false
8,342
py
"""Classes to build sanitized HTML.""" __author__ = 'John Orr (jorr@google.com)' import cgi import re def escape(strg): return cgi.escape(strg, quote=1).replace("'", '&#39;').replace('`', '&#96;') class Node(object): """Base class for the sanitizing module.""" def __init__(self): self._parent...
[ "psimakov@google.com" ]
psimakov@google.com
129d0bd2ad47162e4995b7434dd11315aeb8900a
49f02d816373df9d5d3324f7e7857367995e244a
/main.py
2e2c25ec0755a9c7c770da254fbbc108fc2f666b
[]
no_license
harindr404/python
1a1337c18627d3f6de52e4eef59cc9b77f44b0c3
5834b187dfc5424e23aa8a5964cee13a66019fae
refs/heads/master
2021-01-22T10:46:21.428866
2017-02-16T08:45:19
2017-02-16T08:45:19
82,035,195
0
0
null
null
null
null
UTF-8
Python
false
false
908
py
import urllib from PIL import image import pytesseract from resizeimage import resizeimage import os import cv2 import numpy as np src_path="C:\Users\harindra sai tej\PycharmProjects\untitled" img_path="C:\Users\harindra sai tej\PycharmProjects\untitled\A-wise-man-can-learn" def get_string(img_path): img=...
[ "noreply@github.com" ]
noreply@github.com
d36baa1063d379c7832ecf0345d162789b73d35d
aca12201f04df6e5f8dc86e47249ddb063bfe56d
/MusicTransformer/model.py
458c1f2bc3b93e3be3b8f067091da8efedea2c49
[]
no_license
modulabs/RubatoLab
e2605388b517a792eb4f9b0a00831cc2e35e6dd8
d7860508e3dfe34cb2ea823b7e8ccac9b3f26b43
refs/heads/master
2020-06-23T22:44:59.451592
2020-01-07T08:32:03
2020-01-07T08:32:03
198,775,552
10
3
null
2020-01-06T09:09:21
2019-07-25T06:57:17
Jupyter Notebook
UTF-8
Python
false
false
9,647
py
import tensorflow as tf import numpy as np # ref : https://github.com/scpark20/music-transformer/blob/master/music-transformer.ipynb class RelativeGlobalAttention(tf.keras.layers.Layer): def __init__(self, d_model, num_heads): super(RelativeGlobalAttention, self).__init__() self.num_heads = num_he...
[ "sjs0827@naver.com" ]
sjs0827@naver.com
80ceed4ac066ee786c77744bdc31d0acfd1fd6e0
ca28f1535bb9a4b6504d5f6a5c5abf1a4569037f
/pos_umbrella/pos_umbrella/report/eod_report/eod_report.py
fc9a6b62af7844ad6a75cb96ea3541872cb50a0a
[ "MIT" ]
permissive
worldkingpradeep/pos_umbrella
8b8f83cb7d638f15a1808e779656e250549c5e26
6fa7a51a9c019b533befcf85955fdd5e165c6a5c
refs/heads/master
2023-04-20T06:30:37.054666
2021-05-14T17:19:59
2021-05-14T17:19:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,285
py
# Copyright (c) 2013, jan and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe def execute(filters=None): columns, data = [], [] from_date = filters.get("from_date") to_date = filters.get("to_date") pos_profile = filters.get("pos_profile") prin...
[ "jangeles@bai.ph" ]
jangeles@bai.ph
3544de98ec60610ff530b7cad0e147d033b35846
8d03bc359f6c7e2addc36d423cf979c54da5617e
/mysite/urls.py
b06eed44f976296399080361e8a464ddcfc74a84
[]
no_license
JiehuiSun/chat
f878cd5fc2cdc7b6d0ae6b76f97bb9c173e4b2a2
518d0323bedc299b15bde329eb61d93c14be668c
refs/heads/master
2021-06-28T16:02:40.193928
2019-06-04T08:58:17
2019-06-04T08:58:17
190,165,897
3
0
null
2021-06-10T21:31:53
2019-06-04T08:59:39
Python
UTF-8
Python
false
false
971
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
[ "sunjiehuimail@foxmail.com" ]
sunjiehuimail@foxmail.com
d28dc3b15e2c4a8f860d6f069ffd150fe3d54a26
bc69d5c5eb705c066c87e952501e34bae6741095
/pe25/pe25.py
8a096135e3e91200861da180f6f13edd5553d67a
[]
no_license
dpflann/Project_Euler
2c32cbb084d87cf7d1e9f321009027a582c6c4db
4b829b7e48d5ff2f755addb159fc2a67265191a6
refs/heads/master
2020-12-23T02:47:32.145571
2017-11-07T12:09:56
2017-11-07T12:09:56
6,812,820
2
0
null
2017-11-07T12:09:57
2012-11-22T12:32:29
Python
UTF-8
Python
false
false
1,286
py
# The 12th term, F12, is the first term to contain three digits. # # What is the first term in the Fibonacci sequence to contain 1000 digits? import math as m def digits(n): log10n = m.log10(n) ceilLog10n = m.ceil(log10n) if log10n == ceilLog10n: return log10n + 1 return ceilLog10n def fibona...
[ "d.p.flannery@gmail.com" ]
d.p.flannery@gmail.com
bb8a2329570788c89b7c148065caa934ba72c375
dab9b0cff33585c2a1575a715dd6e45c6f02020e
/exercises/17_serialization/task_17_4.py
2a3ad560580ae573951a8ba39c61026eaed8f589
[]
no_license
notoriginalnik/pyneng-exe
33f2beb7e5fa0667f4e5db7e23a7e8a66a17f3df
3e790d63edfa788a86e3a3fbb6c53ff160a6f12a
refs/heads/master
2020-12-14T11:00:48.596852
2020-01-19T10:11:05
2020-01-19T10:11:05
234,720,771
0
0
null
null
null
null
UTF-8
Python
false
false
2,565
py
# -*- coding: utf-8 -*- ''' Задание 17.4 Создать функцию write_last_log_to_csv. Аргументы функции: * source_log - имя файла в формате csv, из которого читаются данные (пример mail_log.csv) * output - имя файла в формате csv, в который будет записан результат Функция ничего не возвращает. Функция write_last_log_to_c...
[ "notoriginalnik@gmail.com" ]
notoriginalnik@gmail.com
1f9bc6df32c49b4d1b0b4f285e91f730facd4014
5a3d2450d1af3331a7b7b9e6e4252de17c67b3b3
/masakarimonitors/tests/unit/hostmonitor/consul_check/test_consul_helper.py
379b3254819b4a9daee33947cbee5a92914e0a94
[ "Apache-2.0" ]
permissive
openstack/masakari-monitors
f4bc3900a555ad3b18867f073d2f8ccd11250d5d
4aa998d492143f63d5ac32c6c000dff81e69a7af
refs/heads/master
2023-08-15T14:28:52.627648
2023-02-28T13:33:26
2023-02-28T13:33:26
71,113,678
11
12
null
null
null
null
UTF-8
Python
false
false
4,853
py
# Copyright(c) 2021 Inspur # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
[ "sugar-2008@163.com" ]
sugar-2008@163.com