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
0fe028e53da10f567941d0206c9d2ffff90acae0
418
py
Python
prometheus_redis_client/helpers.py
ChielWH/prometheus_redis_client
90852fb0eaf3aee1937a74cad6181c304dc6999a
[ "Apache-2.0" ]
19
2019-04-02T11:46:45.000Z
2022-03-21T03:38:56.000Z
prometheus_redis_client/helpers.py
ChielWH/prometheus_redis_client
90852fb0eaf3aee1937a74cad6181c304dc6999a
[ "Apache-2.0" ]
12
2019-08-17T05:55:23.000Z
2022-02-10T07:37:38.000Z
prometheus_redis_client/helpers.py
ChielWH/prometheus_redis_client
90852fb0eaf3aee1937a74cad6181c304dc6999a
[ "Apache-2.0" ]
6
2019-11-20T15:12:38.000Z
2022-03-21T03:36:44.000Z
import time from typing import Callable from functools import wraps
26.125
63
0.62201
0fe195d068b46848f6a4f6f2244542d3be9fe7d3
930
py
Python
tests/test_build.py
polishmatt/swp
e54a8f4ed13a48dd3a385c6d312edd6e4c86724a
[ "MIT" ]
1
2017-02-13T23:09:46.000Z
2017-02-13T23:09:46.000Z
tests/test_build.py
polishmatt/swp
e54a8f4ed13a48dd3a385c6d312edd6e4c86724a
[ "MIT" ]
16
2016-11-03T02:50:17.000Z
2017-01-24T04:35:42.000Z
tests/test_build.py
polishmatt/stawp
e54a8f4ed13a48dd3a385c6d312edd6e4c86724a
[ "MIT" ]
null
null
null
import unittest import filecmp from stawp.build import Builder
34.444444
129
0.658065
0fe287ed47660782eaba77ed18083c4847e2daf2
1,721
py
Python
ARP-SPOOF.py
DEMON1A/ARP-SP00FER
a5fac4fd1da1f095ea1d09bd0b1708edfd63391c
[ "MIT" ]
2
2019-10-22T20:49:04.000Z
2019-10-22T21:05:12.000Z
ARP-SPOOF.py
DEMON1A/ARP-SP00FER
a5fac4fd1da1f095ea1d09bd0b1708edfd63391c
[ "MIT" ]
null
null
null
ARP-SPOOF.py
DEMON1A/ARP-SP00FER
a5fac4fd1da1f095ea1d09bd0b1708edfd63391c
[ "MIT" ]
null
null
null
# Start Imports. import scapy.all as scapy import time , sys Banner() Address = input("\nTarget IP >> ") MainIP = input("Network IP >> ") Packets = 0 try: while True: SPOOF(Address,MainIP) #--\ Send A Request To Address Once SPOOF(MainIP,Address) #--/ Then Send Another Request To The Router. Packe...
33.745098
118
0.684486
0fe648b3645c63c3137ac9f66876140376501f31
3,513
py
Python
ebrains_drive/repo.py
apdavison/ebrains-drive
8ff11fc60e77c1b605485f550efc350c1a5f443a
[ "Apache-2.0" ]
5
2020-12-20T16:12:18.000Z
2022-03-29T09:56:34.000Z
ebrains_drive/repo.py
apdavison/ebrains-drive
8ff11fc60e77c1b605485f550efc350c1a5f443a
[ "Apache-2.0" ]
9
2020-09-25T08:27:41.000Z
2022-01-03T08:41:48.000Z
ebrains_drive/repo.py
apdavison/ebrains-drive
8ff11fc60e77c1b605485f550efc350c1a5f443a
[ "Apache-2.0" ]
2
2020-09-18T17:32:38.000Z
2020-10-13T13:34:38.000Z
from urllib.parse import urlencode from ebrains_drive.files import SeafDir, SeafFile from ebrains_drive.utils import raise_does_not_exist def list_history(self): """List the history of this repo Returns a list of :class:`RepoRevision` object. """ pass ## Operations only the re...
34.441176
380
0.618275
0fe7f5a0d2d6cc56f2638823285b05af4eeb1e16
765
py
Python
dice_vtk/geometries/regularPolygon.py
dicehub/dice_vtk
ab8d9f34ae359461db5687d05bf38548bbaca6ea
[ "MIT" ]
null
null
null
dice_vtk/geometries/regularPolygon.py
dicehub/dice_vtk
ab8d9f34ae359461db5687d05bf38548bbaca6ea
[ "MIT" ]
null
null
null
dice_vtk/geometries/regularPolygon.py
dicehub/dice_vtk
ab8d9f34ae359461db5687d05bf38548bbaca6ea
[ "MIT" ]
null
null
null
# External modules # ================ from vtk import vtkRegularPolygonSource # DICE modules # ============ from .simple_geometry import SimpleGeometry from .geometry_base import GeometryProperty
24.677419
56
0.686275
0fe8f61e2798227c0a5f37e919ed4b4d1165a3cb
3,411
py
Python
setup.py
erisyon/plaster
20af32aed2365c6351fe3c26293308960099152b
[ "MIT" ]
null
null
null
setup.py
erisyon/plaster
20af32aed2365c6351fe3c26293308960099152b
[ "MIT" ]
22
2020-06-22T19:27:50.000Z
2021-09-30T20:02:31.000Z
setup.py
erisyon/plaster
20af32aed2365c6351fe3c26293308960099152b
[ "MIT" ]
2
2020-06-16T17:38:46.000Z
2021-08-06T09:37:22.000Z
# python setup.py build_ext --inplace import importlib import os import pathlib from setuptools import Extension, setup from setuptools.command.build_ext import build_ext as build_ext_orig # The directory containing this file HERE = pathlib.Path(__file__).parent # The text of the README file README = (HERE / "READM...
31.293578
98
0.635884
0fea9e84390ca4337814033e2de20494658f11f0
6,823
py
Python
src/commands/ctx.py
jportner/kibbe
72d62ba0c1ca206430fc606c72d19eace6329e41
[ "MIT" ]
2
2021-08-17T15:04:38.000Z
2021-12-28T15:41:42.000Z
src/commands/ctx.py
jportner/kibbe
72d62ba0c1ca206430fc606c72d19eace6329e41
[ "MIT" ]
7
2021-08-24T07:53:19.000Z
2022-01-26T20:45:24.000Z
src/commands/ctx.py
jportner/kibbe
72d62ba0c1ca206430fc606c72d19eace6329e41
[ "MIT" ]
2
2021-07-15T16:19:44.000Z
2022-01-19T20:25:30.000Z
import os from pathlib import Path from src.git import find_existing_worktree, get_worktree_list_flat from src.tmux import get_current_panel, is_inside_tmux import subprocess import click from termcolor import colored from src.util import get_valid_filename
30.596413
102
0.628463
0feb0c6e6241aa5986054baa7aa3874ebe9efe97
4,313
py
Python
code/biases_generation/biases_generation.py
commonsense-exception/commonsense-exception
ab83323a2d566f49b6de7b4b06c3c338ceec895f
[ "MIT" ]
null
null
null
code/biases_generation/biases_generation.py
commonsense-exception/commonsense-exception
ab83323a2d566f49b6de7b4b06c3c338ceec895f
[ "MIT" ]
null
null
null
code/biases_generation/biases_generation.py
commonsense-exception/commonsense-exception
ab83323a2d566f49b6de7b4b06c3c338ceec895f
[ "MIT" ]
null
null
null
import pandas as pd import sys, argparse import importlib.util from tqdm import tqdm NUM_SELECTING = 10 # helper function to help load things from maskedlm folder MASKEDLM_MODULE_PATH = "../maskedlm/maskedlm.py" # importimng the function one_mask_generation from maskedlm.py one_mask_generation = module_from_file('...
43.565657
124
0.664735
0feb6e540faea9556a7188bf2180fcd15abce9ef
1,279
py
Python
qf_lib/documents_utils/document_exporting/element/custom.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
198
2019-08-16T15:09:23.000Z
2022-03-30T12:44:00.000Z
qf_lib/documents_utils/document_exporting/element/custom.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
13
2021-01-07T10:15:19.000Z
2022-03-29T13:01:47.000Z
qf_lib/documents_utils/document_exporting/element/custom.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
29
2019-08-16T15:21:28.000Z
2022-02-23T09:53:49.000Z
# Copyright 2016-present CERN European Organization for Nuclear Research # # 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....
38.757576
78
0.715403
0feb7089dc2957a91fab8aa02b4296dd72cb381a
214
py
Python
api/urls.py
GHImplementationTeam/referrals
fe00e97e208f0d6e451653cd1586f51b4a3e9720
[ "MIT" ]
null
null
null
api/urls.py
GHImplementationTeam/referrals
fe00e97e208f0d6e451653cd1586f51b4a3e9720
[ "MIT" ]
null
null
null
api/urls.py
GHImplementationTeam/referrals
fe00e97e208f0d6e451653cd1586f51b4a3e9720
[ "MIT" ]
null
null
null
from django.conf.urls import url import referrals urlpatterns = [ url(r'^referrals/$', referrals.ReferralsView.as_view()), url(r'^referral/(?P<referral_id>[-&\w]+)/$', referrals.ReferralView.as_view()), ]
26.75
83
0.691589
0febcd6f09e5ceb6936fd4c607ad690f91da7471
194
py
Python
venv/webscrap_teste.py
pgfjunior/teste_web_scraping
fb8de63863287c9714a49849c9e2866def65f068
[ "MIT" ]
null
null
null
venv/webscrap_teste.py
pgfjunior/teste_web_scraping
fb8de63863287c9714a49849c9e2866def65f068
[ "MIT" ]
null
null
null
venv/webscrap_teste.py
pgfjunior/teste_web_scraping
fb8de63863287c9714a49849c9e2866def65f068
[ "MIT" ]
null
null
null
import urllib.request from bs4 import BeautifulSoup page = urllib.request.urlopen('https://www.dentalcremer.com.br/') soup = BeautifulSoup(page, "html.parser") print(soup.find_all('table'))
19.4
65
0.757732
0fed33d3830cf5a78951341d11b17322020b73f1
18,691
py
Python
datasets/ner_dataset.py
saiajaym/MetaLearningForNER
88009aa478645685e5bacef762e896c9ca1ecad9
[ "MIT" ]
3
2021-05-12T15:16:02.000Z
2021-11-02T05:23:56.000Z
datasets/ner_dataset.py
saiajaym/MetaLearningForNER
88009aa478645685e5bacef762e896c9ca1ecad9
[ "MIT" ]
2
2021-08-07T01:59:57.000Z
2022-03-23T09:46:30.000Z
datasets/ner_dataset.py
saiajaym/MetaLearningForNER
88009aa478645685e5bacef762e896c9ca1ecad9
[ "MIT" ]
2
2020-12-27T22:31:14.000Z
2021-04-02T17:36:35.000Z
import itertools import json import os import random from collections import defaultdict, Counter from tqdm.auto import tqdm, trange from torch.nn import CrossEntropyLoss from torch.utils import data import numpy as np from datasets import utils def read_examples_from_file(data_dir, valid_labels): print (f'val...
37.307385
123
0.569311
0fedad77ac88f1a6c75d6f7e75f5be3e0ab52f87
1,994
py
Python
tests/test_testoot/conftest.py
sobolevn/testoot
bd1c19da6a232b1599836275c5026661a41e3c4a
[ "MIT" ]
2
2020-04-19T13:48:32.000Z
2020-05-02T17:43:55.000Z
tests/test_testoot/conftest.py
sobolevn/testoot
bd1c19da6a232b1599836275c5026661a41e3c4a
[ "MIT" ]
14
2020-05-02T16:31:57.000Z
2020-05-10T20:07:58.000Z
tests/test_testoot/conftest.py
aptakhin/regress
83e07b2cd745f5f5dc733edbd126bedbb5b2abf3
[ "MIT" ]
1
2020-05-20T12:04:12.000Z
2020-05-20T12:04:12.000Z
from typing import Optional import pytest from testoot.base import TestootContext, Comparator, TestootSerializer, \ FileType, TestootTestResult from testoot.ext.pytest import PytestContext from testoot.testoot import Testoot from tests.conftest import AbcDiffResult class TrueComparator(Comparator):
29.323529
73
0.69007
0fee2372d6f0f14e825a2cb46d667f12dbab810f
1,109
py
Python
peptidemapper/src/pepmapperapp/migrations/0002_mapperautocomplete.py
uvic-proteincentre/MRMAssayDB
12b19a2064fe9b8006f6457500c9cb79b1b829ed
[ "Apache-2.0" ]
null
null
null
peptidemapper/src/pepmapperapp/migrations/0002_mapperautocomplete.py
uvic-proteincentre/MRMAssayDB
12b19a2064fe9b8006f6457500c9cb79b1b829ed
[ "Apache-2.0" ]
null
null
null
peptidemapper/src/pepmapperapp/migrations/0002_mapperautocomplete.py
uvic-proteincentre/MRMAssayDB
12b19a2064fe9b8006f6457500c9cb79b1b829ed
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations
35.774194
114
0.574391
0fefc8f742a0c3f16da7678d4d39eaa122d3604d
669
py
Python
stream/utils.py
maddevsio/yourcast-web
c3e897f28dc16f71e4f625564270c0d3b72fa53f
[ "MIT" ]
8
2017-05-12T10:08:03.000Z
2020-12-22T00:01:39.000Z
stream/utils.py
maddevsio/yourcast-web
c3e897f28dc16f71e4f625564270c0d3b72fa53f
[ "MIT" ]
null
null
null
stream/utils.py
maddevsio/yourcast-web
c3e897f28dc16f71e4f625564270c0d3b72fa53f
[ "MIT" ]
6
2017-05-12T13:35:43.000Z
2021-08-09T13:43:31.000Z
# -*- coding: utf-8 -*- import json from random import shuffle
25.730769
52
0.593423
0ff35978def3b7c4ac27b01bea75d781f15a6451
1,753
py
Python
laterpay/compat.py
laterpay/laterpay-client-python
c75e13408f6900202108f52e386e1c8c719e5377
[ "MIT" ]
3
2015-09-16T13:32:41.000Z
2015-09-16T15:10:20.000Z
laterpay/compat.py
laterpay/laterpay-client-python
c75e13408f6900202108f52e386e1c8c719e5377
[ "MIT" ]
81
2015-02-05T07:05:50.000Z
2020-06-02T11:27:24.000Z
laterpay/compat.py
laterpay/laterpay-client-python
c75e13408f6900202108f52e386e1c8c719e5377
[ "MIT" ]
1
2016-12-14T12:26:38.000Z
2016-12-14T12:26:38.000Z
# -*- coding: utf-8 -*- import warnings import six def encode_if_unicode(value, encoding='utf-8'): # pragma: no cover """ Encode and return a ``value`` using specified ``encoding``. Encoding is done only if ``value`` is a ``unicode`` instance (utf-8 encoding is used as default). .. deprecated:...
29.216667
78
0.649173
0ff3a9bcd7a1323504d7ab075a98f49049806831
832
py
Python
main.py
irahorecka/craigslist-housing-subscription
389c325dc30526eaed4c2333f5dd4d60d7939a13
[ "MIT" ]
null
null
null
main.py
irahorecka/craigslist-housing-subscription
389c325dc30526eaed4c2333f5dd4d60d7939a13
[ "MIT" ]
null
null
null
main.py
irahorecka/craigslist-housing-subscription
389c325dc30526eaed4c2333f5dd4d60d7939a13
[ "MIT" ]
null
null
null
""" Main file to find and send user Craigslist housing posts. """ import time import users import posts import mail def main(): """Main app to execute subscription based email notifications.""" users_json = users.get_users() # At start of subscription, drop all content and populate db without sending ema...
26
88
0.661058
0ff3aa2c46383feaa45de6cad4e80e2f67da3cda
790
py
Python
python/1469_Find_All_Lonely_Nodes.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
17
2016-03-01T22:40:53.000Z
2021-04-19T02:15:03.000Z
python/1469_Find_All_Lonely_Nodes.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
null
null
null
python/1469_Find_All_Lonely_Nodes.py
liaison/LeetCode
8b10a1f6bbeb3ebfda99248994f7c325140ee2fd
[ "MIT" ]
3
2019-03-07T03:48:43.000Z
2020-04-05T01:11:36.000Z
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right
28.214286
58
0.486076
0ff63aac37f72e1d8009c51dfe97ba6cd5e1b4db
4,069
py
Python
models/discrete_models/compression/compress_N_fast.py
openworm/behavioral_syntax
afc7c9866c23bb5d6ff05c8cddf5abec7f17a8d4
[ "MIT" ]
3
2017-08-15T19:33:13.000Z
2021-03-06T16:37:15.000Z
models/discrete_models/compression/compress_N_fast.py
AidanRocke/behavioral_syntax_in_Python
afc7c9866c23bb5d6ff05c8cddf5abec7f17a8d4
[ "MIT" ]
31
2015-07-05T02:28:44.000Z
2016-02-17T06:47:45.000Z
models/discrete_models/compression/compress_N_fast.py
AidanRocke/behavioral_syntax_in_Python
afc7c9866c23bb5d6ff05c8cddf5abec7f17a8d4
[ "MIT" ]
1
2016-02-19T09:40:16.000Z
2016-02-19T09:40:16.000Z
# -*- coding: utf-8 -*- """ Created on Wed Sep 2 21:55:56 2015 @author: aidanrocke """ import numpy as np def compressSequenceNFast(posture_seq, newStart, nMax): """ # COMPRESSSEQUENCE Recursively finds the most compressive subsequence in # posture_seq and creates and replaces it with a new number. Thi...
42.385417
136
0.634062
0ff6b96f6cdfa0859ccdfa2be4df46f2d40daa71
2,631
py
Python
hdmi/cores/transmitter/convert_30_to_15.py
srivatsan-ramesh/HDMI-Source-Sink-Modules
00b99db3d50f9f88f74f0d1685cddcbe35ba1933
[ "MIT" ]
10
2016-05-08T11:41:40.000Z
2021-11-16T08:28:06.000Z
hdmi/cores/transmitter/convert_30_to_15.py
srivatsan-ramesh/HDMI-Source-Sink-Modules
00b99db3d50f9f88f74f0d1685cddcbe35ba1933
[ "MIT" ]
3
2016-05-18T17:36:14.000Z
2016-06-23T17:42:37.000Z
hdmi/cores/transmitter/convert_30_to_15.py
srivatsan-ramesh/HDMI-Source-Sink-Modules
00b99db3d50f9f88f74f0d1685cddcbe35ba1933
[ "MIT" ]
2
2016-05-21T13:53:20.000Z
2016-06-21T22:05:42.000Z
from myhdl import Signal, intbv, always, always_comb, block, instances from hdmi.cores.primitives import dram16xn
24.361111
96
0.581908
0ff6fb1c2b8d1844c202ef54247d1d380ce729a2
10,377
py
Python
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/rest_commands.py
slab14/metron
52bd310fcce68dad15eead57f1113092a30d9791
[ "Apache-2.0" ]
1
2017-02-07T03:31:44.000Z
2017-02-07T03:31:44.000Z
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/rest_commands.py
slab14/metron
52bd310fcce68dad15eead57f1113092a30d9791
[ "Apache-2.0" ]
2
2017-06-22T18:03:12.000Z
2017-06-25T03:51:47.000Z
metron-deployment/packaging/ambari/metron-mpack/src/main/resources/common-services/METRON/CURRENT/package/scripts/rest_commands.py
slab14/metron
52bd310fcce68dad15eead57f1113092a30d9791
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License");...
40.694118
164
0.668979
0ff7544e0c718c0471e071d248d68513094b0c4f
1,358
py
Python
alipay/aop/api/response/AlipayPcreditHuabeiGoodsCategoryQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayPcreditHuabeiGoodsCategoryQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayPcreditHuabeiGoodsCategoryQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.GoodsCategoryResult import GoodsCategoryResult
31.581395
118
0.667894
0ff7fbbc548ae8f478c6c4aede185d3a7e7ad3c3
4,740
py
Python
gadk/cli.py
stucox/gadk
6144619d78608df0559e03ee5eab76500fb9b496
[ "MIT" ]
1
2020-08-13T17:34:02.000Z
2020-08-13T17:34:02.000Z
gadk/cli.py
stucox/gadk
6144619d78608df0559e03ee5eab76500fb9b496
[ "MIT" ]
2
2020-05-04T14:11:02.000Z
2022-03-25T12:00:00.000Z
gadk/cli.py
stucox/gadk
6144619d78608df0559e03ee5eab76500fb9b496
[ "MIT" ]
1
2022-03-25T11:31:59.000Z
2022-03-25T11:31:59.000Z
import importlib import inspect from os import getcwd, makedirs from os.path import exists from typing import List, Set, Optional import click import sys from gadk import Workflow def output_to_file(workflow: Workflow): """Write the workflow to .github/workflows/{workflow.filename}.yml.""" makedirs(".githu...
32.027027
103
0.674895
0ff91e3fafb80c50fca16bcdb41b0cd40242dff6
1,373
py
Python
hummingbot/cli/utils/symbol_splitter.py
mitakash/hummingbot
58c2bc421f5da9cef472fea473f9b5273466b11c
[ "Apache-2.0" ]
null
null
null
hummingbot/cli/utils/symbol_splitter.py
mitakash/hummingbot
58c2bc421f5da9cef472fea473f9b5273466b11c
[ "Apache-2.0" ]
null
null
null
hummingbot/cli/utils/symbol_splitter.py
mitakash/hummingbot
58c2bc421f5da9cef472fea473f9b5273466b11c
[ "Apache-2.0" ]
null
null
null
import re from typing import Tuple BINANCE_SYMBOL_SPLITTER = re.compile(r"^(\w+)(BTC|ETH|BNB|XRP|USDT|USDC|TUSD|PAX)$")
30.511111
118
0.589221
0ff9a9bae36874fc3a41a605b6109b76794154d0
991
py
Python
headerstest.py
mzeinstra/openAnalyser
859156117948eb15283c348e6f6025cae9352279
[ "MIT" ]
1
2021-06-28T09:39:43.000Z
2021-06-28T09:39:43.000Z
headerstest.py
mzeinstra/openAnalyser
859156117948eb15283c348e6f6025cae9352279
[ "MIT" ]
null
null
null
headerstest.py
mzeinstra/openAnalyser
859156117948eb15283c348e6f6025cae9352279
[ "MIT" ]
null
null
null
from urllib.parse import urlparse from bs4 import BeautifulSoup import urllib3 from socket import timeout import tldextract import re import traceback import sys import logging import socket import threading from time import sleep from collector import Collector from checker import Checker http = urllib3.PoolManager(...
30.030303
64
0.491423
0ff9f9952934c592807600d700c67ca369be77e0
2,074
py
Python
counterfit/core/attacks.py
Mandroide/counterfit
3252588d45514192edd4444b3bff0bf006f92bf0
[ "MIT" ]
null
null
null
counterfit/core/attacks.py
Mandroide/counterfit
3252588d45514192edd4444b3bff0bf006f92bf0
[ "MIT" ]
null
null
null
counterfit/core/attacks.py
Mandroide/counterfit
3252588d45514192edd4444b3bff0bf006f92bf0
[ "MIT" ]
null
null
null
import datetime import uuid import numpy as np from hyperopt import pyll from counterfit.core import enums from counterfit.core.interfaces import AbstractAttack
30.057971
142
0.60704
0ffa165f3d1ac05d9baa3f4e414d5d4b7ae714b1
4,909
py
Python
electronics/scripts/generate_svg.py
chrisdearman/splitflap
3a67ecf99119994f7e678ca0eac94586ba79326e
[ "Apache-2.0" ]
2,138
2015-10-05T18:39:40.000Z
2022-03-31T19:16:08.000Z
electronics/scripts/generate_svg.py
chrisdearman/splitflap
3a67ecf99119994f7e678ca0eac94586ba79326e
[ "Apache-2.0" ]
136
2015-11-08T02:22:51.000Z
2022-03-24T23:57:14.000Z
electronics/scripts/generate_svg.py
chrisdearman/splitflap
3a67ecf99119994f7e678ca0eac94586ba79326e
[ "Apache-2.0" ]
175
2016-08-07T21:20:41.000Z
2022-03-31T03:58:37.000Z
#!/usr/bin/env python3 # Copyright 2015-2016 Scott Bezek and the splitflap contributors # # 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/LICENS...
33.394558
103
0.608067
0ffa8f71aabd0e5b29a56e626be5c5dbaf416686
335
py
Python
flloat/__version__.py
aadeshnpn/flloat
5a84608400d401799421f872e561689e3159a513
[ "MIT" ]
null
null
null
flloat/__version__.py
aadeshnpn/flloat
5a84608400d401799421f872e561689e3159a513
[ "MIT" ]
null
null
null
flloat/__version__.py
aadeshnpn/flloat
5a84608400d401799421f872e561689e3159a513
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __title__ = "flloat" __description__ = "A Python implementation of the FLLOAT library." __url__ = "https://github.com/marcofavorito/flloat.git" __version__ = "1.0.0a0" __author__ = "Marco Favorito" __author_email__ = "marco.favorito@gmail.com" __license__ = "MIT license" __copyright__ = "2019 M...
30.454545
66
0.743284
0ffb6d131a75f4d5e786c2e48eaefbaf6ae88520
326
py
Python
app/blog/blog_entries/migrations/0002_remove_article_for_adult.py
Risoko/DRF-Auth-With-Blog-Entries
ba903d1eba1d1f774bfa3782d51d292430d84dbd
[ "MIT" ]
null
null
null
app/blog/blog_entries/migrations/0002_remove_article_for_adult.py
Risoko/DRF-Auth-With-Blog-Entries
ba903d1eba1d1f774bfa3782d51d292430d84dbd
[ "MIT" ]
null
null
null
app/blog/blog_entries/migrations/0002_remove_article_for_adult.py
Risoko/DRF-Auth-With-Blog-Entries
ba903d1eba1d1f774bfa3782d51d292430d84dbd
[ "MIT" ]
null
null
null
# Generated by Django 3.0.1 on 2020-01-08 08:47 from django.db import migrations
18.111111
47
0.588957
0ffe19b3916428633aaa555941af73dfa1704c82
1,699
py
Python
bis/apps/incubator/models/stages.py
AgustinMachiavello/business-incubation-system
983e1308697771570891568f99d1b8ba74441d32
[ "MIT" ]
2
2021-03-03T16:16:42.000Z
2021-03-08T22:43:10.000Z
bis/apps/incubator/models/stages.py
AgustinMachiavello/business-incubation-system
983e1308697771570891568f99d1b8ba74441d32
[ "MIT" ]
null
null
null
bis/apps/incubator/models/stages.py
AgustinMachiavello/business-incubation-system
983e1308697771570891568f99d1b8ba74441d32
[ "MIT" ]
null
null
null
""" Stage model """ # Models from django.db import models from .timeStampMixin import TimeStampMixin from ..models.projects import Project # Date and time from django.utils import timezone
32.673077
100
0.648028
0ffecfc820d549bb4fa3335755a6e86a03bd358c
2,584
py
Python
src/process_particle_sys.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
4
2019-09-26T21:34:32.000Z
2021-11-18T19:31:15.000Z
src/process_particle_sys.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
null
null
null
src/process_particle_sys.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
null
null
null
import sys sys.dont_write_bytecode = True from module_info import * from module_particle_systems import * from process_common import * # Lav's export_dir tweak export_dir = '%s/' % export_dir.replace('\\', '/').rstrip('/') id_pos = 0 flags_pos = 1 mesh_name_pos = 2 num_particles_pos = 3 life_pos = 4 ...
37.449275
159
0.700464
0fff06c8d1de1e3a853ccb96506d8813c421c072
498
py
Python
local_configs/write_config.py
wzpscott/SegformerDistillation
6558757f5071251410e90270e197755860a6f41c
[ "DOC" ]
null
null
null
local_configs/write_config.py
wzpscott/SegformerDistillation
6558757f5071251410e90270e197755860a6f41c
[ "DOC" ]
null
null
null
local_configs/write_config.py
wzpscott/SegformerDistillation
6558757f5071251410e90270e197755860a6f41c
[ "DOC" ]
null
null
null
import os import argparse parser = argparse.ArgumentParser() parser.add_argument('config_path') parser.add_argument('sh_path',default='train_10.24.sh') args = parser.parse_args() config_path = args.config_path sh_path = args.sh_path with open(f'/home/mist/SegformerDistillation/local_configs/{sh_path}','w') as f: f...
33.2
80
0.712851
ba002eceb241d614be5bd495796015ba35b2c230
4,297
py
Python
boris/reporting/reports/clients.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
1
2021-08-10T14:01:26.000Z
2021-08-10T14:01:26.000Z
boris/reporting/reports/clients.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
5
2018-04-04T14:31:34.000Z
2020-06-08T07:50:23.000Z
boris/reporting/reports/clients.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
4
2017-02-06T15:38:34.000Z
2018-03-21T09:40:12.000Z
# -*- coding: utf-8 -*- from boris import utils import datetime from django.contrib.contenttypes.models import ContentType from django.template import loader from django.template.context import RequestContext from django.utils.translation import ugettext_lazy as _ from boris.classification import DRUG_APPLICATION_TYPE...
40.158879
114
0.647428
ba01fa0a52b489962a736d36092f48f17a3d2800
51
py
Python
1-Machine-Learning/0-Basic-Knowledge/Math-Knowledge/GMM.py
yzy1996/Artificial-Intelligence
30a9a2ce1602b9fa9be5981e98885c1c4244cbbd
[ "MIT" ]
7
2019-11-09T02:55:35.000Z
2021-08-16T12:43:44.000Z
4-Archived/Knowledge/GMM.py
yzy1996/Machine-Learning
67c58ee5603fe25d789b3c4b3fa3929c5ac82c1f
[ "MIT" ]
3
2020-10-13T03:12:03.000Z
2021-03-21T09:03:02.000Z
4-Archived/Knowledge/GMM.py
yzy1996/Machine-Learning
67c58ee5603fe25d789b3c4b3fa3929c5ac82c1f
[ "MIT" ]
6
2020-06-07T08:14:15.000Z
2021-08-02T09:04:31.000Z
''' ''' import numpy as np
7.285714
18
0.705882
ba02074bfe1f775062ea20b58c4a53ed13f99818
23,967
py
Python
app1/mercado_externo.py
Nicolasvegam/astrazeneca
9f549c170553d6ad13bc2949e147f4a2a53cb67d
[ "MIT" ]
null
null
null
app1/mercado_externo.py
Nicolasvegam/astrazeneca
9f549c170553d6ad13bc2949e147f4a2a53cb67d
[ "MIT" ]
null
null
null
app1/mercado_externo.py
Nicolasvegam/astrazeneca
9f549c170553d6ad13bc2949e147f4a2a53cb67d
[ "MIT" ]
null
null
null
import json frecuencias = [ { "tag": "company", "count": 44 }, { "tag": "team", "count": 44 }, { "tag": "experience", "count": 43 }, { "tag": "global", "count": 42 }, { "tag": "local", "count": 41 }, { "tag": "we", "count": 40 }, { "tag": "ex...
12.019559
58
0.375475
ba03c7612f86df91d7ee18658bef4eedbec16d11
49
py
Python
servers/__init__.py
shubhamdipt/monitoring-dashboard
ae4524f1c179cf735fdc17673865bdbdb463ee3e
[ "MIT" ]
1
2021-08-08T14:40:09.000Z
2021-08-08T14:40:09.000Z
servers/__init__.py
shubhamdipt/monitoring-dashboard
ae4524f1c179cf735fdc17673865bdbdb463ee3e
[ "MIT" ]
null
null
null
servers/__init__.py
shubhamdipt/monitoring-dashboard
ae4524f1c179cf735fdc17673865bdbdb463ee3e
[ "MIT" ]
null
null
null
default_app_config = 'servers.apps.ServersConfig'
49
49
0.857143
ba041d9f4395da9615d70dc1c9b697b6dd747f7f
1,903
py
Python
config.py
SoCaTel/backend-storage
11667d1868dc0d031bf0c6e938724bf2ba6f9343
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
config.py
SoCaTel/backend-storage
11667d1868dc0d031bf0c6e938724bf2ba6f9343
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
config.py
SoCaTel/backend-storage
11667d1868dc0d031bf0c6e938724bf2ba6f9343
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#-------------------------------------------------------------------------------- # SoCaTel - Backend data storage API endpoints docker container # These tokens are needed for database access. #-------------------------------------------------------------------------------- #===========================================...
55.970588
102
0.524435
ba042e7a2bc7c5d67d985eb95d5d7984724f276f
5,055
py
Python
vet_care/vet_care/report/vc_sales_transaction/vc_sales_transaction.py
neerajvkn/vet_care
14914b22e7a83265d736f9f9dc5186271ae62d66
[ "MIT" ]
2
2020-11-23T11:14:32.000Z
2021-02-03T06:40:33.000Z
vet_care/vet_care/report/vc_sales_transaction/vc_sales_transaction.py
neerajvkn/vet_care
14914b22e7a83265d736f9f9dc5186271ae62d66
[ "MIT" ]
null
null
null
vet_care/vet_care/report/vc_sales_transaction/vc_sales_transaction.py
neerajvkn/vet_care
14914b22e7a83265d736f9f9dc5186271ae62d66
[ "MIT" ]
7
2019-11-16T14:36:33.000Z
2021-08-25T07:54:51.000Z
# Copyright (c) 2013, 9T9IT and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import fmt_money from toolz.curried import compose, groupby, valmap, first, reduce, unique, pluck, count, partial
27.324324
96
0.682295
ba04925fb21e3e8cf52311a9c8f795fc603cbc36
1,193
py
Python
integration-test/1634-hide-early-nursing-home.py
rinnyB/vector-datasource
024909ed8245a4ad4a25c908413ba3602de6c335
[ "MIT" ]
null
null
null
integration-test/1634-hide-early-nursing-home.py
rinnyB/vector-datasource
024909ed8245a4ad4a25c908413ba3602de6c335
[ "MIT" ]
2
2021-03-31T20:22:37.000Z
2021-12-13T20:50:11.000Z
integration-test/1634-hide-early-nursing-home.py
rinnyB/vector-datasource
024909ed8245a4ad4a25c908413ba3602de6c335
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- from . import FixtureTest
31.394737
75
0.460184
ba05091c49ea6a651c08af4ab43f6b89d1619ef6
1,567
py
Python
mido_midifile.py
olemb/rawmidifile
d2f5df882257b14c924a90110d506729080e8c1e
[ "MIT" ]
null
null
null
mido_midifile.py
olemb/rawmidifile
d2f5df882257b14c924a90110d506729080e8c1e
[ "MIT" ]
null
null
null
mido_midifile.py
olemb/rawmidifile
d2f5df882257b14c924a90110d506729080e8c1e
[ "MIT" ]
null
null
null
""" MIDI file reader and writer for Mido built on top of rawmidifile. There is no official API in Mido for encoding and decoding meta messages so I've had to use some internal functions. """ from rawmidifile import read_rawmidifile, write_rawmidifile import mido from mido.midifiles.meta import (build_meta_message, ...
26.559322
72
0.662412
ba050f61eda5b2d821dc6b5f12862b36a4acfe44
8,322
py
Python
src/Tools/CodeGenerator/Plugins/SharedLibraryTestsPluginImpl/ScalarTypeInfos.py
Bhaskers-Blu-Org2/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
15
2019-12-14T07:54:18.000Z
2021-03-14T14:53:28.000Z
src/Tools/CodeGenerator/Plugins/SharedLibraryTestsPluginImpl/ScalarTypeInfos.py
Bhaskers-Blu-Org2/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
30
2019-12-03T20:58:56.000Z
2020-04-21T23:34:39.000Z
src/Tools/CodeGenerator/Plugins/SharedLibraryTestsPluginImpl/ScalarTypeInfos.py
microsoft/FeaturizersLibrary
229ae38ea233bfb02a6ff92ec3a67c1751c58005
[ "MIT" ]
13
2020-01-23T00:18:47.000Z
2021-10-04T17:46:45.000Z
# ---------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License # ---------------------------------------------------------------------- """Contains the scalar type info objects""" import os import textwrap ...
41.819095
290
0.43403
ba0556544146fb79fec4279f3882b808667993f8
4,746
py
Python
testing/solid_growthremodeling_fiberstretch.py
marchirschvogel/amb
af48b2a672cfcfb7a081020cda599fde85aa6b65
[ "BSD-4-Clause" ]
null
null
null
testing/solid_growthremodeling_fiberstretch.py
marchirschvogel/amb
af48b2a672cfcfb7a081020cda599fde85aa6b65
[ "BSD-4-Clause" ]
null
null
null
testing/solid_growthremodeling_fiberstretch.py
marchirschvogel/amb
af48b2a672cfcfb7a081020cda599fde85aa6b65
[ "BSD-4-Clause" ]
null
null
null
#!/usr/bin/env python3 ### block that grows in fiber direction triggered by fiber stretch and remodels to softer material # TODO: Somehow, this does not converge quadratically at the end (seems irrespective of remodeling, # but likely to be attributed to the growth in fiber direction) ---> check linearization terms! ...
42
146
0.439528
ba07d0c821ac43a4b143f06257b21b47e9c896a7
4,061
py
Python
src/dynamodb_encryption_sdk/materials/__init__.py
ajw-aws/aws-dynamodb-encryption-python
4374ad5d87c7ea66c249c5f458cac6ff4465d437
[ "Apache-2.0" ]
null
null
null
src/dynamodb_encryption_sdk/materials/__init__.py
ajw-aws/aws-dynamodb-encryption-python
4374ad5d87c7ea66c249c5f458cac6ff4465d437
[ "Apache-2.0" ]
1
2021-03-20T05:42:35.000Z
2021-03-20T05:42:35.000Z
src/dynamodb_encryption_sdk/materials/__init__.py
gwsu2008/aws-dynamodb-encryption-python
80465a4b62b1198d519b0ba96da1643eb8af2c9a
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
33.01626
102
0.690717
ba098b80df6e4bfc3afb72bb393d9f053635499b
7,441
py
Python
src/ramstk/views/gtk3/preferences/view.py
TahaEntezari/ramstk
f82e5b31ef5c4e33cc02252263247b99a9abe129
[ "BSD-3-Clause" ]
26
2019-05-15T02:03:47.000Z
2022-02-21T07:28:11.000Z
src/ramstk/views/gtk3/preferences/view.py
TahaEntezari/ramstk
f82e5b31ef5c4e33cc02252263247b99a9abe129
[ "BSD-3-Clause" ]
815
2019-05-10T12:31:52.000Z
2022-03-31T12:56:26.000Z
src/ramstk/views/gtk3/preferences/view.py
TahaEntezari/ramstk
f82e5b31ef5c4e33cc02252263247b99a9abe129
[ "BSD-3-Clause" ]
9
2019-04-20T23:06:29.000Z
2022-01-24T21:21:04.000Z
# pylint: disable=unused-import, missing-docstring # -*- coding: utf-8 -*- # # ramstk.views.gtk3.preferences.view.py is part of the RAMSTK Project # # All rights reserved. # Copyright since 2007 Doyle "weibullguy" Rowland doyle.rowland <AT> reliaqual <DOT> com """RAMSTK GTK3 Preferences Views.""" # Standard Libr...
33.822727
88
0.629351
ba0acde2a7dda4e8e83ad9fe76009f222b95e173
1,011
py
Python
binascii_.py
hlovatt/PyBoardTypeshedGenerator
1d133cab16ea5d558b03175e6fa48b4a23b76136
[ "MIT" ]
5
2020-07-26T08:48:39.000Z
2021-09-13T19:19:37.000Z
binascii_.py
hlovatt/PyBoardTypeshedGenerator
1d133cab16ea5d558b03175e6fa48b4a23b76136
[ "MIT" ]
null
null
null
binascii_.py
hlovatt/PyBoardTypeshedGenerator
1d133cab16ea5d558b03175e6fa48b4a23b76136
[ "MIT" ]
1
2020-11-07T22:37:44.000Z
2020-11-07T22:37:44.000Z
""" Generate `pyi` from corresponding `rst` docs. """ import rst from rst2pyi import RST2PyI __author__ = rst.__author__ __copyright__ = rst.__copyright__ __license__ = rst.__license__ __version__ = "7.2.0" # Version set by https://github.com/hlovatt/tag2ver
27.324324
82
0.593472
ba0ad1cae8bb275fda3b66ce6e02ab294e66f03f
602
py
Python
examples/deco_add_param.py
scholer/clize
bc15fc510fa6fb1cc27b1d27ea1b5653e61d2fff
[ "MIT" ]
390
2015-04-05T01:16:35.000Z
2022-03-30T02:13:52.000Z
examples/deco_add_param.py
scholer/clize
bc15fc510fa6fb1cc27b1d27ea1b5653e61d2fff
[ "MIT" ]
67
2015-03-04T08:15:58.000Z
2022-03-15T00:16:51.000Z
examples/deco_add_param.py
szaydel/clize
84fef2080d7748dd36e465bc2048b48ed578d73f
[ "MIT" ]
28
2015-01-11T04:37:08.000Z
2021-07-07T08:20:20.000Z
from sigtools.wrappers import decorator from clize import run if __name__ == '__main__': run(hello_world)
18.242424
62
0.629568
ba0ad8ee524c81c0738f3b1a9b9dc55e45851dd6
257
py
Python
spikey/core/__init__.py
SpikeyCNS/spikey
03a49073491974eff01bc017fd8eadb822e13f0d
[ "MIT" ]
4
2021-02-25T20:53:41.000Z
2022-01-18T15:27:07.000Z
spikey/core/__init__.py
SpikeyCNS/spikey
03a49073491974eff01bc017fd8eadb822e13f0d
[ "MIT" ]
5
2021-03-06T05:35:10.000Z
2021-03-31T09:27:57.000Z
spikey/core/__init__.py
SpikeyCNS/spikey
03a49073491974eff01bc017fd8eadb822e13f0d
[ "MIT" ]
null
null
null
""" Core __init__. """ try: from spikey.core.callback import ExperimentCallback, RLCallback, TDCallback from spikey.core.training_loop import TrainingLoop, GenericLoop except ImportError as e: raise ImportError(f"core/__init__.py failed: {e}")
25.7
79
0.758755
ba0b04b4ada95663d8638daf31f1153f553fb61f
912
py
Python
src/abaqus/Calibration/CalibrationModel.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Calibration/CalibrationModel.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Calibration/CalibrationModel.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from ..Calibration.Calibration import Calibration from ..Model.ModelBase import ModelBase
22.8
79
0.557018
ba0daa36434b219c2f65075a454c745560959d30
171
py
Python
Python-Programming(icourse163.org)/7/7-2.py
takuron/Lesson
226078131d240d07d3b0025eaed8cdeba998a2c4
[ "MIT" ]
null
null
null
Python-Programming(icourse163.org)/7/7-2.py
takuron/Lesson
226078131d240d07d3b0025eaed8cdeba998a2c4
[ "MIT" ]
null
null
null
Python-Programming(icourse163.org)/7/7-2.py
takuron/Lesson
226078131d240d07d3b0025eaed8cdeba998a2c4
[ "MIT" ]
null
null
null
import math x = int(input()) sinn = math.sin(math.radians(15)) son = math.exp(x)-5*x mon = math.pow((x**2+1),0.5) lnn = math.log(3*x) print("%.10f"%(sinn+son/mon-lnn))
15.545455
33
0.608187
ba0f201ff461642700e5183d5d5d537e2f37ac6f
332,638
py
Python
kvmagent/kvmagent/plugins/vm_plugin.py
zstackio/zstack-utility
919d686d46c68836cbcad51ab0b8bf53bc88abda
[ "ECL-2.0", "Apache-2.0" ]
55
2017-02-10T07:55:21.000Z
2021-09-01T00:59:36.000Z
kvmagent/kvmagent/plugins/vm_plugin.py
zstackio/zstack-utility
919d686d46c68836cbcad51ab0b8bf53bc88abda
[ "ECL-2.0", "Apache-2.0" ]
106
2017-02-13T09:58:27.000Z
2022-02-15T09:51:48.000Z
kvmagent/kvmagent/plugins/vm_plugin.py
zstackio/zstack-utility
919d686d46c68836cbcad51ab0b8bf53bc88abda
[ "ECL-2.0", "Apache-2.0" ]
68
2017-02-13T11:02:01.000Z
2021-12-16T11:02:01.000Z
''' @author: Frank ''' import contextlib import os.path import tempfile import time import datetime import traceback import xml.etree.ElementTree as etree import re import platform import netaddr import uuid import shutil import simplejson import base64 import uuid import json import socket from signal import SIGKILL i...
43.205351
382
0.575304
ba0f9f2c8594abc6e459db5569577285c57e27dd
4,484
py
Python
dics_megset.py
larsoner/beamformer_simulation
ebc9cfc8bc73434ecd995c3b85560db962642307
[ "BSD-3-Clause" ]
null
null
null
dics_megset.py
larsoner/beamformer_simulation
ebc9cfc8bc73434ecd995c3b85560db962642307
[ "BSD-3-Clause" ]
null
null
null
dics_megset.py
larsoner/beamformer_simulation
ebc9cfc8bc73434ecd995c3b85560db962642307
[ "BSD-3-Clause" ]
null
null
null
import mne import numpy as np import pandas as pd from mne.beamformer import make_dics, apply_dics_csd from config import dics_settings, fname, args from megset.config import fname as megset_fname from megset.config import freq_range subject = args.subject print(f'Running analsis for subject {subject}') mne.set_log_...
38
120
0.573372
ba0ff3598421ac2513f7f174a00699fe46db7b6a
23,444
py
Python
analyze_clusters.py
sopeeweje/NLP-AI-Diagnosis
a5d7a590c98aad87f87cf75a7d25f3ca4a51d4be
[ "MIT" ]
null
null
null
analyze_clusters.py
sopeeweje/NLP-AI-Diagnosis
a5d7a590c98aad87f87cf75a7d25f3ca4a51d4be
[ "MIT" ]
12
2021-09-17T23:09:02.000Z
2021-12-29T22:37:03.000Z
analyze_clusters.py
sopeeweje/NLP-AI-Diagnosis
a5d7a590c98aad87f87cf75a7d25f3ca4a51d4be
[ "MIT" ]
1
2021-09-18T19:38:58.000Z
2021-09-18T19:38:58.000Z
import csv from sklearn.cluster import MiniBatchKMeans import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt import pickle import numpy as np import sklearn.metrics as metrics from yellowbrick.cluster import InterclusterDistance from scipy.optimize import curve_fit import umap.umap_ as umap from col...
39.138564
528
0.617088
ba10c2347d43dfcd19f5c723cff12b3417b9fd2d
1,528
py
Python
seeq/addons/correlation/_utils/_permissions.py
seeq12/seeq-correlation
ab2ed13871352dc3671f5d5df09ec3aebd5f24f5
[ "Apache-2.0" ]
2
2021-11-17T00:17:43.000Z
2022-01-25T21:15:04.000Z
seeq/addons/correlation/_utils/_permissions.py
seeq12/seeq-correlation
ab2ed13871352dc3671f5d5df09ec3aebd5f24f5
[ "Apache-2.0" ]
5
2021-11-02T23:13:57.000Z
2022-02-14T21:30:32.000Z
seeq/addons/correlation/_utils/_permissions.py
seeq12/seeq-correlation
ab2ed13871352dc3671f5d5df09ec3aebd5f24f5
[ "Apache-2.0" ]
null
null
null
from seeq.sdk.rest import ApiException from . import print_red
33.217391
93
0.689136
ba13957d1dfe8a9dad60a0b98fdc76bc2c051de1
2,133
py
Python
zignet/api.py
Rabbit-Development/Zignet
341ac2a5e411c385898a060bb41a825e1142625e
[ "MIT" ]
null
null
null
zignet/api.py
Rabbit-Development/Zignet
341ac2a5e411c385898a060bb41a825e1142625e
[ "MIT" ]
null
null
null
zignet/api.py
Rabbit-Development/Zignet
341ac2a5e411c385898a060bb41a825e1142625e
[ "MIT" ]
null
null
null
from zignet import controller, db from zignet.models import * from flask import request, abort, make_response
22.935484
73
0.69339
ba15381f8ef090f523cd0dca0d47f9f990a3ed66
1,853
py
Python
observatory-platform/observatory/platform/utils/proc_utils.py
metasj/observatory-platform
e684f9dc55a1a0fde1b27193eda10532198c4168
[ "Apache-2.0" ]
null
null
null
observatory-platform/observatory/platform/utils/proc_utils.py
metasj/observatory-platform
e684f9dc55a1a0fde1b27193eda10532198c4168
[ "Apache-2.0" ]
null
null
null
observatory-platform/observatory/platform/utils/proc_utils.py
metasj/observatory-platform
e684f9dc55a1a0fde1b27193eda10532198c4168
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Curtin University # # 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 writi...
33.690909
107
0.671344
ba157f63ae5acff9ccfb66ad9328574fb2aa9997
1,639
py
Python
tests/test_day12.py
dmies/adventOfCode
55761aa91f5616d556653956d95b869f8e5a7bb5
[ "Apache-2.0" ]
null
null
null
tests/test_day12.py
dmies/adventOfCode
55761aa91f5616d556653956d95b869f8e5a7bb5
[ "Apache-2.0" ]
null
null
null
tests/test_day12.py
dmies/adventOfCode
55761aa91f5616d556653956d95b869f8e5a7bb5
[ "Apache-2.0" ]
1
2020-11-25T12:17:34.000Z
2020-11-25T12:17:34.000Z
from day12 import Moon, simulate_moons, get_steps_to_find_same_state, get_total_energy
24.833333
98
0.559487
ba16fa59961b765da18297dbd32815b00e0a3cbc
3,628
py
Python
SudaAutoLogin.py
a386881/-
7ff1d2725d4e9691f4aabd46c928ed1a554375d2
[ "Apache-2.0" ]
1
2018-03-28T16:35:46.000Z
2018-03-28T16:35:46.000Z
SudaAutoLogin.py
a386881/-
7ff1d2725d4e9691f4aabd46c928ed1a554375d2
[ "Apache-2.0" ]
null
null
null
SudaAutoLogin.py
a386881/-
7ff1d2725d4e9691f4aabd46c928ed1a554375d2
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- VERSION = r'2016/04/02' # URL = "http://wg.suda.edu.cn/indexn.aspx" STUDENT_ID = 'XXXXXXXXXXXXXXXXXXXX' STUDENT_PASSWORD = 'XXXXXXXXXXXXXXXXXXXX' ''' Created on 201642 @author: XenoAmess ''' import urllib.parse import urllib.request import time def get_html(url): '''html''' ...
29.495935
146
0.628997
ba170cf1e4780562bdfa615594947700438fb2a3
1,965
py
Python
app/healthcheck/monitor.py
publichealthengland/coronavirus-dashboard-easy-read
786409d79341b4ded3c0204e7b487423681e9c28
[ "MIT" ]
1
2022-02-21T14:23:08.000Z
2022-02-21T14:23:08.000Z
app/healthcheck/monitor.py
publichealthengland/coronavirus-dashboard-easy-read
786409d79341b4ded3c0204e7b487423681e9c28
[ "MIT" ]
25
2021-01-19T13:41:36.000Z
2022-03-04T09:07:50.000Z
app/healthcheck/monitor.py
publichealthengland/coronavirus-dashboard-easy-read
786409d79341b4ded3c0204e7b487423681e9c28
[ "MIT" ]
3
2021-04-14T11:30:22.000Z
2022-01-17T20:23:50.000Z
#!/usr/bin python3 """ <Description of the programme> Author: Pouria Hadjibagheri <pouria.hadjibagheri@phe.gov.uk> Created: 15 Mar 2021 License: MIT Contributors: Pouria Hadjibagheri """ # Imports # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Python:...
27.291667
90
0.60458
ba174b62313fc6bd666f2be4dd49654e375a89a1
8,797
py
Python
src/dev/gym-tensegrity/gym_tensegrity/envs/jumper_test.py
hany606/Tensegrity_Robotics
60b34ded95fb641842d46add450e398149d7ec92
[ "Apache-2.0" ]
null
null
null
src/dev/gym-tensegrity/gym_tensegrity/envs/jumper_test.py
hany606/Tensegrity_Robotics
60b34ded95fb641842d46add450e398149d7ec92
[ "Apache-2.0" ]
null
null
null
src/dev/gym-tensegrity/gym_tensegrity/envs/jumper_test.py
hany606/Tensegrity_Robotics
60b34ded95fb641842d46add450e398149d7ec92
[ "Apache-2.0" ]
null
null
null
import gym import gym_tensegrity import numpy as np import os from time import sleep # Discrete action space functions testing # Continuous action space for lengths function testing # Continuous action space for delta lengths function testing if __name__ == "__main__": # test({'starting_coordinates':(0,10,0), ...
33.32197
152
0.545982
ba1783f6512fef6b2a7094ff616513eb52813862
8,476
py
Python
lane_identifier.py
samguns/Project4-Advanced-Lane-Finding
65b39e434f167f5e4da4f2d71fd9b485cd895545
[ "MIT" ]
null
null
null
lane_identifier.py
samguns/Project4-Advanced-Lane-Finding
65b39e434f167f5e4da4f2d71fd9b485cd895545
[ "MIT" ]
null
null
null
lane_identifier.py
samguns/Project4-Advanced-Lane-Finding
65b39e434f167f5e4da4f2d71fd9b485cd895545
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import cv2
44.376963
111
0.590373
ba1793e21f50164606de991114f96e7cddb49ec8
1,331
py
Python
test_tree.py
lightmanca/InterviewPrep
d77d6b8a1d9dd4f4d5b2d5ef38a5d1c9b2e50f07
[ "Apache-2.0" ]
null
null
null
test_tree.py
lightmanca/InterviewPrep
d77d6b8a1d9dd4f4d5b2d5ef38a5d1c9b2e50f07
[ "Apache-2.0" ]
null
null
null
test_tree.py
lightmanca/InterviewPrep
d77d6b8a1d9dd4f4d5b2d5ef38a5d1c9b2e50f07
[ "Apache-2.0" ]
null
null
null
import pytest from Tree import Tree
21.819672
50
0.555222
ba184328b10f564a0cd03008486c8ac39964d140
158
py
Python
03_Day_Operators/10.py
diegofregolente/30-Days-Of-Python
e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267
[ "Apache-2.0" ]
null
null
null
03_Day_Operators/10.py
diegofregolente/30-Days-Of-Python
e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267
[ "Apache-2.0" ]
null
null
null
03_Day_Operators/10.py
diegofregolente/30-Days-Of-Python
e0cad31f6d5ab1384ad6fa5a5d24a84771d6c267
[ "Apache-2.0" ]
null
null
null
x1 = 1 y1 = 0 x2 = 0 y2 = -2 m1 = (y2 / x1) x1 = 2 y1 = 2 x2 = 6 y2 = 10 m2 = (y2 - y1 / x2 - x1) diff = m1 - m2 print(f'Diff of 8 and 9: {diff:.2f}') # 10
11.285714
43
0.468354
ba19039d6d153acd59e2ad4f03240cced0340680
4,780
py
Python
zsh/gitstatus.py
liuyang1/dotfiles
d43c051c2daff0f21cc1921f267786dcafcc7cca
[ "MIT" ]
1
2021-01-15T03:41:46.000Z
2021-01-15T03:41:46.000Z
zsh/gitstatus.py
liuyang1/dotfiles
d43c051c2daff0f21cc1921f267786dcafcc7cca
[ "MIT" ]
null
null
null
zsh/gitstatus.py
liuyang1/dotfiles
d43c051c2daff0f21cc1921f267786dcafcc7cca
[ "MIT" ]
1
2019-05-27T11:39:08.000Z
2019-05-27T11:39:08.000Z
#! /usr/ibn/env python2 # -*- encoding=utf-8 -*- from __future__ import print_function from subprocess import Popen, PIPE import os import serverlog log = serverlog.inst() def probeBranch(s, d): """ >>> probeBranch('## 7094...c [ahead 1]') ('7094', 'c', 1, 0) >>> probeBranch('## HEAD (no branch)')...
24.020101
72
0.5159
ba193713f4e6daa42b6733b362bbc46c29b53357
10,391
py
Python
exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/module_utils/utm_utils.py
tr3ck3r/linklight
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
[ "MIT" ]
null
null
null
exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/module_utils/utm_utils.py
tr3ck3r/linklight
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
[ "MIT" ]
null
null
null
exercises/networking_selfpaced/networking-workshop/collections/ansible_collections/community/general/plugins/module_utils/utm_utils.py
tr3ck3r/linklight
5060f624c235ecf46cb62cefcc6bddc6bf8ca3e7
[ "MIT" ]
null
null
null
# This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license # to the complete wo...
44.217021
119
0.626311
ba19b202492740345b68fb765ce97ad817af8b04
560
py
Python
application/migrations/0002_auto_20200901_2057.py
KMaina/counselling-app
16991dd0ede0e60e6f9886de283178cedd4ab58a
[ "MIT" ]
null
null
null
application/migrations/0002_auto_20200901_2057.py
KMaina/counselling-app
16991dd0ede0e60e6f9886de283178cedd4ab58a
[ "MIT" ]
null
null
null
application/migrations/0002_auto_20200901_2057.py
KMaina/counselling-app
16991dd0ede0e60e6f9886de283178cedd4ab58a
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-09-01 17:57 from django.db import migrations, models
23.333333
77
0.575
ba1a7018c58b0366cadcc5857caa5cc11ed443e2
4,838
py
Python
disks/bootstrap/root/lib.py
pnhowe/disks
7e5170119704c5d3cdf0be9ff7dbdf7d0b052114
[ "Apache-2.0" ]
null
null
null
disks/bootstrap/root/lib.py
pnhowe/disks
7e5170119704c5d3cdf0be9ff7dbdf7d0b052114
[ "Apache-2.0" ]
null
null
null
disks/bootstrap/root/lib.py
pnhowe/disks
7e5170119704c5d3cdf0be9ff7dbdf7d0b052114
[ "Apache-2.0" ]
null
null
null
import sys import time import subprocess import re _setMessage = None
32.689189
191
0.606656
ba1c71602bcc3a8f20aebbbae94098c99780e8ff
152
py
Python
src/backup_utils/databases/__init__.py
Oprax/backup-utils
8de928d5257c9a67c65ca906e49596abe1e3b1ba
[ "MIT" ]
null
null
null
src/backup_utils/databases/__init__.py
Oprax/backup-utils
8de928d5257c9a67c65ca906e49596abe1e3b1ba
[ "MIT" ]
null
null
null
src/backup_utils/databases/__init__.py
Oprax/backup-utils
8de928d5257c9a67c65ca906e49596abe1e3b1ba
[ "MIT" ]
null
null
null
from functools import partial from ..utils import load __all__ = ["databases"] databases = partial(load, pkg="backup_utils.databases", suffix="Db")
16.888889
68
0.743421
ba1cf387e7aec7401bb6e9dfcd3c708295ef07ce
375
py
Python
code_examples/tensorflow/basic_nmt_example/seq2seq_edits/attention_wrapper.py
Splendon/examples
ed4a8a01857b6ddca49559141acf5d0986eb01e1
[ "MIT" ]
null
null
null
code_examples/tensorflow/basic_nmt_example/seq2seq_edits/attention_wrapper.py
Splendon/examples
ed4a8a01857b6ddca49559141acf5d0986eb01e1
[ "MIT" ]
null
null
null
code_examples/tensorflow/basic_nmt_example/seq2seq_edits/attention_wrapper.py
Splendon/examples
ed4a8a01857b6ddca49559141acf5d0986eb01e1
[ "MIT" ]
null
null
null
# Copyright 2019 Graphcore Ltd. ''' Edits to seq2seq AttentionWrapper ''' import tensorflow as tf
31.25
126
0.784
ba1d7411408e4eae7740b57ca1aac506de98b421
45,178
py
Python
deeppavlov/agents/coreference/models.py
deepmipt/kpi2017
0f6b13c6ea76e544804ce66ba372c66d5ef9ee30
[ "Apache-2.0" ]
3
2018-02-19T15:34:44.000Z
2018-06-05T10:02:00.000Z
deeppavlov/agents/coreference/models.py
deepmipt/kpi2017
0f6b13c6ea76e544804ce66ba372c66d5ef9ee30
[ "Apache-2.0" ]
null
null
null
deeppavlov/agents/coreference/models.py
deepmipt/kpi2017
0f6b13c6ea76e544804ce66ba372c66d5ef9ee30
[ "Apache-2.0" ]
1
2021-03-22T09:06:52.000Z
2021-03-22T09:06:52.000Z
# Copyright 2017 Neural Networks and Deep Learning lab, MIPT # # 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...
51.750286
119
0.622028
ba1daa29383c186dc2ccf373341df64a1f615073
7,379
py
Python
applications/plugins/RigidScale/examples/mapping/rigidScaleToRigidMultiMapping.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/RigidScale/examples/mapping/rigidScaleToRigidMultiMapping.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/RigidScale/examples/mapping/rigidScaleToRigidMultiMapping.py
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
import sys,os import Sofa import Flexible.IO from Compliant import Tools as Tools # main path currentdir = os.path.dirname(os.path.realpath(__file__))+'/' __file = __file__.replace('\\', '/') # windows compatible filename source = './mesh/cube.obj' target = './mesh/cube.obj' voxel_size = 0.1 # =========...
68.324074
254
0.623933
ba1e60f8480ebcf3873159f3b4490651fbabea8f
1,447
py
Python
peptidereactor/iFeature/codes/TA.py
spaenigs/peptidereactor
17efcb993505934f5b9c2d63f5cc040bb244dde9
[ "MIT" ]
3
2021-02-03T12:30:37.000Z
2021-06-07T07:03:38.000Z
peptidereactor/iFeature/codes/TA.py
spaenigs/peptidereactor
17efcb993505934f5b9c2d63f5cc040bb244dde9
[ "MIT" ]
1
2021-01-04T14:52:27.000Z
2021-01-04T14:52:27.000Z
peptidereactor/iFeature/codes/TA.py
spaenigs/peptidereactor
17efcb993505934f5b9c2d63f5cc040bb244dde9
[ "MIT" ]
1
2021-06-09T16:16:16.000Z
2021-06-09T16:16:16.000Z
#!/usr/bin/env python #_*_coding:utf-8_*_ import sys, os, re pPath = os.path.split(os.path.realpath(__file__))[0] sys.path.append(pPath) import checkFasta
28.372549
103
0.645473
ba1fa0ba40676d80533fb64114e6150ae8ea61f6
3,714
py
Python
services/mx/service.py
sbworth/getnoc
a9a5647df31822062db3db7afe7ae1c005d166f7
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
services/mx/service.py
sbworth/getnoc
a9a5647df31822062db3db7afe7ae1c005d166f7
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
services/mx/service.py
sbworth/getnoc
a9a5647df31822062db3db7afe7ae1c005d166f7
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
#!./bin/python # ---------------------------------------------------------------------- # mx service # ---------------------------------------------------------------------- # Copyright (C) 2007-2021 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Py...
39.935484
100
0.558697
ba20ee15679f38813c36a98fec465c7fe081a8b2
4,993
py
Python
rectifier/config/config_parser.py
SectorLabs/heroku-rectifier
46094b168efe59837ea6f11386f27bf406b17bf0
[ "MIT" ]
7
2019-04-05T07:46:31.000Z
2022-01-19T20:39:19.000Z
rectifier/config/config_parser.py
SectorLabs/heroku-rectifier
46094b168efe59837ea6f11386f27bf406b17bf0
[ "MIT" ]
9
2019-05-18T08:49:37.000Z
2021-04-01T06:23:58.000Z
rectifier/config/config_parser.py
SectorLabs/heroku-rectifier
46094b168efe59837ea6f11386f27bf406b17bf0
[ "MIT" ]
null
null
null
import json from json import JSONDecodeError from typing import Dict import jsonschema import structlog import schemas from rectifier.config import Config, AppConfig, QueueConfig, CoordinatorConfig, AppMode from rectifier.storage.storage import Storage from rectifier import settings LOGGER = structlog.get_logger(__n...
37.825758
121
0.597036
ba213c7916b1147b628e29019f58a21312675a83
8,433
py
Python
market.py
hype-ecosystem/predictions_bot
82925ed4faed736cf95d42751c7d02e00a9c819c
[ "MIT" ]
2
2020-01-24T11:36:24.000Z
2021-02-19T00:11:42.000Z
market.py
hype-ecosystem/predictions_bot
82925ed4faed736cf95d42751c7d02e00a9c819c
[ "MIT" ]
null
null
null
market.py
hype-ecosystem/predictions_bot
82925ed4faed736cf95d42751c7d02e00a9c819c
[ "MIT" ]
1
2020-06-09T13:24:10.000Z
2020-06-09T13:24:10.000Z
import subprocess as sp import datetime import sys import re import os import pwd import logging import logging.handlers import bitfinex_api from dbmanager import DatabaseManager from plot_provider import PlotProvider import queue if __name__ == "__main__": main(sys.argv)
43.694301
128
0.5903
ba21d65b7d1cc8f2d7ea73d9ecfaf83200df9067
709
py
Python
launch/gl_ros2_driver_udp.py
soslab-project/gl_ros2_driver_udp
40382327a433a5feff4f2bb09d6228129eaa6ee3
[ "BSD-3-Clause" ]
3
2021-09-15T04:54:08.000Z
2021-12-21T06:47:40.000Z
launch/gl_ros2_driver_udp.py
soslab-project/gl_ros2_driver_udp
40382327a433a5feff4f2bb09d6228129eaa6ee3
[ "BSD-3-Clause" ]
1
2021-10-15T08:55:47.000Z
2021-10-15T08:55:47.000Z
launch/gl_ros2_driver_udp.py
soslab-project/gl_ros2_driver_udp
40382327a433a5feff4f2bb09d6228129eaa6ee3
[ "BSD-3-Clause" ]
null
null
null
import os import launch from launch_ros.actions import Node from ament_index_python.packages import get_package_share_directory
25.321429
67
0.599436
ba245a0af638dbd063878dec00e0c87df1fbc19a
1,367
py
Python
Analysis Scripts/sum_individual.py
bonesbb/HASPR
856af4a480f4ff135591bbbcc1267898d88cbf0d
[ "MIT" ]
1
2019-07-07T19:54:17.000Z
2019-07-07T19:54:17.000Z
Analysis Scripts/sum_individual.py
bonesbb/HASPR
856af4a480f4ff135591bbbcc1267898d88cbf0d
[ "MIT" ]
null
null
null
Analysis Scripts/sum_individual.py
bonesbb/HASPR
856af4a480f4ff135591bbbcc1267898d88cbf0d
[ "MIT" ]
null
null
null
# HASPR - High-Altitude Solar Power Research # Script to calculate annual sums given generation profiles # Version 0.1 # Author: neyring import haspr from haspr import Result from numpy import genfromtxt from os import walk import numpy as np # PARAMETERS # # path to directory containing generation profil...
32.547619
75
0.705194
ba247ac7c75341abffe46b2c862326f4b1bcfefb
275
py
Python
COPS.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
2
2021-07-26T03:32:24.000Z
2021-07-31T02:32:14.000Z
COPS.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
null
null
null
COPS.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
1
2021-07-14T17:45:33.000Z
2021-07-14T17:45:33.000Z
# https://www.codechef.com/problems/COPS for T in range(int(input())): M,x,y=map(int,input().split()) m,a = list(map(int,input().split())),list(range(1,101)) for i in m: for j in range(i-x*y,i+1+x*y): if(j in a): a.remove(j) print(len(a))
30.555556
59
0.552727
ba25057c6b3ececb19513f93d3dbe767448d9d9b
458
py
Python
Python Fundamentals/Regular Expressions/More Exercise/Task02_03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Fundamentals/Regular Expressions/More Exercise/Task02_03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Fundamentals/Regular Expressions/More Exercise/Task02_03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
import re data = input() pattern = r"%([A-Z][a-z]+)%([^|$%.]+)?<(\w+)>([^|$%.]+)?\|(\d+)\|([^|$%.0-9]+)?([0-9]+(\.[0-9]+)?)\$" total_income = 0 while data != "end of shift": for match in re.finditer(pattern, data): print(f"{match.group(1)}: {match.group(3)} - {int(match.group(5)) * float(match.group(7)):...
30.533333
104
0.528384
ba26e1fd3bf707b269e72c095f6fc249a64b024e
319
py
Python
sky/migrations/0008_remove_news_label.py
eethan1/IMnight2018_Backend
39780f737e57763fdfb171c4687a375d3c5a4bb0
[ "Apache-2.0" ]
null
null
null
sky/migrations/0008_remove_news_label.py
eethan1/IMnight2018_Backend
39780f737e57763fdfb171c4687a375d3c5a4bb0
[ "Apache-2.0" ]
null
null
null
sky/migrations/0008_remove_news_label.py
eethan1/IMnight2018_Backend
39780f737e57763fdfb171c4687a375d3c5a4bb0
[ "Apache-2.0" ]
4
2018-01-27T06:01:41.000Z
2018-02-21T12:18:35.000Z
# Generated by Django 2.0 on 2018-02-24 11:21 from django.db import migrations
17.722222
45
0.583072
ba2734de58f77351686c44deeb925ba874e74299
8,884
py
Python
mealpy/utils/visualize/linechart.py
thieu1995/mealpy
7694c18e1514909f6727163a3e0899dd36822867
[ "MIT" ]
162
2020-08-31T10:13:06.000Z
2022-03-31T09:38:19.000Z
mealpy/utils/visualize/linechart.py
thieu1995/mealpy
7694c18e1514909f6727163a3e0899dd36822867
[ "MIT" ]
51
2020-09-13T10:46:31.000Z
2022-03-30T06:12:08.000Z
mealpy/utils/visualize/linechart.py
thieu1995/mealpy
7694c18e1514909f6727163a3e0899dd36822867
[ "MIT" ]
58
2020-09-12T13:29:18.000Z
2022-03-31T09:38:21.000Z
#!/usr/bin/env python # ------------------------------------------------------------------------------------------------------% # Created by "Thieu" at 17:12, 09/07/2021 % # ...
44.199005
142
0.582058
ba273db5f7c2ad5232a853fc86d336a611f90e78
1,109
py
Python
graphs/functions/scores.py
CSI-BennettUniversity/Sample-Project-1
23197352372b7ad00a026683477b5a95a4178e35
[ "MIT" ]
5
2020-07-30T16:47:30.000Z
2021-02-15T16:44:59.000Z
graphs/functions/scores.py
CSI-BennettUniversity/Sample-Project-1
23197352372b7ad00a026683477b5a95a4178e35
[ "MIT" ]
4
2021-06-04T23:42:41.000Z
2021-09-11T03:17:12.000Z
graphs/functions/scores.py
CSI-BennettUniversity/Sample-Project-1
23197352372b7ad00a026683477b5a95a4178e35
[ "MIT" ]
7
2020-07-05T14:29:17.000Z
2021-06-05T14:34:20.000Z
import json from interactions.models import ( SelfAnswerGroup, ) def update_dict_with_score(valid_dict: list) -> list: """ Updates the dict (from single and multiple_result_view) with the scores of each user present in the list, by calculating their ``answer_choice`` and multiplying them with corresp...
29.972973
69
0.671776
ba2ae5c00bc2049ab803532fa3e9a36db8f45a24
288
py
Python
authenticationApp/EmailHandler.py
George-Okumu/IReporter-Django
5962984ce0069cdf048dbf91686377568a7cf55b
[ "MIT" ]
null
null
null
authenticationApp/EmailHandler.py
George-Okumu/IReporter-Django
5962984ce0069cdf048dbf91686377568a7cf55b
[ "MIT" ]
1
2021-10-06T20:15:11.000Z
2021-10-06T20:15:11.000Z
authenticationApp/EmailHandler.py
George-Okumu/IReporter-Django
5962984ce0069cdf048dbf91686377568a7cf55b
[ "MIT" ]
null
null
null
from django.core.mail import EmailMessage, message
32
107
0.638889
ba2b10e7983f50e892222f03799fc1c092cbda9b
495
py
Python
checkdns.py
delcacho/DataSciencePlatform
c19ac4c1aba54bafc0fed05cc534bb447ab3b631
[ "BSD-3-Clause" ]
null
null
null
checkdns.py
delcacho/DataSciencePlatform
c19ac4c1aba54bafc0fed05cc534bb447ab3b631
[ "BSD-3-Clause" ]
null
null
null
checkdns.py
delcacho/DataSciencePlatform
c19ac4c1aba54bafc0fed05cc534bb447ab3b631
[ "BSD-3-Clause" ]
null
null
null
from area53 import route53 from boto.route53.exception import DNSServerError from kubernetes import client, config from datetime import datetime import socket import time # Ensure cluster is running consec = 0 while consec < 10: try: ip = socket.gethostbyname("http://api.k8s.dev.bayescluster.com") cpnsec +=...
23.571429
68
0.717172
ba2b2f46854a6061db7ab4dc16a1519a9222534e
2,339
py
Python
config/urls.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
null
null
null
config/urls.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
null
null
null
config/urls.py
ISI-MIP/isimip
c2a78c727337e38f3695031e00afd607da7d6dcb
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.conf import settings from django.conf.urls import include, url from django.conf.urls.static import static from django.contrib import admin from django.views import defaults as default_views from wagtail.admin import urls as wagtailadmin_urls from wagtail.core import ...
41.767857
110
0.734929
ba2c60c5a4a95231943f7de20a48e3d6d869c8ea
31,645
py
Python
eyesore/decision_graph/graph.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
2
2019-11-07T02:55:40.000Z
2021-12-30T01:37:43.000Z
eyesore/decision_graph/graph.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
null
null
null
eyesore/decision_graph/graph.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
2
2019-09-27T12:01:50.000Z
2019-10-09T21:39:52.000Z
from collections import defaultdict, namedtuple import re def reachable_sons(self, head): """Compute all nodes reachable from node @head. Each son is an immediate successor of an arbitrary, already yielded son of @head""" return self._reachable_nodes(head, self.successors_iter) def re...
34.173866
87
0.545679
ba2df7bb990808dc2a091788ac5a88823c2f2250
9,466
py
Python
variation/multiplex.py
FCG-LLC/snmpsim
a55ecde4cde65d2364ea334ab85df4cd1bb21f3b
[ "BSD-2-Clause" ]
null
null
null
variation/multiplex.py
FCG-LLC/snmpsim
a55ecde4cde65d2364ea334ab85df4cd1bb21f3b
[ "BSD-2-Clause" ]
null
null
null
variation/multiplex.py
FCG-LLC/snmpsim
a55ecde4cde65d2364ea334ab85df4cd1bb21f3b
[ "BSD-2-Clause" ]
1
2019-12-16T09:51:38.000Z
2019-12-16T09:51:38.000Z
# # This file is part of snmpsim software. # # Copyright (c) 2010-2017, Ilya Etingof <etingof@gmail.com> # License: http://snmpsim.sf.net/license.html # # Managed value variation module: simulate a live Agent using # a series of snapshots. # import os, time, bisect from pyasn1.compat.octets import str2octs from pysnmp....
39.940928
117
0.584619
e839fbe3bff22b6a6dd9a48e9fd2bca0767aa7c7
2,254
py
Python
migrations/versions/ac4799fb0cd3_.py
anngle/t923
078d2c566c77afa2ca1be7663d3c23c9f0ecddac
[ "BSD-3-Clause" ]
1
2021-11-28T05:46:45.000Z
2021-11-28T05:46:45.000Z
migrations/versions/ac4799fb0cd3_.py
anngle/t923
078d2c566c77afa2ca1be7663d3c23c9f0ecddac
[ "BSD-3-Clause" ]
null
null
null
migrations/versions/ac4799fb0cd3_.py
anngle/t923
078d2c566c77afa2ca1be7663d3c23c9f0ecddac
[ "BSD-3-Clause" ]
null
null
null
"""empty message Revision ID: ac4799fb0cd3 Revises: 3b042c12d85e Create Date: 2018-12-12 22:47:40.070151 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = 'ac4799fb0cd3' down_revision = '3b042c12d85e' branch_labels = None depe...
36.95082
100
0.697427
e83a10c3bd7787fb995d7f3409fbe97fa6a48414
7,597
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_fretta_bcm_dpa_drop_stats_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_fretta_bcm_dpa_drop_stats_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_fretta_bcm_dpa_drop_stats_oper.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import re import collections from enum import Enum from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI...
49.012903
258
0.576938
e83b70a19e325c708c84cceef919e66e323c5dc3
2,403
py
Python
main.py
Dinxor/tstore
ff2bb229ad2169926046076022b5a37025e98877
[ "MIT" ]
null
null
null
main.py
Dinxor/tstore
ff2bb229ad2169926046076022b5a37025e98877
[ "MIT" ]
null
null
null
main.py
Dinxor/tstore
ff2bb229ad2169926046076022b5a37025e98877
[ "MIT" ]
null
null
null
from tkinter import Tk, Button, Label from threading import Thread from queue import Queue import configparser import sys import os if __name__ == '__main__': root = Tk() root.geometry('+200+200') root.overrideredirect(0) # uncomment for minimize # root.iconify() tt = {} modules = [] ...
30.0375
97
0.574698
e83c09d5b0c0d2913540a96c620e7e78f88f46ec
1,182
py
Python
titan/logger.py
KhaosResearch/TITAN-API
98a66b211792f4b42680828644938b062de42579
[ "MIT" ]
null
null
null
titan/logger.py
KhaosResearch/TITAN-API
98a66b211792f4b42680828644938b062de42579
[ "MIT" ]
null
null
null
titan/logger.py
KhaosResearch/TITAN-API
98a66b211792f4b42680828644938b062de42579
[ "MIT" ]
null
null
null
import logging.config
26.266667
81
0.416244
e83cbc6b6ef32b4ad9eb6c2026f3ac57e6c46439
386
py
Python
Raia2011/model/name2idx/species.py
okadalabipr/cancer_signaling
a41820c273c964c5df4d24fec2d1c60ae2cdfd72
[ "MIT" ]
1
2019-08-18T10:26:04.000Z
2019-08-18T10:26:04.000Z
Raia2011/model/name2idx/species.py
okadalabipr/cancer_signaling
a41820c273c964c5df4d24fec2d1c60ae2cdfd72
[ "MIT" ]
null
null
null
Raia2011/model/name2idx/species.py
okadalabipr/cancer_signaling
a41820c273c964c5df4d24fec2d1c60ae2cdfd72
[ "MIT" ]
3
2019-12-23T06:55:10.000Z
2020-08-31T08:09:05.000Z
NAMES = [ 'IL13stimulation', 'Rec', 'Rec_i', 'IL13_Rec', 'p_IL13_Rec', 'p_IL13_Rec_i', 'JAK2', 'pJAK2', 'SHP1', 'STAT5', 'pSTAT5', 'SOCS3mRNA', 'DecoyR', 'IL13_DecoyR', 'SOCS3', 'CD274mRNA', ] for idx, name in enumerate(NAMES): exec( '{} = {:d...
14.296296
34
0.458549
e83e35480e03fbc96372bcc220d34b49bf9a9cba
2,149
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/map_buffer_range.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/map_buffer_range.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/ARB/map_buffer_range.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension ARB.map_buffer_range This module customises the behaviour of the OpenGL.raw.GL.ARB.map_buffer_range to provide a more Python-friendly API Overview (from the spec) ARB_map_buffer_range expands the buffer object API to allow greater performance when a client application only needs to ...
42.98
77
0.790135
e83e7031289be7e749092a0b52442c696186785d
5,091
py
Python
src/python/src/grpc/framework/foundation/_later_test.py
iMilind/grpc
f5b20ce8ec0c1dde684840f6ea8dcf80822bbb1d
[ "BSD-3-Clause" ]
1
2021-04-24T08:18:15.000Z
2021-04-24T08:18:15.000Z
src/python/src/grpc/framework/foundation/_later_test.py
iMilind/grpc
f5b20ce8ec0c1dde684840f6ea8dcf80822bbb1d
[ "BSD-3-Clause" ]
3
2020-12-31T09:08:34.000Z
2021-09-28T05:42:02.000Z
third_party/grpc/src/python/src/grpc/framework/foundation/_later_test.py
acidburn0zzz/kythe
6cd4e9c81a1158de43ec783607a4d7edd9b7e4a0
[ "Apache-2.0" ]
1
2022-01-14T04:25:02.000Z
2022-01-14T04:25:02.000Z
# Copyright 2015, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
33.493421
80
0.719112
e83fb918ef967c55aa6401be077593fddf740b8a
1,179
py
Python
tests/test_stage.py
bytedance/raylink
cd83a4377fede1ac645037df567010f2ddac5a69
[ "Apache-2.0" ]
17
2021-10-11T06:52:09.000Z
2022-01-12T01:04:59.000Z
tests/test_stage.py
bytedance/raylink
cd83a4377fede1ac645037df567010f2ddac5a69
[ "Apache-2.0" ]
null
null
null
tests/test_stage.py
bytedance/raylink
cd83a4377fede1ac645037df567010f2ddac5a69
[ "Apache-2.0" ]
2
2021-10-11T08:19:04.000Z
2021-12-04T02:48:13.000Z
from unittest import TestCase from raylink.data.stage import GPUStage import numpy as np import torch import time
26.2
65
0.554707
e8404984e29c624bea38b2217947473bb1186bbd
4,035
py
Python
forgetPass.py
goyal705/Hotel-Management-System
8ea3598915f4062a7ae65c634e656d0f25b961f0
[ "Apache-2.0" ]
1
2021-09-10T11:39:23.000Z
2021-09-10T11:39:23.000Z
forgetPass.py
goyal705/Hotel-Management-System
8ea3598915f4062a7ae65c634e656d0f25b961f0
[ "Apache-2.0" ]
null
null
null
forgetPass.py
goyal705/Hotel-Management-System
8ea3598915f4062a7ae65c634e656d0f25b961f0
[ "Apache-2.0" ]
null
null
null
from tkinter import * from tkinter import ttk from tkinter import messagebox import mysql.connector from login_new import Small_login_win if __name__ == '__main__': root = Tk() obj = Forget_pass_win(root) root.mainloop()
49.207317
122
0.607187
e8406c99552679a5a4646ded93380dc3a080a4b0
2,945
py
Python
mmdet/models/rroi_extractors/arbox_multi_levels.py
ZZR8066/AerialDetection
34c732b61d7df9a832a2a072e8b6abbe8031cb07
[ "Apache-2.0" ]
6
2020-07-30T02:45:35.000Z
2022-02-08T13:47:26.000Z
mmdet/models/rroi_extractors/arbox_multi_levels.py
ZZR8066/AerialDetection_and_Segmenation
34c732b61d7df9a832a2a072e8b6abbe8031cb07
[ "Apache-2.0" ]
1
2020-07-25T12:51:10.000Z
2021-12-26T22:28:08.000Z
mmdet/models/rroi_extractors/arbox_multi_levels.py
ZZR8066/AerialDetection_and_Segmenation
34c732b61d7df9a832a2a072e8b6abbe8031cb07
[ "Apache-2.0" ]
3
2020-11-09T03:11:16.000Z
2021-11-02T09:30:39.000Z
from __future__ import division import torch import torch.nn as nn from mmdet import ops from ..registry import ROI_EXTRACTORS import pdb
32.722222
77
0.612564
e840e5bc9763698d91cf0375b1df8b3f61aea666
1,449
py
Python
docs/podstawy/przyklady/ocenyfun.py
damiankarol7/python101
1978a9402a8fb0f20c4ca7bd542cb8d7d4501b9b
[ "MIT" ]
44
2015-02-11T19:10:37.000Z
2021-11-11T09:45:43.000Z
docs/podstawy/przyklady/ocenyfun.py
damiankarol7/python101
1978a9402a8fb0f20c4ca7bd542cb8d7d4501b9b
[ "MIT" ]
9
2015-02-06T21:26:25.000Z
2022-03-31T10:44:22.000Z
docs/podstawy/przyklady/ocenyfun.py
damiankarol7/python101
1978a9402a8fb0f20c4ca7bd542cb8d7d4501b9b
[ "MIT" ]
172
2015-06-13T07:16:24.000Z
2022-03-30T20:41:11.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """ Modu ocenyfun zawiera funkcje wykorzystywane w pliku 05_oceny_03.py """ import math # zaimportuj modu matematyczny def mediana(oceny): """ Jeeli ilo ocen jest parzysta, median jest rednia arytmetyczna dwch rodkowych ocen. Jesli ilo jest nieparz...
25.421053
72
0.619738
e8417c90203dc931182a576771783829d860eca2
608
py
Python
kubernetes_typed/client/models/v2beta2_metric_status.py
sobolevn/kubernetes-typed
5f0a770631c73a9831fbeaeebac188e8f4a52c54
[ "Apache-2.0" ]
22
2020-12-10T13:06:02.000Z
2022-02-13T21:58:15.000Z
kubernetes_typed/client/models/v2beta2_metric_status.py
sobolevn/kubernetes-typed
5f0a770631c73a9831fbeaeebac188e8f4a52c54
[ "Apache-2.0" ]
4
2021-03-08T07:06:12.000Z
2022-03-29T23:41:45.000Z
kubernetes_typed/client/models/v2beta2_metric_status.py
sobolevn/kubernetes-typed
5f0a770631c73a9831fbeaeebac188e8f4a52c54
[ "Apache-2.0" ]
2
2021-09-05T19:18:28.000Z
2022-03-14T02:56:17.000Z
# Code generated by `typeddictgen`. DO NOT EDIT. """V2beta2MetricStatusDict generated type.""" from typing import TypedDict from kubernetes_typed.client import V2beta2ExternalMetricStatusDict, V2beta2ObjectMetricStatusDict, V2beta2PodsMetricStatusDict, V2beta2ResourceMetricStatusDict V2beta2MetricStatusDict = TypedDi...
33.777778
160
0.761513
e8424a7118017635f1b1c7ef3d7daf970569e6bf
1,865
py
Python
tests/test_env_runner.py
pistarlab/simpleland
e1d5f65ef6ffaf9e32536d46aa3a2526d3b57801
[ "MIT" ]
4
2021-08-19T21:41:34.000Z
2022-02-03T00:44:43.000Z
tests/test_env_runner.py
pistarlab/simpleland
e1d5f65ef6ffaf9e32536d46aa3a2526d3b57801
[ "MIT" ]
null
null
null
tests/test_env_runner.py
pistarlab/simpleland
e1d5f65ef6ffaf9e32536d46aa3a2526d3b57801
[ "MIT" ]
null
null
null
import pytest from landia.env import LandiaEnv, LandiaEnvSingle import time from landia.clock import clock
28.257576
92
0.631635
e842c41ef1221729334421753ca406d26117e384
8,211
py
Python
helpers/simulation_helpers/scripts/simulated_robot_driver.py
GT-RAIL/assistance_arbitration
84d7cfb6e08f0dd23de9fa106264726f19ef82ea
[ "MIT" ]
null
null
null
helpers/simulation_helpers/scripts/simulated_robot_driver.py
GT-RAIL/assistance_arbitration
84d7cfb6e08f0dd23de9fa106264726f19ef82ea
[ "MIT" ]
32
2018-09-11T12:34:06.000Z
2020-08-25T19:57:26.000Z
helpers/simulation_helpers/scripts/simulated_robot_driver.py
GT-RAIL/assistance_arbitration
84d7cfb6e08f0dd23de9fa106264726f19ef82ea
[ "MIT" ]
2
2020-02-21T03:16:41.000Z
2021-08-01T17:29:43.000Z
#!/usr/bin/env python # Simulate the /robot_driver so that interfaces to it can operate the same on # the real robot and in simulation from __future__ import print_function, division from threading import Lock import rospy import diagnostic_updater from diagnostic_msgs.msg import DiagnosticStatus from fetch_driver_...
40.850746
121
0.677749