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
33057f162f9d778470bc3e8176490e3594ced17b
76
py
Python
dateinfer/__init__.py
avishai-o/dateinfer
894fe26b3b60c94d003f2ae0a55f1d9f1e40cf80
[ "Apache-2.0" ]
null
null
null
dateinfer/__init__.py
avishai-o/dateinfer
894fe26b3b60c94d003f2ae0a55f1d9f1e40cf80
[ "Apache-2.0" ]
null
null
null
dateinfer/__init__.py
avishai-o/dateinfer
894fe26b3b60c94d003f2ae0a55f1d9f1e40cf80
[ "Apache-2.0" ]
null
null
null
__author__ = 'jeffrey.starr@ztoztechnologies.com' from .infer import infer
19
49
0.802632
330597e751b125d41e61a3b1d6607b8ceee7379c
21,902
py
Python
annotator_web.py
j20100/Seg_Annotator
49b2806be9450c901cf4977633a4ec29b3b6bdca
[ "CC-BY-4.0" ]
null
null
null
annotator_web.py
j20100/Seg_Annotator
49b2806be9450c901cf4977633a4ec29b3b6bdca
[ "CC-BY-4.0" ]
null
null
null
annotator_web.py
j20100/Seg_Annotator
49b2806be9450c901cf4977633a4ec29b3b6bdca
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import argparse import base64 from bson import ObjectId import datetime from flask import Flask, Markup, Response, abort, escape, flash, redirect, \ render_template, request, url_for from flask_login import LoginManager, UserMixin, current_user, login_requir...
34.98722
103
0.630079
3306b230b7b452f85e6bb142239de2540a26cb53
72
py
Python
marrow/interface/__init__.py
marrow/interface
4d60f9fc16e949c5da3b3756c77d60fe84f0ed2d
[ "MIT" ]
2
2016-03-22T15:21:48.000Z
2017-02-21T23:52:46.000Z
marrow/interface/__init__.py
marrow/interface
4d60f9fc16e949c5da3b3756c77d60fe84f0ed2d
[ "MIT" ]
1
2019-01-21T22:09:00.000Z
2019-01-21T22:09:00.000Z
marrow/interface/__init__.py
marrow/interface
4d60f9fc16e949c5da3b3756c77d60fe84f0ed2d
[ "MIT" ]
2
2015-12-21T03:24:06.000Z
2016-11-10T15:19:27.000Z
from .meta import Interface from .release import version as __version__
24
43
0.833333
3307dce436fdb7329f82703b2fd7a200624c248e
11,934
py
Python
apps/steam.py
nestorcalvo/Buencafe_dashboard
e2fbe5dfc5b679ab4d27acea2a23e3dfdeb2699c
[ "MIT" ]
null
null
null
apps/steam.py
nestorcalvo/Buencafe_dashboard
e2fbe5dfc5b679ab4d27acea2a23e3dfdeb2699c
[ "MIT" ]
null
null
null
apps/steam.py
nestorcalvo/Buencafe_dashboard
e2fbe5dfc5b679ab4d27acea2a23e3dfdeb2699c
[ "MIT" ]
null
null
null
import dash import dash_core_components as dcc import dash_bootstrap_components as dbc import dash_html_components as html import pandas as pd import plotly.express as px import plotly.graph_objs as go from datetime import date import dash_loading_spinners as dls from dash.dependencies import Input, Output, ClientsideF...
35.730539
114
0.483576
33080713e8553a0893a3ef2c3f6b5b130877799e
9,755
py
Python
ibeatles/step1/data_handler.py
indudhiman/bragg-edge
56af0a448534ef9cb5428879ba900e194dc05db2
[ "MIT" ]
null
null
null
ibeatles/step1/data_handler.py
indudhiman/bragg-edge
56af0a448534ef9cb5428879ba900e194dc05db2
[ "MIT" ]
null
null
null
ibeatles/step1/data_handler.py
indudhiman/bragg-edge
56af0a448534ef9cb5428879ba900e194dc05db2
[ "MIT" ]
null
null
null
import sys import os import glob import pprint import numpy as np try: import PyQt4.QtGui as QtGui from PyQt4.QtGui import QFileDialog except: import PyQt5.QtGui as QtGui from PyQt5.QtWidgets import QFileDialog from ibeatles.utilities.load_files import LoadFiles, LoadTimeSpectra from ibeatles.utilitie...
44.747706
123
0.598462
330bc2029c1246f778fe532317958ef2c30db80a
10,719
py
Python
touca/_case.py
trytouca/touca-python
dab4bb6760a173952b63ea14fd4bc30c3877744e
[ "Apache-2.0" ]
11
2021-06-29T04:51:28.000Z
2022-03-22T05:58:44.000Z
touca/_case.py
trytouca/touca-python
dab4bb6760a173952b63ea14fd4bc30c3877744e
[ "Apache-2.0" ]
null
null
null
touca/_case.py
trytouca/touca-python
dab4bb6760a173952b63ea14fd4bc30c3877744e
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Touca, Inc. Subject to Apache-2.0 License. from ._types import IntegerType, VectorType, ToucaType from datetime import datetime, timedelta from enum import Enum from typing import Dict, Tuple
35.376238
88
0.612184
330bcb8284fec7ff83c5b51b2973e481ae9b2a12
1,376
py
Python
app/main/models/utils.py
tmeftah/e-invoice
7cfe31e9391eb60ab3d06f0055bd2f1e9a524971
[ "MIT" ]
2
2019-06-10T19:30:06.000Z
2020-04-30T01:05:04.000Z
app/main/models/utils.py
tmeftah/e-invoice
7cfe31e9391eb60ab3d06f0055bd2f1e9a524971
[ "MIT" ]
null
null
null
app/main/models/utils.py
tmeftah/e-invoice
7cfe31e9391eb60ab3d06f0055bd2f1e9a524971
[ "MIT" ]
3
2019-01-23T21:37:29.000Z
2020-04-08T13:22:29.000Z
from datetime import datetime import sqlalchemy as sa from flask_sqlalchemy import Model from sqlalchemy import ForeignKey from sqlalchemy.ext.declarative import declared_attr from sqlalchemy.orm import relationship from app.main.extensions import db
23.322034
62
0.634448
330cecf3fdced7629c465eecd0baccde4887eb04
759
py
Python
source/tides.py
agstub/viscoelastic-glines
924230b2c79b6ec90177718417d26d7bf62c4b50
[ "MIT" ]
null
null
null
source/tides.py
agstub/viscoelastic-glines
924230b2c79b6ec90177718417d26d7bf62c4b50
[ "MIT" ]
2
2021-12-16T20:27:35.000Z
2021-12-20T17:43:21.000Z
source/tides.py
agstub/viscoelastic-glines
924230b2c79b6ec90177718417d26d7bf62c4b50
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------- # This function defines the sea level change timeseries for marine ice sheet problem. # *Default = sinusoidal tidal cycle if 'tides' with 1m amplitude if 'tides' turned 'on', OR... # = zero if 'tides' turned 'off' #---------------...
44.647059
94
0.44664
330e0026ec6f48bff70e4f7fa2738cc955a1b78d
1,397
py
Python
nucleotidefrequencies.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
null
null
null
nucleotidefrequencies.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
null
null
null
nucleotidefrequencies.py
TaliaferroLab/AnalysisScripts
3df37d2f8fca9bc402afe5ea870c42200fca1ed3
[ "MIT" ]
1
2021-10-30T07:37:19.000Z
2021-10-30T07:37:19.000Z
#Usage: python nucleotidefrequencies.py <fasta file> <output file> #Output is tab delimited frequencies of A, G, C, U from Bio import SeqIO import sys #outfh = open(sys.argv[2], 'w') #freqs = getfreqs(sys.argv[1]) #freqs = [str(freq) for freq in freqs] #outfh.write(('\t').join(freqs) + '\t' + sys.argv[3] + '\n') #out...
26.865385
104
0.602004
330e3ca54e42e429e7b117d2305fd38be4387ed0
17
py
Python
pytuber/version.py
tefra/pytube.fm
d8e8d5dfe928497f69d208df4c21b049a726dbda
[ "MIT" ]
8
2019-01-27T00:52:20.000Z
2021-07-15T15:57:19.000Z
pytuber/version.py
tefra/pytube.fm
d8e8d5dfe928497f69d208df4c21b049a726dbda
[ "MIT" ]
22
2019-01-25T14:57:08.000Z
2021-12-13T19:55:04.000Z
pytuber/version.py
tefra/pytube.fm
d8e8d5dfe928497f69d208df4c21b049a726dbda
[ "MIT" ]
4
2019-02-17T09:56:30.000Z
2021-04-17T17:53:13.000Z
version = "20.1"
8.5
16
0.588235
330e71b3b4bc8bea5b484ce2931ef4411a75120b
2,311
py
Python
2d-lin_sep.py
rzepinskip/optimization-svm
9682980e19d5fc9f09353aa1284e86874e954aec
[ "MIT" ]
null
null
null
2d-lin_sep.py
rzepinskip/optimization-svm
9682980e19d5fc9f09353aa1284e86874e954aec
[ "MIT" ]
2
2020-01-16T21:35:43.000Z
2020-03-24T18:02:41.000Z
2d-lin_sep.py
rzepinskip/optimization-svm
9682980e19d5fc9f09353aa1284e86874e954aec
[ "MIT" ]
null
null
null
import numpy as np from matplotlib import pyplot as plt from optsvm.svm import SVM x_neg = np.array([[3, 4], [1, 4], [2, 3]]) y_neg = np.array([-1, -1, -1]) x_pos = np.array([[6, -1], [7, -1], [5, -3]]) y_pos = np.array([1, 1, 1]) x1 = np.linspace(-10, 10) x = np.vstack((np.linspace(-10, 10), np.linspace(-10, 10))) #...
30.012987
85
0.568585
330ecd444c0b51c103fe8429f61156a567b6cff4
3,574
py
Python
src/decorators/location_decorator.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
src/decorators/location_decorator.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
src/decorators/location_decorator.py
AAU-PSix/canary
93b07d23cd9380adc03a6aa1291a13eaa3b3008c
[ "MIT" ]
null
null
null
from typing import List, Dict from ts.c_syntax import CSyntax from ts import Tree from cfa import CFANode, CFA, CFAEdge from cfa import LocalisedCFA, LocalisedNode from .tweet_handler import TweetHandler from .decoration_strategy import StandardDecorationStrategy, DecorationStrategy from .conversion_strategy import Co...
40.613636
141
0.665921
330f0c3baa6b73293fcd4fabbaa5457656f166bd
22,550
py
Python
pydicom_ext/pydicom_series.py
shinaji/pydicom_ext
bc3d716eb488589ba5906a0722474682987dafb8
[ "MIT" ]
null
null
null
pydicom_ext/pydicom_series.py
shinaji/pydicom_ext
bc3d716eb488589ba5906a0722474682987dafb8
[ "MIT" ]
null
null
null
pydicom_ext/pydicom_series.py
shinaji/pydicom_ext
bc3d716eb488589ba5906a0722474682987dafb8
[ "MIT" ]
null
null
null
# dicom_series.py """ By calling the function read_files with a directory name or list of files as an argument, a list of DicomSeries instances can be obtained. A DicomSeries object has some attributes that give information about the serie (such as shape, sampling, suid) and has an info attribute, which is a pydi...
32.823872
80
0.587095
3310fadeca0f260ba9d2c8cc23013446b8c2b5d0
1,216
py
Python
tutorials/poplar/tut3_vertices/test/test_tut3.py
xihuaiwen/chinese_bert
631afbc76c40b0ac033be2186e717885246f446c
[ "MIT" ]
null
null
null
tutorials/poplar/tut3_vertices/test/test_tut3.py
xihuaiwen/chinese_bert
631afbc76c40b0ac033be2186e717885246f446c
[ "MIT" ]
null
null
null
tutorials/poplar/tut3_vertices/test/test_tut3.py
xihuaiwen/chinese_bert
631afbc76c40b0ac033be2186e717885246f446c
[ "MIT" ]
null
null
null
# Copyright 2020 Graphcore Ltd. from pathlib import Path import pytest # NOTE: The import below is dependent on 'pytest.ini' in the root of # the repository from examples_tests.test_util import SubProcessChecker working_path = Path(__file__).parent
32
81
0.626645
33119609fa28c4ed894cccea42375ff194c70e59
4,719
py
Python
mboxstats/mboxstats.py
ruettet/mailboxstatistics
ba1296ca441ab646fc92b9bcc5962a8ccf532f19
[ "Apache-2.0" ]
null
null
null
mboxstats/mboxstats.py
ruettet/mailboxstatistics
ba1296ca441ab646fc92b9bcc5962a8ccf532f19
[ "Apache-2.0" ]
null
null
null
mboxstats/mboxstats.py
ruettet/mailboxstatistics
ba1296ca441ab646fc92b9bcc5962a8ccf532f19
[ "Apache-2.0" ]
null
null
null
import codecs import locale from mailbox import mbox from re import sub from re import compile from re import IGNORECASE from datetime import datetime from collections import Counter # class GMailMailboxStatistics(MailboxStatistics): # def __init__(self, path_to_mbox_file): # """ Parses the mbox file th...
43.293578
116
0.647171
331242fc9eb2f4e6ef5b97e6f92e0e0380cba84e
3,787
py
Python
utils.py
Project-VULMA/street-vulma
9aa8170c2342926657189b399943c674a2ac7919
[ "MIT" ]
null
null
null
utils.py
Project-VULMA/street-vulma
9aa8170c2342926657189b399943c674a2ac7919
[ "MIT" ]
null
null
null
utils.py
Project-VULMA/street-vulma
9aa8170c2342926657189b399943c674a2ac7919
[ "MIT" ]
null
null
null
from PIL import Image import imagehash from dotenv import load_dotenv load_dotenv() import google_streetview.api import os from shapely.geometry import shape, Polygon, Point # NOTE: probably a bug while saving different polygons # TODO: update using pillow # from PIL import Image # import imagehash # import os i...
27.845588
108
0.691841
3314a88348ec3d3aad1f983f402dff14af15d941
1,044
py
Python
19/solution.py
studiosi/AoC2015
371c0ca7a48cb1e53c487f35bc3b3533cc9d8a7e
[ "MIT", "Unlicense" ]
null
null
null
19/solution.py
studiosi/AoC2015
371c0ca7a48cb1e53c487f35bc3b3533cc9d8a7e
[ "MIT", "Unlicense" ]
null
null
null
19/solution.py
studiosi/AoC2015
371c0ca7a48cb1e53c487f35bc3b3533cc9d8a7e
[ "MIT", "Unlicense" ]
null
null
null
import re import copy import random changes = {} chain = "" lines = open('input.txt').readlines() moreChanges = True for l in lines: l = l.strip() if moreChanges and l != "": x = l.split("=>") if x[0].strip() not in changes.keys(): changes[x[0].strip()] = [] changes[x[0].str...
23.727273
73
0.509579
3315429c0aa928801a1243413b1efad540cf1405
1,102
py
Python
core/migrations/0002_meetup.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
core/migrations/0002_meetup.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
core/migrations/0002_meetup.py
hatsem78/django_docker_nginex_nginx_gunicorn
15cb7d2d9ecfd2a2f9bf054997a35903c2ee0ce3
[ "MIT" ]
null
null
null
# Generated by Django 2.2.16 on 2020-09-29 23:21 from django.db import migrations, models
36.733333
115
0.579855
33156382baf687b9fd221a48d7bcf67c2edeac93
4,124
py
Python
src/attendance/card_reader.py
JakubBatel/Attendance-Recorder
18d7d019d0284b7fcccf5bbbfc450ba70c922fc2
[ "MIT" ]
null
null
null
src/attendance/card_reader.py
JakubBatel/Attendance-Recorder
18d7d019d0284b7fcccf5bbbfc450ba70c922fc2
[ "MIT" ]
null
null
null
src/attendance/card_reader.py
JakubBatel/Attendance-Recorder
18d7d019d0284b7fcccf5bbbfc450ba70c922fc2
[ "MIT" ]
null
null
null
from .resources.config import config from .utils import reverse_endianness from abc import ABC from abc import abstractmethod from logging import getLogger from logging import Logger from time import sleep from typing import Final import re import serial
31.242424
103
0.617119
331608bfaa1bbeecfc3dd18a2fde05596fb4e203
2,754
py
Python
medios/diarios/diario.py
miglesias91/dicenlosmedios
1f8867cd09689006f35447ad8540359d9429b518
[ "MIT" ]
1
2020-10-20T20:50:51.000Z
2020-10-20T20:50:51.000Z
medios/diarios/diario.py
miglesias91/dicenlosmedios
1f8867cd09689006f35447ad8540359d9429b518
[ "MIT" ]
8
2021-03-19T01:17:28.000Z
2022-03-02T14:57:48.000Z
medios/diarios/diario.py
miglesias91/dicenlosmedios
1f8867cd09689006f35447ad8540359d9429b518
[ "MIT" ]
null
null
null
import dateutil import yaml import feedparser as fp import newspaper as np from medios.medio import Medio from medios.diarios.noticia import Noticia from bd.entidades import Kiosco
34.860759
160
0.579521
3316542a2058418ad1159222b80cb45ab969c4ba
1,230
py
Python
yocto/poky/bitbake/lib/bb/ui/crumbs/hobcolor.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
16
2017-01-17T15:20:43.000Z
2021-03-19T05:45:14.000Z
yocto/poky/bitbake/lib/bb/ui/crumbs/hobcolor.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
415
2016-12-20T17:20:45.000Z
2018-09-23T07:59:23.000Z
yocto/poky/bitbake/lib/bb/ui/crumbs/hobcolor.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
10
2016-12-20T13:24:50.000Z
2021-03-19T05:46:43.000Z
# # BitBake Graphical GTK User Interface # # Copyright (C) 2012 Intel Corporation # # Authored by Shane Wang <shane.wang@intel.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundat...
31.538462
73
0.662602
331716acfd5f9717ca8ca44120a0bc65248ee1dc
6,108
py
Python
tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py
Anon-Artist/tfx
2692c9ab437d76b5d9517996bfe2596862e0791d
[ "Apache-2.0" ]
2
2021-05-10T21:39:48.000Z
2021-11-17T11:24:29.000Z
tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py
Anon-Artist/tfx
2692c9ab437d76b5d9517996bfe2596862e0791d
[ "Apache-2.0" ]
1
2021-01-28T13:44:51.000Z
2021-04-28T16:15:47.000Z
tfx/experimental/pipeline_testing/pipeline_recorder_utils_test.py
Anon-Artist/tfx
2692c9ab437d76b5d9517996bfe2596862e0791d
[ "Apache-2.0" ]
1
2021-01-28T13:41:51.000Z
2021-01-28T13:41:51.000Z
# Lint as: python3 # Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
40.184211
77
0.708906
331719a2a5a244761348d8660d5c741b1f74d90f
2,921
py
Python
tests/test1.py
pedroramaciotti/Cloudtropy
bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2
[ "MIT" ]
null
null
null
tests/test1.py
pedroramaciotti/Cloudtropy
bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2
[ "MIT" ]
null
null
null
tests/test1.py
pedroramaciotti/Cloudtropy
bce1cc1cd6c5217ac20cf5a98491d10c6a8905b2
[ "MIT" ]
1
2021-03-10T14:04:04.000Z
2021-03-10T14:04:04.000Z
import numpy as np import matplotlib.pyplot as plt from mpl_toolkits import mplot3d # from scipy.stats import entropy import sys sys.path.append('../') import cloudtropy # data gen_dim = 2 gen_N = 300 lims = (-2,6) scale = 0.2 X = np.random.uniform(low=lims[0],high=lims[1],size=(10000,2)) # background X = np.co...
27.819048
94
0.680589
331856b5e0304e7640fa3195b77c52b4c37b9bf8
3,238
py
Python
uncertainty_wizard/models/ensemble_utils/_callables.py
p1ndsvin/uncertainty-wizard
92a7a9bcb411e512cf6ad54e7ba226a3c66d3583
[ "MIT" ]
33
2020-12-21T20:21:21.000Z
2022-03-25T17:51:36.000Z
uncertainty_wizard/models/ensemble_utils/_callables.py
swb19/uncertainty-wizard
5ba9bfc6ee967eb5f226abbedb6f9d5452b3cfea
[ "MIT" ]
83
2020-12-18T18:18:28.000Z
2022-03-28T21:17:29.000Z
uncertainty_wizard/models/ensemble_utils/_callables.py
swb19/uncertainty-wizard
5ba9bfc6ee967eb5f226abbedb6f9d5452b3cfea
[ "MIT" ]
5
2021-02-13T13:27:48.000Z
2021-12-25T16:45:19.000Z
import gc from dataclasses import dataclass from typing import Dict, Tuple, Union import numpy as np import tensorflow as tf
34.817204
103
0.652254
3318dead767f04f859f302ca3cf27d38474b142d
5,739
py
Python
venv/Lib/site-packages/PyQt4/examples/designer/calculatorform/ui_calculatorform.py
prateekfxtd/ns_Startup
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
[ "MIT" ]
1
2022-03-16T02:10:30.000Z
2022-03-16T02:10:30.000Z
venv/Lib/site-packages/PyQt4/examples/designer/calculatorform/ui_calculatorform.py
prateekfxtd/ns_Startup
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PyQt4/examples/designer/calculatorform/ui_calculatorform.py
prateekfxtd/ns_Startup
095a62b3a8c7bf0ff7b767355d57d993bbd2423d
[ "MIT" ]
2
2019-05-28T11:58:59.000Z
2020-09-23T17:21:19.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'calculatorform.ui' # # Created: Mon Jan 23 13:21:45 2006 # by: PyQt4 UI code generator vsnapshot-20060120 # # WARNING! All changes made in this file will be lost! import sys from PyQt4 import QtCore, QtGui
47.429752
343
0.699076
33190b249bfea8e389858313a9b36fc7c3e017ce
1,605
py
Python
ggtools/gg/static_models.py
richannan/GGTOOLS
7909da988d90de50c82532d97121a3fbcfc0263a
[ "MIT" ]
22
2019-12-16T01:30:29.000Z
2022-03-01T08:57:07.000Z
ggtools/gg/static_models.py
richannan/GGTOOLS
7909da988d90de50c82532d97121a3fbcfc0263a
[ "MIT" ]
3
2019-12-23T14:09:30.000Z
2022-03-29T01:52:53.000Z
ggtools/gg/static_models.py
richannan/GGTOOLS
7909da988d90de50c82532d97121a3fbcfc0263a
[ "MIT" ]
13
2019-12-19T07:01:19.000Z
2022-03-14T11:26:36.000Z
from os import path,makedirs from urllib.request import urlretrieve def static_download(model): ''' Download static gravity modle from icgem.gfz-potsdam.de; if the file to be downloaded is already included in the download directory, the download is automatically skipped. Usage: static_download('...
38.214286
175
0.688474
33199afda7e088eef8462e491f6d52a8646c9666
5,259
py
Python
Python/linprog/simplex.py
bashardudin/LinearPrograms
24b67171cd5bbf407db47f2adb5150ab71d88143
[ "CC0-1.0" ]
22
2016-10-20T14:04:48.000Z
2020-03-31T08:45:14.000Z
Python/linprog/simplex.py
bashardudin/LinearPrograms
24b67171cd5bbf407db47f2adb5150ab71d88143
[ "CC0-1.0" ]
2
2018-06-04T01:30:01.000Z
2018-10-09T08:18:10.000Z
Python/linprog/simplex.py
bashardudin/LinearPrograms
24b67171cd5bbf407db47f2adb5150ab71d88143
[ "CC0-1.0" ]
2
2016-10-26T21:19:58.000Z
2018-03-17T19:28:15.000Z
#!/usr/bin/env python # _*_ encoding: utf-8 _*_ """simplex.py: Simplex algorithm with rational coefficients""" import numpy as np import fractions as frac __author__ = "Bashar Dudin" __email__ = "bashar.dudin@epita.fr"
34.827815
117
0.535463
331c51cf21a7edb8c933a3fa13b75a18b05760cc
3,919
py
Python
openverse_catalog/dags/common/loader/smithsonian_unit_codes.py
yavik-kapadia/openverse-catalog
853766f2176a96450f456a9fd6675e134c0866e1
[ "MIT" ]
25
2021-05-06T20:53:45.000Z
2022-03-30T23:18:50.000Z
openverse_catalog/dags/common/loader/smithsonian_unit_codes.py
yavik-kapadia/openverse-catalog
853766f2176a96450f456a9fd6675e134c0866e1
[ "MIT" ]
272
2021-05-17T05:53:00.000Z
2022-03-31T23:57:20.000Z
openverse_catalog/dags/common/loader/smithsonian_unit_codes.py
yavik-kapadia/openverse-catalog
853766f2176a96450f456a9fd6675e134c0866e1
[ "MIT" ]
13
2021-06-12T07:09:06.000Z
2022-03-29T17:39:13.000Z
""" This program helps identify smithsonian unit codes which are not yet added to the smithsonian sub-provider dictionary """ import logging from textwrap import dedent import requests from airflow.providers.postgres.hooks.postgres import PostgresHook from common.loader import provider_details as prov from providers....
29.02963
88
0.661393
331c64b5688bf0f03e29dded9df8fd3ced9edae7
461
py
Python
tests/programs/misc/causality_1.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
1
2018-05-19T18:28:12.000Z
2018-05-19T18:28:12.000Z
tests/programs/misc/causality_1.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
12
2018-04-26T00:58:11.000Z
2018-05-13T22:03:39.000Z
tests/programs/misc/causality_1.py
astraldawn/pylps
e9964a24bb38657b180d441223b4cdb9e1dadc8a
[ "MIT" ]
null
null
null
from pylps.core import * initialise(max_time=2) create_fluents('test(_, _)') create_actions('hello(_, _)') create_variables('Person', 'Years', 'NewYears', 'OldYears',) initially(test('A', 0),) reactive_rule(True).then( hello('A', 5), ) hello(Person, Years).initiates(test(Person, NewYears)).iff( test(Perso...
18.44
60
0.704989
331d90c240056dc40d2894ad9cce53ebe9c791c5
4,001
py
Python
gdrivefs-0.14.9-py3.6.egg/gdrivefs/utility.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
gdrivefs-0.14.9-py3.6.egg/gdrivefs/utility.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
gdrivefs-0.14.9-py3.6.egg/gdrivefs/utility.py
EnjoyLifeFund/macHighSierra-py36-pkgs
5668b5785296b314ea1321057420bcd077dba9ea
[ "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
null
null
null
import logging import json import re import sys import gdrivefs.conf _logger = logging.getLogger(__name__) # TODO(dustin): Make these individual functions. utility = _DriveUtility()
33.90678
101
0.579355
331dc380a0542f7715a2dea44ae9eaa75a2bf837
193
py
Python
RecoLocalCalo/HGCalRecProducers/python/HeterogeneousHEBRecHitGPUtoSoA_cfi.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoLocalCalo/HGCalRecProducers/python/HeterogeneousHEBRecHitGPUtoSoA_cfi.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoLocalCalo/HGCalRecProducers/python/HeterogeneousHEBRecHitGPUtoSoA_cfi.py
Purva-Chaudhari/cmssw
32e5cbfe54c4d809d60022586cf200b7c3020bcf
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms HEBRecHitGPUtoSoAProd = cms.EDProducer('HEBRecHitGPUtoSoA', HEBRecHitGPUTok = cms.InputTag('HEBRecHitGPUProd'))
38.6
90
0.663212
331e3f8204325c6090e303bc0901d2d064d5cbe9
4,987
py
Python
net/data_formatter.py
lhq1/legal-predicetion
0919732d9aecba17630a3dcaedd3611ca990010c
[ "MIT" ]
null
null
null
net/data_formatter.py
lhq1/legal-predicetion
0919732d9aecba17630a3dcaedd3611ca990010c
[ "MIT" ]
null
null
null
net/data_formatter.py
lhq1/legal-predicetion
0919732d9aecba17630a3dcaedd3611ca990010c
[ "MIT" ]
null
null
null
import os import json import torch import random import numpy as np from net.loader import accusation_dict, accusation_list, law_dict, law_list from net.loader import get_num_classes word_dict = {} cnt1 = 0 cnt2 = 0
23.413146
80
0.55384
331f06145206acb198e0044dbd6333cd441dd2cf
1,073
py
Python
doc/programming/parts/python-columninfo.py
laigor/sqlrelay-non-english-fixes-
7803f862ddbf88bca078c50d621c64c22fc0a405
[ "PHP-3.01", "CC-BY-3.0" ]
16
2018-04-23T09:58:33.000Z
2022-01-31T13:40:20.000Z
doc/programming/parts/python-columninfo.py
laigor/sqlrelay-non-english-fixes-
7803f862ddbf88bca078c50d621c64c22fc0a405
[ "PHP-3.01", "CC-BY-3.0" ]
null
null
null
doc/programming/parts/python-columninfo.py
laigor/sqlrelay-non-english-fixes-
7803f862ddbf88bca078c50d621c64c22fc0a405
[ "PHP-3.01", "CC-BY-3.0" ]
4
2020-12-23T12:17:54.000Z
2022-01-04T20:46:34.000Z
from SQLRelay import PySQLRClient con=PySQLRClient.sqlrconnection('sqlrserver',9000,'/tmp/example.socket','user','password',0,1) cur=PySQLRClient.sqlrcursor(con) cur.sendQuery('select * from my_table') con.endSession() for i in range(0,cur.colCount()-1): print 'Name: ', cur.getColumnName(i) ...
44.708333
94
0.629077
3320a3f0ba332b35fac7f43f483b6bf56fe80c12
1,394
py
Python
showdownai/naive_bayes.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
null
null
null
showdownai/naive_bayes.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
null
null
null
showdownai/naive_bayes.py
AM22/Pokemon-AI
4cd29eb880981613158db0055179f4395c5599e3
[ "MIT" ]
null
null
null
import json from data import MOVE_CORRECTIONS, correct_mega if __name__ == "__main__": from data import load_data data, bw_data, graph = load_data('data')
33.190476
73
0.559541
3321631f6d51317e5fd544639735a47e50542ab6
11,369
py
Python
AppDB/appscale/datastore/fdb/transactions.py
obino/appscale
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
[ "Apache-2.0" ]
1
2017-04-07T15:33:35.000Z
2017-04-07T15:33:35.000Z
AppDB/appscale/datastore/fdb/transactions.py
obino/appscale
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
[ "Apache-2.0" ]
1
2016-10-27T17:23:54.000Z
2016-10-27T17:23:54.000Z
AppDB/appscale/datastore/fdb/transactions.py
obino/appscale
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
[ "Apache-2.0" ]
null
null
null
""" This module stores and retrieves datastore transaction metadata. The TransactionManager is the main interface that clients can use to interact with the transaction layer. See its documentation for implementation details. """ from __future__ import division import logging import math import random import sys from c...
36.79288
79
0.723371
3321f706d02f1fdbc011b2d0a28c18fa45d4fe4b
810
py
Python
Line_chart.py
sanabasangare/data-visualization
09a03d0414941d28e312037ccaa0b283dbb2ec06
[ "MIT" ]
null
null
null
Line_chart.py
sanabasangare/data-visualization
09a03d0414941d28e312037ccaa0b283dbb2ec06
[ "MIT" ]
null
null
null
Line_chart.py
sanabasangare/data-visualization
09a03d0414941d28e312037ccaa0b283dbb2ec06
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from collections import Counter if __name__ == "__main__": line_graph(plt)
24.545455
79
0.650617
3322558b16b9e4d86a91248106c527a75ff6b943
2,350
py
Python
miyamoto/test/mocks.py
caedesvvv/miyamoto
d781dffeb0b2af3ce679f13114f47e6965d1cdb1
[ "MIT" ]
1
2015-01-20T17:32:19.000Z
2015-01-20T17:32:19.000Z
miyamoto/test/mocks.py
caedesvvv/miyamoto
d781dffeb0b2af3ce679f13114f47e6965d1cdb1
[ "MIT" ]
null
null
null
miyamoto/test/mocks.py
caedesvvv/miyamoto
d781dffeb0b2af3ce679f13114f47e6965d1cdb1
[ "MIT" ]
null
null
null
from twisted.web import server, resource
33.098592
80
0.625106
332383050871a4f49b30722483065061b8a0db71
1,901
py
Python
covid19/data.py
edupenabad/covid-19-notebooks
0b68c12c3f4e36c42476fef15a769326cb0c3d38
[ "Apache-2.0" ]
null
null
null
covid19/data.py
edupenabad/covid-19-notebooks
0b68c12c3f4e36c42476fef15a769326cb0c3d38
[ "Apache-2.0" ]
null
null
null
covid19/data.py
edupenabad/covid-19-notebooks
0b68c12c3f4e36c42476fef15a769326cb0c3d38
[ "Apache-2.0" ]
null
null
null
import pathlib import numpy as np import pandas as pd import requests DATA_REPOS = { "world": { "url": "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master", "streams": { "deaths": "{url}/csse_covid_19_data/csse_covid_19_time_series/time_series_19-covid-Deaths.csv" ...
33.946429
114
0.579695
3324e48df6cb45bfb982f9754f04ae47cbd3bffa
7,484
py
Python
util/utils.py
choyoungjung/xray-align-AR
18847c01008fe5a53bbdea5915a1a4e84e7c7f22
[ "MIT" ]
null
null
null
util/utils.py
choyoungjung/xray-align-AR
18847c01008fe5a53bbdea5915a1a4e84e7c7f22
[ "MIT" ]
null
null
null
util/utils.py
choyoungjung/xray-align-AR
18847c01008fe5a53bbdea5915a1a4e84e7c7f22
[ "MIT" ]
1
2022-02-23T06:45:04.000Z
2022-02-23T06:45:04.000Z
from __future__ import print_function import random from torch.autograd import Variable import torch from PIL import Image import numpy as np import math import os import cv2 ''' Code from https://github.com/ycszen/pytorch-seg/blob/master/transform.py Modified so it complies with the Cityscape label map...
34.971963
102
0.568813
33257a0af8469e27f7a0ccf12276dbf023a6e9b0
276
py
Python
pythonx/lints/vim/vint.py
maralla/validator.vim
fd5ec0891cbd035bd572e74d684b8afd852b87bf
[ "MIT" ]
255
2016-09-08T12:12:26.000Z
2022-03-10T01:50:06.000Z
pythonx/lints/vim/vint.py
maralla/vim-fixup
fd5ec0891cbd035bd572e74d684b8afd852b87bf
[ "MIT" ]
56
2016-09-09T05:53:24.000Z
2020-11-11T16:02:05.000Z
pythonx/lints/vim/vint.py
maralla/vim-linter
fd5ec0891cbd035bd572e74d684b8afd852b87bf
[ "MIT" ]
23
2016-09-09T13:37:51.000Z
2019-04-08T22:31:24.000Z
# -*- coding: utf-8 -*- from validator import Validator
17.25
31
0.434783
33269c8198e5473d3ddda4bf83fff9637afee268
1,793
py
Python
src/graph2.py
gpu0/nnGraph
ae68af41804ce95dd4dbd6deeea57e377915acc9
[ "MIT" ]
null
null
null
src/graph2.py
gpu0/nnGraph
ae68af41804ce95dd4dbd6deeea57e377915acc9
[ "MIT" ]
null
null
null
src/graph2.py
gpu0/nnGraph
ae68af41804ce95dd4dbd6deeea57e377915acc9
[ "MIT" ]
null
null
null
# t = 2 * (x*y + max(z,w)) if __name__ == '__main__': x = Num(3) y = Num(-4) z = Num(2) w = Num(-1) p = Mul(x, y) q = Max(z, w) r = Add(p, q) t = Factor(r, 2) print t.forward() t.backward(1)
25.985507
57
0.572783
3327097fad25f8089f5aa779974b776188cc2bb0
2,599
py
Python
skeleton_video.py
ashish1sasmal/Human-Skeleton-Estimation
290cde92191b2b6b0c28189667851119f5ca564d
[ "MIT" ]
null
null
null
skeleton_video.py
ashish1sasmal/Human-Skeleton-Estimation
290cde92191b2b6b0c28189667851119f5ca564d
[ "MIT" ]
null
null
null
skeleton_video.py
ashish1sasmal/Human-Skeleton-Estimation
290cde92191b2b6b0c28189667851119f5ca564d
[ "MIT" ]
null
null
null
# @Author: ASHISH SASMAL <ashish> # @Date: 20-10-2020 # @Last modified by: ashish # @Last modified time: 20-10-2020 import cv2 import numpy as np import time proto = "Models/pose_deploy_linevec_faster_4_stages.prototxt" weights= "Models/pose_iter_160000.caffemodel" net = cv2.dnn.readNetFromCaffe(proto, weights) ...
33.320513
140
0.621008
33270a402f92d2ec94e2db647e7c5d239b6f78fe
3,733
py
Python
temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/LittleSis/Relationship/GetOneRelationship.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # GetOneRelationship # Retrieves information about any known relationship between two entities in LittleSis according their IDs. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under...
40.139785
205
0.699437
3327fef21614dc3511498e572fb63b8ff5adf0a3
9,385
py
Python
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
8
2020-05-29T13:48:35.000Z
2021-11-19T04:24:48.000Z
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
12
2020-11-13T01:36:32.000Z
2022-01-23T20:35:55.000Z
rec_to_nwb/test/processing/tools/test_beartype.py
jihyunbak/rec_to_nwb
6e65f8bf0a4faa4d986483ec2442ba19d70c92a9
[ "Apache-2.0" ]
3
2020-10-20T06:52:45.000Z
2021-07-06T23:00:53.000Z
#!/usr/bin/env python3 """ `py.test`-driven unit test suite for the `@beartype` decorator, implementing a rudimentary subset of PEP 484-style type checking based on Python 3.x function annotations. Usage ---------- These tests assume the `@beartype` decorator and all utility functions (e.g., `_check_type_annotation()...
36.235521
84
0.613213
332899d38b421fab9695a008493c81d6890c2e39
2,114
py
Python
var/spack/repos/builtin/packages/jemalloc/package.py
ilagunap/spack
510f869c3ae8ac2721debd29e98076212ee75852
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2018-11-16T02:42:57.000Z
2019-06-06T19:18:50.000Z
var/spack/repos/builtin/packages/jemalloc/package.py
ilagunap/spack
510f869c3ae8ac2721debd29e98076212ee75852
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
18
2021-03-12T16:22:58.000Z
2022-03-02T17:07:08.000Z
var/spack/repos/builtin/packages/jemalloc/package.py
ilagunap/spack
510f869c3ae8ac2721debd29e98076212ee75852
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import *
44.041667
100
0.726585
33299ffe9a3bcae73b7f087adb90f942699dff82
466
py
Python
ABC/abc051-abc100/abc093/b.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
2
2020-06-12T09:54:23.000Z
2021-05-04T01:34:07.000Z
ABC/abc051-abc100/abc093/b.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
961
2020-06-23T07:26:22.000Z
2022-03-31T21:34:52.000Z
ABC/abc051-abc100/abc093/b.py
KATO-Hiro/AtCoder
cbbdb18e95110b604728a54aed83a6ed6b993fde
[ "CC0-1.0" ]
null
null
null
'''input 4 8 3 4 5 6 7 8 3 8 2 3 4 7 8 2 9 100 2 3 4 5 6 7 8 9 ''' # -*- coding: utf-8 -*- # AtCoder Beginner Contest # Problem B if __name__ == '__main__': a, b, k = list(map(int, input().split())) if (b - a + 1) <= 2 * k: for i in range(a, b + 1): ...
10.590909
46
0.401288
332b0f0138c11f0eed41ed393577248e868d822b
5,104
py
Python
examples/python/qiskit_integration.py
CQCL/pytket
44fa95eb060afc8c45598f89afda993aa2d06634
[ "Apache-2.0" ]
249
2018-07-20T03:04:52.000Z
2022-03-31T08:45:58.000Z
examples/python/qiskit_integration.py
CQCL/pytket
44fa95eb060afc8c45598f89afda993aa2d06634
[ "Apache-2.0" ]
67
2018-08-03T09:38:15.000Z
2022-03-22T09:39:45.000Z
examples/python/qiskit_integration.py
CQCL/pytket
44fa95eb060afc8c45598f89afda993aa2d06634
[ "Apache-2.0" ]
69
2019-02-26T15:15:30.000Z
2022-03-15T14:47:24.000Z
# # Integrating `pytket` into Qiskit software # In this tutorial, we will focus on: # - Using `pytket` for compilation or providing devices/simulators within Qiskit workflows; # - Adapting Qiskit code to use `pytket` directly. # This example assumes some familiarity with the Qiskit algorithms library. We have chosen ...
61.493976
552
0.788009
332bc827b9397befa3b3df403d9170657a773ac3
2,372
py
Python
Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/__init__.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/__init__.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
Cura/Cura/plugins/VersionUpgrade/VersionUpgrade34to35/__init__.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
# Copyright (c) 2018 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. from typing import Any, Dict, TYPE_CHECKING from . import VersionUpgrade34to35 if TYPE_CHECKING: from UM.Application import Application upgrade = VersionUpgrade34to35.VersionUpgrade34to35()
38.258065
111
0.52403
332c81f4c480a3b1d74e9ed525d3b78c37420632
8,717
py
Python
xos/synchronizer/pull_steps/test_pull_olts.py
iecedge/olt-service
0aac847ca228f2c20a2b57c783a414f185a0116c
[ "Apache-2.0" ]
null
null
null
xos/synchronizer/pull_steps/test_pull_olts.py
iecedge/olt-service
0aac847ca228f2c20a2b57c783a414f185a0116c
[ "Apache-2.0" ]
null
null
null
xos/synchronizer/pull_steps/test_pull_olts.py
iecedge/olt-service
0aac847ca228f2c20a2b57c783a414f185a0116c
[ "Apache-2.0" ]
null
null
null
# Copyright 2017-present Open Networking Foundation # # 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 agr...
39.265766
110
0.609958
332ca6164e5d6ccaf3d86265c927173981639004
4,005
py
Python
src/embedding/triple2vec.py
MengtingWan/grocery
d9401418915a481dcd4be1f0be2cad238e8cc00e
[ "Apache-2.0" ]
46
2019-01-24T19:48:19.000Z
2022-03-22T22:16:55.000Z
src/embedding/triple2vec.py
MengtingWan/grocery
d9401418915a481dcd4be1f0be2cad238e8cc00e
[ "Apache-2.0" ]
2
2019-11-05T19:55:57.000Z
2021-04-01T12:15:13.000Z
src/embedding/triple2vec.py
MengtingWan/grocery
d9401418915a481dcd4be1f0be2cad238e8cc00e
[ "Apache-2.0" ]
17
2019-03-30T02:45:59.000Z
2021-12-30T00:56:02.000Z
import tensorflow as tf from embedding.learner import Model from embedding.sampler import Sampler import sys
48.253012
132
0.604494
332ec3ad83ab42693d9db460bc909a8573da26d4
1,210
py
Python
src/model/synapses/numba_backend/VoltageJump.py
Fassial/pku-intern
4463e7d5a5844c8002f7e3d01b4fadc3a20e2038
[ "MIT" ]
null
null
null
src/model/synapses/numba_backend/VoltageJump.py
Fassial/pku-intern
4463e7d5a5844c8002f7e3d01b4fadc3a20e2038
[ "MIT" ]
null
null
null
src/model/synapses/numba_backend/VoltageJump.py
Fassial/pku-intern
4463e7d5a5844c8002f7e3d01b4fadc3a20e2038
[ "MIT" ]
null
null
null
""" Created on 12:39, June. 4th, 2021 Author: fassial Filename: VoltageJump.py """ import brainpy as bp __all__ = [ "VoltageJump", ]
26.304348
79
0.566116
3330488f0dd33b218d18cd27c32030cf62e1cdf9
9,041
py
Python
bns.py
amansrivastava17/bns-short-text-similarity
fde1761bf24cc7e90eb53bce4419ccf882d11817
[ "MIT" ]
22
2018-06-14T13:50:12.000Z
2022-01-04T16:52:01.000Z
bns.py
amansrivastava17/bns-vectorizer-text-classification
fde1761bf24cc7e90eb53bce4419ccf882d11817
[ "MIT" ]
null
null
null
bns.py
amansrivastava17/bns-vectorizer-text-classification
fde1761bf24cc7e90eb53bce4419ccf882d11817
[ "MIT" ]
4
2018-08-31T05:36:40.000Z
2020-10-10T08:57:14.000Z
# coding=utf-8 from collections import Counter, namedtuple from scipy.sparse import csr_matrix from scipy.stats import norm import numpy as np import math from nlp_utils import ngrams def fit(self, training_documents, categories): """ Fit the documents and categories to create bns vectors for do...
41.095455
120
0.574162
33310d445d44da6d57d70c0d985520626d8989bd
1,473
py
Python
scrape.py
ilemhadri/fb_messenger
c5da22ec40e0caa4c11236016226e258bf181c64
[ "MIT" ]
11
2018-11-18T18:16:13.000Z
2022-02-07T14:14:33.000Z
scrape.py
ilemhadri/fb_messenger
c5da22ec40e0caa4c11236016226e258bf181c64
[ "MIT" ]
1
2021-01-16T16:54:14.000Z
2021-01-17T09:28:34.000Z
scrape.py
ilemhadri/fb_messenger
c5da22ec40e0caa4c11236016226e258bf181c64
[ "MIT" ]
10
2019-02-28T18:01:51.000Z
2022-03-24T16:43:57.000Z
import os import sys from collections import defaultdict import datetime import pickle import re import time import json from selenium import webdriver if not os.path.exists('data/logincookies.pkl'): print ('missing cookie. Have you run init.py?') sys.exit() while True: main() with open('data/lastScr...
30.061224
87
0.663951
33319c7108f2f54f95e8dca0a5199386d7358140
2,760
py
Python
cfgs/config.py
Pandinosaurus/yolo2-pytorch
f046769ea157e6d57579c67dcef62fdd3b71111e
[ "MIT" ]
1,663
2017-02-25T02:09:58.000Z
2022-03-31T07:18:30.000Z
cfgs/config.py
Guroto/yolo2-pytorch
17056ca69f097a07884135d9031c53d4ef217a6a
[ "MIT" ]
115
2017-03-04T12:26:49.000Z
2022-01-06T04:02:44.000Z
cfgs/config.py
Guroto/yolo2-pytorch
17056ca69f097a07884135d9031c53d4ef217a6a
[ "MIT" ]
492
2017-02-28T20:09:14.000Z
2022-03-18T21:25:10.000Z
import os from .config_voc import * # noqa from .exps.darknet19_exp1 import * # noqa # input and output size ############################ multi_scale_inp_size = [np.array([320, 320], dtype=np.int), np.array([352, 352], dtype=np.int), np.array([384, 384], dtype=np.int...
33.253012
73
0.537681
3334965719b021bbd03119042e95c8563a0cdb7e
9,233
py
Python
tests.py
jpchiodini/Grasp-Planning
e31234244b8f934743605ebea59d9d98a258957e
[ "MIT" ]
null
null
null
tests.py
jpchiodini/Grasp-Planning
e31234244b8f934743605ebea59d9d98a258957e
[ "MIT" ]
null
null
null
tests.py
jpchiodini/Grasp-Planning
e31234244b8f934743605ebea59d9d98a258957e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ tests.py ======== Created by: hbldh <henrik.blidh@nedomkull.com> Created on: 2016-02-07, 23:50 """ from __future__ import division from __future__ import print_function from __future__ import unicode_literals from __future__ import absolute_import import numpy as np...
58.069182
120
0.552475
3334b81c461f0f87292473253147e7b45b17a48f
1,705
py
Python
scripts/wsi_bot_show_regions.py
higex/qpath
0377f2fdadad6e02ecde8ba2557fe9b957280fa1
[ "MIT" ]
6
2017-03-18T19:17:42.000Z
2019-05-05T14:57:31.000Z
WSItk/tools/wsi_bot_show_regions.py
vladpopovici/WSItk
02db9dbf1148106a576d7b4dd7965c73607efdae
[ "MIT" ]
null
null
null
WSItk/tools/wsi_bot_show_regions.py
vladpopovici/WSItk
02db9dbf1148106a576d7b4dd7965c73607efdae
[ "MIT" ]
4
2015-11-29T14:47:25.000Z
2019-11-28T03:16:39.000Z
# -*- coding: utf-8 -*- """ SHOW_REGIONS Emphasizes some regions in the image, by decreasing the importance of the rest. @author: vlad """ from __future__ import (absolute_import, division, print_function, unicode_literals) from builtins import * import argparse as opt import skimage.io import numpy as np from uti...
28.898305
106
0.674487
3335e848cff8038f4a309c43400a1a6a921170c6
985
py
Python
isomyr/tests/test_thing.py
dave-leblanc/isomyr
2eae8067687408ba48e0a88de97fbd4fe6d57848
[ "BSD-3-Clause" ]
null
null
null
isomyr/tests/test_thing.py
dave-leblanc/isomyr
2eae8067687408ba48e0a88de97fbd4fe6d57848
[ "BSD-3-Clause" ]
null
null
null
isomyr/tests/test_thing.py
dave-leblanc/isomyr
2eae8067687408ba48e0a88de97fbd4fe6d57848
[ "BSD-3-Clause" ]
null
null
null
from unittest import TestCase from isomyr.thing import Thing from isomyr.world.world import Scene
29.848485
59
0.684264
33364bb5677f1a9389265f84b5d60907696bc680
492
py
Python
python/consecutive-characters.py
alirezaghey/leetcode-solutions
676b71b4790c64d21af91dce02e97ee47e78d523
[ "MIT" ]
3
2020-10-10T00:14:23.000Z
2022-03-02T21:16:29.000Z
python/consecutive-characters.py
alirezaghey/leetcode-solutions
676b71b4790c64d21af91dce02e97ee47e78d523
[ "MIT" ]
null
null
null
python/consecutive-characters.py
alirezaghey/leetcode-solutions
676b71b4790c64d21af91dce02e97ee47e78d523
[ "MIT" ]
1
2021-09-14T05:16:54.000Z
2021-09-14T05:16:54.000Z
from itertools import groupby
28.941176
55
0.487805
3339f7cf782a2803830764348c1674b391c59c54
113
py
Python
DigitalMeLib/servers/gedis/GedisProcessManager.py
jdelrue/digital_me
e5c92c405c0cea419ce18d25863f35d1bfe5a428
[ "Apache-2.0" ]
null
null
null
DigitalMeLib/servers/gedis/GedisProcessManager.py
jdelrue/digital_me
e5c92c405c0cea419ce18d25863f35d1bfe5a428
[ "Apache-2.0" ]
72
2018-08-01T06:13:46.000Z
2019-02-01T15:50:20.000Z
DigitalMeLib/servers/gedis/GedisProcessManager.py
jdelrue/digital_me
e5c92c405c0cea419ce18d25863f35d1bfe5a428
[ "Apache-2.0" ]
2
2018-08-05T08:09:13.000Z
2018-11-21T13:11:28.000Z
from jumpscale import j JSBASE = j.application.jsbase_get_class()
14.125
41
0.778761
333a76b375064f0b441523ba76ee75b882d55473
4,648
py
Python
lifesaver/bot/exts/health.py
lun-4/lifesaver
e8c4b492490d678db80258f69fce6dc4769fd1d7
[ "MIT" ]
12
2017-12-21T03:44:52.000Z
2021-02-05T02:09:13.000Z
lifesaver/bot/exts/health.py
lun-4/lifesaver
e8c4b492490d678db80258f69fce6dc4769fd1d7
[ "MIT" ]
9
2017-12-21T01:56:07.000Z
2020-12-31T00:01:20.000Z
lifesaver/bot/exts/health.py
lun-4/lifesaver
e8c4b492490d678db80258f69fce6dc4769fd1d7
[ "MIT" ]
2
2017-12-21T01:52:07.000Z
2019-12-17T01:51:50.000Z
# encoding: utf-8 import asyncio import logging import random from typing import Optional, Tuple import discord from discord.ext import commands import lifesaver from lifesaver.utils.formatting import truncate from lifesaver.utils.timing import Timer, format_seconds log = logging.getLogger(__name__) SendVerdict = T...
32.055172
112
0.586274
333a9b81c1942bff823966256c44e46de0b7f8db
1,753
py
Python
install/install.py
naztronaut/FCW
e272f29dda54f8a18f9ff533de598bb0bfd29099
[ "MIT" ]
4
2021-01-03T05:54:23.000Z
2021-08-06T19:39:04.000Z
install/install.py
naztronaut/FCW
e272f29dda54f8a18f9ff533de598bb0bfd29099
[ "MIT" ]
4
2020-10-15T17:09:31.000Z
2022-03-26T00:46:48.000Z
install/install.py
naztronaut/FCW
e272f29dda54f8a18f9ff533de598bb0bfd29099
[ "MIT" ]
1
2021-01-17T14:12:43.000Z
2021-01-17T14:12:43.000Z
# install.py # Version: 1.0.0 # Installs dependencies needed for FCW # Author: Nazmus Nasir # Website: https://www.easyprogramming.net import os from shutil import copy2 install_dependencies()
40.767442
95
0.503708
333dcc9167d75b30415a919b52fe0903e6d5c709
1,453
py
Python
convert-to-loom/convert-to-loom-3.py
mzager/dv-pipelines
3356753cc56a5298bb075f12681f9282d8f08658
[ "MIT" ]
3
2020-02-24T21:08:11.000Z
2020-05-19T18:26:01.000Z
convert-to-loom/convert-to-loom-3.py
mzager/dv-pipelines
3356753cc56a5298bb075f12681f9282d8f08658
[ "MIT" ]
null
null
null
convert-to-loom/convert-to-loom-3.py
mzager/dv-pipelines
3356753cc56a5298bb075f12681f9282d8f08658
[ "MIT" ]
2
2020-01-04T00:23:07.000Z
2020-02-26T17:54:34.000Z
#!/bin/python3 import sys import os import pandas as pd import scanpy as sc import anndata from anndata import AnnData sc.settings.verbosity = 3 # verbosity: errors (0), warnings (1), info (2), hints (3) working_dir = os.getcwd() adata = sc.read(os.path.join(working_dir, 'gene_count.txt'), cache=Tru...
31.586957
94
0.720578
333df86277504bde365d69f5650cddd392f0652c
96
py
Python
venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/parsers/earley_forest.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/parsers/earley_forest.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/poetry/core/_vendor/lark/parsers/earley_forest.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/8f/d6/74/783ee5c7dc6070d67f88eab5cd5dae217fdec6556b8d97a3bd1061e541
96
96
0.895833
333f7d3158bfef79ceb32eebbb1b5503f134e870
1,900
py
Python
schedsi/threads/_bg_stat_thread.py
z33ky/schedsi
3affe28a3e1d2001c639d7c0423cb105d1991590
[ "CC0-1.0" ]
1
2017-08-03T12:58:53.000Z
2017-08-03T12:58:53.000Z
schedsi/threads/_bg_stat_thread.py
z33ky/schedsi
3affe28a3e1d2001c639d7c0423cb105d1991590
[ "CC0-1.0" ]
null
null
null
schedsi/threads/_bg_stat_thread.py
z33ky/schedsi
3affe28a3e1d2001c639d7c0423cb105d1991590
[ "CC0-1.0" ]
null
null
null
"""Define the :class:`_BGStatThread`. This should be used in favor of :class:`Thread` for non-worker threads. """ from schedsi.threads.thread import Thread, LOG_INDIVIDUAL import sys
30.645161
99
0.603684
333fc7cf7e1820391a570f954460758928bb90e7
753
py
Python
069_totient_maximum.py
fbcom/project-euler
3c2194f797d54a0cc04031cd0be153f6a6f849ad
[ "MIT" ]
null
null
null
069_totient_maximum.py
fbcom/project-euler
3c2194f797d54a0cc04031cd0be153f6a6f849ad
[ "MIT" ]
null
null
null
069_totient_maximum.py
fbcom/project-euler
3c2194f797d54a0cc04031cd0be153f6a6f849ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # A Solution to "Totient maximum" Project Euler Problem No. 69 # by Florian Buetow # # Sourcecode: https://github.com/fbcom/project-euler # Problem statement: https://projecteuler.net/problem=69 # Solve solution = n = i = 2 # starting with a prime while n < 1000*1000:...
22.818182
95
0.586985
334183eb998b219f40fc5f9ed455577122ddc46b
1,401
py
Python
lectures/07-python-dictionaries/examples/gashlycrumb.py
mattmiller899/biosys-analytics
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
[ "MIT" ]
4
2019-01-10T17:12:37.000Z
2019-03-01T18:25:07.000Z
lectures/07-python-dictionaries/examples/gashlycrumb.py
mattmiller899/biosys-analytics
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
[ "MIT" ]
null
null
null
lectures/07-python-dictionaries/examples/gashlycrumb.py
mattmiller899/biosys-analytics
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
[ "MIT" ]
33
2019-01-05T17:03:47.000Z
2019-11-11T20:48:24.000Z
#!/usr/bin/env python3 """dictionary lookup""" import os import sys args = sys.argv[1:] if len(args) != 1: print('Usage: {} LETTER'.format(os.path.basename(sys.argv[0]))) sys.exit(1) letter = args[0].upper() lines = """ A is for Amy who fell down the stairs. B is for Basil assaulted by bears. C is for Clar...
26.942308
67
0.708779
3341a45cd2bb6b6d1354a60132e865acaaafa2de
762
py
Python
to_nwb/extensions/buzsaki_meta/buzsaki_meta.py
mpompolas/to_nwb
1317f0ee0f4d80dde451d60d8eb5c6a544e214fe
[ "BSD-3-Clause" ]
1
2020-03-31T20:02:01.000Z
2020-03-31T20:02:01.000Z
to_nwb/extensions/buzsaki_meta/buzsaki_meta.py
mpompolas/to_nwb
1317f0ee0f4d80dde451d60d8eb5c6a544e214fe
[ "BSD-3-Clause" ]
2
2020-08-27T18:16:04.000Z
2020-09-08T18:43:34.000Z
to_nwb/extensions/buzsaki_meta/buzsaki_meta.py
mpompolas/to_nwb
1317f0ee0f4d80dde451d60d8eb5c6a544e214fe
[ "BSD-3-Clause" ]
5
2018-04-04T21:27:23.000Z
2019-04-01T13:40:00.000Z
from pynwb import load_namespaces from ..auto_class import get_class, get_multi_container # load custom classes namespace = 'buzsaki_meta' ns_path = namespace + '.namespace.yaml' ext_source = namespace + '.extensions.yaml' load_namespaces(ns_path) BuzSubject = get_class(namespace, 'BuzSubject') Histology = get_class...
34.636364
83
0.804462
33420b595ab8ea2d66e865aea4f9be309fdb9795
709
py
Python
tests/search_test.py
krishna-kalavadia/computer-vision-python
6b37aaa433153f82412d865cef8fce81ce8422c7
[ "BSD-3-Clause" ]
9
2021-03-23T17:19:11.000Z
2022-01-25T20:45:34.000Z
tests/search_test.py
krishna-kalavadia/computer-vision-python
6b37aaa433153f82412d865cef8fce81ce8422c7
[ "BSD-3-Clause" ]
31
2020-11-18T01:47:19.000Z
2022-03-24T23:14:46.000Z
tests/search_test.py
krishna-kalavadia/computer-vision-python
6b37aaa433153f82412d865cef8fce81ce8422c7
[ "BSD-3-Clause" ]
42
2020-11-18T01:19:14.000Z
2022-03-22T19:38:12.000Z
from modules.search.Search import Search from modules.search.searchWorker import searchWorker mock_tent = { "latitude": 51.083665, "longitude": -114.114693 } mock_plane = { "latitude": 51.059971, "longitude": -114.10714 }
25.321429
75
0.681241
3343300fe9fc63763059c54d0198c6efedcd6999
1,774
py
Python
Lesson 12 Keras/Test_Keras.py
alchemz/Self-Driving-Car-Engineer-Nanodegree
70d6ae9d741b6c53712e0099af04597dc0ba0291
[ "MIT" ]
1
2021-03-20T12:32:35.000Z
2021-03-20T12:32:35.000Z
Lesson 12 Keras/Test_Keras.py
alchemz/Self-Driving-Car-Engineer-Nanodegree
70d6ae9d741b6c53712e0099af04597dc0ba0291
[ "MIT" ]
null
null
null
Lesson 12 Keras/Test_Keras.py
alchemz/Self-Driving-Car-Engineer-Nanodegree
70d6ae9d741b6c53712e0099af04597dc0ba0291
[ "MIT" ]
null
null
null
# Load pickled data import pickle import numpy as np import tensorflow as tf tf.python.control_flow_ops = tf with open('small_train_traffic.p', mode='rb') as f: data = pickle.load(f) X_train, y_train = data['features'], data['labels'] # Initial Setup for Keras from keras.models import Sequential from keras.layer...
30.067797
79
0.756483
3344178b165547c21ead9ed9691b9fa23693168d
2,360
py
Python
crude/extrude_crude/take_05_model_run.py
i2mint/crude
29fea0c7cd7cf58055b14bc47519bd527469f8d0
[ "Apache-2.0" ]
null
null
null
crude/extrude_crude/take_05_model_run.py
i2mint/crude
29fea0c7cd7cf58055b14bc47519bd527469f8d0
[ "Apache-2.0" ]
null
null
null
crude/extrude_crude/take_05_model_run.py
i2mint/crude
29fea0c7cd7cf58055b14bc47519bd527469f8d0
[ "Apache-2.0" ]
null
null
null
""" Same as take_04_model_run, but where the dispatch is not as manual. """ from front.crude import KT, StoreName, Mall from crude.extrude_crude.extrude_crude_util import mall, np, apply_model # --------------------------------------------------------------------------------------- # dispatchable function: from front....
34.202899
89
0.677542
33442932bed34ae8a7cfa58a82b7cd61d3e5042f
145
py
Python
tests/conftest.py
Anishmourya/flask-restx-api
6e64a22ce14dd97d69809c3b50cb5781918fd1d4
[ "MIT" ]
3
2020-04-01T15:10:59.000Z
2021-09-30T13:00:20.000Z
tests/conftest.py
Anishmourya/flask-restx-api
6e64a22ce14dd97d69809c3b50cb5781918fd1d4
[ "MIT" ]
null
null
null
tests/conftest.py
Anishmourya/flask-restx-api
6e64a22ce14dd97d69809c3b50cb5781918fd1d4
[ "MIT" ]
null
null
null
import pytest from app import create_app
14.5
30
0.703448
3344e7fbcc20c1b88448cf2bc6b2cea4cf5be780
331
py
Python
Part_3_advanced/m14_metaclass/register_cls/homework_1_solution/example_system/bike.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m14_metaclass/register_cls/homework_1_solution/example_system/bike.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_3_advanced/m14_metaclass/register_cls/homework_1_solution/example_system/bike.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
from example_system.serializable import RegisteredSerializable
27.583333
62
0.667674
334618648cc53a79bbe36c64245af99769f241e5
12,502
py
Python
spatial_two_mics/data_loaders/wham.py
etzinis/unsupervised_spatial_dc
7330303d3c994b2abdbceedf2ee08660f94bd9ce
[ "MIT" ]
21
2018-12-12T01:53:58.000Z
2022-01-16T17:23:40.000Z
spatial_two_mics/data_loaders/wham.py
etzinis/unsupervised_spatial_dc
7330303d3c994b2abdbceedf2ee08660f94bd9ce
[ "MIT" ]
1
2019-04-25T07:14:31.000Z
2020-04-22T00:59:30.000Z
spatial_two_mics/data_loaders/wham.py
etzinis/unsupervised_spatial_dc
7330303d3c994b2abdbceedf2ee08660f94bd9ce
[ "MIT" ]
4
2019-10-06T09:08:11.000Z
2021-02-09T23:11:27.000Z
"""! @brief Pytorch dataloader for wham dataset for multiple gender combinations. @author Efthymios Tzinis {etzinis2@illinois.edu} @copyright University of illinois at Urbana Champaign """ import torch import os import numpy as np import pickle import glob2 import sys current_dir = os.path.dirname(os.path.abspath('_...
40.723127
81
0.607103
33483b8215659fc4a60059ae841163838e1448c1
3,779
py
Python
dali/test/python/test_operator_input_promotion.py
lbhm/DALI
d478d768c55069351a78d6bdcebed7632ca21ecb
[ "ECL-2.0", "Apache-2.0" ]
1
2019-05-31T14:00:58.000Z
2019-05-31T14:00:58.000Z
dali/test/python/test_operator_input_promotion.py
Pandinosaurus/DALI
1031314b7857ec11d40e31496089579297a2e863
[ "ECL-2.0", "Apache-2.0" ]
2
2021-06-11T17:05:37.000Z
2021-06-23T03:45:04.000Z
dali/test/python/test_operator_input_promotion.py
Pandinosaurus/DALI
1031314b7857ec11d40e31496089579297a2e863
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright (c) 2020, NVIDIA CORPORATION. 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 applic...
40.634409
99
0.632442
3349ab80fd693215fc2ec86a1bdc3c3c49e9ea6e
8,446
py
Python
www/transwarp/orm.py
houxiao2011/webapp-python
c74e2585dd96bc6ca240c443b2d18a8b3ea011e0
[ "Apache-2.0" ]
null
null
null
www/transwarp/orm.py
houxiao2011/webapp-python
c74e2585dd96bc6ca240c443b2d18a8b3ea011e0
[ "Apache-2.0" ]
null
null
null
www/transwarp/orm.py
houxiao2011/webapp-python
c74e2585dd96bc6ca240c443b2d18a8b3ea011e0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # --*-- coding: utf-8 --*-- import time, logging import db _triggers = frozenset(['pre_insert', 'pre_update', 'pre_delete']) def delete(self): self.pre_delete and self.pre_delete() pk = self.__primary_key__.name args = (getattr(self, pk)) db.updat...
31.632959
120
0.543689
3349c42d9a6787f22dabc4fb2936a9e909a361bb
121
py
Python
EX10 dolar carteira.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
EX10 dolar carteira.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
EX10 dolar carteira.py
RODRIGOKTK/Python-exercicios
f7985f2c277aae8b158bdeea4f2493febaaf06c5
[ "Unlicense" ]
null
null
null
carteira=float(input('Quanto tem na carteira: ')) dolar=3.27 print('Equivalente em dolares: %.2f ' %(carteira/dolar))
30.25
57
0.702479
334a98c4b9b9f9e53176aaf0e2f36f0be5032d0d
1,757
py
Python
code/libs/utils.py
shinebobo/Semantic-Line-SLNet
c9b8f9f0af8b74fdcd9f101d246ef8b4be96b8b2
[ "MIT" ]
1
2021-07-21T01:06:12.000Z
2021-07-21T01:06:12.000Z
code/libs/utils.py
shinebobo/Semantic-Line-SLNet
c9b8f9f0af8b74fdcd9f101d246ef8b4be96b8b2
[ "MIT" ]
null
null
null
code/libs/utils.py
shinebobo/Semantic-Line-SLNet
c9b8f9f0af8b74fdcd9f101d246ef8b4be96b8b2
[ "MIT" ]
null
null
null
import os import pickle import numpy as np import random import torch global global_seed global_seed = 123 torch.manual_seed(global_seed) torch.cuda.manual_seed(global_seed) torch.cuda.manual_seed_all(global_seed) np.random.seed(global_seed) random.seed(global_seed) # convertor # directory & file # pickle def s...
19.307692
62
0.625498
334ae316e44a87d9de4896827430dd6a339557e7
647
py
Python
api/admin.py
Neoklosch/QuestionBasedServer
7e690944355471d3a9507b0414cbaf1f800bab97
[ "Apache-2.0" ]
null
null
null
api/admin.py
Neoklosch/QuestionBasedServer
7e690944355471d3a9507b0414cbaf1f800bab97
[ "Apache-2.0" ]
7
2020-06-05T17:05:00.000Z
2022-03-11T23:13:05.000Z
api/admin.py
Cookie-Monsters/uQu-Backend
7e690944355471d3a9507b0414cbaf1f800bab97
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from api.models import Answer, Question, User from django import forms # class UserForm(forms.ModelForm): # password = forms.CharField(widget=forms.PasswordInput) # # def __init__(self, *args, **kwargs): # super(UserForm, self).__init__(*args, **kwargs) # # class...
20.870968
60
0.718702
334afd08e2c0f5208e6a49dbf748437e970df29e
20,153
py
Python
Minesweeper_Python/src/MyAI.py
Thomas1728/AI-MineSweeper
7d8baec928637c87b1b4cd67649eb2b4cd2227ba
[ "MIT" ]
null
null
null
Minesweeper_Python/src/MyAI.py
Thomas1728/AI-MineSweeper
7d8baec928637c87b1b4cd67649eb2b4cd2227ba
[ "MIT" ]
null
null
null
Minesweeper_Python/src/MyAI.py
Thomas1728/AI-MineSweeper
7d8baec928637c87b1b4cd67649eb2b4cd2227ba
[ "MIT" ]
null
null
null
# ==============================CS-171================================== # FILE: MyAI.py # # AUTHOR: bugMaker # # DESCRIPTION: This file contains the MyAI class. You will implement your # agent in this file. You will write the 'getAction' function, # the constructor, and any additional helper functions...
39.67126
160
0.52553
334de2467a9aad2d75dceb60553a04a3e344347f
2,895
py
Python
src/moreos/parsing.py
sigmavirus24/moreos
a32056d89fa519499e704f978db32b737977e2d7
[ "MIT" ]
3
2020-12-16T16:43:57.000Z
2021-06-03T10:54:55.000Z
src/moreos/parsing.py
sigmavirus24/moreos
a32056d89fa519499e704f978db32b737977e2d7
[ "MIT" ]
null
null
null
src/moreos/parsing.py
sigmavirus24/moreos
a32056d89fa519499e704f978db32b737977e2d7
[ "MIT" ]
null
null
null
"""Parsing utilities for moreos.""" import re import attr
40.208333
77
0.638342
334e95ed5c389e7fbe37935a81f7aca297e6dd30
2,367
py
Python
tests/factorys.py
ireneontheway5/pymilvus
b812449a98602b4370b3b3430bdeb18b24035e53
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
ireneontheway5/pymilvus
b812449a98602b4370b3b3430bdeb18b24035e53
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
ireneontheway5/pymilvus
b812449a98602b4370b3b3430bdeb18b24035e53
[ "Apache-2.0" ]
null
null
null
# STL imports import random import logging import string import time import datetime import random import struct import sys from functools import wraps # Third party imports import numpy as np import faker from faker.providers import BaseProvider logging.getLogger('faker').setLevel(logging.ERROR) sys.path.append('.'...
22.330189
91
0.669624
334f49d258643f6f1e499de6346d97b992cad8f0
604
py
Python
tests/test_resources/fixtures/py3_tokens.py
cbillingham/docconvert
2843f7446546ae90ba3f38e1246e69d208e0f053
[ "BSD-3-Clause" ]
8
2019-10-07T22:49:20.000Z
2021-12-30T22:31:28.000Z
tests/test_resources/fixtures/py3_tokens.py
cbillingham/docconvert
2843f7446546ae90ba3f38e1246e69d208e0f053
[ "BSD-3-Clause" ]
5
2019-09-17T21:03:38.000Z
2020-07-23T04:47:21.000Z
tests/test_resources/fixtures/py3_tokens.py
cbillingham/docconvert
2843f7446546ae90ba3f38e1246e69d208e0f053
[ "BSD-3-Clause" ]
null
null
null
"""Module docstring!""" a = 1 b = 2 """This should not be considered a docstring. :param arg1: Desc for arg1 :type arg1: arg1_type """
17.764706
90
0.596026
334fb858f20d8c85bdcd5c7fdc799a281a724b78
3,116
py
Python
src/editor/selection.py
rehmanx/PandaEditor
125c79605fd46a045201e5ff6a88709764ac104f
[ "MIT" ]
null
null
null
src/editor/selection.py
rehmanx/PandaEditor
125c79605fd46a045201e5ff6a88709764ac104f
[ "MIT" ]
null
null
null
src/editor/selection.py
rehmanx/PandaEditor
125c79605fd46a045201e5ff6a88709764ac104f
[ "MIT" ]
null
null
null
import panda3d.core as pm from editor.p3d.object import Object from editor.p3d.marquee import Marquee from editor.p3d.mousePicker import MousePicker from editor.constants import TAG_IGNORE, TAG_PICKABLE
31.474747
100
0.614249
3350e65017c77b155a623adbb0c445784ce6a443
33,168
py
Python
cinder/tests/unit/policies/test_volume.py
arunvinodqmco/cinder
62cb72c6890e458427ba0601646b186b7b36dc01
[ "Apache-2.0" ]
571
2015-01-01T17:47:26.000Z
2022-03-23T07:46:36.000Z
cinder/tests/unit/policies/test_volume.py
arunvinodqmco/cinder
62cb72c6890e458427ba0601646b186b7b36dc01
[ "Apache-2.0" ]
37
2015-01-22T23:27:04.000Z
2021-02-05T16:38:48.000Z
cinder/tests/unit/policies/test_volume.py
arunvinodqmco/cinder
62cb72c6890e458427ba0601646b186b7b36dc01
[ "Apache-2.0" ]
841
2015-01-04T17:17:11.000Z
2022-03-31T12:06:51.000Z
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
40.00965
78
0.630306
33515a257e86ab2541599ce4633c5188ac0eb93e
4,393
py
Python
ddot/api.py
agary-ucsd/ddot
6f3755843e11bcf308634f188caca7fc9d4e2da3
[ "MIT" ]
null
null
null
ddot/api.py
agary-ucsd/ddot
6f3755843e11bcf308634f188caca7fc9d4e2da3
[ "MIT" ]
null
null
null
ddot/api.py
agary-ucsd/ddot
6f3755843e11bcf308634f188caca7fc9d4e2da3
[ "MIT" ]
null
null
null
import sys import argparse import bottle import pandas as pd from bottle import Bottle, HTTPError, request from gevent.pywsgi import WSGIServer from geventwebsocket.handler import WebSocketHandler from ddot import Ontology import tempfile import os import csv path_this = os.path.dirname(os.path.abspath(__file__)) os.e...
28.712418
137
0.556795
335166caa2fb8bf7ef55ff8016ed6d28cfe4b088
4,302
py
Python
testing/logging/test_formatter.py
christian-steinmeyer/pytest
5cc295e74b81ca7a106e5a096834043738f14dc5
[ "MIT" ]
4
2018-03-10T16:59:59.000Z
2019-12-17T09:16:09.000Z
testing/logging/test_formatter.py
christian-steinmeyer/pytest
5cc295e74b81ca7a106e5a096834043738f14dc5
[ "MIT" ]
71
2015-10-28T08:10:14.000Z
2021-12-06T03:02:07.000Z
testing/logging/test_formatter.py
christian-steinmeyer/pytest
5cc295e74b81ca7a106e5a096834043738f14dc5
[ "MIT" ]
2
2020-08-01T22:09:38.000Z
2020-10-13T08:17:24.000Z
import logging from typing import Any from _pytest._io import TerminalWriter from _pytest.logging import ColoredLevelFormatter
28.490066
80
0.57113
3351e52b5194a9276589bc9c2f3638bd2c933566
12,356
py
Python
crystaltoolgui/tabs/tabresmatcher.py
jingshenSN2/CrystalTool
18f07963ff5f2a54ac2c93e2fa59fada51346232
[ "MIT" ]
null
null
null
crystaltoolgui/tabs/tabresmatcher.py
jingshenSN2/CrystalTool
18f07963ff5f2a54ac2c93e2fa59fada51346232
[ "MIT" ]
null
null
null
crystaltoolgui/tabs/tabresmatcher.py
jingshenSN2/CrystalTool
18f07963ff5f2a54ac2c93e2fa59fada51346232
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'tabresmatcher.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore...
56.420091
114
0.717627
3353952224984b77381aeb9e737b1658da3774db
727
py
Python
src/bioregistry/export/cli.py
biopragmatics/bioregistry
1c994b97f5bfe7151e01edb8e6a26edbaa30f33c
[ "MIT" ]
17
2021-09-14T17:58:16.000Z
2022-03-11T06:22:11.000Z
src/bioregistry/export/cli.py
biopragmatics/bioregistry
1c994b97f5bfe7151e01edb8e6a26edbaa30f33c
[ "MIT" ]
148
2021-09-18T08:52:46.000Z
2022-03-23T15:57:35.000Z
src/bioregistry/export/cli.py
biopragmatics/bioregistry
1c994b97f5bfe7151e01edb8e6a26edbaa30f33c
[ "MIT" ]
9
2021-09-28T20:18:53.000Z
2022-03-14T17:23:35.000Z
# -*- coding: utf-8 -*- """Export the Bioregistry.""" import click if __name__ == "__main__": export()
23.451613
48
0.727648
335499578c54e600ef5b6cd7a2e1c167305703ec
1,327
py
Python
tests/test_main.py
brettcannon/release-often
f28034d5525faf1953927d321d162e42943361f6
[ "MIT" ]
8
2020-04-06T00:32:45.000Z
2020-06-09T22:45:02.000Z
tests/test_main.py
brettcannon/release-often
f28034d5525faf1953927d321d162e42943361f6
[ "MIT" ]
1
2020-05-14T18:32:20.000Z
2020-05-14T18:32:20.000Z
tests/test_main.py
brettcannon/release-often
f28034d5525faf1953927d321d162e42943361f6
[ "MIT" ]
null
null
null
import json from unittest import mock import gidgethub.abc import pytest from release_often import __main__ as main
35.864865
81
0.6737
335622d55b7a6b99e8e7667af2ca6f6644e1aaee
23,330
py
Python
src/ezdxf/path/tools.py
dmtvanzanten/ezdxf
6fe9d0aa961e011c87768aa6511256de21a662dd
[ "MIT" ]
null
null
null
src/ezdxf/path/tools.py
dmtvanzanten/ezdxf
6fe9d0aa961e011c87768aa6511256de21a662dd
[ "MIT" ]
null
null
null
src/ezdxf/path/tools.py
dmtvanzanten/ezdxf
6fe9d0aa961e011c87768aa6511256de21a662dd
[ "MIT" ]
null
null
null
# Copyright (c) 2020-2021, Manfred Moitzi # License: MIT License from typing import ( TYPE_CHECKING, List, Iterable, Tuple, Optional, Dict, Sequence, ) import math import itertools from ezdxf.math import ( Vec3, Z_AXIS, OCS, Matrix44, BoundingBox, ConstructionEllipse...
30.982736
82
0.642992
335a3079554e04318e100ccbe95efe67d12785a4
367
py
Python
14_TokenAuthentication/userpost/serializer.py
LIkelion-at-KOREATECH/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
28
2019-10-15T13:15:26.000Z
2021-11-08T08:23:45.000Z
14_TokenAuthentication/userpost/serializer.py
jhleed/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
null
null
null
14_TokenAuthentication/userpost/serializer.py
jhleed/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
17
2019-09-09T00:15:36.000Z
2021-01-28T13:08:51.000Z
from .models import UserPost from rest_framework import serializers
19.315789
54
0.580381
335dbfd8eeada3150621b5e132ff38b941943c70
153
py
Python
app/cogs/base/__init__.py
fossabot/Starboard-2
798e2d04995ae7d920e76708b9ea8fae6f4af319
[ "MIT" ]
16
2021-01-19T19:12:00.000Z
2021-12-21T12:00:04.000Z
app/cogs/base/__init__.py
Davi-the-Mudkip/Starboard-2
4de3c689ffef007e4f4a279251d107d890b69b15
[ "MIT" ]
15
2021-04-02T16:58:48.000Z
2022-03-28T06:09:49.000Z
app/cogs/base/__init__.py
Davi-the-Mudkip/Starboard-2
4de3c689ffef007e4f4a279251d107d890b69b15
[ "MIT" ]
13
2021-01-21T14:26:00.000Z
2021-09-29T18:55:17.000Z
from app.classes.bot import Bot from . import base_commands, base_events
17
40
0.745098
3360e8ecae40c8b015c6b7e2a1cd267c16fb7712
502
py
Python
model/combination_file.py
dokzai/WholeFoodsFrugality
0239dca601353524af0e1b317def40cdd51e4ea3
[ "CC0-1.0" ]
42
2021-06-05T01:16:23.000Z
2021-07-05T02:51:54.000Z
model/combination_file.py
dokzai/WholeFoodsFrugality
0239dca601353524af0e1b317def40cdd51e4ea3
[ "CC0-1.0" ]
2
2021-06-05T19:29:06.000Z
2021-09-01T19:10:53.000Z
model/combination_file.py
dokzai/WholeFoodsFrugality
0239dca601353524af0e1b317def40cdd51e4ea3
[ "CC0-1.0" ]
6
2021-06-05T02:44:16.000Z
2021-08-06T14:54:59.000Z
import model from model import whole_foods_sale from model import aldis_au_sale from model import aldis_us_sale from model import aldis_uk_sale
27.888889
45
0.7749
3362692f46d8ce99fe607f99e82c59552aa25f04
8,926
py
Python
generalRunFiles/tideCompare.py
wesleybowman/karsten
ef4b2d6debae605902d76cd0484e71c0ba74fdd1
[ "MIT" ]
1
2015-05-04T17:48:56.000Z
2015-05-04T17:48:56.000Z
generalRunFiles/tideCompare.py
wesleybowman/karsten
ef4b2d6debae605902d76cd0484e71c0ba74fdd1
[ "MIT" ]
null
null
null
generalRunFiles/tideCompare.py
wesleybowman/karsten
ef4b2d6debae605902d76cd0484e71c0ba74fdd1
[ "MIT" ]
1
2021-11-15T17:53:19.000Z
2021-11-15T17:53:19.000Z
from __future__ import division import numpy as np import pandas as pd import netCDF4 as nc from datetime import datetime, timedelta import cPickle as pickle import sys sys.path.append('/home/wesley/github/UTide/') from utide import ut_solv import scipy.io as sio from stationClass import station if __name__ == '...
36.284553
143
0.578871
336617ee14351211c66aecbca46f7869d9b1ed6c
2,158
py
Python
gff/Scripts/gff/gff_to_genbank.py
bgruening/bcbb
dbfb52711f0bfcc1d26c5a5b53c9ff4f50dc0027
[ "MIT" ]
339
2015-01-04T13:23:04.000Z
2022-03-25T23:09:09.000Z
gff/Scripts/gff/gff_to_genbank.py
bgruening/bcbb
dbfb52711f0bfcc1d26c5a5b53c9ff4f50dc0027
[ "MIT" ]
39
2015-01-14T21:31:09.000Z
2021-11-18T15:15:33.000Z
gff/Scripts/gff/gff_to_genbank.py
bgruening/bcbb
dbfb52711f0bfcc1d26c5a5b53c9ff4f50dc0027
[ "MIT" ]
176
2015-01-10T17:40:44.000Z
2022-03-25T05:14:21.000Z
#!/usr/bin/env python """Convert a GFF and associated FASTA file into GenBank format. Usage: gff_to_genbank.py <GFF annotation file> [<FASTA sequence file> <molecule type>] FASTA sequence file: input sequences matching records in GFF. Optional if sequences are in the GFF molecule type: type of molecule in th...
29.162162
88
0.639018
336659ff363b0054a9eac553468e5da25a44ed50
762
py
Python
hard-gists/5267494/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/5267494/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/5267494/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
import webapp2 from twilio import twiml from twilio.rest import TwilioRestClient app = webapp2.WSGIApplication([('/send_sms', SendSMS)], debug=True)
42.333333
81
0.611549
3366d6f4ce4dfb447093519d06275a1e825d7959
555
py
Python
app/calc/permissions.py
sajeeshen/WebCalculatorAPI
d951e688e84741cc594877914d292fbddb4e9542
[ "MIT" ]
null
null
null
app/calc/permissions.py
sajeeshen/WebCalculatorAPI
d951e688e84741cc594877914d292fbddb4e9542
[ "MIT" ]
null
null
null
app/calc/permissions.py
sajeeshen/WebCalculatorAPI
d951e688e84741cc594877914d292fbddb4e9542
[ "MIT" ]
null
null
null
from rest_framework import permissions
26.428571
69
0.652252
3367ac8d7631adea65a66b8a1b9f9c5b430f34ba
335
py
Python
src/eduid_graphdb/exceptions.py
SUNET/eduid-groupdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
1
2020-09-05T03:14:37.000Z
2020-09-05T03:14:37.000Z
src/eduid_graphdb/exceptions.py
SUNET/eduid-graphdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
null
null
null
src/eduid_graphdb/exceptions.py
SUNET/eduid-graphdb
c9b4631ff944211eab82595f005bc7e707142216
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'lundberg'
13.958333
52
0.758209
3368e67a6dc113ec2b5e093fd23dd2116d31dc6a
1,485
py
Python
pyledserver/mqtt/client.py
oct0f1sh/PyLEDServer
a41ef37bf4564c02d0439a89f13f1bb7d841cc1d
[ "MIT" ]
1
2018-10-15T18:14:55.000Z
2018-10-15T18:14:55.000Z
pyledserver/mqtt/client.py
oct0f1sh/PyLEDServer
a41ef37bf4564c02d0439a89f13f1bb7d841cc1d
[ "MIT" ]
null
null
null
pyledserver/mqtt/client.py
oct0f1sh/PyLEDServer
a41ef37bf4564c02d0439a89f13f1bb7d841cc1d
[ "MIT" ]
null
null
null
import json import logging import mqtt.callbacks as mqtt_util import paho.mqtt.client as mqtt logger = logging.getLogger('pyledserver.PyLEDClient') logger.setLevel(logging.DEBUG)
38.076923
101
0.709764
3368ecf59d5565e94b4557cb0eb66a2c6e950c80
1,406
py
Python
pilco/policies/transformed_policy.py
sbrml/pilco
77b6d8b9033ffdb23cae4936b028f42144f37846
[ "MIT" ]
null
null
null
pilco/policies/transformed_policy.py
sbrml/pilco
77b6d8b9033ffdb23cae4936b028f42144f37846
[ "MIT" ]
4
2020-11-13T18:43:28.000Z
2022-02-10T01:17:03.000Z
pilco/policies/transformed_policy.py
sbrml/pilco
77b6d8b9033ffdb23cae4936b028f42144f37846
[ "MIT" ]
1
2020-03-22T10:14:21.000Z
2020-03-22T10:14:21.000Z
from pilco.policies.policy import Policy import tensorflow as tf
29.914894
85
0.559033