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
2c19bea1407933bda4ea01581f3e0b456aadbfa3
4,550
py
Python
Week_12/wave2D.py
MECH3750/2021-Tutorials
e813f2a97d9b71ad0e304a35e8c66d21ed63ee0c
[ "MIT" ]
5
2021-08-03T01:40:40.000Z
2021-09-14T12:07:28.000Z
Week_12/wave2D.py
MECH3750/2021-Tutorials
e813f2a97d9b71ad0e304a35e8c66d21ed63ee0c
[ "MIT" ]
null
null
null
Week_12/wave2D.py
MECH3750/2021-Tutorials
e813f2a97d9b71ad0e304a35e8c66d21ed63ee0c
[ "MIT" ]
11
2021-08-03T02:48:49.000Z
2021-11-08T06:47:11.000Z
# -*- coding: utf-8 -*- """ Created on Mon Sep 16 11:53:02 2019 @author: uqcleon4 """ import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm if __name__ == "__main__": main() # N = 200 # D = 0.25 # Mx = 50 # My = 50
29.354839
95
0.466593
2c1b8264dccf5b44e3002c9c34d2872c3ff19377
234
py
Python
spirit/comment/apps.py
StepanBakshayev/Spirit
28c053983d8323801d022c5314af7fdff4569228
[ "MIT" ]
3
2019-08-18T19:08:48.000Z
2019-12-04T18:14:29.000Z
spirit/comment/apps.py
StepanBakshayev/Spirit
28c053983d8323801d022c5314af7fdff4569228
[ "MIT" ]
16
2015-08-10T18:28:18.000Z
2022-03-11T23:12:48.000Z
spirit/comment/apps.py
StepanBakshayev/Spirit
28c053983d8323801d022c5314af7fdff4569228
[ "MIT" ]
6
2018-06-25T02:17:53.000Z
2020-12-08T01:09:32.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig
18
39
0.722222
2c1bea01e54768ccbaecf68a5c46e239fa4bb01f
11,443
py
Python
pillow_heif/reader.py
aptalca/pillow_heif
75b50b923244d35480ae9942da113287f531e460
[ "Apache-2.0" ]
null
null
null
pillow_heif/reader.py
aptalca/pillow_heif
75b50b923244d35480ae9942da113287f531e460
[ "Apache-2.0" ]
null
null
null
pillow_heif/reader.py
aptalca/pillow_heif
75b50b923244d35480ae9942da113287f531e460
[ "Apache-2.0" ]
null
null
null
""" Functions and classes for heif images to read. """ import builtins import pathlib from functools import partial from warnings import warn from _pillow_heif_cffi import ffi, lib from .constants import ( HeifFiletype, HeifColorProfileType, HeifChroma, HeifChannel, HeifColorspace, HeifBrand,...
37.765677
117
0.682339
2c1c62eb125d9e8057ff9e4f7249cfb02c4192e5
58,113
py
Python
flow/controllers/imitation_learning/trainer.py
eugenevinitsky/bayesian_reasoning_traffic
de3c14f03fed9cab913bb692877851320a3b6843
[ "MIT" ]
2
2020-12-03T21:13:39.000Z
2022-03-13T09:12:43.000Z
flow/controllers/imitation_learning/trainer.py
eugenevinitsky/bayesian_reasoning_traffic
de3c14f03fed9cab913bb692877851320a3b6843
[ "MIT" ]
null
null
null
flow/controllers/imitation_learning/trainer.py
eugenevinitsky/bayesian_reasoning_traffic
de3c14f03fed9cab913bb692877851320a3b6843
[ "MIT" ]
1
2021-02-05T16:51:34.000Z
2021-02-05T16:51:34.000Z
import time from collections import OrderedDict import pickle import numpy as np import gym import os import tensorflow as tf from flow.controllers.imitation_learning.utils import * from flow.utils.registry import make_create_env from flow.controllers.imitation_learning.imitating_controller import ImitatingController f...
48.630126
231
0.650698
2c208d59b07ff9834de306f19efb98e51d775ac7
660
py
Python
excercises/6-0001/problem_sets/ps1/ps1b.py
obsessedyouth/simulacra
530155664daf1aff06cb575c4c4073acbacdb32d
[ "MIT" ]
null
null
null
excercises/6-0001/problem_sets/ps1/ps1b.py
obsessedyouth/simulacra
530155664daf1aff06cb575c4c4073acbacdb32d
[ "MIT" ]
null
null
null
excercises/6-0001/problem_sets/ps1/ps1b.py
obsessedyouth/simulacra
530155664daf1aff06cb575c4c4073acbacdb32d
[ "MIT" ]
null
null
null
annual_salary = float(input("Enter your annual salary")) portion_saved = float(input("Enterthepercentofyoursalarytosave,asadecimal")) total_cost = float(input("Enter the cost of your dream home")) semi_annual_raise = float(input("Enterthesemiannualraise,asadecimal")) portion_down_payment = 0.25 * total_cost current_sa...
34.736842
86
0.716667
2c2296a7af80752c885721e618ab896d2c0978d7
2,110
py
Python
tests/test_heartbeat.py
maxerbubba/stepfunctions_activity_worker
846e9a2351f96b20855588845fba8be9a1a72a7b
[ "MIT" ]
6
2018-11-29T18:37:35.000Z
2021-06-07T14:14:16.000Z
tests/test_heartbeat.py
maxerbubba/stepfunctions_activity_worker
846e9a2351f96b20855588845fba8be9a1a72a7b
[ "MIT" ]
6
2018-11-30T16:14:32.000Z
2019-10-16T15:41:16.000Z
tests/test_heartbeat.py
maxerbubba/stepfunctions_activity_worker
846e9a2351f96b20855588845fba8be9a1a72a7b
[ "MIT" ]
1
2019-10-11T05:00:08.000Z
2019-10-11T05:00:08.000Z
"""Tests for stepfunctions_activity_worker.heartbeat. Since Heartbeat inherits from threading.Timer we're testing against the functionality that we override/extending to it. """ from unittest import mock import pytest from stepfunctions_activity_worker.heartbeat import Heartbeat def test_Heartbeat_enter_calls_st...
27.051282
71
0.7109
2c280a854d5dd0052e5104746e9e594265513c8d
1,251
py
Python
otptags.py
azukacchi/scriptsdump
c54d1dcf42ac0e5242786fa4364c7532ed7b5446
[ "MIT" ]
2
2021-09-10T03:21:33.000Z
2021-11-14T20:02:53.000Z
otptags.py
azukacchi/scriptsdump
c54d1dcf42ac0e5242786fa4364c7532ed7b5446
[ "MIT" ]
null
null
null
otptags.py
azukacchi/scriptsdump
c54d1dcf42ac0e5242786fa4364c7532ed7b5446
[ "MIT" ]
null
null
null
import re from bs4 import BeautifulSoup import os.path from datetime import date import requests import csv import time delay = 6 BASE_DIR = os.path.dirname(os.path.abspath(__file__)) filename = 'ao3tags.csv' filepath = os.path.join(BASE_DIR, filename) if __name__ == '__main__': tagcount()
26.617021
72
0.605116
2c293d8c5436830faf8721c88cbacb4b46a95b30
412
py
Python
INF1511/Chapter3/matrix1.py
GalliWare/UNISA-studies
32bab94930b176c4dfe943439781ef102896fab5
[ "Unlicense" ]
null
null
null
INF1511/Chapter3/matrix1.py
GalliWare/UNISA-studies
32bab94930b176c4dfe943439781ef102896fab5
[ "Unlicense" ]
null
null
null
INF1511/Chapter3/matrix1.py
GalliWare/UNISA-studies
32bab94930b176c4dfe943439781ef102896fab5
[ "Unlicense" ]
null
null
null
table = [[0 for i in range(3)] for j in range(3)] print("Enter values for a matrix of order 3 x 3") for d1 in range(3): for d2 in range(3): table[d1][d2] = int(input()) print("Elements of the matrix are %a" % table) print("Elements of the matrix are ") for row in table: print(row) s = 0 for row in table...
27.466667
56
0.618932
2c2944dad267b75f5e9b14f426638486e1db3d9f
2,880
py
Python
djangosige/apps/base/views_mixins.py
CTECHSUL/SG
0d4822b3826e015ad24690815bb9c52952431ea7
[ "MIT" ]
330
2017-07-03T08:41:24.000Z
2022-03-31T04:34:17.000Z
djangosige/apps/base/views_mixins.py
CTECHSUL/SG
0d4822b3826e015ad24690815bb9c52952431ea7
[ "MIT" ]
107
2017-07-03T22:21:35.000Z
2022-03-30T08:10:24.000Z
djangosige/apps/base/views_mixins.py
matfurrier/SIGEsistema
6b0072741809c5e5077d201862ea76d839161735
[ "MIT" ]
258
2017-06-27T20:11:46.000Z
2022-03-20T21:46:34.000Z
from __future__ import unicode_literals from django.contrib import messages from django.contrib.auth.decorators import login_required from django.utils.decorators import method_decorator from django.shortcuts import redirect
38.918919
109
0.657292
2c2a8fd306dc8e296f6feb602bca22708c15866f
1,601
py
Python
source/CheckJobStatusFunction/app.py
kwwaikar/aws-data-exchange-publisher-coordinator-1
8bfec78ff64432d2b2804050116994d76928cb81
[ "MIT" ]
null
null
null
source/CheckJobStatusFunction/app.py
kwwaikar/aws-data-exchange-publisher-coordinator-1
8bfec78ff64432d2b2804050116994d76928cb81
[ "MIT" ]
null
null
null
source/CheckJobStatusFunction/app.py
kwwaikar/aws-data-exchange-publisher-coordinator-1
8bfec78ff64432d2b2804050116994d76928cb81
[ "MIT" ]
null
null
null
import boto3 import os import logging from datetime import datetime def lambda_handler(event, context): """This function checks and returns the import assets job status""" try: global log_level log_level = str(os.environ.get('LOG_LEVEL')).upper() valid_log_levels = ['DEBUG...
28.589286
77
0.562773
2c2b3898833c53843db57d3da758950386a9aad9
7,592
py
Python
languages/python/cp857_5x7.py
ercanersoy/font-library
7d71b41bddea9d87c230afbaec1a92412ebd7ad9
[ "CC0-1.0" ]
1
2019-03-30T13:34:24.000Z
2019-03-30T13:34:24.000Z
languages/python/cp857_5x7.py
ercanersoy/font-library
7d71b41bddea9d87c230afbaec1a92412ebd7ad9
[ "CC0-1.0" ]
null
null
null
languages/python/cp857_5x7.py
ercanersoy/font-library
7d71b41bddea9d87c230afbaec1a92412ebd7ad9
[ "CC0-1.0" ]
null
null
null
# cp857_5x7.py - CP857 5x7 font file for Python # # Copyright (c) 2019-2022 Ercan Ersoy # This file is written by Ercan Ersoy. # This file is licensed under CC0-1.0 Universal License. cp857_5x7 = [ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00, 0x03, 0x00, 0x03, 0x00, 0x14, 0x7F, 0x14, 0...
32.583691
56
0.609326
2c2d0f019ed042f9d5ffe83c988029566ce8aae5
282
py
Python
fjord/redirector/providers/dummy.py
lgp171188/fjord
1cb4aa3c3e0932c586cdd2c4ee3b6b9974a6976a
[ "BSD-3-Clause" ]
16
2015-02-06T14:35:57.000Z
2021-07-10T11:14:00.000Z
fjord/redirector/providers/dummy.py
lgp171188/fjord
1cb4aa3c3e0932c586cdd2c4ee3b6b9974a6976a
[ "BSD-3-Clause" ]
310
2015-01-07T14:39:35.000Z
2016-05-02T17:41:30.000Z
fjord/redirector/providers/dummy.py
lgp171188/fjord
1cb4aa3c3e0932c586cdd2c4ee3b6b9974a6976a
[ "BSD-3-Clause" ]
22
2015-01-15T13:46:03.000Z
2020-07-24T10:08:51.000Z
from fjord.redirector import Redirector
28.2
54
0.648936
2c2ec23931c6b9f6cf2d97ddfef973d0d7caa687
12,363
py
Python
app/models.py
eellkk/flask_learn
18810a09a7384af15d3767b56274c990fe1c154b
[ "MIT" ]
null
null
null
app/models.py
eellkk/flask_learn
18810a09a7384af15d3767b56274c990fe1c154b
[ "MIT" ]
null
null
null
app/models.py
eellkk/flask_learn
18810a09a7384af15d3767b56274c990fe1c154b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Aug 20 11:26:41 2016 @author: Administrator """ #__init__.pydbdb = SQLAlchemt() from . import db,login_manager #Werkzeugsecurity from werkzeug.security import generate_password_hash,check_password_hash from flask.ext.login import UserMixin,AnonymousUserMixin from...
37.01497
164
0.604708
2c3065c1d277ab3a50d50ca18e17bde26be17ca4
2,657
py
Python
main.py
firestalk/vk_delpost
79ae0ad94e65a81da2a103370dccd7765cff3db5
[ "MIT" ]
null
null
null
main.py
firestalk/vk_delpost
79ae0ad94e65a81da2a103370dccd7765cff3db5
[ "MIT" ]
null
null
null
main.py
firestalk/vk_delpost
79ae0ad94e65a81da2a103370dccd7765cff3db5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from splinter import Browser from time import sleep import re import json import sys if __name__ == "__main__": vkd = VkDelPost() vkd.main()
34.506494
129
0.519759
2c324eb057bd0ddba6a6403d5a9df98e2318b393
948
py
Python
pandagg/node/query/joining.py
leonardbinet/pandagg
5a5619e2190503da841e32782a4e55b35727d656
[ "MIT" ]
null
null
null
pandagg/node/query/joining.py
leonardbinet/pandagg
5a5619e2190503da841e32782a4e55b35727d656
[ "MIT" ]
null
null
null
pandagg/node/query/joining.py
leonardbinet/pandagg
5a5619e2190503da841e32782a4e55b35727d656
[ "MIT" ]
null
null
null
from pandagg.node.query.compound import CompoundClause from pandagg.node.query._parameter_clause import Path, QueryP
24.947368
76
0.64557
257385445594750f579250d74f0144116e915ee8
19,130
py
Python
ptest/usb_session.py
athena255/FlightSoftware
c3fd7dcc6c265fad9843f8992b60d5a773c99f23
[ "MIT" ]
null
null
null
ptest/usb_session.py
athena255/FlightSoftware
c3fd7dcc6c265fad9843f8992b60d5a773c99f23
[ "MIT" ]
1
2020-09-20T20:11:06.000Z
2020-09-20T20:11:06.000Z
ptest/usb_session.py
athena255/FlightSoftware
c3fd7dcc6c265fad9843f8992b60d5a773c99f23
[ "MIT" ]
null
null
null
import time import datetime import serial import threading import json import traceback import queue import os import pty import subprocess from multiprocessing import Process import glob from elasticsearch import Elasticsearch from .data_consumers import Datastore, Logger from .http_cmd import create_usb_session_endp...
38.961303
163
0.595086
25750c8794444def7be2e0ed0c2beae4eab5e2f1
1,233
py
Python
Python Programs/matrix-add-top-row.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/matrix-add-top-row.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/matrix-add-top-row.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Matrix Add Top Row Matrix Add Top Row: A matrix of size R*C is given as the input to the program. The program must add the elements in the first row in each column to the elements in the below rows by equally dividing them. Then the program must print the modified matrix as the output. Note:If the integer cannot be eve...
25.6875
267
0.657745
25760e26ccc984f053e0ae3f5160d2bb9ebef9f4
11,044
py
Python
test/composed_visitor_test.py
FreeYourSoul/FreExGraph
375ff2111c68442d35cb88a2e98f16279c705bd6
[ "MIT" ]
3
2021-04-16T20:44:13.000Z
2022-02-11T00:57:40.000Z
test/composed_visitor_test.py
FreeYourSoul/FreExGraph
375ff2111c68442d35cb88a2e98f16279c705bd6
[ "MIT" ]
null
null
null
test/composed_visitor_test.py
FreeYourSoul/FreExGraph
375ff2111c68442d35cb88a2e98f16279c705bd6
[ "MIT" ]
1
2021-03-25T19:49:27.000Z
2021-03-25T19:49:27.000Z
# MIT License # # Copyright (c) 2021 Quentin Balland # Project : https://github.com/FreeYourSoul/FreExGraph # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including wi...
42.806202
87
0.741579
257840704f660f29957142fc99721907a1db3293
29,073
py
Python
test/test_nfvbench.py
hashnfv/hashnfv-nfvbench
8da439b932537748d379c7bd3bdf560ef739b203
[ "Apache-2.0" ]
null
null
null
test/test_nfvbench.py
hashnfv/hashnfv-nfvbench
8da439b932537748d379c7bd3bdf560ef739b203
[ "Apache-2.0" ]
null
null
null
test/test_nfvbench.py
hashnfv/hashnfv-nfvbench
8da439b932537748d379c7bd3bdf560ef739b203
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2016 Cisco Systems, Inc. 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....
34.98556
98
0.52836
2578bd207d261948c34574e9d8df87d9062a4d4d
264
py
Python
{{cookiecutter.repo_name}}/{{cookiecutter.module_name}}/api/index/__init__.py
xiaopeng163/lazyflask
98ae0c218c90739358c1ec90ae2daa3660d10e1b
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.repo_name}}/{{cookiecutter.module_name}}/api/index/__init__.py
xiaopeng163/lazyflask
98ae0c218c90739358c1ec90ae2daa3660d10e1b
[ "Apache-2.0" ]
null
null
null
{{cookiecutter.repo_name}}/{{cookiecutter.module_name}}/api/index/__init__.py
xiaopeng163/lazyflask
98ae0c218c90739358c1ec90ae2daa3660d10e1b
[ "Apache-2.0" ]
1
2018-11-05T05:56:29.000Z
2018-11-05T05:56:29.000Z
# Copyright 2015-2018 Cisco Systems, Inc. # All rights reserved. from cxcom.rest.blue_print import blue_print from {{cookiecutter.module_name}}.api.index.index import Index BLUE_PRINT_PUBLIC = blue_print('engine_status', 'templates', [ [Index, '/', "/"] ])
24
62
0.731061
257a8f3de4b6bc7e806d488851674359ff3825e1
5,141
py
Python
tests/costnonlinear.py
rafaelrojasmiliani/gsplines
663b10f6d53b498a1e892d9eb32a345153de36d2
[ "MIT" ]
3
2021-08-28T01:42:40.000Z
2021-12-02T22:39:45.000Z
tests/costnonlinear.py
rafaelrojasmiliani/gsplines
663b10f6d53b498a1e892d9eb32a345153de36d2
[ "MIT" ]
null
null
null
tests/costnonlinear.py
rafaelrojasmiliani/gsplines
663b10f6d53b498a1e892d9eb32a345153de36d2
[ "MIT" ]
null
null
null
""" Test the cost function from the problem 1010 """ import numpy as np import sympy as sp import quadpy import unittest from opttrj.costnonlinear import cCostNonLinear from itertools import tee def main(): unittest.main() if __name__ == '__main__': main()
30.60119
78
0.471309
257a9b3e29b5b9199eb2a23693635e96b83f0500
737
py
Python
src/server/BroadcastThread.py
spectacularGavin/rasp-sec-camera
3730b7a93e9fd30bfffe9529ed990528a32c5a5c
[ "MIT" ]
null
null
null
src/server/BroadcastThread.py
spectacularGavin/rasp-sec-camera
3730b7a93e9fd30bfffe9529ed990528a32c5a5c
[ "MIT" ]
null
null
null
src/server/BroadcastThread.py
spectacularGavin/rasp-sec-camera
3730b7a93e9fd30bfffe9529ed990528a32c5a5c
[ "MIT" ]
null
null
null
from threading import Thread from subprocess import Popen, PIPE from wsgiref.simple_server import WSGIServer
35.095238
77
0.625509
257bddd8105c20a3bf215b1b22c1c4992b667b8c
5,630
py
Python
manga_py/providers/mangadex_org_v2.py
Abijithkrishna/manga-py
03b142ecb944ef37a36e5095ffa580209021e3b0
[ "MIT" ]
337
2019-08-27T16:14:50.000Z
2022-03-29T09:58:22.000Z
manga_py/providers/mangadex_org_v2.py
Abijithkrishna/manga-py
03b142ecb944ef37a36e5095ffa580209021e3b0
[ "MIT" ]
225
2019-08-25T15:02:01.000Z
2022-03-31T06:36:09.000Z
manga_py/providers/mangadex_org_v2.py
Abijithkrishna/manga-py
03b142ecb944ef37a36e5095ffa580209021e3b0
[ "MIT" ]
41
2019-10-04T13:28:02.000Z
2022-03-19T08:18:34.000Z
import re from manga_py.provider import Provider from .helpers.std import Std from html import escape main = MangaDexOrg
30.934066
111
0.539076
257bfa0c3f881287a5a522f4b4310e46894a8022
1,494
py
Python
setup.py
VerseGroup/vg-em
3c9a93aa9c3c3cba2bace9259bab8b2668b54069
[ "MIT" ]
2
2022-01-13T18:33:25.000Z
2022-01-13T18:34:56.000Z
setup.py
VerseGroup/EM-python
3c9a93aa9c3c3cba2bace9259bab8b2668b54069
[ "MIT" ]
null
null
null
setup.py
VerseGroup/EM-python
3c9a93aa9c3c3cba2bace9259bab8b2668b54069
[ "MIT" ]
null
null
null
import pathlib from setuptools import setup, find_packages HERE = pathlib.Path(__file__).parent README = (HERE / "README.md").read_text() VERSION = "1.3.0" DESCRIPTION="VerseGroups encryption manager class (RSA and Fernet wrapped AES sessions through RSA) for secure transmission of data. Also includes utilities such ...
38.307692
203
0.663989
257cd5d4b4e8ff0ea36956f5af38747aff84e4d6
24,314
py
Python
passl/modeling/backbones/discrete_vae.py
lmk123568/PASSL
a4974a665b164b71831b38b5bd8b849615a17f12
[ "Apache-2.0" ]
null
null
null
passl/modeling/backbones/discrete_vae.py
lmk123568/PASSL
a4974a665b164b71831b38b5bd8b849615a17f12
[ "Apache-2.0" ]
null
null
null
passl/modeling/backbones/discrete_vae.py
lmk123568/PASSL
a4974a665b164b71831b38b5bd8b849615a17f12
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserve. # # 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...
33.816412
135
0.521181
257d2b7a3c0cb97294399826eb46725bc5e9506f
33,921
py
Python
Index.py
Trabalho-APC-DASH/Painel-APC
1920c7e1a188ba350268f926c0bf69552f0ab4a2
[ "MIT" ]
null
null
null
Index.py
Trabalho-APC-DASH/Painel-APC
1920c7e1a188ba350268f926c0bf69552f0ab4a2
[ "MIT" ]
null
null
null
Index.py
Trabalho-APC-DASH/Painel-APC
1920c7e1a188ba350268f926c0bf69552f0ab4a2
[ "MIT" ]
null
null
null
# VERSO FINAL - NICA - V1.0 # ALTERADA EM 03/04 -- 18:30 # EXPORTAES: import plotly.express as px from pandas import read_excel from dash import Dash, dcc, html, Input, Output, State import plotly.graph_objects as go # IMPORTAO DE BOOTSTRAP PARA FAZER SITE: import dash_bootstrap_components as dbc # DECLARAO DO 1 D...
35.743941
745
0.538811
257e05fcff394b8322ba4dd1554e86692b4c8292
3,918
py
Python
editline/tests/test_editline.py
mark-nicholson/python-editline
c23f1071c4b832a92f66e2f49142e5c5f00e500d
[ "BSD-3-Clause" ]
4
2017-10-05T19:34:32.000Z
2021-05-18T23:29:44.000Z
editline/tests/test_editline.py
mark-nicholson/python-editline
c23f1071c4b832a92f66e2f49142e5c5f00e500d
[ "BSD-3-Clause" ]
2
2018-03-30T22:38:17.000Z
2018-03-30T22:39:13.000Z
editline/tests/test_editline.py
mark-nicholson/python-editline
c23f1071c4b832a92f66e2f49142e5c5f00e500d
[ "BSD-3-Clause" ]
null
null
null
""" Unit testing for parts of the editline and _editline modules. """ import os import sys import unittest import subprocess from test.support import import_module # too bad this thing moved ... try: if sys.version_info[0] >= 3 and sys.version_info[1] >= 5: from test.support.script_helper import assert_pyt...
36.962264
86
0.671006
257e22ee1110fa746c97def96ea06dd14c1ece1b
13,035
py
Python
py2many/inference.py
nsauzede/py2many
7a4c8d0bd200c287281fc397bedafd755a44fa64
[ "MIT" ]
2
2021-05-13T11:44:33.000Z
2021-05-14T00:37:26.000Z
py2many/inference.py
nsauzede/py2many
7a4c8d0bd200c287281fc397bedafd755a44fa64
[ "MIT" ]
null
null
null
py2many/inference.py
nsauzede/py2many
7a4c8d0bd200c287281fc397bedafd755a44fa64
[ "MIT" ]
null
null
null
import ast from ctypes import c_int8, c_int16, c_int32, c_int64 from ctypes import c_uint8, c_uint16, c_uint32, c_uint64 from dataclasses import dataclass from typing import Optional from py2many.analysis import get_id from py2many.clike import CLikeTranspiler from py2many.tracer import is_enum
33.595361
88
0.582739
257e4eb0dea44309c2b7cddb8176aa3e129b02d2
7,258
py
Python
evaluate.py
LijieFan/PKU-MMD
cfa6aad468ce6675c6027de1173e366603705d63
[ "Apache-2.0" ]
49
2017-05-30T15:28:36.000Z
2022-03-16T06:33:52.000Z
evaluate.py
LijieFan/PKU-MMD
cfa6aad468ce6675c6027de1173e366603705d63
[ "Apache-2.0" ]
7
2018-12-07T15:05:50.000Z
2021-11-04T08:21:00.000Z
evaluate.py
ECHO960/PKU-MMD
cfa6aad468ce6675c6027de1173e366603705d63
[ "Apache-2.0" ]
9
2018-03-03T17:24:16.000Z
2021-01-15T07:02:07.000Z
# Copyright (c) 2017 Chunhui_Liu@STRUCT_ICST_PKU, All rights reserved. # # evaluation protocols used for PKU-MMD dataset # http://www.icst.pku.edu.cn/struct/Projects/PKUMMD.html # # In proposal folder: # each file contains results for one video. # several lines in one file, # each line contain: label, start_fra...
37.606218
83
0.666161
257ed12cd5a7b5088a1d81e7a2c06131e88f0e37
3,086
py
Python
train.py
cyrusmvahid/LSTNet-Gluon
c2e8b34bcd67220bd87647fdf9d01baa0023133d
[ "Apache-2.0" ]
null
null
null
train.py
cyrusmvahid/LSTNet-Gluon
c2e8b34bcd67220bd87647fdf9d01baa0023133d
[ "Apache-2.0" ]
null
null
null
train.py
cyrusmvahid/LSTNet-Gluon
c2e8b34bcd67220bd87647fdf9d01baa0023133d
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import argparse import mxnet as mx from mxnet import nd, gluon, autograd from dataset import TimeSeriesData from model import LSTNet import time import multiprocessing as mp if __name__ == "__main__": parser = argparse.ArgumentParser(description='LSTNet Time series foreca...
33.912088
146
0.598509
2582945bf9536fba450ea2b236790e0e288299e8
2,821
py
Python
tests/ahv_vm/test_ahv_vm.py
nutanixdev/calm-dsl
90e1c583d7b9ac905cdfb3e2ad27f9f930e69831
[ "Apache-2.0" ]
null
null
null
tests/ahv_vm/test_ahv_vm.py
nutanixdev/calm-dsl
90e1c583d7b9ac905cdfb3e2ad27f9f930e69831
[ "Apache-2.0" ]
null
null
null
tests/ahv_vm/test_ahv_vm.py
nutanixdev/calm-dsl
90e1c583d7b9ac905cdfb3e2ad27f9f930e69831
[ "Apache-2.0" ]
null
null
null
from calm.dsl.builtins import AhvVmDisk, AhvVmNic, AhvVmGC, AhvVmGpu from calm.dsl.builtins import basic_cred, ahv_vm_resources from calm.dsl.builtins import vm_disk_package, read_local_file from calm.dsl.config import get_context AhvVm = ahv_vm_resources() CENTOS_USERNAME = read_local_file(".tests/centos_username")...
31.344444
88
0.69408
2584851a4d17126b2fb8d6436c754e69633733dc
724
py
Python
validator/rules_src/dict.py
Varun-22/Validator
2c5caa9323aef35e2796813a357e5a7d6d4a80ba
[ "MIT" ]
41
2020-05-07T15:35:12.000Z
2021-11-01T03:57:09.000Z
validator/rules_src/dict.py
Varun-22/Validator
2c5caa9323aef35e2796813a357e5a7d6d4a80ba
[ "MIT" ]
83
2020-05-09T22:11:26.000Z
2022-03-10T19:06:46.000Z
validator/rules_src/dict.py
Varun-22/Validator
2c5caa9323aef35e2796813a357e5a7d6d4a80ba
[ "MIT" ]
25
2020-05-27T22:46:01.000Z
2022-03-04T01:36:11.000Z
from validator.rules_src import Rule
20.685714
64
0.540055
2585c90edb71c281306603ef92afa4de591ee6b2
1,944
py
Python
data/transcoder_evaluation_gfg/python/LARGEST_SUBARRAY_WITH_EQUAL_NUMBER_OF_0S_AND_1S.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/python/LARGEST_SUBARRAY_WITH_EQUAL_NUMBER_OF_0S_AND_1S.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/python/LARGEST_SUBARRAY_WITH_EQUAL_NUMBER_OF_0S_AND_1S.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # #TOFILL if __name__ == '__main__': param = [ ([56, 8, 67, 35, 19, 82, 81, 66, 10, 24, 82, 2, 42, 48, 18, ...
41.361702
112
0.474794
2585e87eaaff2fdd76309cfdbd38bd7f7c95efca
935
py
Python
setup.py
DiegoLing33/ling-simple-api
d4b3789cf6110afa3c2db822ff6593079927eca1
[ "MIT" ]
2
2020-10-28T14:00:05.000Z
2020-10-30T11:55:27.000Z
setup.py
DiegoLing33/ling-simple-api
d4b3789cf6110afa3c2db822ff6593079927eca1
[ "MIT" ]
null
null
null
setup.py
DiegoLing33/ling-simple-api
d4b3789cf6110afa3c2db822ff6593079927eca1
[ "MIT" ]
null
null
null
# # # # # # # # Developed by Yakov V. Panov (C) Ling Black 2020 # @site http://ling.black import setuptools setuptools.setup( name="ling-simple-api", version="0.0.1", author="Yakov V. Ling", author_email="diegoling33@yandex.ru", packages=setuptools.find_packages(), classifiers=[...
35.961538
75
0.319786
258619b27ba7620cfaf422123a35bececd0c3a59
6,826
py
Python
sdk/python/pulumi_aws/directconnect/connection.py
johnktims/pulumi-aws
c838bc79043f5376c66fc66275a1e012edd3ab7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/directconnect/connection.py
johnktims/pulumi-aws
c838bc79043f5376c66fc66275a1e012edd3ab7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/directconnect/connection.py
johnktims/pulumi-aws
c838bc79043f5376c66fc66275a1e012edd3ab7d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import json import warnings import pulumi import pulumi.runtime from typing import Union from .. import utilities, tables
52.507692
287
0.693671
2587f8ca4edd7908a4b73ab0a1763c2cc0753214
4,882
py
Python
main.py
prateek-77/rcan-it
587904556d8127bca83690deaaa26e34e051a576
[ "MIT" ]
57
2022-01-28T04:44:42.000Z
2022-03-31T13:26:35.000Z
main.py
chisyliu/rcan-it
eb1794777ffef4eadd8a6a06f4419380a0b17435
[ "MIT" ]
6
2022-02-08T11:17:19.000Z
2022-03-27T07:40:18.000Z
main.py
chisyliu/rcan-it
eb1794777ffef4eadd8a6a06f4419380a0b17435
[ "MIT" ]
10
2022-01-28T07:31:12.000Z
2022-03-15T01:35:03.000Z
import os import random import argparse import numpy as np import torch import torch.nn as nn import torch.distributed as dist import torch.backends.cudnn as cudnn from ptsr import model from ptsr.data import Data from ptsr.config import load_cfg from ptsr.model import get_num_params from ptsr.utils imp...
36.432836
95
0.630274
2588ddff6bc7f93f79f0d46e93db16a0b7b7e0ea
886
py
Python
factions.py
Fuih/tqs-bot
d2b0f4b86da1cd0d3fea6fa42529fe2b7f899a76
[ "MIT" ]
null
null
null
factions.py
Fuih/tqs-bot
d2b0f4b86da1cd0d3fea6fa42529fe2b7f899a76
[ "MIT" ]
null
null
null
factions.py
Fuih/tqs-bot
d2b0f4b86da1cd0d3fea6fa42529fe2b7f899a76
[ "MIT" ]
null
null
null
from discord import Color FACTIONS = { 'Thc': 3, 'Qun': 5, 'Ngy': 7, 'Ng': 11 } FACTION_COLORS = { FACTIONS['Thc']: Color.red(), FACTIONS['Qun']: Color.dark_grey(), FACTIONS['Ngy']: Color.blue(), FACTIONS['Ng']: Color.green(), FACTIONS['Thc']*FACTIONS['Qun']: Color.dark_red(), ...
30.551724
69
0.633183
2588e42576eb79c4a1e848245e4fe3ba547f0a58
75
py
Python
ppml/trusted-big-data-ml/python/docker-graphene/examples/helloworld.py
DirkFi/BigDL
7493209165c046116470b9a1e1c8f527915d6f1e
[ "Apache-2.0" ]
2,970
2017-06-08T00:24:43.000Z
2022-03-30T12:14:55.000Z
ppml/trusted-big-data-ml/python/docker-graphene/examples/helloworld.py
DirkFi/BigDL
7493209165c046116470b9a1e1c8f527915d6f1e
[ "Apache-2.0" ]
3,530
2017-05-09T08:29:10.000Z
2022-03-21T02:11:45.000Z
ppml/trusted-big-data-ml/python/docker-graphene/examples/helloworld.py
DirkFi/BigDL
7493209165c046116470b9a1e1c8f527915d6f1e
[ "Apache-2.0" ]
972
2017-05-09T07:03:50.000Z
2022-03-23T07:48:48.000Z
#!/usr/bin/env python3 print("Hello World") import sys; print(sys.path);
10.714286
22
0.693333
2589a0d87beeb28e6dcfc7237ba25fd6df784ac8
1,857
py
Python
tencentcloud/bizlive/v20190313/errorcodes.py
PlasticMem/tencentcloud-sdk-python
666db85623d51d640a165907a19aef5fba53b38d
[ "Apache-2.0" ]
465
2018-04-27T09:54:59.000Z
2022-03-29T02:18:01.000Z
tencentcloud/bizlive/v20190313/errorcodes.py
PlasticMem/tencentcloud-sdk-python
666db85623d51d640a165907a19aef5fba53b38d
[ "Apache-2.0" ]
91
2018-04-27T09:48:11.000Z
2022-03-12T08:04:04.000Z
tencentcloud/bizlive/v20190313/errorcodes.py
PlasticMem/tencentcloud-sdk-python
666db85623d51d640a165907a19aef5fba53b38d
[ "Apache-2.0" ]
232
2018-05-02T08:02:46.000Z
2022-03-30T08:02:48.000Z
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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...
26.528571
82
0.803446
2589b69bdb44179b5ee78c49ec9b5fbc3cadace8
4,828
py
Python
symphony/cli/gql/gql/client.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
2
2020-11-05T18:58:26.000Z
2021-02-09T06:42:49.000Z
symphony/cli/gql/gql/client.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
10
2021-03-31T20:19:00.000Z
2022-02-19T07:09:57.000Z
symphony/cli/gql/gql/client.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
3
2020-08-20T18:45:34.000Z
2020-08-20T20:18:42.000Z
#!/usr/bin/env python3 import warnings from logging import Logger, getLogger from typing import Any, Dict, Optional, cast from graphql import ( build_ast_schema, build_client_schema, get_introspection_query, parse, ) from graphql.language.ast import DocumentNode from graphql.type.schema import GraphQL...
34
88
0.629453
258c8543e27ed658663d2ca6dbb29648a1842bd2
1,219
py
Python
chem-axon-setup/lambdas/trigger_compound_reg_pipeline.py
spatel-gfb/data-lake-as-code
a5479befd55998a24d535d572a78d803c678dd32
[ "MIT-0" ]
null
null
null
chem-axon-setup/lambdas/trigger_compound_reg_pipeline.py
spatel-gfb/data-lake-as-code
a5479befd55998a24d535d572a78d803c678dd32
[ "MIT-0" ]
null
null
null
chem-axon-setup/lambdas/trigger_compound_reg_pipeline.py
spatel-gfb/data-lake-as-code
a5479befd55998a24d535d572a78d803c678dd32
[ "MIT-0" ]
null
null
null
import boto3 import os import logging """ Create a logging function and initiate it. """ format_string = "%(asctime)s %(name)s [%(levelname)s] %(message)s" logger = logging.getLogger('comp-reg-data-load-pipeline-lambda') handler = logging.StreamHandler() logger.setLevel(logging.DEBUG) formatter = logging.Formatter(for...
36.939394
96
0.66612
258ce0c4afc8aff3be542bf864890a33228e3553
1,017
py
Python
auto_derby/terminal.py
DoctrineAlanK/auto-derby
781e860b06b9686e56feab115d2212251cd99d10
[ "MIT" ]
235
2021-05-24T12:09:18.000Z
2022-03-31T03:44:08.000Z
auto_derby/terminal.py
DoctrineAlanK/auto-derby
781e860b06b9686e56feab115d2212251cd99d10
[ "MIT" ]
193
2021-05-27T16:49:14.000Z
2022-03-31T16:38:08.000Z
auto_derby/terminal.py
DoctrineAlanK/auto-derby
781e860b06b9686e56feab115d2212251cd99d10
[ "MIT" ]
89
2021-05-30T17:07:24.000Z
2022-03-27T15:41:04.000Z
# -*- coding=UTF-8 -*- # pyright: strict from __future__ import annotations import contextlib from typing import Text from . import sound, window def pause(message: Text) -> None: close_msg = window.info(message) try: sound.play_file(g.pause_sound_path) input("Press enter to continue...")...
19.941176
64
0.662734
258cee1ed8e38aa6d11f224a86d185f53caa2d9e
765
py
Python
backend/db.py
vrutkovs/catcatgo
80e7d0b0335a44488a1582ab067be59ec998c6e7
[ "Apache-2.0" ]
1
2018-05-07T20:09:05.000Z
2018-05-07T20:09:05.000Z
backend/db.py
vrutkovs/catcatgo
80e7d0b0335a44488a1582ab067be59ec998c6e7
[ "Apache-2.0" ]
null
null
null
backend/db.py
vrutkovs/catcatgo
80e7d0b0335a44488a1582ab067be59ec998c6e7
[ "Apache-2.0" ]
null
null
null
import sys from pymongo import MongoClient from pymongo.errors import ServerSelectionTimeoutError
30.6
68
0.576471
258dcda4d3e81c18066625b31adc90681cca2a6b
3,717
py
Python
rkmt/options/convert_options.py
corenel/rknn-model-tools
8af9c062ea4955a76ba9986a6cab6f771c9e678a
[ "MIT" ]
1
2020-07-09T08:50:50.000Z
2020-07-09T08:50:50.000Z
rkmt/options/convert_options.py
corenel/rknn-model-tools
8af9c062ea4955a76ba9986a6cab6f771c9e678a
[ "MIT" ]
null
null
null
rkmt/options/convert_options.py
corenel/rknn-model-tools
8af9c062ea4955a76ba9986a6cab6f771c9e678a
[ "MIT" ]
1
2020-07-09T08:50:31.000Z
2020-07-09T08:50:31.000Z
from rkmt.options.base_options import BaseOptions
38.71875
99
0.517622
258dcfd014f8ea06a5fb2f72aa227e24e3074687
12,657
py
Python
facebook_downloader/__init__.py
coej/facebook_downloader
b354387f818521e431aaeb81ff70890c2905ba1e
[ "MIT" ]
1
2015-08-19T03:51:16.000Z
2015-08-19T03:51:16.000Z
facebook_downloader/__init__.py
coej/facebook_downloader
b354387f818521e431aaeb81ff70890c2905ba1e
[ "MIT" ]
null
null
null
facebook_downloader/__init__.py
coej/facebook_downloader
b354387f818521e431aaeb81ff70890c2905ba1e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Python 2/3 compatibility from __future__ import (print_function, unicode_literals, division) from future.standard_library import install_aliases install_aliases() from urllib.parse import urlparse, urlencode from urllib.request import urlopen, Request from urllib.error import HTTPError __metac...
30.572464
118
0.572569
2590970997787e3c270df4ec7937f3094133ac02
5,172
py
Python
commands/create_episodes.py
havanagrawal/wikidata-toolkit
5f39f449ac48eb4b7d93f9b51efa47a4206953e4
[ "MIT" ]
5
2019-07-29T15:05:14.000Z
2020-10-15T03:02:50.000Z
commands/create_episodes.py
havanagrawal/wikidata-toolkit
5f39f449ac48eb4b7d93f9b51efa47a4206953e4
[ "MIT" ]
16
2019-07-29T05:59:14.000Z
2021-12-13T20:06:09.000Z
commands/create_episodes.py
havanagrawal/wikidata-toolkit
5f39f449ac48eb4b7d93f9b51efa47a4206953e4
[ "MIT" ]
8
2019-12-20T02:27:11.000Z
2020-10-15T05:25:40.000Z
import csv from pywikibot import ItemPage, Site import properties.wikidata_properties as wp from utils import RepoUtils from .errors import SuspiciousTitlesError def create_episode_quickstatements(series_id, season_id, title, series_ordinal, season_ordinal): """Prints out QuickStatements that can be used to cr...
39.480916
185
0.703016
2591756f58979e1697229e248af9186007db7429
14,777
py
Python
listener/fhir_validator.py
ideaworld/Tester
21b0106f2affe13636688339cef129aa855e5041
[ "Unlicense" ]
null
null
null
listener/fhir_validator.py
ideaworld/Tester
21b0106f2affe13636688339cef129aa855e5041
[ "Unlicense" ]
null
null
null
listener/fhir_validator.py
ideaworld/Tester
21b0106f2affe13636688339cef129aa855e5041
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import re import os import json import requests versions_url = { 1 : "http://hl7.org/fhir/2017Jan/%s.profile.json", 2 : "http://hl7.org/fhir/STU3/%s.profile.json" } DATE_RE = re.compile(r'-?([1-9][0-9]{3}|0[0-9]{3})(-(0[1-9]|1[0-2])(-(0[1-9]|[12][0-9]|3[01]))?)?') DATETIME_RE = re.compil...
37.889744
312
0.540908
2593b87aa1477b56a51e9ed6f2959196a21fd9b9
8,507
py
Python
modelkit/assets/manager.py
tgenin/modelkit
2c67b7e12575fa51221f713c2c094030228402ee
[ "MIT" ]
null
null
null
modelkit/assets/manager.py
tgenin/modelkit
2c67b7e12575fa51221f713c2c094030228402ee
[ "MIT" ]
null
null
null
modelkit/assets/manager.py
tgenin/modelkit
2c67b7e12575fa51221f713c2c094030228402ee
[ "MIT" ]
null
null
null
import os import re from typing import Union, cast import filelock from structlog import get_logger from modelkit.assets import errors from modelkit.assets.remote import RemoteAssetsStore from modelkit.assets.settings import AssetsManagerSettings, AssetSpec from modelkit.assets.versioning import ( VERSION_RE, ...
41.296117
88
0.505231
2595bdd2cbc9598042685c93170a1adc72d0d989
2,303
py
Python
Train/misc/DeepJetTrain_regr_class_dense_conv.py
dntaylor/DeepJet
249610b3b80543c8c84f5ba795bbb07c097f8150
[ "Apache-2.0" ]
1
2019-11-12T01:51:30.000Z
2019-11-12T01:51:30.000Z
Train/misc/DeepJetTrain_regr_class_dense_conv.py
dntaylor/DeepJet
249610b3b80543c8c84f5ba795bbb07c097f8150
[ "Apache-2.0" ]
null
null
null
Train/misc/DeepJetTrain_regr_class_dense_conv.py
dntaylor/DeepJet
249610b3b80543c8c84f5ba795bbb07c097f8150
[ "Apache-2.0" ]
5
2017-11-03T15:51:27.000Z
2019-05-29T14:45:23.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function # some private extra plots #from NBatchLogger import NBatchLogger import matplotlib #if no X11 use below matplotlib.use('Agg') import matplotlib.pyplot as plt import numpy as np from keras import backend as K ...
31.547945
162
0.776813
25992567ed4a32a8d244b10358769547aa3cd880
1,783
py
Python
node/gcn.py
TrueNobility303/Machine-Learning-Cora
9e35ebfe8d4db20031aff8361e55af8a1404bc93
[ "MIT" ]
1
2021-07-04T04:25:15.000Z
2021-07-04T04:25:15.000Z
node/gcn.py
TrueNobility303/Machine-Learning-Graph
9e35ebfe8d4db20031aff8361e55af8a1404bc93
[ "MIT" ]
null
null
null
node/gcn.py
TrueNobility303/Machine-Learning-Graph
9e35ebfe8d4db20031aff8361e55af8a1404bc93
[ "MIT" ]
1
2021-07-30T03:18:59.000Z
2021-07-30T03:18:59.000Z
import torch from torch_geometric.datasets import Planetoid import torch.nn.functional as F from torch_geometric.nn import GCNConv from torch_geometric.nn import GINConv,SAGEConv from torch.nn import Linear,Sequential,BatchNorm1d,ReLU device = torch.device('cuda:0') dataset = Planetoid(root='/datasets/Cora', name='Cor...
28.301587
74
0.632081
259ba1f2708bdca386f6f7be8aad800497a1495c
6,893
py
Python
src/data_loading.py
JuanitaSmith/ml_capstone_mailout_prediction
30d1e1218107d05ab59afc38f51e4c7f3e1d287c
[ "CNRI-Python" ]
1
2021-12-16T17:11:10.000Z
2021-12-16T17:11:10.000Z
src/data_loading.py
JuanitaSmith/ml_capstone_mailout_prediction
30d1e1218107d05ab59afc38f51e4c7f3e1d287c
[ "CNRI-Python" ]
null
null
null
src/data_loading.py
JuanitaSmith/ml_capstone_mailout_prediction
30d1e1218107d05ab59afc38f51e4c7f3e1d287c
[ "CNRI-Python" ]
null
null
null
import pandas as pd from src.config import path_raw, filename_levels, filename_attributes, filename_levels_sheet, filename_attributes_sheet, \ filename_customer_delimiter def load_levels(filename, sheet): """ Load attribute information levels from excel into a dataframe Args: filename (st...
38.294444
122
0.652691
259bf22657fe2b0b15bb9d6863fe4331ffc37d73
5,486
py
Python
src/tespy/components/basics/subsystem_interface.py
anmartens/tespy
9a543d67cd8266c15cb9940ca640d6a8eda27a28
[ "MIT" ]
1
2020-02-25T08:41:03.000Z
2020-02-25T08:41:03.000Z
src/tespy/components/basics/subsystem_interface.py
anmartens/tespy
9a543d67cd8266c15cb9940ca640d6a8eda27a28
[ "MIT" ]
null
null
null
src/tespy/components/basics/subsystem_interface.py
anmartens/tespy
9a543d67cd8266c15cb9940ca640d6a8eda27a28
[ "MIT" ]
null
null
null
# -*- coding: utf-8 """Module for class SubsystemInterface. This file is part of project TESPy (github.com/oemof/tespy). It's copyrighted by the contributors recorded in the version control history of the file, available from its original location tespy/components/basics/subsystem_interface.py SPDX-License-Identifi...
33.248485
102
0.636165
259d44dbda9ce86ab423e568cef5c1816855ebe3
6,820
py
Python
sktime/transformations/series/outlier_detection.py
FedericoGarza/sktime
b21cdd81453abd34c72b42d4b2273b49d29eba30
[ "BSD-3-Clause" ]
null
null
null
sktime/transformations/series/outlier_detection.py
FedericoGarza/sktime
b21cdd81453abd34c72b42d4b2273b49d29eba30
[ "BSD-3-Clause" ]
null
null
null
sktime/transformations/series/outlier_detection.py
FedericoGarza/sktime
b21cdd81453abd34c72b42d4b2273b49d29eba30
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 -u # -*- coding: utf-8 -*- # copyright: sktime developers, BSD-3-Clause License (see LICENSE file) """Implements transformers for detecting outliers in a time series.""" __author__ = ["aiwalter"] __all__ = ["HampelFilter"] import warnings import numpy as np import pandas as pd from sktime.for...
31.284404
88
0.590469
259e11dd3aaf45645c9f959e012d62ca41044dc3
7,735
py
Python
Self Replicating Insanity.py
smcclennon/SRI
4883f6e20c012b3d52a11f49888e2553e2960539
[ "MIT" ]
null
null
null
Self Replicating Insanity.py
smcclennon/SRI
4883f6e20c012b3d52a11f49888e2553e2960539
[ "MIT" ]
null
null
null
Self Replicating Insanity.py
smcclennon/SRI
4883f6e20c012b3d52a11f49888e2553e2960539
[ "MIT" ]
null
null
null
# Self Replicating Insanity # github.com/smcclennon/SRI project_title = 'SRI' ver = '1.0.1' # Insane mode (Windows only) # Each replicated file will be ran in another console window, # and each of the files ran will replicate and run everything agian # Quickly sucks up ram, will most likely cause the machine to freez...
44.2
164
0.382935
259e2c5f61cd5489f4613bd21c2dec609dd81df0
1,012
py
Python
main.py
PaulMakesStuff/RaspberryPiWeatherDisplay
d9507d9cf45ecd71b6d0a322033dd998d3843632
[ "MIT" ]
1
2021-03-06T16:03:56.000Z
2021-03-06T16:03:56.000Z
main.py
PaulMakesStuff/RaspberryPiWeatherDisplay
d9507d9cf45ecd71b6d0a322033dd998d3843632
[ "MIT" ]
null
null
null
main.py
PaulMakesStuff/RaspberryPiWeatherDisplay
d9507d9cf45ecd71b6d0a322033dd998d3843632
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import time import signal import buttonshim from weather import displayWeather import os flash_led(0.025, 3, 0, 255, 0) set_color(255, 165, 0) displayWeather() set_color(0,0,0) signal.pause()
24.095238
42
0.652174
259ef3d9c03a15a85a5e68fc83639850d12d9247
3,057
py
Python
size_constrained_clustering/shrinkage.py
vergilijus/size_constrained_clustering
be520ee0535b3f73d779e498a9046ef77d69355d
[ "MIT" ]
26
2020-07-04T11:30:09.000Z
2022-02-04T22:12:24.000Z
size_constrained_clustering/shrinkage.py
vergilijus/size_constrained_clustering
be520ee0535b3f73d779e498a9046ef77d69355d
[ "MIT" ]
4
2020-07-04T14:50:49.000Z
2022-03-23T22:09:08.000Z
size_constrained_clustering/shrinkage.py
vergilijus/size_constrained_clustering
be520ee0535b3f73d779e498a9046ef77d69355d
[ "MIT" ]
15
2020-08-19T10:37:25.000Z
2022-03-21T05:00:26.000Z
#!usr/bin/python 3.6 #-*-coding:utf-8-*- ''' @file: shrinkage.py, shrinkage clustering @Author: Jing Wang (jingw2@foxmail.com) @Date: 06/24/2020 @Paper reference: Shrinkage Clustering: A fast and \ size-constrained clustering algorithm for biomedical applications ''' import os import sys path = os.path.dirname(o...
31.193878
111
0.57213
25a092bb2e72769fd405cdd4fba33e5a42c809e8
792
py
Python
test.py
blurryface92/student-portal
aec15d6177c0c37ad815b2e63e4c8fa68dc8df53
[ "MIT" ]
1
2022-01-21T16:10:18.000Z
2022-01-21T16:10:18.000Z
test.py
blurryface92/student-portal
aec15d6177c0c37ad815b2e63e4c8fa68dc8df53
[ "MIT" ]
null
null
null
test.py
blurryface92/student-portal
aec15d6177c0c37ad815b2e63e4c8fa68dc8df53
[ "MIT" ]
1
2022-01-21T16:10:42.000Z
2022-01-21T16:10:42.000Z
import json from flask import Flask, request, jsonify,render_template app=Flask(__name__) with open("students.json") as f: data = json.load(f) app.run(debug=True)
36
109
0.582071
25a0e9db9daf776824e6238029ee56df46f2c287
1,678
py
Python
plot/plot_bins.py
jacobdeasy/flexible-ehr
ce26ce718cf5cf18a18d38f273a84324dbd5f4b2
[ "MIT" ]
12
2020-03-11T06:04:53.000Z
2021-12-06T04:33:24.000Z
plot/plot_bins.py
jacobdeasy/flexible-ehr
ce26ce718cf5cf18a18d38f273a84324dbd5f4b2
[ "MIT" ]
null
null
null
plot/plot_bins.py
jacobdeasy/flexible-ehr
ce26ce718cf5cf18a18d38f273a84324dbd5f4b2
[ "MIT" ]
1
2021-02-23T07:01:18.000Z
2021-02-23T07:01:18.000Z
import argparse, numpy as np, os import matplotlib as mpl, matplotlib.cm as cm, matplotlib.pyplot as plt mpl.rcParams["axes.spines.right"] = False mpl.rcParams["axes.spines.top"] = False mpl.rc('font', family='serif') if __name__ == '__main__': parser = argparse.ArgumentParser(description='Extract episodes from per...
34.958333
89
0.670441
25a2b693009d526ad09a5ccd2c4cb2a7e3d5b21d
338
py
Python
Demos/Module4/sets_finish.py
bdheard/PythonEssentials
89aac7177a2f8802663bbbaed876e7554ccc739d
[ "MIT" ]
null
null
null
Demos/Module4/sets_finish.py
bdheard/PythonEssentials
89aac7177a2f8802663bbbaed876e7554ccc739d
[ "MIT" ]
null
null
null
Demos/Module4/sets_finish.py
bdheard/PythonEssentials
89aac7177a2f8802663bbbaed876e7554ccc739d
[ "MIT" ]
null
null
null
# # sets # david_courses = {"History", "Music", "Arts", "Literature", "Calculus"} james_courses = {"Biology", "Chemistry", "Physics", "Statistics", "Calculus"} # intersection print(david_courses.intersection(james_courses)) # difference print(david_courses.difference(james_courses)) # union print(david_courses.unio...
21.125
77
0.745562
25a339aa4cddbd0bc3c3654b51a81e46ed37cd4b
283
py
Python
tasks/aws.py
elieof/ansible-role-artifacts_to_s3
5e6a0f68c66c4714b0a7439c0eac2325e14a0a1a
[ "MIT" ]
null
null
null
tasks/aws.py
elieof/ansible-role-artifacts_to_s3
5e6a0f68c66c4714b0a7439c0eac2325e14a0a1a
[ "MIT" ]
null
null
null
tasks/aws.py
elieof/ansible-role-artifacts_to_s3
5e6a0f68c66c4714b0a7439c0eac2325e14a0a1a
[ "MIT" ]
null
null
null
import boto3 # client = boto3.client('s3') # response = client.list_buckets() # print(response) s3 = boto3.resource('s3') object_acl = s3.ObjectAcl('elieof-eoo','/artifacts/projects/autotest_artifacts_to_s3/releases/1.0.0/git_package.zip') object_acl.put(ACL='authenticated-read')
28.3
117
0.759717
25a38ec4aea7b8a56416a4d31b2980a2324c2705
1,460
py
Python
digsby/src/util/plistutil.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/util/plistutil.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/util/plistutil.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
''' Some tools to convert a .plist into python objects. Incomplete. TODO: add load(s)/dump(s) functions to match the 'data shelving' interfaces of pickle, simplejson, pyyaml, etc. ''' #_type_map = dict(real = (float, 'cdata'), # integer = (int, 'cdata'), # true ...
27.54717
112
0.55
25a6be76ef468185b1e4d897e0b9f7a388376eaf
205
py
Python
exercise5.py
iansantana00/Python-Course
43852aa64c93099342ab4765b0fe8729a959449e
[ "MIT" ]
2
2022-01-13T15:55:58.000Z
2022-02-11T23:18:34.000Z
exercise5.py
iansantana00/Python-Course
43852aa64c93099342ab4765b0fe8729a959449e
[ "MIT" ]
null
null
null
exercise5.py
iansantana00/Python-Course
43852aa64c93099342ab4765b0fe8729a959449e
[ "MIT" ]
null
null
null
# -*- Coding: utf-8 -*- print("CONVERSOR DE REAL EM DLAR") print("---------------------------") r = float(input("Digite o valor em real(R$): ")) d = r / 5.54 print(f"Esse valor em dlar(U$) : {d}")
18.636364
48
0.497561
25a7a3ffbbb7d6682b950f2f6c5f6f4d10c6c18c
1,735
py
Python
al_bench/__init__.py
Leengit/ALBench
18d0ff19f4c954f69785cca91e11c45f87268698
[ "Apache-2.0" ]
null
null
null
al_bench/__init__.py
Leengit/ALBench
18d0ff19f4c954f69785cca91e11c45f87268698
[ "Apache-2.0" ]
null
null
null
al_bench/__init__.py
Leengit/ALBench
18d0ff19f4c954f69785cca91e11c45f87268698
[ "Apache-2.0" ]
null
null
null
# ========================================================================== # # Copyright NumFOCUS # # 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/...
45.657895
88
0.70951
25a8985013702867d298b80f39523be51b7e0efb
17,761
py
Python
nauta/nauta.py
fsadannn/nauta-cli
7ab21fddcbf9cfc8db9a005e9ec883519637b524
[ "MIT" ]
null
null
null
nauta/nauta.py
fsadannn/nauta-cli
7ab21fddcbf9cfc8db9a005e9ec883519637b524
[ "MIT" ]
null
null
null
nauta/nauta.py
fsadannn/nauta-cli
7ab21fddcbf9cfc8db9a005e9ec883519637b524
[ "MIT" ]
null
null
null
import os import time import logging import logging.handlers from typing import Dict, List, Union, Any, Optional from requests import Session import requests from parsel import Selector from .constants import NautaState, LogLevel, CONFIG from .user_cls import User from .utils import get_inputs, get_info, human_secs fr...
39.381375
139
0.557964
25a8cb527fbad1a5590666d38407b531a7390a95
3,995
py
Python
src/scripts/data_processing/fill_missing_values_with_interpolation.py
arnabbiswas1/k_tab_sept_roc_auc_binary_classification_KFold
7a5a91e52d460fd25133b76d5241462a4aedc474
[ "Apache-2.0" ]
null
null
null
src/scripts/data_processing/fill_missing_values_with_interpolation.py
arnabbiswas1/k_tab_sept_roc_auc_binary_classification_KFold
7a5a91e52d460fd25133b76d5241462a4aedc474
[ "Apache-2.0" ]
null
null
null
src/scripts/data_processing/fill_missing_values_with_interpolation.py
arnabbiswas1/k_tab_sept_roc_auc_binary_classification_KFold
7a5a91e52d460fd25133b76d5241462a4aedc474
[ "Apache-2.0" ]
null
null
null
import pandas as pd from sklearn.preprocessing import MinMaxScaler import src.config.constants as constants import src.common as common import src.munging as process_data import src.ts as ts_util if __name__ == "__main__": main()
31.456693
98
0.624781
25a912c6b85b838095734a453a49dc1d85038a60
2,112
py
Python
stixcore/products/tests/test_bsd.py
i4Ds/STIXCore
9a765a33f2e924ead669b9b99afc1e41a4d2d8e8
[ "BSD-3-Clause" ]
1
2022-03-31T13:42:43.000Z
2022-03-31T13:42:43.000Z
stixcore/products/tests/test_bsd.py
i4Ds/STIXCore
9a765a33f2e924ead669b9b99afc1e41a4d2d8e8
[ "BSD-3-Clause" ]
192
2020-11-03T22:40:19.000Z
2022-03-31T15:17:13.000Z
stixcore/products/tests/test_bsd.py
i4Ds/STIXCore
9a765a33f2e924ead669b9b99afc1e41a4d2d8e8
[ "BSD-3-Clause" ]
3
2020-11-09T15:05:18.000Z
2022-01-21T07:52:51.000Z
import re from unittest.mock import patch import numpy as np import pytest from stixcore.data.test import test_data from stixcore.products.level0 import scienceL0 as sl0 from stixcore.products.level1 import scienceL1 as sl1 testpackets = [(test_data.tmtc.TM_21_6_20_complete, sl0.RawPixelData, sl1.RawPixelData, ...
44.93617
100
0.671875
25a9b4d8e6473092e7beb77c5938cbaa57f66a4a
8,344
py
Python
3d_fitting/transfer2video_v3.py
duguqiankun/NeuralVoicePuppetry
26b87d98a1ecfe6e4a6738641e6436ab1a9ece31
[ "BSD-3-Clause" ]
null
null
null
3d_fitting/transfer2video_v3.py
duguqiankun/NeuralVoicePuppetry
26b87d98a1ecfe6e4a6738641e6436ab1a9ece31
[ "BSD-3-Clause" ]
null
null
null
3d_fitting/transfer2video_v3.py
duguqiankun/NeuralVoicePuppetry
26b87d98a1ecfe6e4a6738641e6436ab1a9ece31
[ "BSD-3-Clause" ]
1
2021-12-21T08:20:34.000Z
2021-12-21T08:20:34.000Z
import os # os.environ['CUDA_VISIBLE_DEVICES'] = '6' from facenet_pytorch import MTCNN from core.options import ImageFittingOptions import cv2 import face_alignment import numpy as np from core import get_recon_model import os import torch import pickle import core.utils as utils import torch.nn as nn imp...
29.90681
186
0.590125
25ab2cfa339a691b746236596cac21c0e0e39942
200
py
Python
examples/keys.py
notchxor/ueosio
0169075c6814461932eb5ce30f851ef70401fb61
[ "MIT" ]
1
2020-06-19T00:08:25.000Z
2020-06-19T00:08:25.000Z
examples/keys.py
notchxor/ueosio
0169075c6814461932eb5ce30f851ef70401fb61
[ "MIT" ]
null
null
null
examples/keys.py
notchxor/ueosio
0169075c6814461932eb5ce30f851ef70401fb61
[ "MIT" ]
null
null
null
from ueosio import gen_key_pair, get_pub_key ## Print Key Pair print(gen_key_pair()) ## Get Public Address from Private Key print(get_pub_key('5KJfEtwkMBp8t5HtgGfFZVdiUJhDejS5sbiE5siMVe1xs6RQa6y'))
25
73
0.825
25ac8194d8ccbd9a09f074296efd798e9bbe2bfd
132
py
Python
PyTrinamic/ic/TMC2041/TMC2041_register_variant.py
trinamic-AA/PyTrinamic
b054f4baae8eb6d3f5d2574cf69c232f66abb4ee
[ "MIT" ]
37
2019-01-13T11:08:45.000Z
2022-03-25T07:18:15.000Z
PyTrinamic/ic/TMC2041/TMC2041_register_variant.py
AprDec/PyTrinamic
a9db10071f8fbeebafecb55c619e5893757dd0ce
[ "MIT" ]
56
2019-02-25T02:48:27.000Z
2022-03-31T08:45:34.000Z
PyTrinamic/ic/TMC2041/TMC2041_register_variant.py
AprDec/PyTrinamic
a9db10071f8fbeebafecb55c619e5893757dd0ce
[ "MIT" ]
26
2019-01-14T05:20:16.000Z
2022-03-08T13:27:35.000Z
''' Created on 24.10.2019 @author: JM '''
13.2
45
0.583333
25afa92abc41404c658c8f5eea275176109abd43
11,308
py
Python
prune_layer_v5_weightingByKernel.py
bolifeyo/Pruned-YOLO
fc1b7203fdb8a4fb8eda8491e5ad2683eab5d159
[ "Apache-2.0" ]
33
2021-03-18T11:34:14.000Z
2021-12-28T06:21:47.000Z
prune_layer_v5_weightingByKernel.py
bolifeyo/Pruned-YOLO
fc1b7203fdb8a4fb8eda8491e5ad2683eab5d159
[ "Apache-2.0" ]
10
2021-03-19T03:35:26.000Z
2022-01-11T06:30:18.000Z
prune_layer_v5_weightingByKernel.py
bolifeyo/Pruned-YOLO
fc1b7203fdb8a4fb8eda8491e5ad2683eab5d159
[ "Apache-2.0" ]
10
2021-03-24T11:55:46.000Z
2022-01-23T03:38:06.000Z
import argparse import torch.nn.functional as F import torch.optim.lr_scheduler as lr_scheduler import torch.utils.data import torch.nn as nn import test # import test.py to get mAP after each epoch from models.yolo import * from models.experimental import * from models.common import * from utils.datasets import * fr...
46.921162
164
0.624337
25afbfde05c67785ccd3dc5ab3cf731469a73398
23,741
py
Python
shirp/handler.py
cedricg92/event-manager
d07fafe88dca06a4d1a07e2a368122b0fb18ccfd
[ "Apache-2.0" ]
null
null
null
shirp/handler.py
cedricg92/event-manager
d07fafe88dca06a4d1a07e2a368122b0fb18ccfd
[ "Apache-2.0" ]
null
null
null
shirp/handler.py
cedricg92/event-manager
d07fafe88dca06a4d1a07e2a368122b0fb18ccfd
[ "Apache-2.0" ]
null
null
null
import datetime import fnmatch import gzip import shutil import tarfile import time import croniter import hdfs from watchdog.events import PatternMatchingEventHandler, FileCreatedEvent, FileModifiedEvent, FileMovedEvent, os, \ FileSystemEvent def add_log_str(log_pattern, strlog): """Add log in logfile ...
39.241322
119
0.614212
25b040492768293a10b1f4bb4b453755073193ce
7,907
py
Python
dialogue.py
Maxzolythus/Badmoon-Working-Title-pre-alpha-I-hate-that-word-
f90068d670432a5c32a0d0938529968e1da375c8
[ "CC0-1.0" ]
null
null
null
dialogue.py
Maxzolythus/Badmoon-Working-Title-pre-alpha-I-hate-that-word-
f90068d670432a5c32a0d0938529968e1da375c8
[ "CC0-1.0" ]
null
null
null
dialogue.py
Maxzolythus/Badmoon-Working-Title-pre-alpha-I-hate-that-word-
f90068d670432a5c32a0d0938529968e1da375c8
[ "CC0-1.0" ]
null
null
null
""" Full of social stuff with the other characters Up ur social links dialogue.py Max Ferguson """ from main import * sLink = {"Steve": 0, "Zara": 0, "Aeyden": 0, "Emil": 0, "Douche": 0, "Diana": 0, "Cheryl": 0, "Hiram": 0, "Eduardo": 0} def steve(place, sLink, stats, name, pronouns): """ "Dykey" cis Werewol...
38.950739
119
0.554825
25b0c94c1b7162ba39eb9ea90001ad594220bda8
2,417
py
Python
tests/test_status.py
tbartelmess/python-nomad
3ddbf904af2947992722a9dcf58c23eb0078fc8f
[ "MIT" ]
null
null
null
tests/test_status.py
tbartelmess/python-nomad
3ddbf904af2947992722a9dcf58c23eb0078fc8f
[ "MIT" ]
null
null
null
tests/test_status.py
tbartelmess/python-nomad
3ddbf904af2947992722a9dcf58c23eb0078fc8f
[ "MIT" ]
null
null
null
import pytest import tests.common as common import nomad import sys # integration tests requires nomad Vagrant VM or Binary running def test_get_leader(nomad_setup): if int(sys.version[0]) == 3: assert isinstance(nomad_setup.status.leader.get_leader(), str) == True else: assert isinstance( ...
28.435294
99
0.733968
25b158d89271f5b65a9c02d9dbc2083e03cdfb9a
154
py
Python
enums/Matiere.py
ythepaut/visi301_univdefender
13f0e564ad3265aabf77544755873b8584d296de
[ "CC-BY-3.0" ]
7
2019-10-08T15:48:18.000Z
2021-07-06T13:20:54.000Z
enums/Matiere.py
ythepaut/visi301_univdefender
13f0e564ad3265aabf77544755873b8584d296de
[ "CC-BY-3.0" ]
null
null
null
enums/Matiere.py
ythepaut/visi301_univdefender
13f0e564ad3265aabf77544755873b8584d296de
[ "CC-BY-3.0" ]
3
2019-10-08T15:47:55.000Z
2019-12-13T23:28:12.000Z
"""Module Enum:Matiere""" from enum import Enum
14
25
0.571429
25b171c31a40f6d8668db31079821a30e464b8d6
155
py
Python
tests/plugins/viz/conftest.py
andrsd/otter
3d47d4ad433b5e7bd1a1d5fed45b4950de14c25f
[ "MIT" ]
null
null
null
tests/plugins/viz/conftest.py
andrsd/otter
3d47d4ad433b5e7bd1a1d5fed45b4950de14c25f
[ "MIT" ]
30
2020-02-25T13:29:59.000Z
2022-01-07T20:19:05.000Z
tests/plugins/viz/conftest.py
andrsd/otter
3d47d4ad433b5e7bd1a1d5fed45b4950de14c25f
[ "MIT" ]
null
null
null
import pytest
17.222222
53
0.748387
25b188508f38bd8df1c9c5cddf7b6a70e5657a2c
10,338
py
Python
get_data_thomson.py
fusion-flap/flap_nstx_gpi
cf7d4bdecea8fd7434f8f7eb64e1a7b13fc0f759
[ "MIT" ]
null
null
null
get_data_thomson.py
fusion-flap/flap_nstx_gpi
cf7d4bdecea8fd7434f8f7eb64e1a7b13fc0f759
[ "MIT" ]
null
null
null
get_data_thomson.py
fusion-flap/flap_nstx_gpi
cf7d4bdecea8fd7434f8f7eb64e1a7b13fc0f759
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Mar 5 18:24:43 2020 @author: mlampert """ import os import copy #FLAP imports and settings import flap import flap_mdsplus flap_mdsplus.register('NSTX_MDSPlus') thisdir = os.path.dirname(os.path.realpath(__file__)) fn = os.path.join(thisdir,"flap_ns...
42.368852
128
0.523796
25b2dee9cd1192a7a5e75e961aa831313600a105
1,351
py
Python
res/007-itertools.py
leialbert/keep-learning-python
7bbf2226e6e99e87661f15ea46e6149b61d9912f
[ "MIT" ]
null
null
null
res/007-itertools.py
leialbert/keep-learning-python
7bbf2226e6e99e87661f15ea46e6149b61d9912f
[ "MIT" ]
null
null
null
res/007-itertools.py
leialbert/keep-learning-python
7bbf2226e6e99e87661f15ea46e6149b61d9912f
[ "MIT" ]
null
null
null
from itertools import product a = [1,2] b = [3,4] c = [4] prd = product(a,b) print(prd) print(list(prd)) prd = product(a,c,repeat=2) print(list(prd)) from itertools import permutations a = [1,2,3] per = permutations(a) print(list(per)) a = [1,2,3] per = permutations(a,2) print(list(per)) from itertools import combi...
18.256757
57
0.665433
25b43442eeb848a6a93a6d999d5f0e66f89b810e
1,234
py
Python
searches/depth_first_search.py
exterkamps/Python-Data-Structures
8594ed934edeaded4866999932384d12fb4519c3
[ "Apache-2.0" ]
3
2018-10-15T17:38:29.000Z
2021-03-24T02:55:46.000Z
searches/depth_first_search.py
exterkamp/Python-Data-Structures
8594ed934edeaded4866999932384d12fb4519c3
[ "Apache-2.0" ]
null
null
null
searches/depth_first_search.py
exterkamp/Python-Data-Structures
8594ed934edeaded4866999932384d12fb4519c3
[ "Apache-2.0" ]
null
null
null
def depth_first_search(grid, start, target): """ Search a 2d grid for a given target starting at start. Args: grid: the input grid as a List[List] start: the start grid in format (x,y) zero index target: the target value to find in the grid Returns: Coordinate of the tar...
29.380952
130
0.548622
25b4f049fb62cc24f11e54dc8fc2ba379ccfdcb5
3,634
py
Python
test_bear_todo_counter.py
attomos/bear_todo_counter
4a42955f6a76f25cc4fdcdba3fe6dd79dcfeb217
[ "MIT" ]
1
2019-07-27T14:51:45.000Z
2019-07-27T14:51:45.000Z
test_bear_todo_counter.py
attomos/bear_todo_counter
4a42955f6a76f25cc4fdcdba3fe6dd79dcfeb217
[ "MIT" ]
null
null
null
test_bear_todo_counter.py
attomos/bear_todo_counter
4a42955f6a76f25cc4fdcdba3fe6dd79dcfeb217
[ "MIT" ]
null
null
null
from bear_todo_counter import append_todo_count
21.00578
171
0.635938
25b56d59ee51fe287acc9555362e89eb0880dd7a
8,915
py
Python
ibmcli/tests/unit/test_api.py
powellquiring/pycli
ecc5beec84833b978dfa41259ab3ac306617fc55
[ "Apache-2.0" ]
null
null
null
ibmcli/tests/unit/test_api.py
powellquiring/pycli
ecc5beec84833b978dfa41259ab3ac306617fc55
[ "Apache-2.0" ]
2
2021-04-06T18:19:56.000Z
2021-06-02T03:28:55.000Z
ibmcli/tests/unit/test_api.py
powellquiring/pycli
ecc5beec84833b978dfa41259ab3ac306617fc55
[ "Apache-2.0" ]
null
null
null
import ibmcli import re from pathlib import Path
51.531792
271
0.636455
25b8845e4d182b367e71bf9679fb75ef834e9cbd
2,228
py
Python
Chapter13/final/bookr/reviews/tests.py
PacktPublishing/Web-Development-Projects-with-Django
531bc4d58d614888cc81b7fd6f8ec859f5a65217
[ "MIT" ]
97
2021-03-01T12:54:30.000Z
2022-03-28T02:57:26.000Z
Chapter13/final/bookr/reviews/tests.py
PacktPublishing/Web-Development-Projects-with-Django
531bc4d58d614888cc81b7fd6f8ec859f5a65217
[ "MIT" ]
81
2020-08-27T04:56:04.000Z
2022-03-12T00:53:40.000Z
Chapter13/final/bookr/reviews/tests.py
PacktPublishing/Web-Development-Projects-with-Django
531bc4d58d614888cc81b7fd6f8ec859f5a65217
[ "MIT" ]
163
2020-12-25T14:38:38.000Z
2022-03-30T10:31:40.000Z
import os from django.conf import settings from django.test import TestCase, Client from django.utils import timezone from reviews.models import Book, Publisher
40.509091
120
0.666517
25bc4ad308584b1f25deefeed2a0843dc4fbf607
955
py
Python
django/devbot/project/urls.py
blitzagency/django-chatterbox
7bf17444f8308aa12b6718bd62ee1344021c21aa
[ "MIT" ]
8
2015-03-10T20:03:09.000Z
2018-06-14T23:03:58.000Z
django/devbot/project/urls.py
blitzagency/django-chatterbox
7bf17444f8308aa12b6718bd62ee1344021c21aa
[ "MIT" ]
3
2015-07-14T22:44:47.000Z
2020-06-05T23:43:05.000Z
django/devbot/project/urls.py
blitzagency/django-chatterbox
7bf17444f8308aa12b6718bd62ee1344021c21aa
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls import include, patterns, url from django.contrib import admin from django.views.generic import TemplateView admin.autodiscover() urlpatterns = patterns( '', (r'^grappelli/', include('grappelli.urls')), (r'^chatterbox/', include('chatterbox.urls', nam...
32.931034
76
0.653403
25bcf1ca297f8201e6f00eeb98ba8123ff5c8130
1,753
py
Python
graph_embeddings/models/complex.py
navidmdn/Multi-hop-qa-rl
81ac9c2b4a37bd9a18dea3980624e338f4b16b4a
[ "MIT" ]
null
null
null
graph_embeddings/models/complex.py
navidmdn/Multi-hop-qa-rl
81ac9c2b4a37bd9a18dea3980624e338f4b16b4a
[ "MIT" ]
null
null
null
graph_embeddings/models/complex.py
navidmdn/Multi-hop-qa-rl
81ac9c2b4a37bd9a18dea3980624e338f4b16b4a
[ "MIT" ]
null
null
null
from graph_embeddings.models.embedding_model import EmbeddingModel import torch
37.297872
105
0.634912
25be2dc9f7c0978f0a272dbf62277c5be22a8d3f
1,921
py
Python
aiopika_macrobase/rpc/endpoint.py
mbcores/aiopika-macrobase
a3351b9eed3cc80995070675d99e7e68022b65d9
[ "MIT" ]
null
null
null
aiopika_macrobase/rpc/endpoint.py
mbcores/aiopika-macrobase
a3351b9eed3cc80995070675d99e7e68022b65d9
[ "MIT" ]
1
2020-08-06T07:42:48.000Z
2020-08-06T07:42:48.000Z
aiopika_macrobase/rpc/endpoint.py
mbcores/aiopika-macrobase
a3351b9eed3cc80995070675d99e7e68022b65d9
[ "MIT" ]
3
2020-04-07T10:02:16.000Z
2021-07-08T05:16:11.000Z
from macrobase_driver.logging import set_request_id from sentry_sdk import capture_exception from .request import RPCRequest, RPCResponse, RPCMessageType from ..endpoint import AiopikaEndpoint from ..result import AiopikaResult from aio_pika import IncomingMessage from structlog import get_logger log = get_logger('m...
35.574074
101
0.690265
25be66a44bc977c43292b8dbb8604562501b636d
23,766
py
Python
FWCore/Framework/test/test_module_delete_subprocess_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
5
2020-07-02T19:05:26.000Z
2022-02-25T14:37:09.000Z
FWCore/Framework/test/test_module_delete_subprocess_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
524
2018-01-29T15:50:45.000Z
2021-08-04T14:03:21.000Z
FWCore/Framework/test/test_module_delete_subprocess_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
8
2020-06-08T16:28:54.000Z
2021-11-16T14:40:00.000Z
import FWCore.ParameterSet.Config as cms process = cms.Process("A") process.maxEvents.input = 8 process.source = cms.Source("EmptySource") #process.Tracer = cms.Service("Tracer") # Process tree # A (Process) # ^ # \- B # | ^ # | \- BA # | # \- C # | # \- D # ^ # \- DA # Cases to test # - event/lumi/run/pro...
44.256983
162
0.79963
25bf347b5a170666d625bcf8fa70e4e815aea2e9
511
py
Python
src/lithopscloud/modules/gen2/lithops/image.py
Cohen-J-Omer/lithopscloud
bc897ae3952e0faca42581846a8b3169a0b5b49f
[ "Apache-2.0" ]
2
2021-08-22T04:36:34.000Z
2021-11-08T16:02:57.000Z
src/lithopscloud/modules/gen2/lithops/image.py
Cohen-J-Omer/lithopscloud
bc897ae3952e0faca42581846a8b3169a0b5b49f
[ "Apache-2.0" ]
null
null
null
src/lithopscloud/modules/gen2/lithops/image.py
Cohen-J-Omer/lithopscloud
bc897ae3952e0faca42581846a8b3169a0b5b49f
[ "Apache-2.0" ]
1
2021-08-22T08:45:19.000Z
2021-08-22T08:45:19.000Z
from typing import Any, Dict from lithopscloud.modules.gen2.image import ImageConfig
34.066667
84
0.733855
25c058848ef8c6856f73ea330d8c5a94d4371927
85
py
Python
overtrick/pairs/apps.py
katemakescode/overtrick
d5a324e4fe28e82de9703e80c12891a5c2ec4dbe
[ "MIT" ]
null
null
null
overtrick/pairs/apps.py
katemakescode/overtrick
d5a324e4fe28e82de9703e80c12891a5c2ec4dbe
[ "MIT" ]
null
null
null
overtrick/pairs/apps.py
katemakescode/overtrick
d5a324e4fe28e82de9703e80c12891a5c2ec4dbe
[ "MIT" ]
null
null
null
from django.apps import AppConfig
14.166667
33
0.741176
25c10987a4ba7935613dd91db86e1f9e7f66e461
1,640
py
Python
superRes_Train/test.py
abhijitramesh/Eagle-eye
a79f6a1a6d7f2c887cc98f7afb7c6dbe823c7cee
[ "Apache-2.0" ]
2
2021-02-15T14:58:19.000Z
2021-02-17T22:51:34.000Z
superRes_Train/test.py
abhijitramesh/Eagle-eye
a79f6a1a6d7f2c887cc98f7afb7c6dbe823c7cee
[ "Apache-2.0" ]
null
null
null
superRes_Train/test.py
abhijitramesh/Eagle-eye
a79f6a1a6d7f2c887cc98f7afb7c6dbe823c7cee
[ "Apache-2.0" ]
null
null
null
import torch from utils import * from PIL import Image, ImageDraw, ImageFont device = torch.device("cuda" if torch.cuda.is_available() else "cpu") if __name__ == '__main__': # img="/Users/abhijitramesh/Downloads/chair1_1.jpg" # img_1="/Users/abhijitramesh/Downloads/person42_0.jpg" img_2="/Users/abhijitra...
34.166667
119
0.70122
25c1eb5997e281f0e9cff107c934f0f8dbe2e2eb
13,571
py
Python
src/jsleakcheck.py
Letractively/leak-finder-for-javascript
3a6c872313dc94d9f5c71950d30b14c01d63078c
[ "Apache-2.0" ]
null
null
null
src/jsleakcheck.py
Letractively/leak-finder-for-javascript
3a6c872313dc94d9f5c71950d30b14c01d63078c
[ "Apache-2.0" ]
null
null
null
src/jsleakcheck.py
Letractively/leak-finder-for-javascript
3a6c872313dc94d9f5c71950d30b14c01d63078c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright 2012 Google Inc. 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...
36.877717
80
0.663179
25c22b5ef0da2b64f093b2f009b804a76def2bb9
1,298
py
Python
map/header.py
WhereGroup/mapconverter
cd0aa5f533194c85cf6e098fadc079ea61b63fce
[ "MIT" ]
9
2020-05-13T13:45:54.000Z
2022-03-30T10:43:45.000Z
map/header.py
WhereGroup/mapconverter
cd0aa5f533194c85cf6e098fadc079ea61b63fce
[ "MIT" ]
4
2020-09-09T10:01:08.000Z
2022-01-15T17:59:11.000Z
map/header.py
WhereGroup/mapconverter
cd0aa5f533194c85cf6e098fadc079ea61b63fce
[ "MIT" ]
1
2022-03-16T17:08:16.000Z
2022-03-16T17:08:16.000Z
# coding=utf-8 def create_header(xml_document, arc_doc_info): """ Creates the Header in the DOM :param xml_document: The DOM / Document for writing the QGIS-File :return: the header element in the DOM """ header_element = xml_document.createElement("qgis") header_element.setAttribute("projectna...
41.870968
89
0.782743
25c357277c48f76703f9498b78790dfaeab86dcd
488
py
Python
easyai/tasks/utility/base_test.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
1
2020-09-05T09:18:56.000Z
2020-09-05T09:18:56.000Z
easyai/tasks/utility/base_test.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
8
2020-04-20T02:18:55.000Z
2022-03-12T00:24:50.000Z
easyai/tasks/utility/base_test.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: import abc from easyai.helper.timer_process import TimerProcess from easyai.tasks.utility.base_task import BaseTask
20.333333
52
0.678279
25c460aba52525705ae564ecd9a987d6cd1c6003
8,755
py
Python
populous/media/models.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
2
2016-05-09T01:17:08.000Z
2017-07-18T23:35:01.000Z
populous/media/models.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
null
null
null
populous/media/models.py
caiges/populous
d07094f9d6b2528d282ed99af0063002480bc00b
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.utils.html import strip_tags from django.utils.translation import ugettext_lazy as _ from django.contrib.sites.managers import CurrentSiteManager from django.contrib.sites.models import Site from populous.filebrowser.fields import FileBrowseField from populous.staff.models impo...
42.916667
282
0.672073
25c4d04411b12679ad3412cf2a77df2f6285b638
1,580
py
Python
day9/flask_day3/sqlalchemy_demo1/demo4.py
gaohj/wh1904js
a3af38f8311f79eb9f2e08a3de16dd1e02c40714
[ "Apache-2.0" ]
null
null
null
day9/flask_day3/sqlalchemy_demo1/demo4.py
gaohj/wh1904js
a3af38f8311f79eb9f2e08a3de16dd1e02c40714
[ "Apache-2.0" ]
null
null
null
day9/flask_day3/sqlalchemy_demo1/demo4.py
gaohj/wh1904js
a3af38f8311f79eb9f2e08a3de16dd1e02c40714
[ "Apache-2.0" ]
null
null
null
from sqlalchemy import ( create_engine, Column, Integer, String, Float, Boolean, DECIMAL, Enum, DateTime, DATE, Time, Text ) from sqlalchemy.dialects.mysql import LONGTEXT from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker # #...
24.6875
103
0.703165
25c5027aeec82d81b35c8aa9d76e300f3294343e
5,378
py
Python
publications/2021-al-generator-lulc/scripts/results.py
joaopfonseca/research
02659512218d077d9ef28d481178e62172ef18cd
[ "MIT" ]
1
2021-01-25T00:09:32.000Z
2021-01-25T00:09:32.000Z
publications/2021-al-generator-lulc/scripts/results.py
joaopfonseca/research
ac4ad6fa05b5985050c63dc9e4e18cd00965e09b
[ "MIT" ]
20
2021-12-10T11:54:59.000Z
2022-03-18T17:55:33.000Z
publications/2021-al-generator-lulc/scripts/results.py
joaopfonseca/research
ac4ad6fa05b5985050c63dc9e4e18cd00965e09b
[ "MIT" ]
null
null
null
""" Generate the main experimental results. """ # Author: Joao Fonseca <jpmrfonseca@gmail.com> # Georgios Douzas <gdouzas@icloud.com> # License: MIT from os.path import join import pandas as pd from sklearn.linear_model import LogisticRegression from sklearn.neighbors import KNeighborsClassifier from sklearn....
28.305263
88
0.598364
25c6233c949be37003df81cd078a37810b00f6ff
2,411
py
Python
recovery/TopoMADSrc/src/train.py
imperial-qore/CAROL
57dc42c4ddeb9e75eed43a91ceb336a1ecc9c8b9
[ "BSD-3-Clause" ]
1
2022-03-19T16:37:40.000Z
2022-03-19T16:37:40.000Z
recovery/TopoMADSrc/src/train.py
imperial-qore/CAROL
57dc42c4ddeb9e75eed43a91ceb336a1ecc9c8b9
[ "BSD-3-Clause" ]
null
null
null
recovery/TopoMADSrc/src/train.py
imperial-qore/CAROL
57dc42c4ddeb9e75eed43a91ceb336a1ecc9c8b9
[ "BSD-3-Clause" ]
null
null
null
from .constants import * from .utils import * import torch.nn as nn from tqdm import tqdm from .plotter import * anomaly_loss = nn.MSELoss(reduction = 'none') mse_loss = nn.MSELoss(reduction = 'mean') # Accuracy
41.568966
125
0.705931
25c8813ed4ae67c3e35bea39915c2befdf4b00ec
1,498
py
Python
curation_projects/sites/sarit/main.py
sanskrit-coders/doc_curation
6da4cab5d97232b84b2a656becca9136da13a00b
[ "MIT" ]
7
2020-04-25T08:55:55.000Z
2020-12-21T05:31:00.000Z
curation_projects/sites/sarit/main.py
sanskrit-coders/doc_curation
6da4cab5d97232b84b2a656becca9136da13a00b
[ "MIT" ]
15
2020-04-25T08:31:42.000Z
2021-07-24T12:23:42.000Z
curation_projects/sites/sarit/main.py
sanskrit-coders/doc_curation
6da4cab5d97232b84b2a656becca9136da13a00b
[ "MIT" ]
4
2020-04-25T06:28:37.000Z
2020-12-19T21:30:10.000Z
import logging import os from pathlib import Path from curation_utils.file_helper import clear_bad_chars from doc_curation import tei from doc_curation.md.file import MdFile # dump_markdown(src_dir="/home/vvasuki/sanskrit/raw_etexts/mixed/sarit/", dest_dir="/home/vvasuki/sanskrit/raw_etexts/mixed/sarit-md/") # t...
48.322581
249
0.755007
25c9dfc31337ec370a3cc01b5ad5fd8eda8cf639
285
py
Python
deca/cmds/process_rtpc.py
kk49/deca
8a03ea5d1b7ae0d787638f1797b6e2cb46de4bae
[ "MIT" ]
50
2019-06-05T04:01:04.000Z
2022-03-05T14:56:43.000Z
deca/cmds/process_rtpc.py
kk49/deca
8a03ea5d1b7ae0d787638f1797b6e2cb46de4bae
[ "MIT" ]
115
2019-03-27T13:34:00.000Z
2022-03-11T23:43:12.000Z
deca/cmds/process_rtpc.py
kk49/deca
8a03ea5d1b7ae0d787638f1797b6e2cb46de4bae
[ "MIT" ]
13
2020-01-25T01:15:49.000Z
2022-02-08T02:20:05.000Z
import sys from deca.ff_rtpc import Rtpc in_file = sys.argv[1] with open(in_file, 'rb') as f: rtpc = Rtpc() rtpc.deserialize(f) print(rtpc.dump_to_string(FakeVfs()))
16.764706
71
0.684211
25cc917b26808f7902aee415f3383c9b04b96aba
5,328
py
Python
apps/v1api/views/contract.py
ekivemark/BlueButtonFHIR_API
9b5d9ca92b1e5ff0e9de046c87596ff3d5e66eef
[ "Apache-2.0" ]
5
2016-03-02T23:25:39.000Z
2020-10-29T07:28:42.000Z
apps/v1api/views/contract.py
HowardEdidin/BlueButtonFHIR_API
b8433055507bcc334f70bc864eacd379a04f69db
[ "Apache-2.0" ]
13
2020-02-11T22:50:32.000Z
2022-03-11T23:12:48.000Z
apps/v1api/views/contract.py
HowardEdidin/BlueButtonFHIR_API
b8433055507bcc334f70bc864eacd379a04f69db
[ "Apache-2.0" ]
4
2016-02-02T19:17:24.000Z
2020-10-10T16:10:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: ai ts=4 sts=4 et sw=4 """ BlueButtonFHIR_API FILE: apps.v1api.contract Created: 1/4/16 1:22 AM Write consent by beneficiary to allow use of their data by third party application Status: Experimental Get FHIR Contract format from http://hl7.org/fhir/contract.html ...
45.538462
109
0.671547
25ccb0913ef4b3651479a239662414ae76f45041
609
py
Python
oauthprovider/permissions.py
avryhof/sub-g
46f403d189eb16de93a5ff8ab7fe88507bcaf2fd
[ "MIT" ]
null
null
null
oauthprovider/permissions.py
avryhof/sub-g
46f403d189eb16de93a5ff8ab7fe88507bcaf2fd
[ "MIT" ]
null
null
null
oauthprovider/permissions.py
avryhof/sub-g
46f403d189eb16de93a5ff8ab7fe88507bcaf2fd
[ "MIT" ]
null
null
null
from rest_framework import permissions from .models import AuthorizedAgent
22.555556
78
0.697865
25cd9bc3d7f75b07d01d83640a5c5130f4b01fee
113
py
Python
classification/datasets/const.py
ridgei/MCD_DA
d8d40774aeabd72df73190c9dc1980f9239df128
[ "MIT" ]
null
null
null
classification/datasets/const.py
ridgei/MCD_DA
d8d40774aeabd72df73190c9dc1980f9239df128
[ "MIT" ]
4
2020-12-03T10:21:09.000Z
2020-12-07T05:46:40.000Z
classification/datasets/const.py
ridgei/MCD_DA
d8d40774aeabd72df73190c9dc1980f9239df128
[ "MIT" ]
null
null
null
from os import path from os.path import join DATA_PATH = join(path.sep, 'workspace', 'classification', 'data')
18.833333
65
0.734513