hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
⌀
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
⌀
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
⌀
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
⌀
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
⌀
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
⌀
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
⌀
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
⌀
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
⌀
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
99d9a48b5d99ac3508e56112ec75780dfbe5858e
8,893
py
Python
rnaindel/rnaindel_lib/indel_annotator.py
adamdingliang/RNAIndel
bc154a25a459ca0dd5c1f2ce064944e979105d23
[ "Apache-2.0" ]
1
2019-01-07T21:21:28.000Z
2019-01-07T21:21:28.000Z
rnaindel/rnaindel_lib/indel_annotator.py
adamdingliang/RNAIndel
bc154a25a459ca0dd5c1f2ce064944e979105d23
[ "Apache-2.0" ]
2
2019-01-05T16:39:41.000Z
2019-01-14T16:00:43.000Z
rnaindel/rnaindel_lib/indel_annotator.py
adamdingliang/RNAIndel
bc154a25a459ca0dd5c1f2ce064944e979105d23
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """2nd step of the analysis Checks if indels are coding or non-coding and annotates coding indels with variant effect indel_annotator is the main routine of this module """ import sys import pysam import logging import pandas as pd from functools import partial from .indel_curator import cura...
30.145763
88
0.534353
99db77b0d0571155bd78aac43f3d762eb5c8d3d3
1,494
py
Python
problem_solving/python/algorithms/implementation/cavity_map.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
null
null
null
problem_solving/python/algorithms/implementation/cavity_map.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
null
null
null
problem_solving/python/algorithms/implementation/cavity_map.py
kcc3/hackerrank-solutions
f862b44b840bd447d99dc148f6bb5e2f5bfb8a86
[ "MIT" ]
1
2020-06-04T09:23:19.000Z
2020-06-04T09:23:19.000Z
def cavity_map(grid): """Hackerrank Problem: https://www.hackerrank.com/challenges/cavity-map/problem You are given a square map as a matrix of integer strings. Each cell of the map has a value denoting its depth. We will call a cell of the map a cavity if and only if this cell is not on the border of the ...
33.954545
119
0.615127
99dd827cc75c97313b16be59de14d6bad416a8e2
1,242
py
Python
rugosa/emulation/call_hooks/win_api/shlwapi.py
Defense-Cyber-Crime-Center/rugosa
70f5b1db7e3f02ecccb0495fe1c0c77930769276
[ "MIT" ]
1
2022-03-13T03:03:31.000Z
2022-03-13T03:03:31.000Z
rugosa/emulation/call_hooks/win_api/shlwapi.py
Defense-Cyber-Crime-Center/rugosa
70f5b1db7e3f02ecccb0495fe1c0c77930769276
[ "MIT" ]
null
null
null
rugosa/emulation/call_hooks/win_api/shlwapi.py
Defense-Cyber-Crime-Center/rugosa
70f5b1db7e3f02ecccb0495fe1c0c77930769276
[ "MIT" ]
null
null
null
""" Functions found in shlwapi.dll Shell Lightweight Utility Functions """ import logging import ntpath from ...call_hooks import builtin_func logger = logging.getLogger(__name__)
25.346939
67
0.738325
99ddb51556072c9fe39d711ea4b8ad9ad506d836
1,057
py
Python
massage/urls.py
Johncs2d/accounting-system
46d660044b198afadbf6f90b72376f6a69166c5f
[ "MIT" ]
null
null
null
massage/urls.py
Johncs2d/accounting-system
46d660044b198afadbf6f90b72376f6a69166c5f
[ "MIT" ]
2
2021-03-19T00:39:18.000Z
2021-03-30T12:48:58.000Z
massage/urls.py
Johncs2d/accounting-system
46d660044b198afadbf6f90b72376f6a69166c5f
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('info', views.info, name='info'), path('chart', views.charts, name='chart'), path('trialbalance', views.trialbalance, name='trialbalance'), path('ledger', views.ledger, name='ledger'), pat...
48.045455
75
0.69631
99dffa459bc7dfffb6f4a430b3ffac5f8cc05734
194
py
Python
smores/__init__.py
codylandry/Smores
cc0717b5edd0c09982820cc8705f73119641d0a2
[ "MIT" ]
7
2017-09-18T13:04:30.000Z
2021-06-03T06:48:26.000Z
smores/__init__.py
codylandry/Smores
cc0717b5edd0c09982820cc8705f73119641d0a2
[ "MIT" ]
1
2017-11-22T20:45:27.000Z
2017-11-22T20:45:27.000Z
smores/__init__.py
codylandry/Smores
cc0717b5edd0c09982820cc8705f73119641d0a2
[ "MIT" ]
null
null
null
from .smores import Smores, AutocompleteResponse, TemplateString, TemplateFile, Schema, Nested __all__ = ['Smores', 'AutocompleteResponse', 'TemplateString', 'TemplateFile', 'Schema', 'Nested']
64.666667
98
0.778351
99e0f1004b2ba5a8602f4459d12c69e706b39a07
23,795
py
Python
opslib/icsec2.py
movermeyer/opslib
157be1342cf24297ef6b79cbe320207e610c9c81
[ "Apache-2.0" ]
1
2015-06-10T17:47:56.000Z
2015-06-10T17:47:56.000Z
opslib/icsec2.py
movermeyer/opslib
157be1342cf24297ef6b79cbe320207e610c9c81
[ "Apache-2.0" ]
null
null
null
opslib/icsec2.py
movermeyer/opslib
157be1342cf24297ef6b79cbe320207e610c9c81
[ "Apache-2.0" ]
2
2016-02-29T23:48:57.000Z
2018-03-05T17:26:35.000Z
""" IcsEc2: Library for EC2 ----------------------- +--------------------+------------+--+ | This is the IcsEc2 common library. | +--------------------+------------+--+ """ from operator import attrgetter from time import time, mktime, sleep, gmtime, strftime, strptime from boto.ec2 import get_region from boto.ec2.c...
32.155405
79
0.586005
99e153d1e909e07a485231b3678975bc8a52fb3d
540
py
Python
CS-190/Labs/Lab6.py
lividsubset3/College-CS
6f1eb6b10e43a37654335331758677c797034961
[ "MIT" ]
null
null
null
CS-190/Labs/Lab6.py
lividsubset3/College-CS
6f1eb6b10e43a37654335331758677c797034961
[ "MIT" ]
null
null
null
CS-190/Labs/Lab6.py
lividsubset3/College-CS
6f1eb6b10e43a37654335331758677c797034961
[ "MIT" ]
null
null
null
# Pair Programming passphrase = "Megmo" and "megmo" null1 = "123" null2 = "letmein" null3 = "password" while True: password = str(input("Please enter password: ")) if null3 in password: print("Incorrect | Password has password inside") if null2 in password: print("Incorrect | password h...
22.5
72
0.655556
99e157d8a51a96d3537d160b4ad726d341cf4d8c
149
py
Python
pywky/db/__init__.py
loganjhennessy/worky
d94a1ea0fcde95c3257a7d1e438bf3c589b60559
[ "MIT" ]
null
null
null
pywky/db/__init__.py
loganjhennessy/worky
d94a1ea0fcde95c3257a7d1e438bf3c589b60559
[ "MIT" ]
null
null
null
pywky/db/__init__.py
loganjhennessy/worky
d94a1ea0fcde95c3257a7d1e438bf3c589b60559
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from pywky.db.models import Base engine = create_engine('sqlite:///worky_dev.db') Base.metadata.bind = engine
21.285714
48
0.791946
99e2c1f902345ae0e7cb8b3c3a60e5be6b0705b4
2,680
py
Python
QLM_utils.py
qiuchili/PyQLM
ccd5f64f86cf88f618e30808d598f3785f5e6483
[ "MIT" ]
null
null
null
QLM_utils.py
qiuchili/PyQLM
ccd5f64f86cf88f618e30808d598f3785f5e6483
[ "MIT" ]
null
null
null
QLM_utils.py
qiuchili/PyQLM
ccd5f64f86cf88f618e30808d598f3785f5e6483
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from __future__ import division import numpy as np import os import math import pickle as Pickle import pynlpir import random from math import log from numpy import linalg as LA
26.8
140
0.691791
99e3ac14b2ccc4454ba52221648a884910d0156c
69
py
Python
run.py
econchick/foodify
87b2e395b4e720c1425f56fba790a4be2e8fdea9
[ "Zlib" ]
1
2016-09-29T16:51:00.000Z
2016-09-29T16:51:00.000Z
run.py
econchick/foodify
87b2e395b4e720c1425f56fba790a4be2e8fdea9
[ "Zlib" ]
null
null
null
run.py
econchick/foodify
87b2e395b4e720c1425f56fba790a4be2e8fdea9
[ "Zlib" ]
null
null
null
#! /usr/bin/env python from foodify import app app.run(debug = True)
17.25
23
0.724638
99e3d3333d7aa18597378ca4a913a1eccc683dc6
4,400
py
Python
evaluations.py
leandrocoding/sudoku
708649bada5b219f50a0cb977ad4317b7e7be2f6
[ "MIT" ]
4
2020-07-05T08:19:40.000Z
2021-01-02T03:00:27.000Z
evaluations.py
leandrocoding/sudoku
708649bada5b219f50a0cb977ad4317b7e7be2f6
[ "MIT" ]
1
2021-03-13T10:41:59.000Z
2021-03-13T10:41:59.000Z
evaluations.py
leandrocoding/sudoku
708649bada5b219f50a0cb977ad4317b7e7be2f6
[ "MIT" ]
null
null
null
"""This python script can be used to test the correctness and finiteness of the algorithms.""" from multiprocessing import Process from BASolver2 import bASolve, bASolverHandle from OPBASolver import OPSolverHandle import time # bASolve() def testcorrectness(algo): """"Test the algorithm specified in <algo> ...
35.483871
278
0.503409
99e491fbbf30f0808a4fe6456d18b36c7d57a986
1,647
py
Python
src/server.py
vishwajithsandaru/party-qr-generator-flask
10c44ec8aa03e561e9e6415b681a0e200184b120
[ "MIT" ]
null
null
null
src/server.py
vishwajithsandaru/party-qr-generator-flask
10c44ec8aa03e561e9e6415b681a0e200184b120
[ "MIT" ]
null
null
null
src/server.py
vishwajithsandaru/party-qr-generator-flask
10c44ec8aa03e561e9e6415b681a0e200184b120
[ "MIT" ]
null
null
null
from crypt import methods from this import s from flask import Flask, request, jsonify import base64 import os from Crypto.Cipher import AES from urllib.parse import unquote app = Flask(__name__) secret = 'TESTTESTTESTTEST' p_char = '%' if __name__ == "__main__": app.run(host="0.0.0.0", debug=True)
25.734375
93
0.659381
99e52f49796b5d41076aba34de619bcc405c5d52
155
py
Python
m06_file1.py
AmreshTripathy/Advance-Python
0cfe3fc263af1080edbf9167895a51d27be64993
[ "Apache-2.0" ]
null
null
null
m06_file1.py
AmreshTripathy/Advance-Python
0cfe3fc263af1080edbf9167895a51d27be64993
[ "Apache-2.0" ]
null
null
null
m06_file1.py
AmreshTripathy/Advance-Python
0cfe3fc263af1080edbf9167895a51d27be64993
[ "Apache-2.0" ]
null
null
null
# print (__name__) if __name__ == '__main__': n = input('Enter Your name: ') greet(n)
19.375
36
0.574194
99e565c6c04330549af61e5e41e6e64599dd5a85
404
py
Python
Day 02 - Beginner - Understanding Data Types and How to Manipulate Strings/04_PROJECT_tip_calculator.py
not-lucky/100_Days_of_Code_-_The_Complete_Python_Pro_Bootcamp_for_2022
2c21c190ab756176bd7b577b3f8a0370b75c3828
[ "MIT" ]
null
null
null
Day 02 - Beginner - Understanding Data Types and How to Manipulate Strings/04_PROJECT_tip_calculator.py
not-lucky/100_Days_of_Code_-_The_Complete_Python_Pro_Bootcamp_for_2022
2c21c190ab756176bd7b577b3f8a0370b75c3828
[ "MIT" ]
null
null
null
Day 02 - Beginner - Understanding Data Types and How to Manipulate Strings/04_PROJECT_tip_calculator.py
not-lucky/100_Days_of_Code_-_The_Complete_Python_Pro_Bootcamp_for_2022
2c21c190ab756176bd7b577b3f8a0370b75c3828
[ "MIT" ]
null
null
null
print("wewcome to the tip cawcuwatow. >_<") bill = float(input("What is the total bill?\n$")) tip_percentage = float(input("What percentage tip will you like to give?\n")) split_among = int(input("How many people to split the bill?\n")) total_bill_with_tip = bill + (bill * tip_percentage / 100) each_pay = round(total...
36.727273
77
0.725248
99ea05eb7467ddb1c7614fa510b122a7f9c67b31
4,619
py
Python
lib/consistencyCheck.py
pnlbwh/multi-shell-dMRIharmonization
46e207c5d2b7fd68ddbbd1b305c33cfd45351ee8
[ "CNRI-Python", "Info-ZIP" ]
4
2020-04-28T15:31:07.000Z
2022-02-15T07:04:21.000Z
lib/consistencyCheck.py
pnlbwh/multi-shell-dMRIharmonization
46e207c5d2b7fd68ddbbd1b305c33cfd45351ee8
[ "CNRI-Python", "Info-ZIP" ]
30
2019-11-10T20:51:34.000Z
2021-04-19T19:08:14.000Z
lib/consistencyCheck.py
pnlbwh/multi-shell-dMRIharmonization
46e207c5d2b7fd68ddbbd1b305c33cfd45351ee8
[ "CNRI-Python", "Info-ZIP" ]
3
2019-10-18T16:06:03.000Z
2021-02-21T01:10:45.000Z
#!/usr/bin/env python # =============================================================================== # dMRIharmonization (2018) pipeline is written by- # # TASHRIF BILLAH # Brigham and Women's Hospital/Harvard Medical School # tbillah@bwh.harvard.edu, tashrifbillah@gmail.com # # ====================================...
32.076389
158
0.646677
99ebaf6f0294d590f15abaa22804c5ca352ff36f
1,283
py
Python
tests/test_cross_corr.py
halomod/halomod
f4f207ac70ed32a7f7e16139698c85eda1f0b6a9
[ "MIT" ]
4
2021-02-23T13:28:59.000Z
2022-02-11T15:53:57.000Z
tests/test_cross_corr.py
halomod/halomod
f4f207ac70ed32a7f7e16139698c85eda1f0b6a9
[ "MIT" ]
20
2021-02-02T15:08:28.000Z
2021-09-20T18:26:49.000Z
tests/test_cross_corr.py
halomod/halomod
f4f207ac70ed32a7f7e16139698c85eda1f0b6a9
[ "MIT" ]
3
2021-03-07T15:28:34.000Z
2021-08-21T21:41:44.000Z
import numpy as np from halomod.cross_correlations import ConstantCorr, CrossCorrelations def test_cross_same(): """Test if using two components that are the same gives the same as an auto corr.""" cross = CrossCorrelations( cross_hod_model=ConstantCorr, halo_model_1_params={ "ex...
29.837209
89
0.643804
99ed550f29778c36dd9474368aebbf80d7e96b69
7,570
py
Python
apps/graphs/bandwidth_performance_graph.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
1
2022-03-21T02:26:27.000Z
2022-03-21T02:26:27.000Z
apps/graphs/bandwidth_performance_graph.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
null
null
null
apps/graphs/bandwidth_performance_graph.py
cucl-srg/Measuring-Burstiness
b9024bf606362d5587773a0c5b892fcb97a3d577
[ "Apache-2.0" ]
1
2020-08-10T16:46:05.000Z
2020-08-10T16:46:05.000Z
import argparse import matplotlib import scipy.stats matplotlib.use("Agg") import sys import matplotlib.pyplot as plt import numpy as np import os sys.path.insert(0, '/root/jcw78/process_pcap_traces/') import graph_utils graph_utils.latexify(space_below_graph=0.4) if __name__ == "__main__": parser = argparse...
35.707547
122
0.604359
99edf83c304fa89bec4ed4d3b21dd4548b013c50
1,368
py
Python
bot/utils/errors.py
Clutter-Development/Clutter
6b725c016a439958caaa7d88bacae8e2b11ca272
[ "CC0-1.0" ]
6
2022-02-04T17:11:19.000Z
2022-03-05T09:14:39.000Z
bot/utils/errors.py
Clutter-Development/Clutter
6b725c016a439958caaa7d88bacae8e2b11ca272
[ "CC0-1.0" ]
2
2022-02-08T16:53:42.000Z
2022-02-19T07:44:19.000Z
bot/utils/errors.py
Clutter-Development/Clutter
6b725c016a439958caaa7d88bacae8e2b11ca272
[ "CC0-1.0" ]
2
2022-02-18T21:28:57.000Z
2022-02-23T17:08:18.000Z
import discord from discord import app_commands as app __all__ = ( "ClutterError", "InDevelopmentMode", "UserIsBlacklisted", "GuildIsBlacklisted", "UserHasBeenBlacklisted", "GlobalCooldownReached", "UnknownTranslationString", )
28.5
105
0.736111
99ef4c4300edcee0f21908e1a69183d6ec7a6f37
44
py
Python
seq2seq/seq2seq/loss/__init__.py
qbetterk/user-simulator
77caca30ff67b9112b1fe5e65e191c6b5e25532c
[ "Apache-2.0" ]
20
2019-11-08T02:28:28.000Z
2022-02-07T09:20:21.000Z
seq2seq/seq2seq/loss/__init__.py
qbetterk/user-simulator
77caca30ff67b9112b1fe5e65e191c6b5e25532c
[ "Apache-2.0" ]
21
2019-11-08T02:27:40.000Z
2022-03-12T00:02:54.000Z
seq2seq/seq2seq/loss/__init__.py
qbetterk/user-simulator
77caca30ff67b9112b1fe5e65e191c6b5e25532c
[ "Apache-2.0" ]
8
2020-02-10T07:28:37.000Z
2021-09-23T09:42:14.000Z
from .loss import Loss, NLLLoss, Perplexity
22
43
0.795455
99efb291ee7023242cf3315eacce5ac12e340e87
5,703
py
Python
arduino_kernel/kernel.py
jpsaenzmo/jupyter-lab-kernelino
57b20c9cecf74d6533243729f47ab9cc74e0ef7d
[ "BSD-3-Clause" ]
null
null
null
arduino_kernel/kernel.py
jpsaenzmo/jupyter-lab-kernelino
57b20c9cecf74d6533243729f47ab9cc74e0ef7d
[ "BSD-3-Clause" ]
null
null
null
arduino_kernel/kernel.py
jpsaenzmo/jupyter-lab-kernelino
57b20c9cecf74d6533243729f47ab9cc74e0ef7d
[ "BSD-3-Clause" ]
null
null
null
from ipykernel.kernelbase import Kernel import json import os import subprocess import sys import urllib from urllib.request import urlopen from requests.compat import urljoin from notebook.notebookapp import list_running_servers from .board import Board, BoardError SKETCH_FOLDER = ".arduino/sketch"
35.867925
88
0.476065
99f29d7b80d7894462f8ed96f68faef9669e0b6b
3,022
py
Python
baidu_code/bcoreapi/info/schedule.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
null
null
null
baidu_code/bcoreapi/info/schedule.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
null
null
null
baidu_code/bcoreapi/info/schedule.py
deevarvar/myLab
7a5019f5f7fc11e173d350e6e2a7d2c80504782d
[ "MIT" ]
3
2016-10-08T15:01:49.000Z
2018-05-24T03:14:24.000Z
#-*- coding=utf-8 -*- ''' @description: @author: miliang<miliang@baidu.com> ''' from base import Info_Base if __name__ == '__main__': case = Info_Schedule(cinema_id=8350) case.execute()
43.171429
154
0.531105
99f2a8cd466b198120000a799808ca4ceb565c8a
465
py
Python
ping.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
ping.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
ping.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
import os if __name__=="__main__": main()
23.25
67
0.556989
99f3591924ec7be6b6dc2dbe39d731a3c039c201
971
py
Python
MathUtilities.py
paulmontecot/PythonDFTMotionP3
741e544e0885e97a5469649ae2a90eadbec914c5
[ "MIT" ]
null
null
null
MathUtilities.py
paulmontecot/PythonDFTMotionP3
741e544e0885e97a5469649ae2a90eadbec914c5
[ "MIT" ]
null
null
null
MathUtilities.py
paulmontecot/PythonDFTMotionP3
741e544e0885e97a5469649ae2a90eadbec914c5
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd
27.742857
93
0.510814
99f3fc94d7ce6e669de010cfe49cc2e8d70b8888
3,461
py
Python
attention.py
lil-lab/atis
08a17a7be8cd7b40d2f35e089947df4d543b3321
[ "MIT" ]
21
2019-06-03T14:21:00.000Z
2022-01-14T13:43:42.000Z
attention.py
clic-lab/atis
08a17a7be8cd7b40d2f35e089947df4d543b3321
[ "MIT" ]
3
2018-07-05T13:42:31.000Z
2019-04-02T12:01:18.000Z
attention.py
clic-lab/atis
08a17a7be8cd7b40d2f35e089947df4d543b3321
[ "MIT" ]
12
2018-06-13T00:11:33.000Z
2019-04-15T22:12:08.000Z
"""Contains classes for computing and keeping track of attention distributions. """ from collections import namedtuple import dynet as dy import dynet_utils as du
39.781609
86
0.608206
99f5c968619741d599aec34b3b7698daeeb82d4a
2,655
py
Python
v0/hack1.py
dhvakr/Farm-Hub---Hackverse-2021
3444c16dc792a3d533a071f41d53b7b9efbf0a78
[ "MIT" ]
2
2021-04-21T07:26:01.000Z
2021-04-21T07:26:17.000Z
v0/hack1.py
dhvakr/Farm-Hub---Hackverse-2021
3444c16dc792a3d533a071f41d53b7b9efbf0a78
[ "MIT" ]
null
null
null
v0/hack1.py
dhvakr/Farm-Hub---Hackverse-2021
3444c16dc792a3d533a071f41d53b7b9efbf0a78
[ "MIT" ]
2
2021-05-21T08:44:41.000Z
2021-07-16T14:59:24.000Z
# -*- coding: utf-8 -*- """ Created on Saturday - 2021 @author: DIVAKARAN """ import pandas as pd import numpy as np from sklearn import preprocessing from sklearn.linear_model import LogisticRegression from sklearn.model_selection import cross_val_score from keras.models import Sequential from keras.lay...
34.480519
215
0.698682
99f5e77d5e735a8f18f4fdcee74e3f414905ae28
1,978
py
Python
app/base/management/commands/send_reminder.py
Sovol2018/sovolo
54250e42b4af3391d2f99690f45b93ab240563c2
[ "MIT" ]
2
2017-06-06T11:34:49.000Z
2017-10-24T13:09:50.000Z
app/base/management/commands/send_reminder.py
Sovol2018/sovolo
54250e42b4af3391d2f99690f45b93ab240563c2
[ "MIT" ]
346
2016-08-09T20:50:57.000Z
2018-08-28T06:52:17.000Z
app/base/management/commands/send_reminder.py
hejob/sovolo
8b73253d7bf0427c7ae0ebb6d8e3d70e118e8427
[ "MIT" ]
3
2017-11-27T14:07:57.000Z
2018-08-13T15:51:01.000Z
# -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.template.loader import get_template from event.models import Event, Frame from base.utils import send_template_mail from django.utils import timezone import datetime import sys import io sys.stdout = io.TextIOWrapper(sys.stdout.buff...
34.103448
66
0.58999
99f8789335127ad626aebedbfb8f6b1f855bca1b
18,797
py
Python
irida_import/tests/integration/test_irida_import_int.py
phac-nml/irida-galaxy-importer
8b85bad43272d523f6b0cf50d9fcce355d3b966e
[ "Apache-2.0" ]
6
2015-11-24T21:51:54.000Z
2022-03-09T15:08:52.000Z
irida_import/tests/integration/test_irida_import_int.py
phac-nml/irida-galaxy-importer
8b85bad43272d523f6b0cf50d9fcce355d3b966e
[ "Apache-2.0" ]
16
2016-11-22T14:20:15.000Z
2021-12-20T21:28:28.000Z
irida_import/tests/integration/test_irida_import_int.py
phac-nml/irida-galaxy-importer
8b85bad43272d523f6b0cf50d9fcce355d3b966e
[ "Apache-2.0" ]
2
2019-07-12T20:10:30.000Z
2019-09-26T20:52:17.000Z
import socket import getpass import inspect import time import sys import logging import os import configparser import pytest import subprocess from tempfile import mkdtemp from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import StaleElementRef...
42.915525
116
0.628239
99fe11a820f272f49a922eba7ff98cc3f28aaa1e
14,822
py
Python
code/sumContext.py
NIEHS/P-MACD
82fa36f6ccbdccb63985d28b0c41c9084b9e2b18
[ "MIT" ]
2
2021-06-02T20:34:27.000Z
2021-09-06T22:36:10.000Z
code/sumContext.py
NIEHS/P-MACD
82fa36f6ccbdccb63985d28b0c41c9084b9e2b18
[ "MIT" ]
null
null
null
code/sumContext.py
NIEHS/P-MACD
82fa36f6ccbdccb63985d28b0c41c9084b9e2b18
[ "MIT" ]
2
2021-04-03T00:31:13.000Z
2022-01-31T15:40:29.000Z
## This code was developed and authored by Les Klimczak, Ph.D. ## Unauthorized commercial reuse of the code and removal of this notice ## are prohibited. ## This research was supported by the Intramural Research Program of the NIH, ## National Institute of Environmental Health Sciences. import os, re, sys, copy, nump...
32.362445
253
0.672716
99fe12ff4c35b26e29c870cb2838c857b4760a02
6,757
py
Python
app/environments/routes.py
Jeoffreybauvin/puppenc
8c4f0bea9208dc7628e9e0813f20d26543caa9bb
[ "Apache-2.0" ]
5
2017-03-24T21:43:12.000Z
2021-12-13T12:04:35.000Z
app/environments/routes.py
Jeoffreybauvin/puppenc
8c4f0bea9208dc7628e9e0813f20d26543caa9bb
[ "Apache-2.0" ]
12
2017-04-03T16:04:14.000Z
2019-05-22T14:32:45.000Z
app/environments/routes.py
Jeoffreybauvin/puppenc
8c4f0bea9208dc7628e9e0813f20d26543caa9bb
[ "Apache-2.0" ]
2
2017-04-15T17:13:47.000Z
2021-06-01T04:04:28.000Z
from flask_restful import Resource from flask import jsonify, request from app.puppenc import api, db, app, auth, PuppencResource from app.decorators import * from app.environments.models import Environment from app.environments.schema import EnvironmentSchema
37.960674
139
0.540033
99ff21128f28ade08f135547e7c3ca6883ffbc73
5,675
py
Python
human_feedback.py
XushengLuo/SocialRobotHumanFeedback
db609bc76c11528ea611dcbd21982e0ac6d50b71
[ "BSD-2-Clause" ]
null
null
null
human_feedback.py
XushengLuo/SocialRobotHumanFeedback
db609bc76c11528ea611dcbd21982e0ac6d50b71
[ "BSD-2-Clause" ]
null
null
null
human_feedback.py
XushengLuo/SocialRobotHumanFeedback
db609bc76c11528ea611dcbd21982e0ac6d50b71
[ "BSD-2-Clause" ]
null
null
null
import numpy as np from shapely.geometry import Point, LineString, Polygon from smallest_enclosing_circle import make_circle from itertools import groupby from operator import itemgetter # def human_feedback(x, human_cluster, point_cluster, obstacle): # # human are inside the polygon # score = 0 # index =...
39.685315
123
0.492863
82011fa86716754e2702eaa340eb8b60c131cddc
470
py
Python
validation-api/definitions/path.py
DILCISBoard/py-ip-validator
1a00f7205d3676cf24c993076614fcbeb50cf8d7
[ "Apache-2.0" ]
2
2018-11-20T12:17:57.000Z
2019-09-28T21:01:38.000Z
validation-api/definitions/path.py
DILCISBoard/py-ip-validator
1a00f7205d3676cf24c993076614fcbeb50cf8d7
[ "Apache-2.0" ]
2
2020-06-15T09:28:44.000Z
2020-06-18T10:30:26.000Z
validation-api/definitions/path.py
DILCISBoard/py-ip-validator
1a00f7205d3676cf24c993076614fcbeb50cf8d7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # coding=UTF-8 # # METS Validator Portal # Copyright (C) 2017 # All rights reserved. # # This code is distributed under the terms of the GNU General Public # License, Version 3. See the text file "COPYING" for further details # about the terms of this license. # this means that if this script is exec...
18.076923
69
0.680851
8201bf3c0e643a911851cd3ab506967ec106559e
8,286
py
Python
MI/classify.py
n778509775/NWCQ
72851d26f470465e9e13b219a12d52daa5e1ceed
[ "MIT" ]
1
2021-10-17T02:13:27.000Z
2021-10-17T02:13:27.000Z
MI/classify.py
n778509775/NWCQ
72851d26f470465e9e13b219a12d52daa5e1ceed
[ "MIT" ]
null
null
null
MI/classify.py
n778509775/NWCQ
72851d26f470465e9e13b219a12d52daa5e1ceed
[ "MIT" ]
null
null
null
#!/usr/bin/env python import torch.utils.data import numpy as np import random import time import matplotlib.pyplot as plt from tkinter import _flatten from function import plot_clas_loss, pre_processing from sklearn.metrics import roc_auc_score import torch import torch.nn as nn from torch.autograd import Variable i...
35.715517
131
0.621289
8201c67d288e4465f79cc1d4182769abefabbba6
966
py
Python
pieces/queen.py
eelviral/Chess-Game-Project
bd11a727221250f6c3dbc86a370742040f51be0a
[ "MIT" ]
null
null
null
pieces/queen.py
eelviral/Chess-Game-Project
bd11a727221250f6c3dbc86a370742040f51be0a
[ "MIT" ]
null
null
null
pieces/queen.py
eelviral/Chess-Game-Project
bd11a727221250f6c3dbc86a370742040f51be0a
[ "MIT" ]
null
null
null
from piece import Piece from .rook import Rook from .bishop import Bishop
32.2
68
0.63354
82021110f6f9c2d0fb36aa62a5093fee91e387ae
3,842
py
Python
idgames-extract/src/doom/doomimage.py
GitExl/DoomIdgamesArchive
6f7124de5c2bab256bb2255b309f50a958780b9d
[ "BSD-2-Clause" ]
2
2019-05-05T02:04:45.000Z
2019-07-10T18:49:31.000Z
idgames-extract/src/doom/doomimage.py
GitExl/DoomIdgamesArchive
6f7124de5c2bab256bb2255b309f50a958780b9d
[ "BSD-2-Clause" ]
null
null
null
idgames-extract/src/doom/doomimage.py
GitExl/DoomIdgamesArchive
6f7124de5c2bab256bb2255b309f50a958780b9d
[ "BSD-2-Clause" ]
3
2016-11-08T21:03:28.000Z
2019-05-12T21:45:37.000Z
from struct import Struct from typing import Optional from PIL import Image from doom.palette import Palette
29.106061
89
0.525508
82027cf84d56a19e89654387f3e3771d2c030696
4,327
py
Python
bdd_mtl/tools/eval_seg.py
XDong18/bdd-mtl
90459c090a2bc4a89a929740e5cf5d37c1b34a4b
[ "BSD-3-Clause" ]
null
null
null
bdd_mtl/tools/eval_seg.py
XDong18/bdd-mtl
90459c090a2bc4a89a929740e5cf5d37c1b34a4b
[ "BSD-3-Clause" ]
null
null
null
bdd_mtl/tools/eval_seg.py
XDong18/bdd-mtl
90459c090a2bc4a89a929740e5cf5d37c1b34a4b
[ "BSD-3-Clause" ]
null
null
null
import argparse import boundary_utils as bu import numpy as np import os import sys import time from utils import * from multiprocessing import Pool import pickle as pk from PIL import Image if __name__ == '__main__': main()
39.336364
226
0.580772
82037678cf731a27de7b80202c8ec58995f0f61d
1,795
py
Python
jungle_book/auth/jwt.py
EmilTheSadCat/jungle-book-app
9b92ba8b889943ce3636a88d538a59ee339869f1
[ "MIT" ]
null
null
null
jungle_book/auth/jwt.py
EmilTheSadCat/jungle-book-app
9b92ba8b889943ce3636a88d538a59ee339869f1
[ "MIT" ]
null
null
null
jungle_book/auth/jwt.py
EmilTheSadCat/jungle-book-app
9b92ba8b889943ce3636a88d538a59ee339869f1
[ "MIT" ]
null
null
null
import jwt from flask import request, jsonify from datetime import datetime from dateutil.relativedelta import relativedelta from functools import wraps from jungle_book.user.models import User algorithm = "HS256" key = "secret" # TODO put this into env variables NOW = datetime.now() SIX_MONTHS_LATER = NOW + relative...
23.311688
65
0.627855
820477ca11e0ba3796ae1ed723f0175e4fd87448
2,035
py
Python
pysnmp/REMOTE-LOGIN-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/REMOTE-LOGIN-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/REMOTE-LOGIN-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module REMOTE-LOGIN-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/REMOTE-LOGIN-TRAP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:47:32 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (def...
113.055556
515
0.786241
82063e18e59a0cf3835ff63d9115c425615a4eb0
877
py
Python
admin/aws/list_instances.py
biosimulations/hsds
bd5b659c4fcc60c4a2791b2f39750faaa9098d09
[ "Apache-2.0" ]
76
2019-01-03T18:14:01.000Z
2022-03-28T20:09:42.000Z
admin/aws/list_instances.py
biosimulations/hsds
bd5b659c4fcc60c4a2791b2f39750faaa9098d09
[ "Apache-2.0" ]
104
2019-01-01T17:09:52.000Z
2022-03-31T17:53:48.000Z
admin/aws/list_instances.py
biosimulations/hsds
bd5b659c4fcc60c4a2791b2f39750faaa9098d09
[ "Apache-2.0" ]
41
2019-01-30T13:58:16.000Z
2022-02-23T13:13:01.000Z
import boto.ec2 import config region = config.get("aws_region") conn = boto.ec2.connect_to_region(region) reservations = conn.get_all_instances() fields = ("id", "public ip", "private ip", "name", "subnet", "state") format_str = "{:<20} {:<16} {:<16} {:<16} {:<16} {:<12}" print(format_str.format(*fields)) sep = ('-'*1...
32.481481
117
0.615735
82073259142e93c2fdba09723427d60b8a6ec446
5,795
py
Python
src/regression.py
rahlk/Rosie
60dc9d6a5590cdfbafbcbb0a7285db4e496384cc
[ "MIT" ]
null
null
null
src/regression.py
rahlk/Rosie
60dc9d6a5590cdfbafbcbb0a7285db4e496384cc
[ "MIT" ]
null
null
null
src/regression.py
rahlk/Rosie
60dc9d6a5590cdfbafbcbb0a7285db4e496384cc
[ "MIT" ]
null
null
null
''' Created on Feb 8, 2017 This is the regression script the langlib project. It is meant to be run at the top level directory of the repository. ''' import copy,json from os import walk from os.path import exists,splitext from subprocess import Popen, PIPE from string import digits import difflib import sys #This i...
41.099291
186
0.534599
82075f1bc0f847438e1a50eb1984f6a6e589570a
4,727
py
Python
personal/sudoku_solver/sudoku_solver.py
jyodroid/python_training
7b17145faed6a005d44a08c2f72a60644705f1e1
[ "Unlicense" ]
null
null
null
personal/sudoku_solver/sudoku_solver.py
jyodroid/python_training
7b17145faed6a005d44a08c2f72a60644705f1e1
[ "Unlicense" ]
null
null
null
personal/sudoku_solver/sudoku_solver.py
jyodroid/python_training
7b17145faed6a005d44a08c2f72a60644705f1e1
[ "Unlicense" ]
null
null
null
# Class https://docs.python.org/3/tutorial/classes.html
37.220472
131
0.584303
820790042011984b310814afa864c57777d5d354
10,956
py
Python
crystal_toolkit/components/transformations/grainboundary.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
null
null
null
crystal_toolkit/components/transformations/grainboundary.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
5
2018-10-18T19:52:12.000Z
2018-11-17T19:02:49.000Z
crystal_toolkit/components/transformations/grainboundary.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
null
null
null
import dash from dash import dcc from dash.dependencies import Input, Output, State from dash.exceptions import PreventUpdate from pymatgen.symmetry.analyzer import SpacegroupAnalyzer from pymatgen.transformations.advanced_transformations import ( GrainBoundaryGenerator, GrainBoundaryTransformation, ) from cry...
34.670886
121
0.562705
8209433689df2d1a57e76c64f9c9052b8c8371b0
2,871
py
Python
main.py
marcomaiermm/fishit
5c4992d91365ec9b841eaaa81848d4ad8a9af9ed
[ "MIT" ]
null
null
null
main.py
marcomaiermm/fishit
5c4992d91365ec9b841eaaa81848d4ad8a9af9ed
[ "MIT" ]
1
2021-06-08T21:07:25.000Z
2021-06-08T21:07:25.000Z
main.py
marcomaiermm/fishit
5c4992d91365ec9b841eaaa81848d4ad8a9af9ed
[ "MIT" ]
null
null
null
import imagesearch import gui import subprocess import time #from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * import traceback,sys if __name__ == "__main__": app=QApplication(sys.argv) w=AppWindow() w.show() app.exe...
29.295918
97
0.593173
8209e6f9baf6dc11c2faf5266f9168821f205e98
2,243
py
Python
medium/python/c0335_731_my-calendar-ii/00_leetcode_0335.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
medium/python/c0335_731_my-calendar-ii/00_leetcode_0335.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
null
null
null
medium/python/c0335_731_my-calendar-ii/00_leetcode_0335.py
drunkwater/leetcode
8cc4a07763e71efbaedb523015f0c1eff2927f60
[ "Ruby" ]
3
2018-02-09T02:46:48.000Z
2021-02-20T08:32:03.000Z
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #731. My Calendar II #Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not cause a triple booking. ...
54.707317
212
0.728043
820b086050ad75315e1b8b3a7bb8f87684d23be9
173
py
Python
main.py
ichir0roie/mangaSeeFeeder
9871cb079a4c180ce2167b5aa60c48c9423822fe
[ "MIT" ]
1
2021-09-07T14:13:35.000Z
2021-09-07T14:13:35.000Z
main.py
ichir0roie/mangaSeeFeeder
9871cb079a4c180ce2167b5aa60c48c9423822fe
[ "MIT" ]
null
null
null
main.py
ichir0roie/mangaSeeFeeder
9871cb079a4c180ce2167b5aa60c48c9423822fe
[ "MIT" ]
null
null
null
import myPkgs.Scraper # scraping data and save pickle scraper=myPkgs.Scraper.Scraper() scraper.setSubscriptionsPage() scraper.getInfoFromSubScriptions() # create mailHtml
19.222222
34
0.82659
820ca3e67bffef370d9d41988b414444b2ad1bf8
2,968
py
Python
examples/Mentor/05.6.TransformOrdering.py
cclauss/pivy
55de2ba4dd32f62ce2d4e33ca28459cf3ea5167a
[ "ISC" ]
29
2019-12-28T10:37:16.000Z
2022-02-09T10:48:04.000Z
examples/Mentor/05.6.TransformOrdering.py
cclauss/pivy
55de2ba4dd32f62ce2d4e33ca28459cf3ea5167a
[ "ISC" ]
29
2019-12-26T13:46:11.000Z
2022-03-29T18:14:33.000Z
examples/Mentor/05.6.TransformOrdering.py
cclauss/pivy
55de2ba4dd32f62ce2d4e33ca28459cf3ea5167a
[ "ISC" ]
17
2019-12-29T11:49:32.000Z
2022-02-23T00:28:18.000Z
#!/usr/bin/env python ### # Copyright (c) 2002-2007 Systems in Motion # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS I...
31.242105
74
0.705863
820ceb9164fe0c747e5f68b273d1654107a1cd1d
1,796
py
Python
python-object-storage/test_object_storage.py
henriqueccapozzi/pocs
9c1e3b22b3f026b22fe01b365bddd95b5afc9264
[ "MIT" ]
null
null
null
python-object-storage/test_object_storage.py
henriqueccapozzi/pocs
9c1e3b22b3f026b22fe01b365bddd95b5afc9264
[ "MIT" ]
null
null
null
python-object-storage/test_object_storage.py
henriqueccapozzi/pocs
9c1e3b22b3f026b22fe01b365bddd95b5afc9264
[ "MIT" ]
null
null
null
import os import json import pytest from object_storage import DB DB_FILE_NAME = "db.json"
26.80597
60
0.614143
820f6292ce69f024eb8b287f0493082d26ff31c3
3,898
py
Python
10-Flask/72-Library.py
ericson14/Small_project
dd88b9a5619d38fb8d236c932ffa8429d24b28ae
[ "MIT" ]
null
null
null
10-Flask/72-Library.py
ericson14/Small_project
dd88b9a5619d38fb8d236c932ffa8429d24b28ae
[ "MIT" ]
null
null
null
10-Flask/72-Library.py
ericson14/Small_project
dd88b9a5619d38fb8d236c932ffa8429d24b28ae
[ "MIT" ]
null
null
null
from flask import Flask, flash, render_template, request, redirect, url_for from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, SubmitField app = Flask(__name__) app.config.from_object(Config) db = SQLAlchemy(app) if __name__ == "__main__": db.drop_all...
29.755725
76
0.596203
820fc8eb5d725ac75d1fc9754e8b1b1fc09bf771
404
py
Python
pycats/tests/instances/test_set_inst.py
kykosic/pycats
43b317fcd7a30c95c0b92990b042904f2c338870
[ "Apache-2.0" ]
5
2020-06-12T23:08:28.000Z
2021-09-09T09:18:41.000Z
pycats/tests/instances/test_set_inst.py
kykosic/pycats
43b317fcd7a30c95c0b92990b042904f2c338870
[ "Apache-2.0" ]
1
2020-02-08T20:07:09.000Z
2020-02-08T20:07:09.000Z
pycats/tests/instances/test_set_inst.py
kykosic/pycats
43b317fcd7a30c95c0b92990b042904f2c338870
[ "Apache-2.0" ]
null
null
null
import pycats.instances # noqa: F401
16.16
37
0.561881
8210337a295e13c410889ae84e0363248842ff40
582
py
Python
Chapter04/name2ldap.py
PacktPublishing/Becming-the-Hacker
90eb5bc093d4b6a4b171e1d4cb0170bc23746846
[ "MIT" ]
27
2019-02-13T16:28:44.000Z
2021-12-16T09:53:36.000Z
Chapter04/name2ldap.py
mirroR72/Becoming-the-Hacker
57093174a107f5ea3abc35bcd3d8267f9448afbb
[ "MIT" ]
1
2019-09-14T18:15:02.000Z
2019-09-14T18:15:02.000Z
Chapter04/name2ldap.py
mirroR72/Becoming-the-Hacker
57093174a107f5ea3abc35bcd3d8267f9448afbb
[ "MIT" ]
17
2019-01-31T10:46:09.000Z
2021-12-16T23:37:27.000Z
with open("linkedin.txt", "r") as fp: for name in iter(fp): first, last = name.strip().lower().split(" ") print first + "." + last # david.lightman print first + last # davidlightman fl = first[0] + last lf = last + first[0] print fl # dlightman ...
30.631579
54
0.475945
8211154aa4a5a84d14ec8e9f4d95147e8b41f6f1
3,038
py
Python
scripts/write_to_influxdb.py
sync-or-swim/sos-journaler
f98897b47a8025e74fae4b427af95e07363a64c8
[ "MIT" ]
null
null
null
scripts/write_to_influxdb.py
sync-or-swim/sos-journaler
f98897b47a8025e74fae4b427af95e07363a64c8
[ "MIT" ]
27
2020-01-29T05:50:52.000Z
2020-12-20T04:53:01.000Z
scripts/write_to_influxdb.py
BryceBeagle/sync-or-swim
f98897b47a8025e74fae4b427af95e07363a64c8
[ "MIT" ]
null
null
null
from argparse import ArgumentParser from influxdb import InfluxDBClient import datetime import geohash if __name__ == "__main__": main()
38.455696
77
0.571099
8211444c1809530cc0c344f0e30b5c1c9a1ff78e
24,908
py
Python
totall/api.py
dacosta2213/totall
c64420bb8d35ccf423fe8ea66321b34431f79660
[ "MIT" ]
null
null
null
totall/api.py
dacosta2213/totall
c64420bb8d35ccf423fe8ea66321b34431f79660
[ "MIT" ]
null
null
null
totall/api.py
dacosta2213/totall
c64420bb8d35ccf423fe8ea66321b34431f79660
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import frappe import json from frappe import _ from frappe.utils import get_fullname, get_link_to_form, get_url_to_form from datetime import date,datetime,timedelta import jwt import time def pingo(): return 'pongo' # RG - Actualizar el campo de atra...
44.718133
510
0.681829
821531d61984ff76dac0b4c73fab4063e3a37fe0
3,008
py
Python
flicks/videos/migrations/0014_auto__del_field_video_user.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
1
2015-07-13T03:29:04.000Z
2015-07-13T03:29:04.000Z
flicks/videos/migrations/0014_auto__del_field_video_user.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
2
2015-03-03T23:02:19.000Z
2019-03-30T04:45:51.000Z
flicks/videos/migrations/0014_auto__del_field_video_user.py
Mozilla-GitHub-Standards/6f0d85288b5b0ef8beecb60345173dc14c98e40f48e1307a444ab1e08231e695
bf6a382913901ad193d907f022086931df0de8c4
[ "BSD-3-Clause" ]
2
2016-04-15T11:43:05.000Z
2016-04-15T11:43:15.000Z
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models
61.387755
163
0.566489
8215508f627bf3d1b4d448dabf1e8742f974b661
2,701
py
Python
update.py
cccs-rs/apiscout
27aa5cb6991a39df03695576b351a815146fd270
[ "BSD-2-Clause" ]
169
2017-04-10T14:43:54.000Z
2022-03-20T09:35:26.000Z
update.py
cccs-rs/apiscout
27aa5cb6991a39df03695576b351a815146fd270
[ "BSD-2-Clause" ]
25
2017-05-19T08:53:58.000Z
2021-07-31T14:09:37.000Z
update.py
cccs-rs/apiscout
27aa5cb6991a39df03695576b351a815146fd270
[ "BSD-2-Clause" ]
44
2017-04-10T16:22:55.000Z
2021-11-09T13:45:08.000Z
import re import os import sys import requests try: import config except: print("create a config.py based on template.config.py and set your Malpedia API token!") sys.exit() def delete_existing_dbs(): """ delete potentially existing old apivector db files """ for filename in os.listdir("dbs"): ...
32.939024
108
0.640874
8215786d8a3f20e9ccb720b4af31a0f44f648d88
752
py
Python
Support/Fuego/Pythia/pythia-0.4/packages/fuego/fuego/serialization/chemkin/unpickle/mechanisms/Declaration.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
1
2019-04-24T13:32:23.000Z
2019-04-24T13:32:23.000Z
Support/Fuego/Pythia/pythia-0.4/packages/fuego/fuego/serialization/chemkin/unpickle/mechanisms/Declaration.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
null
null
null
Support/Fuego/Pythia/pythia-0.4/packages/fuego/fuego/serialization/chemkin/unpickle/mechanisms/Declaration.py
marient/PelePhysics
e6ad1839d77b194e09ab44ff850c9489652e5d81
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2003 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~~~~~~~~...
22.117647
82
0.408245
82175e8b7a22ac93f4e8ed01903f37b29cf95227
1,242
py
Python
fate/prompt.py
Mattias1/fate
10266406336bc4c683ff5b23af32ac3447f7f054
[ "MIT" ]
null
null
null
fate/prompt.py
Mattias1/fate
10266406336bc4c683ff5b23af32ac3447f7f054
[ "MIT" ]
null
null
null
fate/prompt.py
Mattias1/fate
10266406336bc4c683ff5b23af32ac3447f7f054
[ "MIT" ]
null
null
null
from .mode import Mode from .document import Document Document.promptinput = '' def prompt(promptstring='>'): """Constructor for the prompt mode.""" return PromptWithString
28.883721
55
0.573269
8218206b49510d2a8ddd9239bbd0591e170620c6
482
py
Python
examples/osb/app/model/comment.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
examples/osb/app/model/comment.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
examples/osb/app/model/comment.py
medecau/lamson
e78520b857384462b9eecdedfc0f8c2e57cdd00a
[ "BSD-3-Clause" ]
null
null
null
from lamson import queue def attach_headers(message, user_id, post_name, domain): """Headers are used later by the index.py handler to figure out where the message finally goes.""" message['X-Post-Name'] = post_name message['X-Post-User-ID'] = user_id message['X-Post-Domain'] = domain
30.125
73
0.697095
82186e13305a89984ea44c868e824fbefce44ba3
1,677
py
Python
tf2jax/_src/numpy_compat_test.py
deepmind/tf2jax
fb5388656344a7e5bb8e5635e82a3d93c7bc9d8c
[ "Apache-2.0" ]
6
2022-03-18T12:09:11.000Z
2022-03-26T14:16:35.000Z
tf2jax/_src/numpy_compat_test.py
deepmind/tf2jax
fb5388656344a7e5bb8e5635e82a3d93c7bc9d8c
[ "Apache-2.0" ]
null
null
null
tf2jax/_src/numpy_compat_test.py
deepmind/tf2jax
fb5388656344a7e5bb8e5635e82a3d93c7bc9d8c
[ "Apache-2.0" ]
1
2022-03-18T12:09:23.000Z
2022-03-18T12:09:23.000Z
# Copyright 2021 DeepMind Technologies Limited. 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 ...
33.54
80
0.692308
821984511dee58e92708aa60fa96d6d0d20fe0cf
2,918
py
Python
mqtt_interface/mqtt_library/mqtt_client_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
2
2018-02-21T03:46:51.000Z
2019-12-24T16:40:51.000Z
mqtt_interface/mqtt_library/mqtt_client_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
7
2020-07-16T19:54:08.000Z
2022-03-02T03:29:07.000Z
mqtt_interface/mqtt_library/mqtt_client_py3.py
bopopescu/docker_images_a
348d0982c5962f2ae34d10183ed9522b7a6fe286
[ "MIT" ]
2
2018-04-16T07:02:35.000Z
2020-07-23T21:57:19.000Z
import paho.mqtt.client as mqtt import ssl import redis import time if __name__ == "__main__": import json import time file_handle = open("../system_data_files/redis_server.json",'r') data = file_handle.read() file_handle.close() redis_site_data = json.l...
32.422222
150
0.561343
8219bdf4aa36724d7acd9da5d6d73731f34ef6cd
979
py
Python
pyminer/network/filters.py
rbrecheisen/pyminer
c1b088cd9eddf0347b5c3e9354991374c7344a33
[ "Apache-2.0" ]
null
null
null
pyminer/network/filters.py
rbrecheisen/pyminer
c1b088cd9eddf0347b5c3e9354991374c7344a33
[ "Apache-2.0" ]
1
2015-05-15T12:06:25.000Z
2015-10-18T15:43:34.000Z
pyminer/network/filters.py
rbrecheisen/pyminer
c1b088cd9eddf0347b5c3e9354991374c7344a33
[ "Apache-2.0" ]
null
null
null
__author__ = 'Ralph' import pandas as pd from base import Node from base import InputPort from base import OutputPort
20.395833
62
0.659857
821a8e57cdc8b71c46b5b924928e6ffbc5170020
329
py
Python
delphi/apps/rest_api/__init__.py
mwdchang/delphi
c6177f2d614118883eaaa7f5300f3e46f10ddc7e
[ "Apache-2.0" ]
null
null
null
delphi/apps/rest_api/__init__.py
mwdchang/delphi
c6177f2d614118883eaaa7f5300f3e46f10ddc7e
[ "Apache-2.0" ]
null
null
null
delphi/apps/rest_api/__init__.py
mwdchang/delphi
c6177f2d614118883eaaa7f5300f3e46f10ddc7e
[ "Apache-2.0" ]
1
2019-07-18T19:13:13.000Z
2019-07-18T19:13:13.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
21.933333
57
0.735562
821e77dee58f0bcdb435a5eecbf66592783bf963
4,524
py
Python
rob/robocopy.py
dan-osull/rob
25f2781cc5124570a04a48b56ec7d7f802b0650b
[ "MIT" ]
3
2022-02-08T20:10:21.000Z
2022-02-08T20:18:54.000Z
rob/robocopy.py
dan-osull/rob
25f2781cc5124570a04a48b56ec7d7f802b0650b
[ "MIT" ]
null
null
null
rob/robocopy.py
dan-osull/rob
25f2781cc5124570a04a48b56ec7d7f802b0650b
[ "MIT" ]
null
null
null
import os import subprocess from dataclasses import dataclass from pathlib import WindowsPath from time import sleep from typing import Optional, Sequence from click import ClickException from rich.progress import Progress import rob.console as con import rob.filesystem
34.8
90
0.6355
821f4a58cdad24897457c7d61f286692df08d3ee
31,892
py
Python
code/resumesearch.py
outreachy/creative-works-and-scripts
8cac43a649aefaa793b91ac34ef73e20194ca22a
[ "CC-BY-4.0" ]
27
2019-07-18T04:44:29.000Z
2022-02-15T21:15:09.000Z
code/resumesearch.py
outreachy/creative-works-and-scripts
8cac43a649aefaa793b91ac34ef73e20194ca22a
[ "CC-BY-4.0" ]
5
2019-08-08T21:15:39.000Z
2022-02-22T01:38:55.000Z
code/resumesearch.py
outreachy/creative-works-and-scripts
8cac43a649aefaa793b91ac34ef73e20194ca22a
[ "CC-BY-4.0" ]
13
2020-01-13T11:38:45.000Z
2022-01-25T17:48:29.000Z
#!/usr/bin/env python3 # # Copyright 2017 Sarah Sharp <sharp@otter.technology> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ...
48.839204
271
0.62304
822032599db3ee1487dab68a324fbb6a098cbc67
6,292
py
Python
src/gui_L087 (for C1_PRO_X18 camera) PARFOCAL_DEMO/sweep.py
Kurokesu/SCF4-SDK
264437a9597885f4eae57e8a717ea2b15a04172e
[ "MIT" ]
13
2019-11-20T08:53:53.000Z
2021-12-21T14:05:37.000Z
src/gui_L087 (for C1_PRO_X18 camera) PARFOCAL_DEMO/sweep.py
Kurokesu/SCF4-SDK
264437a9597885f4eae57e8a717ea2b15a04172e
[ "MIT" ]
19
2020-08-09T05:24:03.000Z
2021-07-01T07:07:37.000Z
src/gui_L087 (for C1_PRO_X18 camera) PARFOCAL_DEMO/sweep.py
Kurokesu/SCF4-SDK
264437a9597885f4eae57e8a717ea2b15a04172e
[ "MIT" ]
3
2020-03-30T12:51:55.000Z
2021-08-09T11:22:29.000Z
import cv2 import os import serial import sys import scf4_tools import time import threading import camera import numpy as np from scipy.interpolate import interp1d from tqdm import tqdm CHB_MOVE = 7 CHA_MOVE = 6 CHB_PI = 4 CHA_PI = 3 ser = serial.Serial() ser.port = 'COM231' # C...
23.833333
90
0.687381
8220698c204a1446ed030218727b2f760902286f
61
py
Python
echo_text_classifiers/__init__.py
nschaetti/PAN17-author-profiling
c1d1041bbdc4b631709b1cbc134c562fcff2b542
[ "Apache-2.0" ]
1
2022-03-07T15:45:06.000Z
2022-03-07T15:45:06.000Z
echo_text_classifiers/__init__.py
nschaetti/PAN17-author-profiling
c1d1041bbdc4b631709b1cbc134c562fcff2b542
[ "Apache-2.0" ]
null
null
null
echo_text_classifiers/__init__.py
nschaetti/PAN17-author-profiling
c1d1041bbdc4b631709b1cbc134c562fcff2b542
[ "Apache-2.0" ]
null
null
null
# Import from .EchoTextClassifier import EchoTextClassifier
15.25
50
0.852459
82216f99b184a3762b1bf3acde24777396628147
5,053
py
Python
liquid_node/jobs/__init__.py
admariner/node
611795e17aa52c50795cb81c1ffebd641dcab51b
[ "MIT" ]
null
null
null
liquid_node/jobs/__init__.py
admariner/node
611795e17aa52c50795cb81c1ffebd641dcab51b
[ "MIT" ]
3
2021-11-10T11:08:14.000Z
2021-11-26T13:12:20.000Z
liquid_node/jobs/__init__.py
admariner/node
611795e17aa52c50795cb81c1ffebd641dcab51b
[ "MIT" ]
null
null
null
import subprocess import logging import os from pathlib import Path from ..docker import docker import jinja2 log = logging.getLogger(__name__) TEMPLATES = Path(__file__).parent.parent.parent.resolve() / 'templates' def set_volumes_paths(substitutions={}): """Sets the volumes paths in the job options :par...
34.141892
98
0.610133
82217d544e3cd1e38f1b553da33b7d271e94aff5
389
py
Python
morepath/tests/fixtures/method.py
DuncanBetts/morepath
acad10489b051df9c512f6735a9338854745a599
[ "BSD-3-Clause" ]
null
null
null
morepath/tests/fixtures/method.py
DuncanBetts/morepath
acad10489b051df9c512f6735a9338854745a599
[ "BSD-3-Clause" ]
null
null
null
morepath/tests/fixtures/method.py
DuncanBetts/morepath
acad10489b051df9c512f6735a9338854745a599
[ "BSD-3-Clause" ]
null
null
null
import morepath
15.56
48
0.678663
8222def448064d7e5190de17a9fd652126451dc7
1,035
py
Python
v8webconsole/webconsole/urls.py
zeerayne/1cv8-webconsole
3f562b5458ed6e6e221c7d78886a49f89b07e4f9
[ "MIT" ]
null
null
null
v8webconsole/webconsole/urls.py
zeerayne/1cv8-webconsole
3f562b5458ed6e6e221c7d78886a49f89b07e4f9
[ "MIT" ]
null
null
null
v8webconsole/webconsole/urls.py
zeerayne/1cv8-webconsole
3f562b5458ed6e6e221c7d78886a49f89b07e4f9
[ "MIT" ]
null
null
null
from django.urls import include from django.conf.urls import url from rest_framework.routers import SimpleRouter from rest_framework_nested.routers import NestedSimpleRouter from .views import ( HostViewSet, HostAdminViewSet, ClusterViewSet, InfobaseViewSet, ) host_router = SimpleRouter() host_router.r...
34.5
83
0.774879
82240b4e497af879de2b8332d733c22fc5035c5f
6,292
py
Python
gifploter.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
1
2021-12-14T09:16:17.000Z
2021-12-14T09:16:17.000Z
gifploter.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
null
null
null
gifploter.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
2
2021-12-14T09:10:00.000Z
2022-01-21T16:57:44.000Z
import matplotlib.pyplot as plt import imageio import os import numpy as np
37.230769
84
0.508423
8226023cb3139084f438cf9dfe3adae050279971
1,336
py
Python
violet.py
MasayukiTanaka0412/violet
9bc5bfab83902e6798e3b9ef679757f6cd58f900
[ "MIT" ]
null
null
null
violet.py
MasayukiTanaka0412/violet
9bc5bfab83902e6798e3b9ef679757f6cd58f900
[ "MIT" ]
null
null
null
violet.py
MasayukiTanaka0412/violet
9bc5bfab83902e6798e3b9ef679757f6cd58f900
[ "MIT" ]
null
null
null
import logging import os import win32com.client import pandas as pd logging.basicConfig(level=logging.INFO) templateName = "Template.msg" recipientsFile = "Recipients.xlsx" logging.info('Violet App Start') path = os.getcwd() logging.info('Current Directory {}'.format(path)) outlook = win32com.client.D...
29.688889
85
0.68488
8226308b8a2c2e852acb6dff9db13ef1f87ee5ed
1,409
py
Python
app/routers/backlog.py
cristianwebber/FastApiTest
fe3c782bc4a3e9ff1e9ef5a38f20043f9577bd5e
[ "Apache-2.0" ]
null
null
null
app/routers/backlog.py
cristianwebber/FastApiTest
fe3c782bc4a3e9ff1e9ef5a38f20043f9577bd5e
[ "Apache-2.0" ]
null
null
null
app/routers/backlog.py
cristianwebber/FastApiTest
fe3c782bc4a3e9ff1e9ef5a38f20043f9577bd5e
[ "Apache-2.0" ]
null
null
null
from typing import List from fastapi import APIRouter from .. import database, schemas, models, oauth2 from sqlalchemy.orm import Session from fastapi import APIRouter, Depends, status from ..repository import backlog router = APIRouter(prefix="/backlog", tags=["Backlog"]) get_db = database.get_db
24.719298
69
0.71895
82270abb34448de1d28c848049ee656003285eab
2,902
py
Python
cellrank/_key.py
WeilerP/cellrank
c8c2b9f6bd2448861fb414435aee7620ca5a0bad
[ "BSD-3-Clause" ]
172
2020-03-19T19:50:53.000Z
2022-03-28T09:36:04.000Z
cellrank/_key.py
WeilerP/cellrank
c8c2b9f6bd2448861fb414435aee7620ca5a0bad
[ "BSD-3-Clause" ]
702
2020-03-19T08:09:04.000Z
2022-03-30T09:55:14.000Z
cellrank/_key.py
WeilerP/cellrank
c8c2b9f6bd2448861fb414435aee7620ca5a0bad
[ "BSD-3-Clause" ]
17
2020-04-07T03:11:02.000Z
2022-02-02T20:39:16.000Z
from typing import Any, Callable, Optional
27.903846
79
0.567884
8227635dd4b63240fd4ce82b0583156b4ea9480c
510
py
Python
Tools/quantize-models.py
mihaip/solving-bee
bd45fa8414e6553e7a974b07bea4bad46183da71
[ "Apache-2.0" ]
2
2020-11-17T14:52:50.000Z
2021-04-04T20:43:40.000Z
Tools/quantize-models.py
mihaip/solving-bee
bd45fa8414e6553e7a974b07bea4bad46183da71
[ "Apache-2.0" ]
null
null
null
Tools/quantize-models.py
mihaip/solving-bee
bd45fa8414e6553e7a974b07bea4bad46183da71
[ "Apache-2.0" ]
1
2021-04-04T23:40:21.000Z
2021-04-04T23:40:21.000Z
#!/usr/local/bin/python3 import coremltools.models import coremltools.models.neural_network import os.path models_dir = os.path.join(os.path.dirname(__file__), "..", "Solving Bee", "Resources") for model_name in ["LettersModel", "BoardModel"]: model_path = os.path.join(models_dir, f"{model_name}.mlmodel") mod...
39.230769
108
0.77451
8227caa8afc429ee4cb7a62a33c9415eba7a7d1a
4,718
py
Python
tests/test_vertex_color.py
aferrall/redner
be52e4105140f575f153d640ba889eb6e6015616
[ "MIT" ]
1,146
2018-11-11T01:47:18.000Z
2022-03-31T14:11:03.000Z
tests/test_vertex_color.py
Awcrr/redner
b4f57037af26b720d916bbaf26103a3499101a9f
[ "MIT" ]
177
2018-11-13T22:48:25.000Z
2022-03-30T07:19:29.000Z
tests/test_vertex_color.py
Awcrr/redner
b4f57037af26b720d916bbaf26103a3499101a9f
[ "MIT" ]
127
2018-11-11T02:32:17.000Z
2022-03-31T07:24:03.000Z
import pyredner import redner import numpy as np import torch import math # Example of optimizing vertex color of a sphere. # Use GPU if available pyredner.set_use_gpu(torch.cuda.is_available()) cam = pyredner.Camera(position = torch.tensor([0.0, 0.0, -5.0]), look_at = torch.tensor([0.0, 0.0, 0...
39.983051
109
0.708563
8227d244a3f5042b87acfe74836b3be3d5794b53
10,066
py
Python
starterlite/simulation/GRF.py
gjsun/starterlite
4838c0b9837e0012157596984f9e39ed52f9c86c
[ "MIT" ]
null
null
null
starterlite/simulation/GRF.py
gjsun/starterlite
4838c0b9837e0012157596984f9e39ed52f9c86c
[ "MIT" ]
null
null
null
starterlite/simulation/GRF.py
gjsun/starterlite
4838c0b9837e0012157596984f9e39ed52f9c86c
[ "MIT" ]
null
null
null
import numpy as np import os from ..analysis import Sensitivity from ..physics import Cosmology from ..physics.Constants import c, cm_per_mpc from ..util.ParameterFile import ParameterFile from .FourierSpace import FourierSpace """ ------------ Instructions ------------ The GRF module allows the user to generate rea...
36.078853
137
0.597457
8229233dd2ae5f0912a4213d1c4e8a168847a08a
3,679
py
Python
botpumpkin/discord/context.py
Anthrasite/BotPumpkin
99267a9cb3d263f5cd302ee548c49c59fafcce3f
[ "MIT" ]
null
null
null
botpumpkin/discord/context.py
Anthrasite/BotPumpkin
99267a9cb3d263f5cd302ee548c49c59fafcce3f
[ "MIT" ]
24
2021-03-08T00:28:13.000Z
2021-04-09T22:26:26.000Z
botpumpkin/discord/context.py
Anthrasite/BotPumpkin
99267a9cb3d263f5cd302ee548c49c59fafcce3f
[ "MIT" ]
null
null
null
"""A collection of utility functions for performing typing and error checking on discord.ext.commands.Context objects.""" from typing import List, Optional, Union # Third party imports import discord from discord.ext import commands # First party imports import botpumpkin.discord.guild as guild_util # *** get_guild...
36.068627
155
0.662136
8229dbbb6f0052b556f0fa37fd3095bf537d9605
5,180
py
Python
fine_grid.py
daveweij/fine_mouse_grid_talon
d13d942f977d06d8f17d9a14988811bae69ac2cd
[ "MIT" ]
null
null
null
fine_grid.py
daveweij/fine_mouse_grid_talon
d13d942f977d06d8f17d9a14988811bae69ac2cd
[ "MIT" ]
null
null
null
fine_grid.py
daveweij/fine_mouse_grid_talon
d13d942f977d06d8f17d9a14988811bae69ac2cd
[ "MIT" ]
null
null
null
import typing import os import json from talon import Module, Context, canvas, screen, ui, ctrl, settings from talon.skia import Paint, Rect from talon.types.point import Point2d mod = Module() ctx = Context() mod.tag('fine_grid_enabled', desc='Tag enables fine grid commands') grid = FineMouseGrid()
31.585366
92
0.570463
822a62340464846a070b674b57e4a94852e76fd0
2,261
py
Python
molo/surveys/migrations/0014_update_skip_logic.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
null
null
null
molo/surveys/migrations/0014_update_skip_logic.py
praekelt/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
88
2016-06-14T18:36:18.000Z
2018-09-21T07:33:58.000Z
molo/surveys/migrations/0014_update_skip_logic.py
praekeltfoundation/molo.surveys
c86d231f7cee669eb1c91db49ec05cf711984e30
[ "BSD-3-Clause" ]
1
2017-10-02T09:27:45.000Z
2017-10-02T09:27:45.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2017-10-11 13:10 from __future__ import unicode_literals from django.db import migrations import molo.surveys.blocks import wagtail.core.blocks
62.805556
661
0.693941
822a641495e4387a0c1f14cf9ebd06d65a7a819c
7,355
py
Python
jdit/trainer/single/sup_single.py
dingguanglei/jdit
ef878e696c9e2fad5069f106496289d4e4cc6154
[ "Apache-2.0" ]
28
2019-06-18T15:56:53.000Z
2021-11-09T13:11:13.000Z
jdit/trainer/single/sup_single.py
dingguanglei/jdit
ef878e696c9e2fad5069f106496289d4e4cc6154
[ "Apache-2.0" ]
2
2018-10-24T01:09:56.000Z
2018-11-08T07:13:48.000Z
jdit/trainer/single/sup_single.py
dingguanglei/jdit
ef878e696c9e2fad5069f106496289d4e4cc6154
[ "Apache-2.0" ]
8
2019-01-11T01:12:15.000Z
2021-03-12T10:15:43.000Z
from ..super import SupTrainer from tqdm import tqdm import torch from jdit.optimizer import Optimizer from jdit.model import Model from jdit.dataset import DataLoadersFactory
37.146465
116
0.562882
822adefd2d61243c8a6b7d51a859f435ee02768e
1,433
py
Python
Gold/sol.py
papachristoumarios/IEEEXtreme11.0
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
13
2018-10-11T14:13:56.000Z
2022-02-17T18:30:17.000Z
Gold/sol.py
papachristoumarios/IEEEXtreme11.0-PComplete
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
null
null
null
Gold/sol.py
papachristoumarios/IEEEXtreme11.0-PComplete
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
7
2018-10-24T08:36:59.000Z
2021-07-19T18:16:53.000Z
import heapq import sys primes = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53] bounds = [1] for pr in primes: bounds.append(bounds[-1]*pr) if __name__ == "__main__": main()
26.537037
93
0.551291
822bbf9836e86e5cf6fb48c971df002aa5f8085b
511
py
Python
src/wechat/settings.py
chuter/wechat-requests
23591f8e04e795a1727e6a8029602cfb2dde90f1
[ "MIT" ]
3
2019-06-17T10:54:03.000Z
2021-01-29T08:25:01.000Z
src/wechat/settings.py
chuter/wechat-requests
23591f8e04e795a1727e6a8029602cfb2dde90f1
[ "MIT" ]
2
2020-03-24T15:46:37.000Z
2020-03-30T20:26:19.000Z
src/wechat/settings.py
chuter/wechat-requests
23591f8e04e795a1727e6a8029602cfb2dde90f1
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 from .utils import build_user_agent # common DEFAULT_HEADERS = { 'User-Agent': build_user_agent() } TIMEOUT = 1 ENCODING = 'utf-8' RETRYS = 3 RETRY_BACKOFF_FACTOR = 0.1 RETRY_STATUS_FORCELIST = frozenset([500, 502, 504]) # auth OAUTH_HOST = 'open.weixin.qq.com' AUTH_EXPIRED_CODES = froz...
17.033333
60
0.712329
822c0a167631eafd04070f9a246d9fdcf6b1dbe4
533
py
Python
esp32/tempsensor/boot.py
Steve-Fisher/PiExperiments
81a08b99b53ed9921353cf436b09b40650032a2b
[ "MIT" ]
null
null
null
esp32/tempsensor/boot.py
Steve-Fisher/PiExperiments
81a08b99b53ed9921353cf436b09b40650032a2b
[ "MIT" ]
null
null
null
esp32/tempsensor/boot.py
Steve-Fisher/PiExperiments
81a08b99b53ed9921353cf436b09b40650032a2b
[ "MIT" ]
null
null
null
try: import usocket as socket except: import socket from time import sleep from machine import Pin import onewire, ds18x20 import network import esp esp.osdebug(None) import gc gc.collect() ds_pin = Pin(4) ds_sensor = ds18x20.DS18X20(onewire.OneWire(ds_pin)) ssid = 'ATC24' password = 'Svalbard' station = n...
15.228571
52
0.756098
822c63b5e55693f8beb5a21c86e5722b43fcabfd
1,070
py
Python
leetcode/0242_valid_anagram.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
leetcode/0242_valid_anagram.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
leetcode/0242_valid_anagram.py
chaosWsF/Python-Practice
ff617675b6bcd125933024bb4c246b63a272314d
[ "BSD-2-Clause" ]
null
null
null
""" Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Input: s = "anagram", t = "nagaram" Output: true Example 2: Input: s = "rat", t = "car" Output: false Note: You may assume the string contains only lowercase alphabets. Follow up: What if the i...
22.291667
98
0.507477
822e6649f5126724e28587501bc18c3cf971a81b
4,144
py
Python
phpcsfixer.py
makao/sublime-php-cs-fixer
ff3227a2877a3e59c5bf9fc6e10f7aef56db8ef5
[ "MIT" ]
1
2018-11-26T19:42:41.000Z
2018-11-26T19:42:41.000Z
phpcsfixer.py
makao/sublime-php-cs-fixer
ff3227a2877a3e59c5bf9fc6e10f7aef56db8ef5
[ "MIT" ]
2
2018-01-10T05:15:08.000Z
2018-12-04T15:41:29.000Z
phpcsfixer.py
makao/sublime-php-cs-fixer
ff3227a2877a3e59c5bf9fc6e10f7aef56db8ef5
[ "MIT" ]
null
null
null
import os import re import sublime import sublime_plugin import subprocess STVER = int(sublime.version())
27.812081
112
0.600386
8231f730c04eb4d6e810e9c69386be194b173415
16,027
py
Python
main.py
PlumpMath/Panda3DCraft
7bf5b658af7809249c6bc78d059506e738546812
[ "MIT" ]
1
2021-08-07T14:05:27.000Z
2021-08-07T14:05:27.000Z
main.py
PlumpMath/Panda3DCraft
7bf5b658af7809249c6bc78d059506e738546812
[ "MIT" ]
null
null
null
main.py
PlumpMath/Panda3DCraft
7bf5b658af7809249c6bc78d059506e738546812
[ "MIT" ]
1
2021-08-15T14:50:47.000Z
2021-08-15T14:50:47.000Z
from panda3d.core import * from direct.gui.DirectGui import * from direct.showbase.ShowBase import ShowBase from noise import snoise2 import os import random from Block import * loadPrcFile('config/general.prc') if __debug__: loadPrcFile('config/dev.prc') base = ShowBase() octavesElev = 5 octavesRough = 2 octav...
45.274011
217
0.608099
8234be85b1a5c920b993e015367a06c4e394d65b
11,961
py
Python
main.py
iTecAI/minecraft-socket
72f3bbc4fb20bea4b837d093c734eab2798de89d
[ "MIT" ]
null
null
null
main.py
iTecAI/minecraft-socket
72f3bbc4fb20bea4b837d093c734eab2798de89d
[ "MIT" ]
null
null
null
main.py
iTecAI/minecraft-socket
72f3bbc4fb20bea4b837d093c734eab2798de89d
[ "MIT" ]
null
null
null
from json.decoder import JSONDecodeError from fastapi import FastAPI, Response, Request from fastapi.staticfiles import StaticFiles from argparse import ArgumentParser from starlette.status import * from starlette.responses import FileResponse, JSONResponse import uvicorn import os from pymongo import MongoClient from ...
38.214058
142
0.621269
8235474f3f587b0e7b47abaf477920cd055a7941
82
py
Python
weather/weatherapi/key.py
Stephen-Kamau/Weather_Api
b9d70f564fe055dc1400dc49d856eed95a9603ee
[ "MIT" ]
1
2020-07-30T12:48:17.000Z
2020-07-30T12:48:17.000Z
weather/weatherapi/key.py
Stephen-Kamau/Weather_Api
b9d70f564fe055dc1400dc49d856eed95a9603ee
[ "MIT" ]
null
null
null
weather/weatherapi/key.py
Stephen-Kamau/Weather_Api
b9d70f564fe055dc1400dc49d856eed95a9603ee
[ "MIT" ]
null
null
null
#my open weather api key to access the resourses api_key = "enter your key here"
20.5
48
0.756098
82371535c737935c03e91ede47e391e948acafe2
567
py
Python
docs/source/examples/simple_sp.py
giserh/gpkit
71b953fcac8f67f148b67b54b6e8cd4182dc0b3b
[ "MIT" ]
null
null
null
docs/source/examples/simple_sp.py
giserh/gpkit
71b953fcac8f67f148b67b54b6e8cd4182dc0b3b
[ "MIT" ]
null
null
null
docs/source/examples/simple_sp.py
giserh/gpkit
71b953fcac8f67f148b67b54b6e8cd4182dc0b3b
[ "MIT" ]
null
null
null
"""Adapted from t_SP in tests/t_geometric_program.py""" import gpkit # Decision variables x = gpkit.Variable('x') y = gpkit.Variable('y') # must enable signomials for subtraction with gpkit.SignomialsEnabled(): constraints = [x >= 1-y, y <= 0.1] # create and solve the SP m = gpkit.Model(x, constraints) print(m.l...
28.35
79
0.705467
8237ae1f3b2386a6d8ebda2469e470afeb0c3eb1
140
py
Python
cride/circles/urls.py
jgmc3012/cride
19401b5c19aa706c9928c12195fd8303d75f1d49
[ "MIT" ]
null
null
null
cride/circles/urls.py
jgmc3012/cride
19401b5c19aa706c9928c12195fd8303d75f1d49
[ "MIT" ]
5
2020-06-30T21:41:49.000Z
2021-09-08T02:15:04.000Z
cride/circles/urls.py
jmillandev/cride
19401b5c19aa706c9928c12195fd8303d75f1d49
[ "MIT" ]
null
null
null
from django.urls import path from cride.circles.views import ListCreateAPIView urlpatterns = [ path('', ListCreateAPIView.as_view()) ]
20
49
0.764286
8237d91bd367fa37819ecabb2d7d852f0f4245f3
550
py
Python
aula075.py
juniorpedroso/CFBCursos
88657d6aad38de7d41e76499f0ff4d85a02745ae
[ "MIT" ]
null
null
null
aula075.py
juniorpedroso/CFBCursos
88657d6aad38de7d41e76499f0ff4d85a02745ae
[ "MIT" ]
null
null
null
aula075.py
juniorpedroso/CFBCursos
88657d6aad38de7d41e76499f0ff4d85a02745ae
[ "MIT" ]
null
null
null
# Aula 75 - SpinBox from tkinter import * app = Tk() app.title('Pedroso') app.geometry('500x300') # sb_valores = Spinbox(app, from_=0, to=10) # Os valores podem ser informados por uma faixa, como acima, # ou como abaixo, em uma tupla sb_valores = Spinbox(app, values=(2, 4, 6, 8, 10)) sb_valores.pack() l_valor = L...
19.642857
69
0.705455
823a986d979638441ae38a1104614b823b72f2d7
3,922
py
Python
src/data/dataset_utils.py
GuillaumeBarree/challenge-ENS
50f1faa58be50a7c8cbd6078b4495679fd112c05
[ "MIT" ]
null
null
null
src/data/dataset_utils.py
GuillaumeBarree/challenge-ENS
50f1faa58be50a7c8cbd6078b4495679fd112c05
[ "MIT" ]
null
null
null
src/data/dataset_utils.py
GuillaumeBarree/challenge-ENS
50f1faa58be50a7c8cbd6078b4495679fd112c05
[ "MIT" ]
null
null
null
"""This file contains all functions related to the dataset.""" # pylint: disable=import-error import os import tqdm import numpy as np import pandas as pd from sklearn.model_selection import train_test_split from torch.utils.data import Dataset def basic_random_split(path_to_train, valid_ratio=0.2): """This fun...
26.863014
92
0.661652
823c37e204f339ffbed684b109b1de9e326b50a2
65
py
Python
gemlog_from_rss/spip/__init__.py
Hookz/Gemlog-from-RSS
b57a311db3008e8b0df2442236c4729a06d9b74d
[ "MIT" ]
1
2021-02-19T16:06:07.000Z
2021-02-19T16:06:07.000Z
gemlog_from_rss/spip/__init__.py
Hookz/Gemlog-from-RSS
b57a311db3008e8b0df2442236c4729a06d9b74d
[ "MIT" ]
null
null
null
gemlog_from_rss/spip/__init__.py
Hookz/Gemlog-from-RSS
b57a311db3008e8b0df2442236c4729a06d9b74d
[ "MIT" ]
null
null
null
from .content import SinglePost from .page import Page, MainPage
21.666667
32
0.815385
8240cdb3f22524daceb3ca1aaf3cf523bd2c0df4
12,619
py
Python
poseidon/ui/mobile/android/base_page.py
peterkang2001/Poseidon
cfafc01a1f69210dbfd95a0c62e06269eb599034
[ "Apache-2.0" ]
2
2019-12-27T09:14:38.000Z
2019-12-27T09:16:29.000Z
poseidon/ui/mobile/android/base_page.py
CodeMonkey4Fun/Poseidon
cfafc01a1f69210dbfd95a0c62e06269eb599034
[ "Apache-2.0" ]
2
2021-03-31T20:06:21.000Z
2021-12-13T20:48:16.000Z
poseidon/ui/mobile/android/base_page.py
peterkang2001/Poseidon
cfafc01a1f69210dbfd95a0c62e06269eb599034
[ "Apache-2.0" ]
1
2020-11-13T07:37:01.000Z
2020-11-13T07:37:01.000Z
# coding=utf-8 """ @author:songmengyun @file: base_page.py @time: 2020/01/03 """ import time import logging from selenium.webdriver.common.by import By from appium.webdriver.common.touch_action import TouchAction from selenium.webdriver.support.wait import WebDriverWait from appium.webdriver.mobilecommand import Mob...
29.902844
113
0.576908
8240d9157af0d451e4630f0ef6ada12168952405
1,957
py
Python
tests/test_models/test_task_error.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
6
2015-01-28T05:59:08.000Z
2018-01-09T07:48:57.000Z
tests/test_models/test_task_error.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
2
2020-05-09T16:36:43.000Z
2020-05-09T16:52:35.000Z
tests/test_models/test_task_error.py
wikimedia/analytics-wikimetrics
1d2036657b06ccd16ecfc76edd3f9a6119ff75f4
[ "MIT" ]
1
2016-01-13T07:19:44.000Z
2016-01-13T07:19:44.000Z
import celery from nose.tools import assert_equal, assert_true from datetime import datetime from wikimetrics.models import TaskErrorStore, ReportStore from ..fixtures import DatabaseTest
39.938776
83
0.66326
82416465e002cce6e0e1cf4af62bd2ddea23d8ff
545
py
Python
apps/puzzles/migrations/0004_metapuzzle_description.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
null
null
null
apps/puzzles/migrations/0004_metapuzzle_description.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
8
2020-02-07T04:11:07.000Z
2022-02-10T07:04:57.000Z
apps/puzzles/migrations/0004_metapuzzle_description.py
madjaqk/puzzle_master_v2
e50b0f02abbf32aebe9583152bd9a5b43f5da7d7
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2017-12-20 04:27 from django.db import migrations, models
27.25
168
0.647706
8243b500985cbd67fd910c97e1596597cb663eae
958
py
Python
cogs/testing.py
classerase/Stand-Arrow
89183c266913af889dabb68f4d0c39153875f7da
[ "MIT" ]
2
2020-06-03T20:48:09.000Z
2020-06-04T04:29:06.000Z
cogs/testing.py
BrianDehlinger/Stand-Arrow
150cb741c73a244a88ce1cbcb21c71753848bbc6
[ "MIT" ]
2
2020-06-15T18:28:17.000Z
2020-06-17T20:44:43.000Z
cogs/testing.py
BrianDehlinger/Stand-Arrow
150cb741c73a244a88ce1cbcb21c71753848bbc6
[ "MIT" ]
1
2020-06-03T20:48:07.000Z
2020-06-03T20:48:07.000Z
from discord.ext import commands
30.903226
66
0.605428
8244b7448ffcff5ecfd5351a2381a04f5d6caaae
2,577
py
Python
docker/d-streamon-master/d-streamon/streamon/scripts/attacks/generate.py
ferrarimarco/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
2
2017-12-02T10:38:05.000Z
2018-04-22T17:15:01.000Z
docker/d-streamon-master/d-streamon/streamon/scripts/attacks/generate.py
scissor-project/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
67
2017-11-11T15:22:34.000Z
2018-04-24T06:44:59.000Z
docker/d-streamon-master/d-streamon/streamon/scripts/attacks/generate.py
ferrarimarco/open-scissor
d54718a1969701798f3e2d57f3db68d829da1cc0
[ "Apache-2.0" ]
1
2017-12-07T08:18:49.000Z
2017-12-07T08:18:49.000Z
import random def generateRandomIndex(inputlist): '''(list of str)->str''' return random.choice(inputlist) def readHostFile(fileToPen): '''(str)->list of str''' lines=open(fileToPen,'r') line=lines.readlines() listOfHost=[] for i in line: listOfHost.append(i.strip()) s = ...
21.297521
104
0.593326
824559f16f34aa0ee165bce06fd9bf7a0fa99749
73
py
Python
src/base/__init__.py
Gloryness/tassomai-automation
2deef60f6b1a7640afe8c78937f1fd0088e6051c
[ "MIT" ]
34
2020-09-20T12:02:00.000Z
2022-03-22T01:46:28.000Z
src/base/__init__.py
Gloryness/tassomai-automation
2deef60f6b1a7640afe8c78937f1fd0088e6051c
[ "MIT" ]
65
2020-11-11T17:04:15.000Z
2022-03-25T15:41:15.000Z
src/base/__init__.py
Gloryness/tassomai-automation
2deef60f6b1a7640afe8c78937f1fd0088e6051c
[ "MIT" ]
13
2020-11-08T11:26:53.000Z
2022-03-22T01:46:29.000Z
__title__ = 'base' __author__ = 'Gloryness' __license__ = 'MIT License'
14.6
27
0.726027
8245c0a9780a132093308307ffdd47c661336825
20,282
py
Python
study_analyzer.py
CogStack/SemEHR-kconnect
8cfd48e358294e588575e24ccbb566f4f508b5d5
[ "Apache-2.0" ]
64
2018-04-23T02:59:45.000Z
2022-03-28T22:48:38.000Z
study_analyzer.py
CogStack/SemEHR-kconnect
8cfd48e358294e588575e24ccbb566f4f508b5d5
[ "Apache-2.0" ]
2
2018-07-16T10:33:38.000Z
2019-02-22T16:22:17.000Z
study_analyzer.py
CogStack/SemEHR-kconnect
8cfd48e358294e588575e24ccbb566f4f508b5d5
[ "Apache-2.0" ]
17
2018-06-05T17:36:55.000Z
2022-03-09T04:04:11.000Z
import ontotextapi as onto import utils import json from os.path import isfile, join, split import joblib as jl import cohortanalysis as cohort from ann_post_rules import AnnRuleExecutor import sys import xml.etree.ElementTree as ET import concept_mapping import urllib3 import logging def generate_exclusive_conc...
43.805616
121
0.601124
8245cf950c7faf9f93224170dad96f903d0f0be0
2,603
py
Python
scripts/create_fluseverity_figs_v5/S_deltaILIpercent_time_CDCbaseline_v5.py
eclee25/flu-SDI-exploratory-age
2f5a4d97b84d2116e179e85fe334edf4556aa946
[ "MIT" ]
3
2018-03-29T23:02:43.000Z
2020-08-10T12:01:50.000Z
scripts/create_fluseverity_figs_v5/S_deltaILIpercent_time_CDCbaseline_v5.py
eclee25/flu-SDI-exploratory-age
2f5a4d97b84d2116e179e85fe334edf4556aa946
[ "MIT" ]
null
null
null
scripts/create_fluseverity_figs_v5/S_deltaILIpercent_time_CDCbaseline_v5.py
eclee25/flu-SDI-exploratory-age
2f5a4d97b84d2116e179e85fe334edf4556aa946
[ "MIT" ]
null
null
null
#!/usr/bin/python ############################################## ###Python template ###Author: Elizabeth Lee ###Date: 1/25/15 ###Function: time series difference in ILI percentage from CDC-based ILI baseline calculation ###Import data: SQL_export/OR_allweeks_outpatient.csv, anydiag_allweeks_outpatient.csv ###Command...
40.046154
286
0.726854
8246faf773d4f1bfd0da404df98ee155653febc9
4,328
py
Python
sentrylogs/bin/sentrylogs.py
hossein/sentrylogs
70eaf665f9010ba2d8370ccc4013673bab7e2b16
[ "BSD-3-Clause" ]
32
2015-07-01T11:12:32.000Z
2021-09-04T23:58:27.000Z
sentrylogs/bin/sentrylogs.py
hossein/sentrylogs
70eaf665f9010ba2d8370ccc4013673bab7e2b16
[ "BSD-3-Clause" ]
37
2016-05-27T13:55:24.000Z
2022-02-24T14:55:58.000Z
sentrylogs/bin/sentrylogs.py
hossein/sentrylogs
70eaf665f9010ba2d8370ccc4013673bab7e2b16
[ "BSD-3-Clause" ]
15
2015-10-14T14:20:23.000Z
2021-12-03T08:49:15.000Z
#!/usr/bin/env python """Standalone script for Sentry Logs""" from __future__ import print_function import os import argparse try: from configparser import ConfigParser except ImportError: # Python 2.7 from ConfigParser import ConfigParser # pylint: disable=import-error # Ignore warnings caused by ``sentr...
37.310345
81
0.606978